Cisco Transport Manager Installation Guide, 9.1
Appendix F: Changing the CTM Server IP Address
Downloads: This chapterpdf (PDF - 100.0KB) The complete bookPDF (PDF - 1.61MB) | Feedback

Changing the CTM Server IP Address

Table Of Contents

Changing the CTM Server IP Address

F.1  Changing the IP Address when CTM and Oracle Are on the Same Server

F.2  Changing the IP Address when CTM and Oracle Are on Separate Servers


Changing the CTM Server IP Address


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

F.1  Changing the IP Address when CTM and Oracle Are on the Same Server

To change the IP address of a standalone CTM server with a single IP interface when CTM and Oracle are on the same server, complete the following steps:


Step 1 Log into the CTM server as the root user.

Step 2 Enter the following command to shut down the CTM server:

ctms-stop

Step 3 Enter the following commands to shut down Oracle:

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

Step 4 Complete the following substeps:

a. Enter the following command to change the IP address in the /etc/netmasks file:

# vi /etc/netmasks

b. Enter the following command to change the IP address in the /etc/inet/hosts file:

# vi /etc/inet/hosts

c. Enter the following command to verify that the /etc/inet/ipnodes file contains the changed IP address:

# cat /etc/inet/ipnodes

d. Enter the following command to change the IP address in the etc/hostname.xxx file, where xxx is the IP interface that is defined in the Solaris server:

# vi /etc/hostname.xxx

e. Enter the following command to change the default router file, if required:

# vi /etc/defaultrouter

f. Enter the following command to change the subnet mask on the CTM server:

# vi /etc/netmasks

Step 5 Complete the following application-level steps:

a. Enter the following command to change the IP address in the Oracle listener file:

# vi /oracle/product/10.2.0/network/admin/listener.ora

b. Enter the following command to change the IP address in the Oracle tnsnames file:

# vi /oracle/product/10.2.0/network/admin/tnsnames.ora

c. Enter the following command to change the IP address in the CTM server configuration file:

# vi /opt/CiscoTransportManagerServer/cfg/CTMServer.cfg


Note Make sure to change all IP addresses where they are referenced.


d. Enter the following command to change the IP address in the jacORB properties file:

# vi /opt/CiscoTransportManagerServer/openfusion/classes/jacorb.properties

e. Enter the following command to change the IP address in the web server configuration file:

# vi /opt/CiscoTransportManagerServer/webServer/conf/httpd.conf

Step 6 Enter the following commands to halt and reboot the CTM server:

# sync;sync;halt
OK boot -r

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

# showctm

Step 8 Enter the following command to stop the CTM server:

# ctms-stop

Step 9 Enter the following command to update the Orbix domain:

# /opt/CiscoTransportManagerServer/cwm/svplus/scripts/conf_orbix.csh PUBLISH_IP 
<new_IP_address>


Note The conf_orbix.csh file is available only if you installed the MGX module.


Step 10 Enter the following command to start the CTM server:

# ctms-start


If you change the CTM server IP address, 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 rebooting the server.

Table F-1 Configuration Files that Require Updating 

Filename
Location
UNIX Configuration Files

hosts

/etc

netmasks

/etc

defaultrouter

/etc

ipnodes

/etc/inet

Oracle Configuration Files

tnsnames.ora

/oracle/product/10.2.0/network/admin

listener.ora

/oracle/product/10.2.0/network/admin

CTM Server Configuration File

CTMServer.cfg

/opt/CiscoTransportManagerServer/cfg

jacorb.properties

/opt/CiscoTransportManagerServer/openfusion/classes

httpd.conf

Note Two IP address instances require modification:

Listen <IP_address>:51
ServerName <IP_address>:51

/opt/CiscoTransportManagerServer/webServer/conf

CTMServer.perm

/opt/CiscoTransportManagerServer/cfg/

NotificationService.xml

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

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


F.2  Changing the IP Address when CTM and Oracle Are on Separate Servers

To change the IP address of the CTM server when CTM and Oracle are on separate servers, complete Changing the IP Address when CTM and Oracle Are on the Same Server on both the CTM server workstation and the CTM database workstation. Apply the changes to the same files on both servers.