Migrate Logs to a New M-Series Appliance in Panorama Mode
When you request an RMA, use this procedure to migrate
logs from a decommissioned M-Series appliance, that is not in a
HA pair, to a new M-Series appliance.
If you need to replace an M-600, M-500, M-200
or M-100 appliance in Panorama mode (Panorama management server),
you can migrate the logs it collected from firewalls by moving its
RAID disks to the new M-Series appliance. Moving the disks enables
you to recover logs after a system failure on the M-Series appliance
or to migrate logs as part of a hardware upgrade (from an M-100
appliance to an M-500 appliance).
Migrating
logs by removing the logging disks from any M-Series appliance and
loading them into an M-600 Panorama management server is not supported.
To migrate to an M-600 appliance, set up the M-600
appliance, configure log forwarding
to the new M-600 appliance and configure the M-Series
appliance as a managed Log Collector until you no longer
needed access to the logs stored on the M-Series appliance.
This
migration procedure covers the following scenarios where you are
replacing a single M-Series appliance, not in a HA configuration,
with a managed collector (Log Collector)
in a Collector Group.
- Forward any logs on the SSD of the old M-Series appliance to an external destination if you want to preserve them.The SSD stores the System and Config logs that Panorama and Log Collectors generate. You cannot move the SSD between M-Series appliances.
- Export the Panorama configuration from the decommissioned M-Series appliance in Panorama mode.
- Log in to the Panorama appliance and select.PanoramaSetupOperations
- ClickSave named Panorama configuration snapshot, enter aNameto identify the configuration, and clickOK.
- ClickExport named Panorama configuration snapshot, select theNameof the configuration you just saved, and clickOK. Panorama exports the configuration to your client system as an XML file.
- Remove the RAID disks from the old M-Series appliance.
- Power off the old M-Series appliance by pressing the Power button until the system shuts down.
- Remove the disk pairs. For details, refer to the disk replacement procedure in the M-Series Appliance Hardware Reference Guides.
- Perform initial setup of the new M-Series appliance.
- Rack mount the M-Series appliance. Refer to the M-Series Appliance Hardware Reference Guides for instructions.
- Purchase and activate a Panorama support license or transfer licenses as follows only if the new M-Series appliance is the same hardware model as the old M-Series appliance. If the new M-Series appliance is a different model than the old M-Series appliance, you must purchase new licenses.
- Log in to the Palo Alto Networks Customer Support web site.
- Select theAssetstab and click theSpareslink.
- Click the Serial Number of the new M-Series appliance.
- ClickTransfer Licenses.
- Selectthe old M-Series appliance and clickSubmit.
- Activate a firewall management license. If you are migrating from an M-100 appliance to an M-500 appliance, enter the auth-code associated with the migration license.
- Install Content and Software Updates for Panorama. For important details about software versions, see Panorama, Log Collector, Firewall, and WildFire Version Compatibility.
- Load the Panorama configuration snapshot that you exported from the decommissioned M-Series appliance into the new M-Series appliance in Panorama mode.
- Log in to the Panorama Web Interface of the new M-Series appliance and select.PanoramaSetupOperations
- ClickImport named Panorama configuration snapshot,Browseto the configuration file you exported from the decommissioned M-Series appliance, and clickOK.
- ClickLoad named Panorama configuration snapshot, select theNameof the configuration you just imported, select aDecryption Key(the master key for Panorama), and clickOK. Panorama overwrites its current candidate configuration with the loaded configuration. Panorama displays any errors that occur when loading the configuration file. If errors occurred, save them to a local file. Resolve each error to ensure the migrated configuration is valid.To replace an RMA Panorama, make sure youRetain Rule UUIDswhen you load the named Panorama configuration snapshot. If you do not select this option, Panorama removes all previous rule UUIDs from the configuration snapshot and assigns new UUIDs to the rules on Panorama, which means it does not retain information associated with the previous UUIDs, such as the policy rule hit count.
- Perform any additional configuration changes as needed.If the old M-Series appliance used interfaces other than the MGT interface for Panorama services (such as log collection), you must define those interfaces on the new M-Series appliance ().PanoramaSetupInterfaces
- SelectandCommitCommit to PanoramaValidate Commit. Resolve any errors before proceeding.
- Commityour changes to the Panorama configuration.
- Insert the disks into the new M-Series appliance. For details, refer to the disk replacement procedure in the M-Series Appliance Hardware Reference Guides.The disk carriers of the M-100 appliance are incompatible with those of the M-500 appliance. Therefore, when migrating between these hardware models, you must unscrew each disk from its old carrier and insert the disk in the new carrier before inserting the disk in the new appliance.You must maintain the disk pair association. Although you can place a disk pair from slot A1/A2 on the old appliance into slot B1/B2 on the new appliance, you must keep the disks together in the same slot; otherwise, Panorama might not restore the data successfully.
- Contact Palo Alto Networks Customer Support to copy log collector group metadata from the decommissioned M-Series appliance to the new M-Series appliance and restart themgmtsrvrprocess.
- If the M-Series appliance was part of a Collector Group, verify that the decommissioned M-Series appliance serial number is still part of the correct Collector Group:debug log-collector-group show name <Log Collector Group name>If the decommissioned M-Series appliance serial number is no longer a part of the correct Collector Group, then the Tech Support folders were incorrectly copied in the previous step. Contact Palo Alto Networks Customer Support again to copy the Tech Support folders to the correct location.
- Prepare the disks for migration.Generating the metadata for each disk pair rebuilds the indexes. Therefore, depending on the data size, this process can take a long time to complete. To expedite the process, you can launch multiple CLI sessions and run the metadata regeneration command in each session to complete the process simultaneously for every pair. For details, see Regenerate Metadata for M-Series Appliance RAID Pairs.
- Insert the disks into the new M-Series appliance. For details, refer to the disk replacement procedure in the M-Series Appliance Hardware Reference Guides.The disk carriers of the M-100 appliance are incompatible with those of the M-500 appliance. Therefore, when migrating between these hardware models, you must unscrew each disk from its old carrier and insert the disk in the new carrier before inserting the disk in the new appliance.You must maintain the disk pair association. Although you can place a disk pair from slot A1/A2 on the old appliance into slot B1/B2 on the new appliance, you must keep the disks together in the same slot; otherwise, Panorama might not restore the data successfully.
- Enable the disk pairs by running the following CLI command for each pair:admin>request system raid add<slot>force no-formatFor example:admin>request system raid add A1 force no-formatadmin>request system raid add A2 force no-formatTheforceandno-formatarguments are required. Theforceargument associates the disk pair with the new appliance. Theno-formatargument prevents reformatting of the drives and retains the logs stored on the disks.
- Generate the metadata for each disk pair.This step may take up to 6 hours depending on the volume of log data on the disks.admin>request metadata-regenerate slot<slot_number>For example:admin>request metadata-regenerate slot 1
- Configure the local Log Collector on the new M-Series appliance.For all steps with commands that require a serial number, you must type the entire serial number; pressing the Tab key won’t complete a partial serial number.Don’t enable the disks on the new M-Series appliance at this point. When you successfully migrate the logs, Panorama automatically enables the disks.
- Configure the local Log Collector as a managed collector using the Panorama web interface or using the following CLI commands:admin>configureadmin#set log-collectoradmin#<log-collector_SN>deviceconfig system hostname<log-collector-hostname>exit
- Verify that the local Log Collector is connected to Panorama and that the status of its disk pairs is present/available.admin>show log-collector serial-number<log-collector_SN>The disk pairs will display as disabled at this stage of the restoration process.
- Commit your changes to Panorama. Don’t commit the changes to the Collector Group just yet.admin>configureadmin#commit
- Add a Log Collector with no disks to a Collector Group.From this point, only commits that are required to complete the migration process on Panorama and the Log Collectors. Hold off making any other changes.
- Access the Panorama CLI of the new M-Series appliance.
- Overwrite Panorama restriction to allow Log Collector with no disk to be added to a Collector Group:request log-migration-set-start
- Commit the overwritten restriction:admin>configureadmin#commit force
- Migrate the logs.
- Access the Panorama CLI of the new M-Series appliance.
- Add the new local Log Collector as a member of the Collector Group and commit your changes to Panorama.admin#set log-collector-groupadmin#<collector_group_name>logfwd-setting collectors<SN_managed_collector>commitadmin#exitThe old local Log Collector still appears in the list of members, because you haven’t deleted it from the configuration.
- For each disk pair, migrate the logs to the new appliance.admin>request log-migration from<old_LC_serial_number>old-disk-pair<log_disk_pair>to<new_LC_serial_number>new-disk-pair<log_disk_pair>For example:admin>request log-migration from 003001000010 old-disk-pair A to 00300100038 new-disk-pair A
- Commit the changes to Panorama.admin>configureadmin#commit
- Reconfigure the Collector Group.
- Log in to the Panorama Web Interface of the new M-Series appliance to assign the new Log Collector to the firewalls that forward logs (). Give the new Log Collector the same priority in the firewall preference lists as the old Log Collector.PanoramaCollector GroupsDevice Log ForwardingYou cannot use the CLI change the priority assignments of firewall preference lists.
- Access the Panorama CLI of the new M-Series appliance.
- Delete the old Log Collector from the Collector Group.admin#delete log-collector-group<group_name>logfwd-setting collectors<old_LC_serial_number>For example:admin#delete log-collector-group DC-Collector-Group logfwd-setting collectors 003001000010
- Delete the old Log Collector from the Panorama configuration and commit your changes to Panorama.admin#delete log-collectoradmin#<old_LC_serial_number>commitadmin#exit
- Commit the Collector Group changes so that the managed firewalls can send logs to the new Log Collector.admin>commit-all log-collector-config log-collector-group<collector_group_name>For example:admin>commit-all log-collector-config log-collector-group DC-Collector-Group
- Generate new keys on the new Log Collector.This command is required in order to add the new Log Collector to the Collector Group and should only be run for the Collector Group of the Log Collector being replaced. This step deletes the existing RSA keys and allows Panorama to create new RSA keys.
- Access the Panorama CLI of the new M-Series appliance.
- Delete all RSA keys on the new Log Collector:request logdb update-collector-group-after-replace collector-group<collector-group-name>The process can take up to 10 minutes to completed.
- Confirm that SearchEngine Status is Active for all Log Collectors in the Collector Group.Do not continue until SearchEngine Status is Active for all Log Collectors in the Collector Group. This will result in purging of logs from the Log Collector being replaced.
- Access the Panorama CLI of the new M-Series appliance.
- Show the Log Collector details by running the following commands either:
- On Panorama for all Log Collectors:show log-collector all
Alternatively, you can run the following command on each Dedicated Log Collector:show log-collector detail - Confirm that SearchEngine Status is Active.Redistribution status: noneLast commit-all: commit succeeded, current ring version 1SearchEngine status: Activemd5sum 4e5055a359f7662fab8f8c4f57e24525 updated at 2017/06/14 09:58:19
- On the new Log Collector, replace previous Log Collector serial number with the new Log Collector serial number.You must replace the old Log Collector serial number with the new Log Collector serial number so that the new Log Collector will not run in to purging issues, resulting in the Log Collector being unable to purge old data from the migrated logs when necessary.
- Replace old Log Collector serial number with new Log Collector serial number:request log-migration-update-logger from<old-log-collector-serial-number>to<new-log-collector-serial-number>
Recommended For You
Recommended Videos
Recommended videos not found.