Go to main content

Oracle® ILOM Protocol Management Reference for SNMP and IPMI Firmware Release 3.2.x

Exit Print View

Updated: January 2017
 
 

View and Configure Backup and Restore Properties (SNMP)


Note -  SNMP support for Backup and Restore has been removed as of Oracle ILOM firmware 3.2.6.x. As of Oracle ILOM 3.2.6.x, refer to the following section for backing up and restoring Oracle ILOM configuration properties: Backing Up, Restoring, or Resetting the Oracle ILOM Configuration in Oracle ILOM Administrator’s Guide for Configuration and Maintenance Firmware Release 3.2.x

Before You Begin

  • Before you can use SNMP to view and configure Oracle ILOM settings, 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.


    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.

    Note -  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 work as presented only if you have Net-SNMP and the Net-SNMP sample applications installed.

    Note -  The syntax in this procedure is valid for a tcsh shell. It might not be necessary to include the escape character (\) in your shell environment.

To set the Oracle ILOM backup and restore properties using SNMP, follow these steps:

  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 po wer policy using SNMP, type:
      % snmpget SNMP_agent sunHwCtrlPowerMgmtPolicy.0
      
    • To configure the power property and apply it to the power control target named ???/SYS', type:
      % snmpset SNMP_agent ilomCtrlPowerAction.\”/SYS\” i 1
      
    • To restore the configuration on the SP to the original factory default state, type:
      % snmpset SNMP_agent ilomCtrlResetToDefaultsAction.0 i 3
      
    • To view the target destination of the configuration XML file during the backup and restore operation, type:
      % snmpget SNMP_agent ilomCtrlBackupAndRestoreTargetURI.0
      
    • To set the target destination of the configuration XML file during the backup and restore operation using TFTP, type:
      % snmpset SNMP_agent
       ilomCtrlBackupAndRestoreTargetURI.0 s 
      ???tftp://tftp_server_ipaddress/remotedir/config_backup.xml'
      
    • To set the passphrase to encrypt or decrypt sensitive data during the backup and restore operation, type:
      % snmpset SNMP_agent
       ilomCtrlBackupAndRestorePassphrase.0 s ???passphrase'
      
    • To view the property used to issue an action, either backup or restore, type:
      % snmpget SNMP_agent ilomCtrlBackupAndRestoreAction.0
      
    • To issue a restore action using the ilomCtrlBackupAndRestoreAction MIB object, type:
      % snmpset SNMP_agent ilomCtrlBackupAndRestoreAction.0 i 2
      
    • To monitor the current status of the backup or restore operation, type:
      % snmpget SNMP_agent ilomCtrlBackupAndRestoreActionStatus.0
      
    • To specify the reset action and apply it to the reset control target named ???/SP', type:
      % snmpset SNMP_agent ilomCtrlResetAction.\”/SP\” i 1