Sun N1 System Manager 1.2 Administration Guide

Replacing Provisionable Servers

This section describes how to replace a failed provisionable server in the N1 System Manager.

ProcedureTo Replace a Server

Steps
  1. Log in to the N1 System Manager.

    See To Access the N1 System Manager Command Line for details.

  2. Type the following command:


    N1-ok> stop server server force
    

    The server is shut down and powered off. See stop server in Sun N1 System Manager 1.2 Command Line Reference Manual for details.

  3. Disconnect the physical server from the rack.

  4. Remove the server from the system.


    N1-ok> delete server server
    
  5. Connect the new server.

    Follow the instructions in Sun N1 System Manager 1.2 Site Preparation Guide.

  6. Discover the replacement server.


    N1-ok> discover IP | IP-IP | subnet/mask [group group] 
    [ipmi password] [snmp credential/credential] [ssh username/password]

    The replacement server is managed. See discover in Sun N1 System Manager 1.2 Command Line Reference Manual for details. You can now set up monitoring. See Supporting Monitoring and Enabling and Disabling Monitoring for details.

Troubleshooting

The discover command credential attributes are used for security. SSH, IPMI, and Telnet require a username and a password. SNMP requires that you input a valid value for the read security community string. If credentials are not specified, the discovery process uses the default credentials that were defined during installation. See Discovering Servers for default credentials.

Discovery might fail due to stale SSH entries on the management server. If the discover command fails with an error message indicating that there are invalid credentials and no true security breach has occurred, remove the /root/.ssh/known_hosts file or the specific entry in the file that corresponds to the provisionable server. Then, retry the discover command.