Cisco Prime Optical Installation Guide, 9.5
Appendix E: Changing the Cisco Prime Optical Server IP Address

Table Of Contents

Changing the Cisco Prime Optical 9.5 Server IP Address

E.1  Changing the IP Address when Prime Optical and Oracle Are on the Same Server

E.2  Changing the IP Address when Prime Optical and Oracle Are on Separate Servers


Changing the Cisco Prime Optical 9.5 Server IP Address


This appendix describes how to change the IP address of the Prime Optical server when Prime Optical and Oracle are on the same or separate servers.

E.1  Changing the IP Address 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:


Caution This procedure lets you change the IP address but not the hostname.


Step 1 Log into the Prime Optical server as the root user.

Step 2 Enter the following command to shut down the Prime Optical server:

opticalctl stop

Step 3 Enter the following commands to shut down Oracle:

# su - oracle
% sqlplus /nolog
SQL> connect / as sysdba
SQL> shutdown immediate;
SQL> exit
% exit

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 Do the following at application level:

a. Execute the following command to update the IP address in all the configuration files:

# /opt/CiscoTransportManagerServer/bin/changeIP.sh

b. Provide the required information as prompted by the changeIP.sh that is an interactive script.

Step 6 Enter the following command to reboot the Prime Optical server:

# init 6

Step 7 After the Prime Optical server has rebooted, enter the following command to verify that it has started:

# opticalctl status

To reboot the server, you must replace the old IP address with the new IP address in the configuration files shown in the following table. Use a standard UNIX text editor such as vi to update the files. Changes in the configuration files take effect after you reboot the server.

Table E-1 Configuration Files that Require Updating Due to a change in the IP Address 

Filename
Location
UNIX Configuration Files

hosts

/etc

netmasks

/etc

defaultrouter

/etc

ipnodes

/etc/inet

Oracle Configuration Files

tnsnames.ora

/oracle/product/11.2.0/network/admin

listener.ora

/oracle/product/11.2.0/network/admin

Prime Optical Server Configuration File

CTMServer.cfg

/opt/CiscoTransportManagerServer/cfg

jacorb.properties

/opt/CiscoTransportManagerServer/openfusion/classes

httpd.conf

/opt/CiscoTransportManagerServer/webServer/conf

CTMServer.perm

/opt/CiscoTransportManagerServer/cfg/

NotificationService.xml

Note The NotificationService.xml file is present only if Prime Optical GateWay/CORBA is installed.

/opt/CiscoTransportManagerServer/openfusion/domains/
OpenFusion/localhost/NotificationService/


E.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 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.

SSH must be configured again if the IP Address is changed. See Enabling SSH on the Prime Optical Server and Database Workstations for more information.