This section provides the procedures for configuring the management server system files.
Log in as root on the management server.
Edit /etc/hosts and ensure that the entries are similar to the following example:
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost 111.222.333.44 machine-name loghost
where 111.222.333.44 is the IP address of the N1 System Manager server, and machine-name is the name of the N1 System Manager management server.
For example, if the machine name is n1manager, and the assigned IP address for eth0 is 129.123.111.12, then the /etc/hosts file should contain the following settings:
# Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdomain localhost 129.123.111.12 n1manager loghost
You must reboot the system after updating the /etc/hosts file.
The management server /etc/opt/sun/n1gc/ssh_known_hosts file contains the name, IP address, and encrypted access keys for SSH-accessible servers. A stale or obsolete entry for a server in the /etc/opt/sun/n1gc/ssh_known_hosts file prevents SSH access to that server. The solution is to remove the entry for server from the /etc/opt/sun/n1gc/ssh_known_hosts file as follows.
Note the name and IP address of the inaccessible server.
Log in as root on the management server.
Edit the /etc/opt/sun/n1gc/ssh_known_hosts file and delete the entry for the inaccessible server.
Edit /etc/resolv.conf and ensure that the entries are similar to the following:
nameserver server 1 IP address nameserver name server 2 IP address nameserver name server 3 IP address domain your-domain-name search your-domain-name
For example, assume the IP address of the first DNS server is 129.123.111.12, the second DNS server is 129.123.111.24, and the third DNS server is 129.123.111.36. If your company domain name is mydomain.com, then the /etc/resolv.conf file would contain the following lines.
nameserver 129.123.111.12 nameserver name 129.123.111.24 nameserver name 129.123.111.36 domain mydomain.com search mydomain.com
The following procedure disables the automatic configuration of manageable servers during discovery.
Log in as root on the management server.
Edit the /etc/opt/sun/n1gc/domain.properties file and add the following line to the file:
com.sun.hss.domain.internal.discovery.initializeDevice=false
The N1 System Manager system must be restarted for auto configuration disabling to take effect. Note that once auto configuration is disabled, any servers in a factory default state cannot be discovered until their SSH and IPMI accounts are configured. For further information, see Setting Up Manageable Servers in Sun N1 System Manager 1.3 Site Preparation Guide.