Manually Editing DCM Controller Files
Manual Initialization
2.Using vi or another Linux text editor, edit the /etc/hosts file so that it contains the DCM Controller’s IP address, a Fully Qualified Domain Name (FQDN), and host name.
a.Enter:
vi /etc/hosts
b.Locate the last two lines that show the IP address and FQDN.
127.0.0.1localhost.localdomain localhost
192.168.0.2 localhost.localdomain localhost
c.Press i to enter insert mode.
d.Use the backspace key to delete the default values and edit the lines as follows:
127.0.0.1 localhost.localdomain localhost
<IP address> | <FQDN> | <host name> |
In the second line, replace <IP address> with the IP address you assigned the DCM Controller. Replace <FQDN> with the DCM Con- troller’s FQDN. (The FQDN should include the host name and the domain name.) Replace <host name> with the host name you want to assign the DCM Controller.
The following is an example configuration:
127.0.0.1localhost.localdomain localhost
192.168.115.21 myDCM.hp.com | myDCM |
e.Press the Esc key to exit insert mode and return to command mode.
f.Enter the following to save your changes and exit the file:
:wq
A message is displayed, reporting that the file was “written,” which means your changes were saved to the file.
3.Using vi or another text editor, edit the /etc/sysconfig/network file so the HOSTNAME line includes the DCM Controller’s FQDN.
a.Enter:
vi /etc/sysconfig/network
b.Locate the hostname line.
c.Press i to enter insert mode.