ServerConductor/Blade Server Manager Description and Reference

### 3.8.2 Setting BMC when a Linux server is managed

When a Linux server is being managed, use the environment setting command (smhaaedit) to set BMC.

Organization of this subsection
  (1) Setting by using the environment setting command (smhaaedit)
  (2) smhaaedit command format
  (3) Main menu of the environment setting command

#### (1) Setting by using the environment setting command (smhaaedit)

To set BMC:

1. Execute the smhaaedit command.
   The main menu of the environment setting command appears.
2. Select a desired item and then configure it.

#### (2) smhaaedit command format

The command start format is as follows:

    /usr/sbin/smhaaedit [-slevel-count] [-g[width][xheight]] [-bmc]
    /usr/sbin/smhaaedit -h

The following describes the start options:

-s level-count
  Specifies the number of menu levels to be displayed. When this option is omitted, the number of menu levels is determined by the window size. The permitted value is 1 or 2.

-g[width][x height]
  Specifies the window size in characters. The permitted value for the width (-g) is from 10 to 160 and for the height (x) is from 10 to 72. The default is -g80x24.

-bmc
  When this option is specified, the failure monitoring settings menu is displayed.

-h
  Specifies that the usage of the environment setting command is to be displayed.

#### (3) Main menu of the environment setting command

The following shows the main menu of the environment setting command:

    ####      Configuration Main Menu       ####
      1. Agent Configuration
      2. SNMP Configuration
      3. BMC Configuration
    Command (1-3/Quit)>

Four selections are available: 1, 2, 3, and Quit.

When 1 is chosen, the Agent Configuration settings menu is displayed. This menu provides the following setting items:

Item | Default | Setting
--- | --- | ---
SNMPTranslatorAgentService | Disabled | Set whether the SNMP function is to be enabled or disabled: Enabled Disabled
BMCAgentService | Enabled | Set whether the BMC function is to be enabled or disabled: Enabled Disabled

When 2 is chosen, the SNMP settings menu is displayed for editing the SNMP settings.

When 3 is chosen, the failure monitoring settings menu is displayed. This menu provides the following setting items:

Item | Default | Setting
--- | --- | ---
ErrorWatching | Enabled | Set whether failures are to be monitored: Enabled: Monitor for failures Disabled: Do not monitor for failures
ErrorWatchingInterval | 5 | Set (in minutes) the interval at which the server is to be monitored for fatal errors, such as server hangup or OS shutdown. Failures are detected at the specified interval. The permitted value range is from 3 to 60.
ProcessAtError | 0 | Set the processing to be executed automatically in the event of a server failure. You can set one of the following: 0: Do nothing when a failure occurs. 1: Perform the same processing as when the server's RESET button is pressed. Note that the server might not be reset successfully depending on the nature of the failure. 2: Turn off the power when a failure occurs. 3: Turn off the power when a failure occurs, and then immediately turn it back on.
PowerOffWatching | Disabled | If a power-off error occurs on the agent service in the event of an alert, use this item to set whether the power-off processing is to be retried within a specified time. To retry power-off processing, set this item to Enabled.
PowerOffWatchingTimeout | 10 | Set the retry timeout value for the power-off processing. This item is applicable only when PowerOffWatching is Enabled. The permitted value range is from 10 to 60 minutes.
RebootWatching | Disabled | If a reboot error occurs on the agent service in the event of an alert, use this item to set whether rebooting is to be retried within a specified time. To retry rebooting, set this item to Enabled.
RebootWatchingTimeout | 10 | Set the retry timeout value for rebooting. This item is applicable only when RebootWatching is Enabled. The permitted value range is from 10 to 60 minutes.

When Quit is chosen, the smhaaedit command terminates.

All Rights Reserved. Copyright (C) 2006, Hitachi, Ltd.