Руководство По Установке для Cisco Headend System Release 2.7
4040195 Rev B
7
Update the /etc/hosts File
Update the /etc/hosts File
In older versions of Solaris 10, the /etc/hosts file was the definitive data store for
hostname/IP address translation data. With the patches introduced in 4.2.1.10, the
/etc/inet/hosts (EIH) is now the definitive data store and the /etc/hosts file and the
/etc/inet/ipnodes file are symbolic links to it. As such, the last step in the
installation script of the 4.2.1.10 update takes the contents of /etc/hosts and places it
into /etc/inet/hosts and creates the correct symbolic links.
hostname/IP address translation data. With the patches introduced in 4.2.1.10, the
/etc/inet/hosts (EIH) is now the definitive data store and the /etc/hosts file and the
/etc/inet/ipnodes file are symbolic links to it. As such, the last step in the
installation script of the 4.2.1.10 update takes the contents of /etc/hosts and places it
into /etc/inet/hosts and creates the correct symbolic links.
To ensure the integrity of your network, you need to make sure that the /etc/hosts
file contains all the IP addresses and their correct network masks in your system
before you install the patches.
file contains all the IP addresses and their correct network masks in your system
before you install the patches.
You should already have an xterm window open on the DNCS and be logged in as
root from the previous procedure.
1 Open the /etc/inet/ipnodes file in a text editor.
2 Open a new xterm window.
3 In the new xterm window, open the /etc/hosts file in a text editor.
4 Position the windows so that you can view the contents of each file.
5 Make sure that all the IP addresses and their network masks that are in the
root from the previous procedure.
1 Open the /etc/inet/ipnodes file in a text editor.
2 Open a new xterm window.
3 In the new xterm window, open the /etc/hosts file in a text editor.
4 Position the windows so that you can view the contents of each file.
5 Make sure that all the IP addresses and their network masks that are in the
/etc/inet/ipnodes file are in the /etc/hosts file. If some are missing or incorrect,
make the necessary adjustments.
make the necessary adjustments.
6 Save the /etc/hosts file.
7 Close both files.
7 Close both files.