Changing the Cisco Prime Optical 9.6 Server IP Address
If Prime Optical is first installed in a test environment and then is ready to be installed in a production environment, you will want to change the server IP address. This section describes how to change the IP address of the Prime Optical server when Prime Optical and Oracle are on the same or separate servers.
9.1 Changing the IP Address or Hostname when Prime Optical and Oracle Are on the Same Server
To change the IP address of a standalone Prime Optical server with a single IP interface when Prime Optical and Oracle are on the same server, do the following:
Step 1 As Prime Optical user (root or optusr), enter the following command to shut down the Prime Optical server:
Step 2 Log into the Prime Optical server as the root user.
Step 3 Enter the following commands to shut down Oracle:
Step 4 (For Linux operating systems only; not applicable to Solaris) On Linux, do the following:
a. On GNOME, choose System > Administration > Network.
b. Select the correct interface.
c. Edit and save the interface properties (IP address, subnet mask, and default gateway).
Step 5 (For Solaris operating systems only) Do the following:
a. Run /usr/sadm/bin/smc.
b. Modify the IP address and/or hostname and save.
Step 6 Do the following at application level:
a. Execute the following command to update the IP address and/or the hostname in all the configuration files:
b. Provide the required information as prompted by the opt_sysconfig.sh that is an interactive script.
Step 7 Enter the following command to reboot the Prime Optical server:
Step 8 After the Prime Optical server has rebooted, enter the following command to verify that it has started:
9.2 Changing the IP Address when Prime Optical and Oracle Are on Separate Servers
To change the IP address of the Prime Optical server when Prime Optical and Oracle are on separate servers, complete Changing the IP Address or Hostname when Prime Optical and Oracle Are on the Same Server on both the Prime Optical server workstation and the Prime Optical database workstation. Apply the changes to the same files on both servers.