C H A P T E R  2

Managing the Host

This chapter contains information on ILOM features on 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-2.


Managing Remote Control

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 Configuration Using the CLI

single-step bullet  At the -> prompt, type the following command:


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

single-step bullet  At the -> prompt, type the following command:


-> 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 prepares the service processor firmware for reset, retaining the current settings of OpenBoot nonvolatile read-only memory (NVRAM) variables. Setting /HOST/bootmode state=reset_nvram changes the OpenBoot NVRAM variables to default settings.

single-step bullet  At the -> prompt, type the following command:


-> set /HOST/bootmode state=value

where value is one of the following:



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

single-step bullet  At the -> prompt, type the following command:


-> show /HOST/bootmode expires

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


procedure icon To Change Remote Control Configuration Settings Using the Web Interface

Screen shot of the ILOM web interface, showing the Boot Mode fields.

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

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 System 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).

single-step bullet  To view the current setting for this property, type the following command:


-> show /HOST macaddress


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.

single-step bullet  To view the current setting for this property, type the following command:


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

single-step bullet  To view the current setting for this property, type the following command:


-> show /HOST post_version


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

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

single-step bullet  To set this property, type the following command:


-> set /HOST autorestart=value

where values can be none, reset, or dumpcore (default value: reset).



Note - The default option (reset) supports the Oracle Solaris watchdog timer.



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

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

single-step bullet  To set this property, type the following command:


-> set /HOST autorunonerror=value

Where values can be true or false. The default value is false.


procedure icon  To View Host Information Using the Web Interface

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


Screen shot of the ILOM web interface, showing the Host Control fields.

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

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

single-step bullet  At the -> prompt, type the following command:


-> set /HOST/diag level=value

where value is one of the following:


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.

single-step bullet  At the -> prompt, type the following command:


-> set /HOST/diag mode=value

where value is one of the following:


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.

single-step bullet  At the -> prompt, type the following command:


-> set /HOST/diag trigger=value

where value is one (or a combination, supplied within quote marks) of the following:

The default value is the combination of power-on-reset error-reset.

For example:,


-> set /HOST/diag trigger=”user-reset power-on-reset”
-> show /HOST/diag trigger
user-reset power-on-reset


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.

single-step bullet  At the -> prompt, type the following command:


-> set /HOST/diag verbosity=value

where value is one of the following:


procedure icon  To Manage Diagnostics Settings Using the Web Interface

This procedure describes how to view and configure diagnostics settings.


Screen shot of the ILOM web interface, showing the Diagnostics fields.

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

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 Choose Host Response Modes to Break Signals 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 the break command brings the server into debug mode.

single-step bullet  At the -> prompt, type the following command:


-> set /HOST send_break_action=value

where value is one of the following:


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.

single-step bullet  At the -> prompt, type the following command:


-> show /HOST status

The command returns information similar to the following:


-> show /HOST status
    Properties:
        status = OS Running
 
    Commands:
        show ->