C H A P T E R  2

Configuring the Sun Fire X4500/X4540 Server Through the Service Processor

This chapter explains how to connect to the server’s service processor (SP) so that you can perform initial configuration tasks. The SP supports the Integrated Lights Out Manager (ILOM) software that you can use to manage the server.

This chapter covers the following topics:

For additional information, see the ILOM documentation at:

http://docs.sun.com/app/docs/prod/sf.x4500

http://docs.sun.com/app/docs/prod/sf.x4540

To learn more about Integrated Lights Out Manager (ILOM), see the appropriate ILOM documentation:



Note - The SP is installed in the system by default.



Introduction to the Integrated Lights Out Manager Software

The Sun Integrated Lights Out Manager (ILOM) software provides powerful tools for managing your Sun Fire X4500/X4540 server.

FIGURE 2-1 Integrated Lights Out Manager GUI Login Page


Graphic showing ILOM GUI login page.

ILOM consists of four components, three of which are on your host server and one which can be used on the client system that accesses your host server.

The first three components are as follows:

These interfaces call the same underlying system management functions on your GRASP board, so you can choose to work with one or more of these ILOM interfaces to integrate with the other management interfaces running in your data center.



Note - The Remote Console application runs on the host server. On client systems, a web browser and Sun Javatrademark runtime environment version 5.0 or later are required. You can download the Java runtime environment for your client system for free from http://java.sun.com.


The fourth ILOM component is:



Note - Sun Microsystems has configured the ILOM hardware and firmware on your server to reflect the most common default settings used in the field. It is unlikely that you will need to change these defaults.



Connecting to the ILOM Service Processor

The ILOM communicates through the system serial port or through a dedicated Ethernet port.

Connecting with the Ethernet requires some configuration.

There are two methods for connecting to the ILOM SP to perform initial setup and configuration:

Connecting to ILOM Using a Serial Connection

You can access the ILOM CLI at any time by connecting a terminal or a PC running terminal emulation software to the RJ-45 serial port on the ILOM board.

Use this procedure to establish a serial connection to the ILOM SP so that you can perform initial configuration of ILOM.



Note - This procedure assumes that you have already completed the hardware setup and have applied standby power to your server, as described in Chapter 1 of this guide.


1. Verify that your terminal, laptop, or terminal server is operational.

2. Configure the terminal device or the terminal emulation software running on a laptop or PC to the following settings:



Note - Connect a serial cable from the RJ-45 SERIAL MGT port on the server’s back panel to a terminal device. See FIGURE 1-15. The serial port requires that the serial cable connected to it use the following pin assignments. Note that these are the same as the serial cable connector for the Sun Advanced Lights Out Manager (ALOM) or Remote System Control (RSC). See TABLE 2-1.



TABLE 2-1 Serial Management Port Pinouts

Pin

Signal Description

1

Request To Send (RTS)

2

Data Terminal Ready (DTR)

3

Transmit Data (TXD)

4

Ground

5

Ground

6

Receive Data (RXD)

7

Data Carrier Detect (DCD)/Data Set Ready (DSR)

8

Clear To Send (CTS)


3. Press Enter on the terminal device.

This establishes the connection between the terminal device and the ILOM.



Note - If you connect a terminal or emulator to the serial port before it has been powered up or during its power-up sequence, you will see bootup messages.


When the system has booted, the ILOM displays its login prompt:

SUNSPnnnnnnnnnn login:

The first string in the prompt is the default host name. It consists of the prefix SUNSP and the ILOM’s MAC address. The MAC address for each ILOM is unique.

4. Log in to the CLI:

a. Type the default user name: root

b. Type the default password: changeme.

When you have successfully logged in, the SP displays the ILOM default command prompt:

->

The ILOM is now accessing the CLI. You can now run CLI commands.

For example, to display status information about the motherboard in your server, type the following command:

-> show /SYS/MB

Use the ILOM commands to configure the server’s user accounts, network settings, access lists, alerts, and so on. For detailed instructions on CLI commands, see the Integrated Lights Out Manager 2.0 User’s Guide.

5. To go to the host serial console (host COM0), type the following commands:

cd /SP/console

-> start



Note - After you have returned to the serial console, to switch back to the CLI, press the Escape and left parenthesis [ ( ] key in rapid succession.


6. After configuring the server, continue with Configuring the Preinstalled Solaris Operating System.

Connecting to ILOM Using an Ethernet Connection

To access the full range of ILOM functionality, you must connect a LAN to the Ethernet port and configure your Ethernet connection.

ILOM supports Dynamic Host Configuration Protocol (DHCP) and static IP addressing.

Configuring the IP Address Using the BIOS Setup Utility

The BIOS Setup utility enables you to set the ILOM IP address and to configure it manually or to use DHCP.

Before You Begin

1. Unpack your server and connect the system power cable to a power source.

Refer to your platform documentation for instructions on installing the hardware, cabling, and powering on.

2. If you plan to use DHCP, verify that your DHCP server is configured to accept new media access control (MAC) addresses.

To Configure the IP Address

1. Start the BIOS Setup utility.

a. Boot the system.

b. When you see a boot message, press F2 to enter BIOS Setup.

After some messages and screen changes, the BIOS Setup utility is displayed.

2. Select the Advanced tab.

The Advanced page is displayed.

3. Highlight IPMI 2.0 Configuration in the list, and then select Enter.

The IPMI 2.0 Configuration page is displayed.

4. Fill in the IPMI 2.0 Configuration page.

a. Under IP Assignment, select DHCP or Static.

b. If you selected Static, fill in the IP address, subnet mask, and default gateway at the bottom of the page.

5. Select Commit to save your changes.

If you selected DHCP, the BIOS utility automatically updates the address fields.



caution icon Caution - You must use Commit to save the changes on this page. Pressing F10 does not save your changes.


Configuring ILOM Using DHCP

To configure the ILOM to use a DHCP address:

1. Verify that your DHCP server is configured to accept new media access control (MAC) addresses.

2. Unpack your server and connect the system power cable to a power source.

3. Obtain the service processor MAC address from one of the following locations.

MAC addresses are 12-digit hexadecimal strings in the format xx:xx:xx:xx:xx:xx where x represents a single hexadecimal letter (0-9, A-F, a-f). Write down that address for future reference.

4. Connect an Ethernet cable to the RJ-45 NET MGT Ethernet port.

See FIGURE 1-15.

5. Assign an Ethernet address directly, or let DHCP assign one for you.

a. To assign your own Ethernet address, use the DHCP configuration software to assign an IP address to the MAC address noted in Step 3. See the DHCP server documentation for details.

b. To let DHCP assign an IP address:



Note - Various DHCP server applications running on different operating systems store these log files in different locations. Consult your DHCP system administrator to locate the correct path to the log file.


When you connect an Ethernet cable to the ILOM, the ILOM provides its MAC address and DHCP assigns the ILOM an IP address.

i. Log in to your DHCP server and view its DHCP log file.

ii. Identify the IP address in the log file that corresponds to the ILOM MAC address.

Typically, DHCP log file entries are individual lines with the following comma-separated fields:

ID, Date, Time, Description, IP Address, Host Name, MAC Address

Locate the MAC address of your ILOM in the MAC Address (seventh) field of the correct DHCP file entry, and record the corresponding value of the IP Address (fifth) field. This is the IP address that you must use to access the web browser and the remote console.

When this procedure is complete, you can access the ILOM using the IP address assigned by DHCP.

Configuring ILOM Using a Static IP Address

Usually, you configure the ILOM to use DHCP, as described in Configuring ILOM Using DHCP.

If you choose to configure the ILOM using a static IP address, you can do so using one of these methods:

Before You Begin

1. Unpack your server and connect the system power cable to a power source.

2. Obtain the ILOM IP address from one of the following locations. Record the IP address for future reference.



Note - You can set the IP address using the BIOS Setup utility, IPMI 2.0 Configuration page. If the address you see there is acceptable, you do not need to change anything. To change the IP address, type the new address in the IP Address field and click Commit. See Configuring the IP Address Using the BIOS Setup Utility for details.


Configuring a Static IP Address Using CLI and a Serial Connection

To set a static IP address for the ILOM using the CLI and a serial line connection:

1. Establish a serial connection to the ILOM.

See Connecting to ILOM Using a Serial Connection for details.

2. Log in to the ILOM.

3. Type the following command to set the working directory:

cd /SP/network

4. Type the following commands to specify a static Ethernet.



Note - The following values are examples only. You must specify the IP address, netmask, and gateway appropriate for your ILOM and network configuration.


set pendingipaddress=129.144.82.26

set pendingipnetmask=255.255.255.0

set pendingipgateway=129.144.82.254

set commitpending=true

5. Log out of the ILOM.

Configuring a Static IP Address Using the CLI and Ethernet

1. Log in to the ILOM using Secure Shell (SSH) over the network, or by connecting a terminal to the serial port.

To establish an SSH connection to the CLI, type the appropriate connection command in the SSH application. For example, to connect to the SP with an IP address of 129.144.82.20, type the following command:

# ssh -l root 129.144.82.20

Use the IP address you obtained in Before You Begin.

2. Type the following command to set the working directory:

cd /SP/network

3. Type the following commands to specify a static Ethernet.



Note - The following values are samples only. You must specify the IP address, netmask, and gateway appropriate for your ILOM and network configuration.


set pendingipaddress=129.144.82.26

set pendingipnetmask=255.255.255.0

set pendingipgateway=129.144.82.254

set pendingipdiscovery=static

set commitpending=true

Configuring a Static IP Address Using the Web Interface

To set a static IP address for the ILOM using the web browser, do the following. To access the full range of ILOM functionality such as the GUI, connect a LAN to the Ethernet port and configure your Ethernet connection.

1. Connect to the ILOM through a web browser running on a remote system.

Use the IP address you obtained in Before You Begin.

2. Log in to the web browser.

The default user name is root, and the default password is changeme.

3. Choose the Configuration tab and its Network tab to display information about the current ILOM network configuration. See FIGURE 2-2.

4. Click the Use the Following IP Address option. See FIGURE 2-2.

FIGURE 2-2 Integrated Lights Out Manager Network Settings Page


Graphic showing ILOM GUI with the Configuration and Network tabs chosen. and with the Use the Following IP Address button selected.

5. Modify the displayed settings as required, and click save.

ILOM supports Dynamic Host Configuration Protocol (DHCP) and static IP addressing.


Upgrading to ILOM 2.0.2.5 Changes Controller IDs

For information on how the disk mapping changes when upgrading from pre-ILOM 2.0.2.5 to ILOM 2.0.2.5 and later, see the following sections:


ILOM Command Reference

The following table summarizes ILOM commands you can use to manage the SP. For more information on ILOM commands, see the following table and the ILOM User’s Guide.


TABLE 2-2 Sample ILOM Commands

Description

Command

User Commands

Add a local user.

create /SP/users/user1 password=password
role=administrator|operator

Delete a local user.

delete /SP/users/user1

Change a local user’s properties.

set /SP/users/user1 role=operator

Display information about all local users.

show -display [targets|properties|all]
-level [
value|all] /SP/users

Display information about LDAP settings.

show /SP/clients/ldap

Change LDAP settings.

set /SP/clients/ldap binddn=proxyuser
bindpw=
proxyuserpassword
defaultrole=administrator|operator

ipaddress=ipaddress

Network and Serial Port Setting Commands

Display network configuration information.

show /SP/network

Change network properties for the ILOM. Changing certain network properties, like the IP address, disconnects your active session.

set /SP/network pendingipaddress=ipaddress pendingipdiscovery=dchp|static
pendingipgateway=
ipgateway
pendingipnetmask=
ipnetmask commitpending=true

Display information about the external serial port.

show /SP/serial/external

Change the external serial port configuration.

set /SP/serial/external pendingspeed=integer commitpending=true

Display information about the serial connection to the host.

show /SP/serial/host

Change the host serial port configuration.

Note: This speed setting must match the speed setting for serial port 0, COM1 or /dev/ttyS0 on the host operating system.

set /SP/serial/host pendingspeed=integer commitpending=true

Alert Commands

 

Display information about PET alerts. You can configure up to 15 alerts.

show /SP/alert/rules/1...15

Change alert configuration.

set /SP/alert/rules/1...15 destination=ipaddress level=down|critical|major|minor

System Management Access Commands

Display information about HTTP settings.

show /SP/services/http

Change HTTP settings, such as enabling automatic redirection to HTTPS.

set /SP/services/http port=portnumber secureredirect enabled|disabled

servicestate=enabled|disabled

Display information about HTTPS access.

show /SP/services/https

Change HTTPS settings.

set /SP/services/https port=portnumber servicestate=enabled|disabled

Display SSH DSA key settings.

show /SP/services/ssh/keys/dsa

Display SSH RSA key settings.

show /SP/services/ssh/keys/rsa

SNMP Commands

 

Display information about SNMP settings. By default, the SNMP port is 161 and v3 is enabled.

show /SP/services/snmp engineid=snmpengineid
port=snmpportnumber sets=enabled|disabled
v1=enabled|disabled v2c=enabled|disabled
v3=enabled|disabled

 

Display SNMP users.

show /SP/services/snmp/users

Add an SNMP user.

create /SP/services/snmp/users/snmpusername authenticationpassword=password
authenticationprotocol=
MD5|SHA
permissions=
rw|ro privacypassword=password privacyprotocol=none|DES

Delete an SNMP user.

delete /SP/services/snmp/users/snmpusername

Display information about SNMP public (read-only) communities.

show /SP/services/snmp/communities/public

Add this device to an SNMP public community.

create /SP/services/snmp/communities/
public/
comm1

Delete this device from an SNMP public community.

delete /SP/services/snmp/communities/
public/
comm1

Display information about SNMP private (read-write) communities.

show /SP/services/snmp/communities/private

Add this device to an SNMP private community.

create /SP/services/snmp/communities/
private/
comm2

Host System Commands

 

Delete this device from an SNMP private community.

delete /SP/services/snmp/communities/
private/
comm2

Start the host system.

start /SYS

Stop the host system.

stop /SYS

Reset the host system.

reset /SYS

Start a session to connect to the host console.

start /SP/console

Stop the session connected to the host console.

stop /SP/console

Clock Settings

 

Set the ILOM clock to synchronize with a primary NTP server.

set /SP/clients/ntp/server/1 address=ntpIPaddress

Set the ILOM clock to synchronize with a secondary NTP server.

set /SP/clients/ntp/server/2 address=ntpIPaddress2