C H A P T E R  2

Managing the Host

This chapter contains information on ILOM features on the Sun Netra T5440 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. Topics include:


Managing Host Boot Mode

Use the remote control 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 with 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 for a single boot only, 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  To Manage the Host’s Boot Mode LDoms Configuration Using the CLI

  •   Type:


    -> set /HOST/bootmode config=value
    

    where the config property takes a configname value such as a named logical domain configuration downloaded to the SP using the Logical Domains software.

    For example, if you have created a logical domain configuration called ldm-set1:


    -> bootmode config=ldm-set1
    

    To return the boot mode config to the factory default configuration, specify factory-default.

    For example:


    -> bootmode config=factory-default
    

procedure icon  To Manage the Host’s Boot Mode Script Using the CLI

  •   Type:


    -> set /HOST/bootmode script=value
    

    where script controls the host server OpenBoot PROM firmware method of booting.

    The script does not affect the current /HOST/bootmode setting. string can be up to 64 bytes in length. You can specify a /HOST/bootmode setting and set the script within the same command.

    For example:


    -> set /HOST/bootmode state=reset_nvram script="setenv diag-switch? true"
    

    After the server resets and OpenBoot PROM reads the values stored in the script, firmware sets the OpenBoot PROM variable diag-switch? to the user-requested value of true.



    Note - Note: If you set /HOST/bootmode script="", ILOM sets the script to empty. If you set /HOST/bootmode config="", ILOM sets the config to empty.



procedure icon  To Change the Host’s Boot Mode Behavior at Reset Using the CLI

The /HOST/bootmode state property controls how OpenBoot nonvolatile random access memory (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.

  •   Type:


    -> set /HOST/bootmode state=value
    

    where value is one of the following:

    •   normal – At next reset, retains current NVRAM variable settings

    •   reset_nvram – At next reset, returns OpenBoot variables to default settings



      Note - state=reset_nvram will return to normal after the next server reset (or 10 minutes (see expires property in the Integrated Lights Out Management 2.0 User’s Guide). config and script properties do not expire and will be cleared upon the next server reset or manually by setting string to "".



procedure icon  To Display Host’s Boot Mode Expiration Date Using the CLI

  •   At the -> prompt, type the following command:


    -> show /HOST/bootmode expires
    Properties:
    expires = Thu Oct 18 18:24:16 2007/
    

    where expires is the date at which the current bootmode state expires.

procedure icon  To Change Boot Mode Configuration Settings Using the Web Interface



ILOM provides several ways to configure the server’s firmware environment. There are four aspects to configuring the boot mode:

  • State

  • Expiration Date

  • Script

  • LDom Configuration

  1. Log into 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.

  4. View the Expiration Date.

  5. Specify a boot script.

  6. Specify an LDom configuration file.

  7. Click Save.


Viewing Host Information and Setting System Policy Concerning Error Conditions

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

procedure icon  To Display the Host’s MAC Address Using the CLI

The /HOST macaddress property is automatically configured by the system software, so you cannot set it or change it. The value is read and determined from the server’s MAC address 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  To Display the Host’s OpenBoot Version Using the CLI

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

  1. To view the current setting for this property, type:


    -> show /HOST obp_version
    

procedure icon  To Display the Host’s POST Version Using the CLI

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

procedure icon  To Specify Host Behavior When the Watchdog Timer Expires Using the CLI

Use the /HOST autorestart property to specify how ILOM should handle expiration of the Solaris watchdog timer.

procedure icon  To Specify Host Behavior When an Error Is Discovered During Diagnostics Using the CLI

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

procedure icon  To View Host Information Using the Web Interface

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



ILOM provides several ways to view or configure host control features. There are six aspects to host control:

  • MAC address

  • OpenBoot version

  • POST version

  • POST status

  • Auto Run On Error

  • Auto Restart Policy

  1. Log into 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 OpenBoot version.

  5. View the POST version.

  6. Select a value for Auto Run On Error.

  7. Select a value for Auto Restart Policy.

  8. Click on Save.


Managing Host Diagnostics

Use the diagnostic control properties to specify how ILOM behaves when it encounters an error on the host server.

ILOM uses the following diagnostic system interface property:

procedure icon  To Specify the Level of Diagnostics Using the CLI

Use the /HOST/diag level property to specify the level of diagnostic testing to be executed when diagnostics are enabled.

procedure icon  To Change the Diagnostics Mode Using the CLI

Use the /HOST/diag mode property to control whether diagnostics are enabled and to specify which diagnostic mode is enabled.

procedure icon  To Specify Diagnostic Trigger Conditions Using the CLI

Use the /HOST/diag trigger property to control the conditions under which POST runs if diagnostics are enabled.

procedure icon  To Choose the Amount of Verbosity in Diagnostic Output Using the CLI

Use the /HOST/diag verbosity property to specify the verbosity level of the output from POST diagnostics, if diagnostics are enabled.

procedure icon  To Manage Diagnostics Settings Using the Web Interface

This procedure describes how to view and configure diagnostics settings.



ILOM provides several ways to view or configure diagnostics. There are four aspects to host control:

  • Trigger

  • Verbosity

  • Level

  • Mode

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

  2. Select Remote Control -> Diagnostics.

  3. Select a value for Trigger.

  4. Select a value for Verbosity.

  5. Select a value for Level.

  6. View the Current Mode.

  7. Select a value for Update Mode.


Managing System User Interactions

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

procedure icon  To Enable the System to Send a Break Signal or Force a Core Dump Using the 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 brings the server into debug mode. Specify send_break_action=dumpcore to force a core dump.

procedure icon  To Display Host Status Information Using the CLI

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