User guide
5-42
Cisco Media Gateway Manager 5.0 User Guide
OL-5461-02
Chapter 5 Maintaining an Efficient Network
How Do I Modify the Network?
c. 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
d. Enter the following command to change the default router file, if required:
# vi /etc/defaultrouter
e. Enter the following command to change the subnet mask on the Cisco MGM 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 /oraclesw9i/producl/9.2/network/admin/listener.ora
b. Enter the following command to change the IP address in the Oracle tnsnames file:
# vi /oraclesw9i/producl/9.2/network/admin/tnsnames.ora
c. Enter the following command to change the IP address in the Cisco MGM server configuration file:
# vi /opt/CiscoMGMServer/cfg/CTMServer.cfg
Note The default directory /opt/CiscoMGMServer may have been changed during installation of
the Cisco MGM server.
Note Make sure to change all IP addresses where they are referenced.
Step 6 Enter the following commands to halt and reboot the Cisco MGM server:
# sync:sync;halt
OK boot -r
5.3.6.1 Updating the Configuration Files after Changing the Cisco MGM Server IP Address
If you change the Cisco MGM server IP address (as shown in section 5.3.6 Changing the Server IP
Address when Cisco MGM and Oracle Are on the Same Server, page 5-41) you must replace the old IP
address with the new IP address in the configuration files shown in Table 5-18. 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 5-18 Configuration Files that Require Updating
Filename Location
UNIX Configuration Files
hosts /etc
netmasks /etc
defaultrouter /etc