Target Installation Procedures
  • 22 Jun 2023
  • 2 Minutes to read
  • Contributors
  • PDF

Target Installation Procedures

  • PDF

Article summary

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

© 2024 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.