SD-WAN

 View Only

Procedure to Restore Orchestrator Backup on Rocky Linux(newer version) from CentOS(older version)

This thread has been viewed 5 times
  • 1.  Procedure to Restore Orchestrator Backup on Rocky Linux(newer version) from CentOS(older version)

    Posted Jun 18, 2024 04:54 PM

    Please keep in mind that if you are trying to restore an Orchestrator backup file for the Rocky Linux Orchestrator from a previous Linux CentOS version, the following is the step-by-step procedure:

    1. Login to the Rocky Linux Orchestrator VM as the admin user.

      • If it is the first time, use admin/admin as the default credentials. Set the admin and root user passwords. Then change to the root user with the command su -.
    2. Set the password for the gms user:

      • Use the command passwd gms. You will be prompted to enter a new password and then re-type it to confirm.
    3. Stop the Orchestrator service:

      • As the root user, run the command systemctl stop gms to stop the Orchestrator service. Confirm that the gms service has stopped by running the command systemctl status gms.
    4. Enable SCP if it isn't already enabled:

      • As the root user, run the command mv /bin/scp-local /bin/scp.
    5. Copy the Orchestrator backup file:

      • Use an application like WinSCP or Filezilla to copy the Orchestrator backup file from your backup server to the /home/admin directory on the new Rocky Linux Orchestrator.
    6. Rename the backup file and move it:

      • As the root user, rename the backup file to gms.zip using the mv command. Then move the gms.zip file from /home/admin to /home/gms with the command mv /home/admin/gms.zip /home/gms/gms.zip.
    7. Ensure the old CentOS Orchestrator is shut down:

      • Do not skip or miss this step as having two Orchestrators running simultaneously can cause major disruptions to the SDWAN fabric.
    8. Switch to the gms user:

      • Use the command su - gms.
    9. Start the restore process:

      • Run the command /home/gms/gms/setup/restore.sh 2>&1 | tee /tmp/restorelog. If the restore process is successful, you will see the output below:
    10. Exit from gms user back to root user:

      • Use the command exit.
    11. Set the Orchestrator hostname, IP address, and time zone:

      • Run the command /home/gms/gms/orch-setup.py -c.
    12. Start the Orchestrator service:

      • As the root user, run the command systemctl start gms.

    The restore process should now be complete, and you can log into the new Rocky Linux Orchestrator UI using the credentials from the previous CentOS Orchestrator.