Changing the Prime Optical Server Host Name and 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 to change the server host name or IP address. This section describes how to change the host name or IP address of the Prime Optical server when Prime Optical and Oracle are on the same or separate servers.
Changing the IP Address and/or Hostname when Prime Optical and Oracle Are on the Same Server
To change the IP address and/or hostname 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
Log in to the Prime Optical server as a root user.
Step 2
As Prime Optical user (root or optusr), enter the following command to shut down the Prime Optical server:
Step 3
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 4
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:
/opt/CiscoTransportManagerServer/bin/opt_sysconfig.sh
b.
Provide the required information as prompted by the opt_sysconfig.sh that is an interactive script.
Step 5
Enter the following command to reboot the Prime Optical server:
Step 6
After the Prime Optical server has rebooted, enter the following command to verify that it has started:
Changing the IP Address when Prime Optical and Oracle Are on Separate Servers
To change the IP address and/or hostname of the Prime Optical server when Prime Optical and Oracle are on separate servers, complete Changing the IP Address and/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 first on the database workstation, then on the server workstation.
Note
If only the hostname is being changed on the Prime Optical server, the changes need to be applied only to the Prime Optical server.