Submit a ticketCall us

Announcing NCM 7.7
With NCM 7.7, you can examine the rules that make up an access control list for a Cisco ASA device. Then you can apply filters to display only rules that meet the specified criteria, order the rules by line number or by the hit count, and much more.
See new features and improvements.

Home > Success Center > Log & Event Manager (LEM) > Import Settings from a SIM or LEM Manager Backup to Another Manager

Import Settings from a SIM or LEM Manager Backup to Another Manager

Created by Interspire Import, last modified by MindTouch on Jun 23, 2016

Views: 126 Votes: 0 Revisions: 13

Starting with LEM version 5.4, the CMC includes an import command that imports Manager settings from any 5.4 appliance backup. After upgrading to LEM version 5.4, use the import command to do any of the following:

  • Migrate a hardware appliance (SIM) to a virtual appliance (LEM).
  • Migrate a virtual appliance from one VM server to another.
  • Migrate a hardware appliance (SIM) to new hardware.
  • Recover settings after a hardware or software failure.

Important: The import command does not work with backup files for versions earlier than 5.4. To complete the following procedure, upgrade all of your appliances to the latest version, and then export a backup of your manager the new version using the backupconfig command.
This is only an import or export procedure of Manager configuration settings. Appliance settings like timezone, and database restoration are not covered in this procedure.

To migrate your LEM/SIM Manager settings to another appliance (virtual or hardware):

  1. Upgrade all of your appliances to the latest version and deploy any new appliances.
  2. Run the backupconfig command on the source appliance as described in the Backup/Export Procedure section.
  3. Shut down the source appliance, or disconnect it from the network.
  4. Run the import command and change the CMC password on the new appliance as described in the Import Procedures section.
  5. If you are converting a SIM appliance to a LEM appliance, apply the LEM license in the new console, and then reboot the new appliance. For additional information, see Applying Your LEM License File (v5.3+).

Note: If you want to run LEM Reports against the source appliance after migrating its settings to a new appliance, reconfigure its network settings and add it as a manager on the LEM Reports computer as described under the Additional Information section.

Backup/Export Procedure

For the sake of this article, upgrade your appliance to the latest version before running the backupconfig command. The import command discussed in the next section does not work with backups from appliances running versions earlier than 5.4.

To do a one-time backup of your LEM/SIM appliance using backupconfig:

  1. Connect to your appliance using a virtual console or SSH client.
  2. Access the CMC prompt:
    • Virtual Console: Arrow down to Advanced Configuration, and then press Enter.
    • SSH Client: Log in using your CMC credentials.
  3. At the cmc> prompt, enter manager.
  4. At the cmc::cmm# prompt, enter backupconfig.
  5. Press Enter to start the backup script.
  6. Enter 5 to back up your appliance immediately.
  7. Enter y three times.

Note: This procedure only works if you have already scheduled regular backups on your appliance, and the command uses the network share and user information you have already configured. For instructions to schedule backups on your appliance, see How to Configure Backups on Your LEM Appliance.

Import Procedures

After backing up your source appliance on the latest version, complete this procedure to import that backup to your destination appliance.

To import LEM/SIM smanager settings from another appliance (virtual or hardware):

  1. Connect to your appliance using a virtual console or SSH client.
    Notes:
    • If you change the appliance IP address while connected with an SSH client, the appliance terminates your connection after it restarts networking.
    • Regardless of the settings you import, the MAC addresses of the two appliances differ. If the source and destination appliances both use DHCP, the destination appliance retains its current IP address lease even after the import.
  2. Access the CMC prompt:
    • Virtual Console: Arrow down to Advanced Configuration, and then press Enter.
    • SSH Client: Log in using your CMC credentials.
  3. At the cmc> prompt, enter appliance.
  4. At the cmc::acm# prompt, enter import.
  5. Press Enter to start the import script.
  6. Enter and confirm the file location, user account, and password information you want your appliance to use for the import.
    Notes:
    • Enter the file location in UNC format. For example, enter \\server\share. If your appliance cannot resolve hostnames, use the server's IP address instead.
    • Provide credentials for a user with read permissions to the share you entered for the import.
  7. Enter the number that corresponds to the backup you want to import.
    Note: If you do not see the file you are looking for, verify that you entered the file path correctly, and that you exported the backup you are looking for from an appliance running the latest version. The import command does not work with backups from appliances running versions earlier than 5.4.
  8. Press Enter twice to start the LEM import wizard.
  9. Verify the import settings, and then select Yes if you want to proceed.
  10. If you configured Snort IDS on the source appliance, select Yes to import Snort settings and enable Snort on the destination appliance. Otherwise, select No.
    Note: Starting with version 5.4, the optional Snort IDS component on the LEM appliance is disabled by default. If you enable Snort here, and you have not configured it previously, see the following artiicles to configure Snort on the new appliance:
    How to tune Snort to address the "BARE BYTE UNICODE ENCODING" and "DOUBLE ENCODING ATTACK" false positive 
  11. Select whether you want to import all LEM settings from the backup (Yes) or specify new network settings (No).

At this point, the import wizard branches in two directions. Complete the wizard based on the option you chose in Step 11.

To complete the import wizard and import all settings:

  1. Select Yes to confirm your selection.
  2. Press Enter to acknowledge a reboot and finish the import.
  3. Skip the following procedure and proceed to the Change CMC password section.

To complete the import wizard and specify new network settings:

  1. Select Yes to specify a Static IP (recommended), and then set the following properties:
    • IP Address
    • Subnet Mask
    • Gateway
    • Fully qualified domain name of the DNS domain
    • DNS server IP address
  2. Select whether you want to specify a new hostname for the new appliance (Yes) or accept the hostname from the backup (No).
  3. If you chose to specify a new hostname, enter the new hostname, observing standard hostname naming conventions.
  4. If the import wizard hangs at "Updating resolver" for more than a minute, press Enter to force the import wizard to finish.

After you configure the new network settings on the destination appliance, the import wizard takes you back to the CMC interface with the option to export a new SSL certificate. Follow the on screen instructions to export a new SSL certificate if both of the following conditions are true:

  • You did not import the hostname from the source appliance backup.
  • You plan to install the LEM Console locally on any Windows computers.

If you do not want to export a new SSL certificate or do not need it, press Ctrl+C to stop the export script.

For information about how to export and install the SSL certificate in the future, see Exporting and Installing the SolarWinds LEM Console Certificate.

To change the CMC password:

  1. At the cmc> prompt, enter appliance.
  2. At the cmc::acm# prompt, enter password.
  3. Press Enter to confirm your entry.
  4. Enter the default CMC password, password.
  5. Enter and confirm a new CMC password.

Additional Information

If you want to run LEM Reports against a decommissioned appliance after migrating its settings to a new appliance, complete the following procedure to reconfigure its network settings and add it as a manager on the LEM Reports computer.

To run LEM Reports against a decommissioned LEM/SIM appliance:

swi-lem, swi-lem, default, manager

  1. Disconnect the decommissioned appliance from the network your new appliance is on.
  2. Change the network settings for the decommissioned appliance:
    1. Connect to the decommissioned appliance using a direct KVM connection to the server.
    2. Log in with your CMC credentials.
    3. At the cmc> prompt, enter appliance.
    4. At the cmc::acm# prompt, enter netconfig.
    5. Press Enter to validate your entry.
    6. Enter static to assign a static IP address (recommended).
    7. Follow the on screen instructions to complete the process.
  3. Change the hostname for the decommissioned appliance
    1. At the cmc::acm# prompt, enter hostname.
    2. Press Enter to validate your entry.
    3. Enter yes to acknowledge the warning and proceed.
    4. Enter a different hostname for the decommissioned appliance.
    5. Enter y to validate your entry.
  4. Open managers.txt from one of the following locations, according to your operating system:
    • Windows XP and Windows Server 2003:
      C:\Documents and Settings\<username/>\Application Data\sim.console\Local Store
    • Windows Vista, Windows 7, and Windows Server 2008:
      C:\Users\<username/>\AppData\Roaming\sim.console\Local Store
  5. Add a new line with the new hostname for the decommissioned appliance in place of swi-lem in the following example.
  6. Save the file, and then relaunch LEM Reports.

Note: If you do not have managers.txt on the computer you want to use to run reports against the decommissioned appliance, see Configuring LEM Reports on Computers Without the LEM Console.

Last modified
20:01, 22 Jun 2016

Tags

Classifications

Public