C H A P T E R  2

Managing the Host

This chapter contains information on ILOM features in the Sun Netra T5220 server that augment the array of properties that are common to ILOM on other platforms. In particular, this chapter describes the properties in the /HOST namespace. This chapter consists of:


Resetting the Host

The reset command generates a graceful or forced hardware reset of the host server. By default, the reset command gracefully resets the host. If a graceful reset is not possible, a forced reset is performed. For a list of available options for the reset command in both the ILOM and ALOM compatibility CLIs, see Table B-6, ALOM CMT Shell Miscellaneous Commands


Managing Host Boot Mode

Use the boot mode properties to specify how ILOM handles boot.

Boot Mode

Boot mode (bootmode) properties enable you to override the default method the server uses when it boots. This ability is useful to override particular OpenBoot or LDoms settings that might be incorrect, to set up OpenBoot variables using a script, or similar tasks.

For example, if the OpenBoot settings have become corrupt, you can set the bootmode state property to reset_nvram then reset the server to its factory default OpenBoot settings.

Service personnel might instruct you to use the bootmode script property for problem resolution. The full extent of script capabilities are not documented and exist primarily for debugging.

Because bootmode is intended to be used to correct a problem with the OpenBoot or LDoms settings, the bootmode takes effect for a single boot only. Additionally, to prevent an administrator from setting a bootmode state property and forgetting about it, a bootmode state property expires if the host is not reset within 10 minutes of the bootmode state property being set.

procedure icon  Manage the Host Boot Mode LDoms Configuration (CLI)

procedure icon  Change the Host Boot Mode Behavior at Reset (CLI)

The /HOST/bootmode state property controls how OpenBoot NVRAM variables are used. Normally the current settings of these variables are retained. Setting /HOST/bootmode state=reset_nvram changes the OpenBoot NVRAM variables to their default settings at the next reset.

procedure icon  Manage the Host Boot Mode Script (CLI)

procedure icon  Display Host’s Boot Mode Expiration Date (CLI)

procedure icon  View or Configure Boot Mode Settings (Web Interface)

Boot Mode tab of ILOM GUI.

You can use the ILOM browser interface to view or configure the four aspects of boot mode control:

  • State

  • Expiration Date

  • Script

  • LDom Configuration

  1. Log in to the ILOM web interface as Administrator (root) to open the web interface.

  2. Select Remote Control -> Boot Mode Settings.

  3. Select the Boot Mode State, if desired.

  4. View the Expiration Date.

  5. Specify a boot script, if desired.

  6. Specify an LDoms configuration file, if desired.

  7. Click Save.


Viewing and Configuring Host Control Information

Use the host information properties to view system configuration and firmware version information.

procedure icon  Display the Host’s MAC Address (CLI)

The /HOST macaddress property is automatically configured by the system software, so you cannot set or change the property. The value is read and determined from the server’s removable system configuration card (SCC PROM) and then stored as a property in ILOM.

/HOST macaddress is the MAC address for the net0 port. The MAC addresses for each additional port increments from the /HOST macaddress. For example, net1 is equal to the value of /HOST macaddress plus one (1).

procedure icon  Display the Host’s OpenBoot Version (CLI)

The /HOST macaddress property displays information about the version of OpenBoot on the host.

procedure icon  Display the Host’s POST Version (CLI)

The /HOST post_version property displays information about the version of POST on the host.

procedure icon  Specify Host Behavior After the Host Resets (CLI)

Use the /HOST autorunonerror property to specify whether the host should continue to boot after system diagnostics have discovered an error.

procedure icon  Specify Host Behavior When the Host Stops Running (CLI)

Use the /HOST autorestart property to specify what ILOM should do when the host leaves the RUNNING state (when the watchdog timer expires).

Managing Automatic Restart

Your server supports automatic restart.

procedure icon  Set the Boot Timeout Interval

  •   Set the time delay between a request to boot the host and booting the host:


    -> set /HOST boottimeout=seconds
    

    The default value of boottimeout is 0 (zero seconds).

procedure icon  Specify System Behavior at Boot Timeout

  •   Specify system behavior at the completion of boottimeout:


    -> set /HOST bootrestart=value
    

    where value can be:

    • none (the default)

    • reset

procedure icon  Specify System Behavior if Restart Fails

  •   Type:


    -> set /HOST bootfailrecovery=value
    

    where value can be:

    • powercycle

    • poweroff (the default)

    This action takes effect if the host fails to reach the the Solaris running state.

procedure icon  Specify Maximum Restart Attempts

  •   Type:


    -> set /HOST maxbootfail=attempts
    

    The default value of maxbootfail is 3 (three attempts).

    If the host does not boot successfully within the number of tries indicated by maxbootfail, the host is powered off or powercycled (depending upon the setting of bootfailrecovery). In either case, boottimeout is set to 0 (zero seconds), disabling further attempts to restart the host.

procedure icon  View and Configure Host Control Information (Web Interface)

This procedure describes how to view and configure several kinds of host information.



ILOM enables you to view or configure several host control features. There are six aspects to host control:

  • Auto Run On Error

  • Auto Restart Policy

  • Boot timeout

  • Boot restart policy

  • Maximum boot failures allowed

  • Boot failure recovery

  1. Log in to the ILOM web interface as Administrator (root) to open the web interface.

  2. Select Remote Control -> Host Control.

  3. View the MAC address.

  4. View the Hypervisor version.

  5. View the OpenBoot version.

  6. View the POST version.

  7. View the System Firmware version.

  8. View the Host status.

  9. Select a value for Auto Run On Error, if desired.

  10. Select a value for Auto Restart Policy, if desired.

  11. Select a value for Boot Timeout, if desired.

  12. Select a value for Boot Restart Policy, if desired.

  13. Select a value for Maximum Boot Failures Allowed, if desired.

  14. Select a value for Boot Failure Recovery, if desired.

  15. Click on Save.


Managing System User Interactions

The system user properties enable you to customize the way ILOM identifies and interacts with the host server.

procedure icon  Enable the System to Send a Break Signal or Force a Core Dump (CLI)

Use the set /HOST send_break_action command to bring the server to a menu from which you can choose to go to the OpenBoot PROM prompt (ok). If you have configured the kmdb debugger, then specifying the send_break_action=break command brings the server into debug mode.

Specify send_break_action=dumpcore to force a core dump.

procedure icon  Display Host Status Information (CLI)

Use the show /HOST status command to display information about the host server’s platform ID and status.