Cisco Headend System Release 2.7 Guida All'Installazione
Chapter 7 Change the DNCS and Application Server Hostname with the hostnmchg Script
100
740020 Rev H
7 Type the following command:
chmod +x /dvs/appserv/bin/hostnmchg.sh and then press Enter. Executable
permissions are applied to the hostnmchg.sh file.
permissions are applied to the hostnmchg.sh file.
8 Type the following command:
/dvs/appserv/bin/hostnmchg.sh [new_hostname] [new_ip_address] and then
press Enter.
Notes:
press Enter.
Notes:
Substitute your new hostname for [new_hostname].
Substitute your new IP address for [new_ip_address].
Result: The following message appears:
This script will modify the system as follows:
Old hostname = <old_hostname>
Old IP address = <old_ip_address>
New hostname = <new_hostname>
New IP address = <new_ip_address>
Primary network interface file = /etc/hostname.hme0
Continue [y,n,?,q]
This script will modify the system as follows:
Old hostname = <old_hostname>
Old IP address = <old_ip_address>
New hostname = <new_hostname>
New IP address = <new_ip_address>
Primary network interface file = /etc/hostname.hme0
Continue [y,n,?,q]
9 Type y to continue (or press n to exit) and then press Enter.
Results:
The script changes the hostname of the Application Server.
A message instructing you to reboot the Application Server appears.
10 Type /usr/sbin/shutdown -y -g0 -i0 and then press Enter. The Application
Server shuts down.
11 Go to Restart the Applications (on page 101).