| Manage ILOM Configuration Management Interfaces Using SNMP
 | 
| Topics
 |  
 | 
| Description
 | Links
 | 
| Review the prerequisites
 |  | 
| Configuring ILOM configuration management interfaces
 |  | 
| Related Topics
 |  
 |  
 | 
| For ILOM
 | Section
 | Guide
 | 
|  | 
Configuration Management and Firmware Updates
 | Oracle Integrated Lights Out Manager (ILOM) 3.0 Concepts Guide (820-6410)
 | 
|  | 
Backing Up and Restoring the ILOM Configuration
 | Oracle Integrated Lights Out Manager (ILOM) 3.0 Web Interface Procedures Guide (820-6411)
 | 
|  | 
Backing Up and Restoring the ILOM Configuration
 | 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 ILOM Configuration Management Interfaces
| Topics
 |  
 | 
| Description
 | Links
 | 
| Configure ILOM configuration management interfaces
 |  | 
|  View and Configure Policy Settings
 | 
| Note - You can use the get and set commands to view and configure policy 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 a short description of the policy for policy ID number 2, type:
| % snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlPolicyShortStr.2
 | 
 
- To view a verbose description of the policy for policy ID number 2, type:
| % snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlPolicyLongStr.2
 | 
 
- To view the status of the policy for policy ID number 2, type:
| % snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlPolicyEnabled.2
 | 
 
- To set the status of the policy for policy ID number 2 enabled, type:
| % snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlPolicyEnabled.2 i 1
 | 
 
|  Configure Power Setting
 | 
| Note - You can use the set command to configure the power setting. For a description of the MIB object used in this command, 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 example:
- To specify the action “powerOn” and apply it to the power control target named ‘/SYS’, type:
| % snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlPowerAction.’/SYS’ i 1
 | 
 
|  View and Configure Backup and Restore Settings
 | 
| Note - You can use the get and set commands to view and configure backup and restore 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 restore the configuration on the SP to the original factory default state, type:
| % snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlResetToDefaultsAction.0 i 3
 | 
 
- To view the target destination of configuration XML file during backup and restore operation, type:
| % snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress lomCtrlBackupAndRestoreTargetURI.0
 | 
 
- To set the target destination of configuration XML file during the backup and restore operation to tftp://10.8.136.154/remotedir/config_backup.xml, type:
| % snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress lomCtrlBackupAndRestoreTargetURI.0 s ‘tftp://10.8.136.154/remotedir/config_backup.xml’
 | 
 
- To set the passphrase to encrypt or decrypt sensitive data during the backup and restore operation, type:
| % snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlBackupAndRestorePassphrase.0 s ‘passphrase’
 | 
 
- To view the property used to issue a action, either backup or restore, type:
| % snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlBackupAndRestoreAction.0
 | 
 
- To issue a restore action using the ilomCtrlBackupAndRestoreAction MIB object, type:
| % snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlBackupAndRestoreAction.0 i 2
 | 
 
- To monitor the current status of backup or restore operation, type:
| % snmpget -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlBackupAndRestoreActionStatus.0
 | 
 
|  Configure the Reset Setting
 | 
| Note - You can use the set command to configure the reset setting. For a description of the MIB objects used in this command, 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 example:
- To specify the action “reset” and apply it to the reset control target named ‘/SP’, type:
| % snmpset -mALL -v2c -cprivate SNMP_agent_ipaddress ilomCtrlResetAction.’/SP’ i 1
 | 
 
 
| 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.