--- title: "Target Installation Procedures" slug: "target-installation-procedures" updated: 2023-06-22T16:23:35Z published: 2023-06-22T20:05:17Z canonical: "docs.crossworkassurance.cisco.com/target-installation-procedures" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # Target Installation Procedures These procedures guide you through the database import, upgrade and rebalancing process that are to be executed on the target installation virtual machines. ### Stopping the Application If running, it is best to stop the application on the target installation while doing the rehoming procedure. The procedure to stop the application is different for hot standby setups. --- ***Note:** If you are rehoming a redundant configuration, these steps must be run on the active site.* --- **If you are operating in a Hot Standby configuration** 1. Open an SSH terminal session to the Skylight orchestrator on port 2200. 2. Log in as the **visionems** user. 3. Stop the Hot Standby process by entering: redundancy control stop 4. Start the database by entering: service start mysql **Otherwise** 1. Open an SSH terminal session to the Skylight orchestrator on port 2200. 2. Log in as the **visionems** user. 3. Stop the application by entering: service stop app_server ### Importing the Database 1. Open an SSH terminal session to Skylight orchestrator on port 22. --- ***Note:** If you are rehoming a redundant configuration, log into the target installation virtual machine you have designated to be the preferred **active site**.* --- 1. Log in as the **visionems** user. 2. Change to the scripts directory by entering: cd /opt/accedian/skylight/scripts 3. Import the data store by entering: ./ems_restoredb_mysql.sh /data/backups/rehoming.tar.gz 4. When prompted to continue, enter: **y** ### Upgrading the Database and Reapplying the Profile These procedures explain how to upgrade the database. Once the database has been upgraded, you must reapply the profile. **To upgrade the database** 1. Open an SSH terminal session to port 22 of the virtual machine. --- ***Note:** If you are rehoming a redundant configuration, log into the target installation virtual machine you have designated to be the preferred active site.* --- 1. Log in as the **visionems** user. cd /opt/accedian/skylight/tools/skylight-dbtool 2. Launch the database upgrade by entering: ./dbtool.sh -u -n root -t localhost -b visiondata 3. When prompted to continue, enter: **y** **To reapply the profile** 1. Open an SSH terminal session to the Skylight orchestrator designated as the preferred active site on port 2200. 2. Log in as the **visionems** user. 3. Reapply the profile, by entering: deployment edit type single-node profile < profile name > --- ***Note:** If you are rehoming a clustered configuration from version 19.12 or a single node multiple instances from version 20.02, you must reapply the profile.* --- ### Starting the Application This procedure starts the hot standby process, and also starts the application. At this point, the application on the target installation will take over management of the network elements. **If you are operating in a Hot Standby configuration** 1. Open an SSH terminal session to the Skylight orchestrator designated as the preferred active site on port 2200. 2. Log in as the **visionems** user. 3. Start the Hot Standby process by entering: redundancy control start **Otherwise** 1. Open an SSH terminal session to the Skylight orchestrator on port 2200. 2. Log in as the **visionems** user. 3. Start the application by entering: service start app_server **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)