Table Of Contents
Changing the CTM Server IP Address
E.1 Changing the IP Address when CTM and Oracle Are on the Same Server
E.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.
E.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:
Step 3
Enter the following commands to shut down Oracle:
SQL> connect <username>/<password> as sysdba
Step 4
Complete the following substeps:
a.
Enter the following command to change the IP address in the /etc/netmasks file:
b.
Enter the following command to change the IP address in the /etc/inet/ipnodes file:
c.
Enter the following command to change the IP address in the /etc/hosts file:
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:
e.
Enter the following command to change the default router file, if required:
f.
Enter the following command to change the subnet mask on the CTM server:
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:
Step 7
After the CTM server has rebooted, enter the following command to verify that it has started:
Step 8
Enter the following command to stop the CTM server:
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:
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 E-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/
|
E.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 on the CTM database workstation. Apply the changes to the same files on both servers.