You are hereLongitude Knowledge Book / kb109: Migrating settings to a new Longitude server for Longitude version 6.1 and 6.2
kb109: Migrating settings to a new Longitude server for Longitude version 6.1 and 6.2
If you have installed the Longitude Management Station on a new server, you can transfer the settings and data from the old server. The sequence of events for the migration is:
- Upgrade the existing Longitude installation if needed. See How do I upgrade Longitude? for details.
- Backup the existing Longitude installation. See kb55: How do I backup my Longitude server
- Install Longitude on the new server. See kb228: Longitude Management Console minimum installation requirements and, if needed, the installation tutorial video. When installing the new server, please keep the following in mind:
- If you want to install a newer version of Longitude, upgrade the existing install first to the newer version.
- Specify the same username and password for the initial Longitude account
- Specify an initial database size large enough to hold the backup database. When prompted by the install for the number of computers to be monitored, every 100 computers selected will allocate 3 Gb of database space. Make sure you create a database with enough space for the backup file, plus room to expand. For example, if you have a 7 Gb database backup file, select a minimum of 300 computers, which would create a 9 Gb initial database.
- Restore Longitude on the new server using the backup files - see below.
- Stop the 5 Longitude components. Use the Services applet to stop the following services in the order given:
- Heroix Longitude Statistics Server Service
- Heroix Longitude Consolidator Service
- Heroix Longitude Engine Service
- Heroix Longitude Web UI Service
- Heroix Longitude Upgrade Manager Service
- Copy the contents of Longitude/backup over the contents of the Longitude directory.
- Open a shell and execute the following commands from Longitude\sapdb\indep_prog\pgm, changing the passwords or paths to match your installation.(NOTE: On Windows 2008 you will need to access dbmcli from Start > All Programs > MaxDB > Command Line Tools > DBM Command Line Interface.)
- dbmcli -d fzedb1 -u dbm,Longitude_Admin_Password_Specified_During_Install
- db_cold
- medium_put completeF "path_to_database.bak" FILE DATA 0 8 YES
- db_connect
- db_activate RECOVER completeF
- db_online
- load_systab
- bye
- dbmcli -d fzedb1 -u dbm,Longitude_Admin_Password_Specified_During_Install db_execute set log auto overwrite on
- If the new installation is not installed in the same location as the old installation, then you will have to update the following files. Please go to each of the files and do a search for DatabaseDirectory and please update the value with the correct location.
- \Longitude\appman\config\app_manager_properties.xml
- \Longitude\consolidator\config\consolidator_properties.xml
- \Longitude\engine\config\engine_properties.xml
- \Longitude\tomcat\webapps\webui\config\webui_properties.xml
- Start the 5 Longitude components. Use the Services applet to start the following services in the order given:
- Heroix Longitude Statistics Server Service
- Heroix Longitude Consolidator Service
- Heroix Longitude Engine Service
- Heroix Longitude Web UI Service
- Heroix Longitude Upgrade Manager Service