Update Oracle ILOM Firmware (SNMP)
Before You Begin
-
Before you can use SNMP to view and update Oracle ILOM firmware, you must configure SNMP. For more information, see Configuring SNMP Settings in Oracle ILOM.
-
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 -
You can use the get and set commands to view and configure Oracle ILOM firmware settings. For a description of the MIB objects used in these commands, see the SUN-ILOM-CONTROL-MIB.
Note -
The example SNMP commands presented in this section are based on the Net-SNMP sample applications and, therefore, will work as presented only if you have Net-SNMP and the Net-SNMP sample applications installed.
To update the Oracle ILOM firmware using SNMP:
-
Log in to a host that has an SNMP tool and the Oracle ILOM MIBs installed. For example, type:
ssh username@snmp_manager_ipaddress
Password: password
-
Refer to the following SNMP command examples:
-
To view the version of the current firmware image, type:
% snmpget SNMP_agent ilomCtrlFirmwareMgmtVersion.0
-
To view the build number of the current firmware image, type:
% snmpget SNMP_agent ilomCtrlFirmwareBuildNumber.0
-
To view the build date and time of the current firmware image, type:
% snmpget SNMP_agent ilomCtrlFirmwareBuildDate.0
-
To view the IP address of the TFTP server that will be used to download the firmware image, type:
% snmpget SNMP_agent ilomCtrlFirmwareTFTPServerIP.0
-
To set the IP address of the TFTP server that will be used to download the firmware image, type:
% snmpset SNMP_agent ilomCtrlFirmwareTFTPServerIP.0 a ipaddress
-
To view the relative path of the new firmware image file on the TFTP server, type:
% snmpget SNMP_agent ilomCtrlFirmwareTFTPFileName.0
-
To set the relative path of the new firmware image file on the TFTP server, type:
% snmpset SNMP_agent ilomCtrlFirmwareTFTPFileName.0 s ???tftpfilename'
-
To view the property that determines whether the previous configuration of the server should be preserved after a firmware update, type:
% snmpget SNMP_agent ilomCtrlFirmwarePreserveConfig.0
-
To set the PreservConfig property to true so that the previous configuration of the server is preserved after a firmware update, type:
% snmpset SNMP_agent ilomCtrlFirmwarePreserveConfig.0 i 1
-
To view the property that indicates the status of a firmware update, type:
% snmpget SNMP_agent ilomCtrlFirmwareMgmtStatus.0
-
To view the property that is used to initiate a firmware update using the values of the other firmware management properties as parameters, type:
% snmpget SNMP_agent ilomCtrlFirmwareMgmtAction.0
-
To set the property so as to initiate a firmware update using the values of the other firmware management properties as parameters, type:
% snmpset SNMP_agent ilomCtrlFirmwareMgmtAction.0 i 2
-
To clear the values of the other firmware management properties used if and when a firmware update is initiated, type:
% snmpset SNMP_agent ilomCtrlFirmwareMgmtAction.0 i 1
-
To view the version of the current firmware management file system, type:
% snmpget SNMP_agent ilomCtrlFirmwareMgmtFilesystemVersion.0
-
To view the property that is used to postpone the BIOS upgrade until the next server power-off, type:
% snmpget SNMP_agent ilomCtrlFirmwareDelayBIOS.0
-
To set the DelayBIOS property to postpone the BIOS upgrade until the next server power-off, type:
% snmpset SNMP_agent ilomCtrlFirmwareDelayBIOS.0 i 1