How to migrate settings from version 1.8.2.x to 2.0.x.


The following method describes how to migrate configuration settings from Runecast Analyzer 1.8.2.x to Runecast Analyzer 2.0.x.

Settings that are being migrated:

  1. vCenter Connection
  2. Automatic schedule settings
  3. Alerting
  4. Licenses
  5. Log rotation settings
  6. User Profiles (Local and AD)
  7. Access tokens
  8. Filters
  9. Issue notes


What is not migrated:

  1. Enabled security profiles (PCI-DSS and DISA STIG)
  2. Manual answers (included in DISA STIG)
  3. Reconfiguration of ESXi hosts and/or VMs to send logs to Runecast Analyzer (in case new IP/DNS name is used for 2.0.x)
  4. Scan results

Prerequisities:

  1. Source Runecast Analyzer version 1.8.2.x
  2. Destination Runecast Analyzer version 2.0.x
  3. Both appliances are up and running
  4. The destination Runecast Analyzer is clean installation
  5. Connectivity on port 5432 between both appliances


Procedure:

  1. Log in to Runecast Analyzer version 1.8.2.x
  2. Run the prepare_db_for_migration.sh script and make a note of the generated password:
    sudo /opt/runecast/migrate/prepare_db_for_migration.sh
  3. Log in to Runecast Analyzer version 2.0.x
  4. Run the migrate_from_rc18.sh script with the following parameters:
    migrate_from_rc18.sh <RCA 1.8.2.x address> <Password generated from prepare_db_for_migration.sh on RCA 1.8.2.x>​ 
    Example:
    sudo /opt/runecast/scripts/migrate/migrate_from_rc18.sh 10.1.3.7 12345678901
  5. Confirm the configuration were migrated to the Runecast Analyzer 2.0.x appliances
    Note: rcuser password will be the same as it was on Runecast Analyzer 1.8.2.x
  6. Once the data migration is confirmed, run the unprepare_db_for_migration.sh from Runecast Analyzer 1.8.2.x
    sudo /opt/runecast/migrate/unprepare_db_for_migration.sh