This section provides the procedures for backing up and restoring the OTP provisioning service from one clustered OTP host and restoring the provisioning service to the external OTP installation server.
Backing up the provisioning service on an OTP host and restoring it to the external OTP installation server is comprised of the following tasks:
Removing the Remote Agent from the External OTP installation server
Restoring the Provisioning Service Backup To The External OTP Installation Server
Log in as root to an OTP host in the cluster.
Type /usr/cluster/bin/scstat -g | grep Online to determine which host in the cluster is active.
Make note of the host on which the resource group otp-system-rg is active.
Open a Web browser and go to URL http://backup source OTP host:9090 where backup source OTP host is either the IP address or the fully qualified name of the OTP host on which the resource group is active.
The OTP provisioning service log in screen appears.
Log in to the OTP provisioning service.
The Service Provisioning System screen appears.
Click Host Setup in the left panel.
The host setup screen appears.
Click hosts in the central panel.
The hosts screen appears.
Click master server.
The hosts > details screen appears.
Scroll to the bottom of the screen and click edit.
The hosts > details > edit screen appears.
If the checkbox labeled include remote agent on this physical host has a check mark in it, click the check box to remove the check mark.
Scroll to the bottom of the screen and click save.
Remove the remote agent from the External OTP Installation Server as described in the next procedure.
The remote agent must be removed from the backup source OTP host as described in To Remove the Remote Agent from the Backup Source OTP Host
Open a Web browser and go to URL http://external OTP installation server:9090 where external OTP installation server is either the IP address or the fully qualified name of the external OTP installation server.
The OTP provisioning service log in screen appears.
Log in to the OTP provisioning service.
The Service Provisioning System screen appears.
Click Host Setup in the left panel.
The host setup screen appears.
Click hosts in the central panel.
The hosts screen appears.
Click master server.
The hosts > details screen appears.
Scroll to the bottom of the screen and click edit.
The hosts > details > edit screen appears.
If the checkbox labeled include remote agent on this physical host has a check mark in it, click the check box to remove the check mark.
Scroll to the bottom of the screen and click save.
Back up the provisioning service on the source OTP host as described in the next procedure.
The remote agent must be removed from the backup source OTP host as described in To Remove the Remote Agent from the Backup Source OTP Host
The remote agent must be removed from the external OTP installation server as described in To Remove the Remote Agent from the External OTP installation server
Log in as root on the backup source OTP host you identified in To Remove the Remote Agent from the Backup Source OTP Host.
Disable the provisioning service resource in the resource group
Type the following commands:
/usr/cluster/bin/scrgadm -c -g otp-system-rg -y RG_system=FALSE /usr/cluster/bin/scswitch -n -j otp-spsms-rs |
Backup the provisioning service database
Type the following command:
su - spsotp \ /var/otp/spsotp/N1_Service_Provisioning_System_5.2/server/bin/cr_backup.sh \ -b /var/otp/spsotp/N1_Service_Provisioning_System_5.2 \ -o /var/tmp -nors -noconfig -nokeystore -z -shutdown yes |
The compressed backup tar file is created as /var/tmp/timestamp.tar.Z where timestamp is the system date and time stamp. For example, /var/tmp/070411145059.tar.Z
Enable the Provisioning service resource in the resource group.
Type the following commands:
/usr/cluster/bin/scswitch -e -j otp-spsms-rs /usr/cluster/bin/scrgadm -c -g otp-system-rg -y RG_system=TRUE |
Restore the provisioning service to the external OTP installation server as described in the next procedure.
The remote agent must be removed from the backup source OTP host as described in To Remove the Remote Agent from the Backup Source OTP Host
The remote agent must be removed from the external OTP installation server as described in To Remove the Remote Agent from the External OTP installation server
The backup source OTP host provisioning service must be backed up as described in To Back Up the Provisioning Service on the Source OTP Host.
Log in as root to the external OTP installation server.
Restore the provisioning service database.
Type the following command
su - spsotp \ /var/otp/spsotp/N1_Service_Provisioning_System_5.2/server/bin/cr_restore.sh \ -b /var/otp/spsotp/N1_Service_Provisioning_System_5.2 \ -f /var/tmp/backup tar file name \ -l /var/tmp/log file name \ -t /var/tmp -shutdown yes -nors -noconfig -nokeystore -overwrite yes |
Where backup tar file name is the name of the backup file you created in To Back Up the Provisioning Service on the Source OTP Host, and log file name is the name you specify for the log file.
Add the remote agent to the backup source OTP host as described in the next procedure.
The remote agent must be removed from the backup source OTP host as described in To Remove the Remote Agent from the Backup Source OTP Host
The remote agent must be removed from the external OTP installation server as described in To Remove the Remote Agent from the External OTP installation server
The backup source OTP host provisioning service must be backed up as described in To Back Up the Provisioning Service on the Source OTP Host.
The provisioning service backup must be restored to the external OTP installation server as described in To Restore the Provisioning Service Backup To The External OTP Installation Server
Open a Web browser and go to URL http://backup source OTP host:9090 where backup source OTP host is either the IP address or the fully qualified name of the OTP host you identified in To Remove the Remote Agent from the Backup Source OTP Host.
The OTP provisioning service log in screen appears.
Log in to the OTP provisioning service.
The Service Provisioning System screen appears.
Click Host Setup in the left panel.
The host setup screen appears.
Click hosts in the central panel.
The hosts screen appears.
Click master server.
The hosts > details screen appears.
Scroll to the bottom of the screen and click edit.
The hosts > details > edit screen appears.
If the checkbox labeled include remote agent on this physical host does not have a check mark in it, click the check box to add the check mark.
In connection type, choose TCP/IP (unencrypted).
Type the backup source OTP host IP address in the ip address or name field.
Type 7010 in the port field.
Scroll to the bottom of the screen and click save.
Click master server.
Click update remote agent.
Click prepare remote agent.
Add the remote agent to the restore external OTP installation server as described in the next procedure.
The remote agent must be removed from the backup source OTP host as described in To Remove the Remote Agent from the Backup Source OTP Host
The remote agent must be removed from the external OTP installation server as described in To Remove the Remote Agent from the External OTP installation server
The backup source OTP host provisioning service must be backed up as described in To Back Up the Provisioning Service on the Source OTP Host.
The provisioning service backup must be restored to the external OTP installation server as described in To Restore the Provisioning Service Backup To The External OTP Installation Server
The remote agent must be added to the backup source OTP host as described in To Add the Remote Agent To The Backup Source OTP Host
Open a Web browser and go to URL http://external OTP installation server:9090 where external OTP installation server is either the IP address or the fully qualified name of the external OTP installation server.
The OTP provisioning service log in screen appears.
Log in to the OTP provisioning service.
The Service Provisioning System screen appears.
Click Host Setup in the left panel.
The host setup screen appears.
Click hosts in the central panel.
The hosts screen appears.
Click master server.
The hosts > details screen appears.
Scroll to the bottom of the screen and click edit.
The hosts > details > edit screen appears.
If the checkbox labeled include remote agent on this physical host does not have a check mark in it, click the check box to add the check mark.
In connection type, choose TCP/IP (unencrypted).
Type the external OTP installation server IP address in the ip address or name field.
Type 7010 in the port field.
Scroll to the bottom of the screen and click save.
Click master server.
Click update remote agent.
Click prepare remote agent.