Sun N1 System Manager 1.3 Troubleshooting Guide

Updating Management Server System Files

This section provides the procedures for configuring the management server system files.

ProcedureTo Update the /etc/hosts File

Steps
  1. Log in as root on the management server.

  2. 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.

ProcedureTo Update the ssh_known_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.

Steps
  1. Note the name and IP address of the inaccessible server.

  2. Log in as root on the management server.

  3. Edit the /etc/opt/sun/n1gc/ssh_known_hosts file and delete the entry for the inaccessible server.

ProcedureTo Update the /etc/resolv.conf File

Step

    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

ProcedureTo Disable Managed Server Automatic Configuration

The following procedure disables the automatic configuration of manageable servers during discovery.

Steps
  1. Log in as root on the management server.

  2. 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.