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:
-
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 -
.
-
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.
-
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
.
-
Enable SCP if it isn't already enabled:
- As the root user, run the command
mv /bin/scp-local /bin/scp
.
-
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.
-
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
.
-
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.
-
Switch to the gms user:
- Use the command
su - gms
.
-
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:
-
Exit from gms user back to root user:
-
Set the Orchestrator hostname, IP address, and time zone:
- Run the command
/home/gms/gms/orch-setup.py -c
.
-
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.