Manage SPARC System Configuration Management Interfaces Using SNMP
|
Topics
|
|
Description
|
Links
|
Review the prerequisites
|
|
SPARC management interfaces
|
|
Related Topics
|
|
|
For ILOM
|
Section
|
Guide
|
|
- Remote Host Management Options
|
Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide (820-6410)
|
|
|
Oracle Integrated Lights Out Manager (ILOM) 3.0 Web Interface Procedures Guide (820-6411)
|
|
|
Oracle Integrated Lights Out Manager (ILOM) 3.0 CLI Procedures Guide (820-6412)
|
The ILOM 3.0 Documentation Collection is available at: http://docs.sun.com/app/docs/prod/int.lights.mgr30#hic
|
Before You Begin
Prior to performing the procedures in this chapter, you should ensure that the following requirements are met.
- Before you can use SNMP to view and configure ILOM settings, you must configure SNMP. For more information, see Preparing Your System to Use SNMP.
- To execute the snmpset command, you need to use an SNMP v1 or v2c community or an SNMP v3 user with read/write (rw) privileges.
- For examples of SNMP commands, see SNMP Command Examples.
Note - The example SNMP commands presented in this section are based on the Net-SNMP sample applications and, therefore, will only work as presented if you have Net-SNMP and the Net-SNMP sample applications installed.
|
Configuring SPARC Management Interfaces
Topics
|
|
Description
|
Links
|
Review the prerequisites
|
|
SPARC management interfaces
|
|
View and Configure SPARC Diagnostic Settings
|
Note - You can use the get and set commands to view and configure SPARC diagnostic settings. For a description of the MIB objects used in these commands, see the SUN-ILOM-CONTROL-MIB.
|
1. Log in to a host that has an SNMP tool and the ILOM MIBs installed. For example, type:
ssh username@snmp_manager_ipaddress
Password: password
2. Refer to the following SNMP command examples:
- To view the triggers of embedded diagnostics for the host, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsTrigger.0
|
- To set the triggers of embedded diagnostics for the host to “powerOnReset”, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsTrigger.0 i 4
|
- To view the modes for POST, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsMode.0
|
- To set the POST mode to service, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsMode.0 i 3
|
- To view the level of embedded diagnostics that should be run on the host during a boot for the power-on-reset trigger, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsPowerOnLevel.0
|
- To set the level of embedded diagnostics that should be run on the host during a boot for the power-on-reset trigger to normal, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsPowerOnLevel.0 i 3
|
- To view the level of embedded diagnostics that should be run on the host during a boot for the user-reset trigger, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsUserResetLevel.0
|
- To set the level of embedded diagnostics that should be run on the host during a boot for the user-reset trigger to normal, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsUserResetLevel.0 i 3
|
- To view the level of embedded diagnostics that should be run on the host during a boot for the error-reset trigger, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsErrorResetLevel.0
|
- To set the level of embedded diagnostics that should be run on the host during a boot for the error-reset trigger to normal, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsErrorResetLevel.0 i 3
|
- To view the verbosity level of embedded diagnostics that should be run on the host during a boot, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsPowerOnVerbosity.0
|
- To set the verbosity level of embedded diagnostics that should be run on the host during a boot to maximum, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsPowerOnVerbosity.0 i 4
|
- To view the verbosity level of embedded diagnostics that should be run on the host during a boot for user-reset trigger, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsUserResetVerbosity.0
|
- To set the verbosity level of embedded diagnostics that should be run on the host during a boot for user-reset trigger to maximum, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsUserResetVerbosity.0 i 4
|
- To view the verbosity level of embedded diagnostics that should be run on the host during a boot for error-reset trigger, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsErrorResetVerbosity.0
|
- To set the verbosity level of embedded diagnostics that should be run on the host during a boot for error-reset trigger to maximum, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsErrorResetVerbosity.0 i 4
|
- To view the progress of POST diagnostics on the host, expressed as a percentage, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsStatus.0
|
- To view the property that shows the action to control the POST diagnostics on the host, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsAction.0
|
- To set the property to take control of the POST diagnostics running on the host to start, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCDiagsAction.0 i 2
|
View and Configure SPARC Host Settings
|
Note - You can use the get and set commands to view and configure SPARC host settings. For a description of the MIB objects used in these commands, see the SUN-ILOM-CONTROL-MIB.
|
1. Log in to a host that has an SNMP tool and the ILOM MIBs installed. For example, type:
ssh username@snmp_manager_ipaddress
Password: password
2. Refer to the following SNMP command examples:
- To view the starting MAC address for the host, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostMACAddress.0
|
- To view the version string for OpenBoot PROM (OBP), type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostOBPVersion.0
|
- To view the version string for POST, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostPOSTVersion.0
|
- To view the option that determines whether the host should continue to boot in the event of a non-fatal POST error, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostAutoRunOnError.0
|
- To configure the host to continue to boot in the event of a non-fatal POST error, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostAutoRunOnError.0 i 1
|
- To view the string that describes the status of POST, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostPOSTStatus.0
|
- To view the option that determines what action the SP will take when it discovers that the host is hung, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostAutoRestartPolicy.0
|
- To configure the SP to reset when it discovers that the host is hung, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostAutoRestartPolicy.0 i 2
|
- To view the string that describes the boot status of host operating system, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostOSBootStatus.0
|
- To view the boot timer time-out value, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostBootTimeout.0
|
- To set the boot timer time-out value to 30 seconds, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostBootTimeout.0 i 30
|
- To view the property that determines what action the SP will take when the boot timer expires, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostBootRestart.0
|
- To configure the SP to reset when the boot timer expires, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostBootRestart.0 i 2
|
- To view the maximum number of boot failures allowed by the SP, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostMaxBootFail.0
|
- To set the maximum number of boot failures allowed by the SP to 10, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostMaxBootFail.0 i 10
|
- To view the property that determines what action the SP will take when the maximum number of boot failures is reached, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostBootFailRecovery.0
|
- To configure the SP to power cycle the host when the maximum number of boot failures is reached, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostBootFailRecovery.0 i 2
|
- To view the version string for the Hypervisor, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostHypervisorVersion.0
|
- To view the version string for the system firmware (SysFw), type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostSysFwVersion.0
|
- To view the property that determines the break action that SP will send, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostSendBreakAction.0
|
- To configure the SP to send a dumpcore break action, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostSendBreakAction.0 i 3
|
- To view the property that determines the host I/O reconfiguration policy to apply on next host power-on, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostIoReconfigurePolicy.0
|
- To configure the SP to execute the host I/O reconfiguration policy on the next power-on, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCHostIoReconfigurePolicy.0 i 3
|
View and Configure SPARC Boot Mode Settings
|
Note - You can use the get and set commands to view and configure SPARC boot mode settings. For a description of the MIB objects used in these commands, see the SUN-ILOM-CONTROL-MIB.
|
1. Log in to a host that has an SNMP tool and the ILOM MIBs installed. For example, type:
ssh username@snmp_manager_ipaddress
Password: password
2. Refer to the following SNMP command examples:
- To view the boot mode state for the host, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCBootModeState.0
|
- To configure the host to retain current NVRAM variable settings, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCBootModeState.0 i 1
|
- To view the boot script to use when the boot mode state is set to script, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCBootModeScript.0
|
- To specify the boot script to use when the boot mode state is set to ‘setenv diag-switch’, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCBootModeScript.0 s ‘setenv diag-switch’
|
- To view date and time when the boot mode configuration will expire, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCBootModeExpires.0
|
- To view the string that refers to the LDOM configuration name, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCBootModeLDOMConfig.0
|
- To set the LDOM configuration name to default, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCBootModeLDOMConfig.0 s default
|
View and Configure SPARC Keyswitch Setting
|
Note - You can use the get and set commands to view and configure SPARC key switch settings. For a description of the MIB objects used in these commands, see the SUN-ILOM-CONTROL-MIB.
|
1. Log in to a host that has an SNMP tool and the ILOM MIBs installed. For example, type:
ssh username@snmp_manager_ipaddress
Password: password
2. Refer to the following SNMP command examples:
- To view the current state of the virtual key switch, type:
% snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCKeySwitchState.0
|
- To set the state of the virtual key switch to standby, type:
% snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlSPARCKeySwitchState.0 i 2
|
Oracle Integrated Lights Out Manager (ILOM) 3.0 Management Protocols Reference Guide SNMP, IPMI, WS-Man, CIM
|
820-6413-13
|
|
Copyright © 2010, Oracle and/or its affiliates. All rights reserved.