Log in as root on the OTP host.
Type mkdir -p /var/tmp/n1smbackup.
Copy the n1smbackup.tgz backup file you created in To Back Up the OTP Master Server Database and Configuration Files to the /var/tmp/n1smbackup directory.
Type /opt/sun/n1gc/bin/n1smrestore.sh -f /var/tmp/n1smbackup/n1smbackup.tgz to restore the system management database and files.
For example:
# /opt/sun/n1gc/bin/n1smrestore.sh -f /var/tmp/n1smbackup/n1smbackup.tgz This program will restore Sun N1SM from backup files. The N1SM services will be restarted and N1SM will be interrupted during the process. All files related to N1SM, including network interface configuration, will be restored. Therefore, it is recommended that these files are restored to an identical hardware setup. The restore process will take about 8 minutes. Would you like to continue? [y/N] y Restoring configuration files (done) Restoring SCS database (done) Restoring SCS database (done) N1SM restarted. N1SM restore completed.Run n1smconfig and verify that N1SM settings are correct. |
Type n1smconfig to reconfigure the system management services.
The current configuration is displayed, and you are asked whether you want to continue.
Type y to continue. Reconfigure the system management as described in To Configure the OTP System Management Service on Another OTP Host.
Verify that the OTP System Management Service is working properly.
Open a web browser and log in to the system management service on the OTP host.
Go to URL https://OTP host:6789 where OTP host is either the IP address or the fully qualified name of the OTP host.
The Java Web console log in page is appears. Type your system management user name and password to log in.
The system management page appears.
Type /opt/sun/n1gc/bin/n1sh to open the OTP command shell. For example:
# /opt/sun/n1gc/bin/n1sh N1-ok> |
Successful display of the system management web page and of the N1–ok> prompt signifies successful configuration and restoration of the system management service to the OTP host.
If the system management Web page or the N1–ok> prompt fail to appear, log in as root to the OTP host and type the command svcadm disable n1sm. Wait for the services to stop, and then type the command svcadm enable n1sm. Wait for the services to complete startup, and then retry verification.
(Optional) Remove any OS distributions or OS profiles that exist on the OTP host before creating new OS distributions and OS profiles.
N1-ok> show os all ID Name Type Version 2 s10 solaris solaris10x86 N1-ok> show osprofile ID Name Distribution 2 s10 s10 N1-ok> delete osprofile s10 N1-ok> delete os s10 N1-ok> show os No items found. N1-ok> show osprofile No items found. |