4.8.1.6 Restoring Settings on a Switch with 1.0.1 Firmware

The following procedure describes how to restore the settings to a switch with 1.0.1 firmware:

  1. Log in to the switch as the root user. If you do not have the password for the root user, then contact Oracle Support Services.
  2. Ensure that the switch is at the right firmware level. If not, then upgrade the switch to the correct firmware level.
  3. Restore the following files from the backup:
    • Network configuration: /etc/sysconfig/network-scripts/ifcfg-eth0

    • DNS information: /etc/resolv.conf

    • NTP information: /etc/ntp.conf

    • Time zone information: /etc/localtime

    • openSM settings: /etc/opensm/opensm.conf

    • Host name: /etc/sysconfig/network

    • root SSH keys: /root/.ssh/authorized_keys

    • nm2user SSH keys (if it exists): /home/nm2user/.ssh/authorized_keys

  4. Restore the host name by adding a HOSTNAME=switch_host_name line to the /etc/sysconfig/network file, if not already present.
  5. Restore the passwords of the root and nm2user users using the passwd command.
  6. Run the following commands in the order shown to restart the services and openSM:
    service network restart 
    service ntpd restart 
    disablesm 
    enablesm 
    
  7. Log in as the root user.
  8. Restart the switch.