Sun Microsystems, Inc.  Oracle System Handbook - ISO 7.0 May 2018 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1572791.1
Update Date:2018-03-09
Keywords:

Solution Type  Technical Instruction Sure

Solution  1572791.1 :   How to backup an Oracle 10Gb Ethernet Switch prior to replacement  


Related Items
  • Sun Blade 6000 10GbE Switched 24p NEM
  •  
  • Sun Network Switch
  •  
Related Categories
  • PLA-Support>Sun Systems>SAND>Network>SN-SND: Sun Network Ethernet Switches
  •  




In this Document
Goal
Solution
References


Applies to:

Sun Blade 6000 10GbE Switched 24p NEM - Version Not Applicable to Not Applicable [Release NA]
Sun Network Switch - Version All Versions to All Versions [Release All Releases]
Information in this document applies to any platform.

Goal

 To save and restore a switch configuration when upgrading or replacing a defective Oracle 10Gb switch

Solution

1) Before upgrading or replacing a configured switch, check if a backup configuration has been stored on a safe place.

2) If there is no backup and the switch is not down hard, inspect the switch configuration and take a backup as described in the Product Notes.
By default, only the Oracle ILOM configuration is backed up when the backup feature is used. Complete the following tasks to include the SEFOS configuration in this backup.

 

Include the SEFOS Configuration in Backups

Before backing up your SEFOS configuration using the Oracle ILOM backup feature, complete the following tasks:

■ Save and inspect the current switch configuration. For example

SEFOS# write startup-config
SEFOS# sh run

Building configuration...
...

■ In ILOM, set a passphrase and dump the backup.  This passphrase is to be used during the restoration phase (see below).

-> cd /SP/config
-> set passphrase=abc123
-> set dump_uri=ftp://username:password@192.168.1.100/tmp/mySwitchConfig.bak
Dump successful.

Note: It is critical to set the passphrase, otherwise the there will not be a complete back up.
Note: For FTP, if the specified user name is a normal user at the FTP server end, even if the specified user password is correct, there can be possible permission issues with the PUT operation.  In such scenario, dump may not succeed, and using the root-user at the FTP server end is recommended here.
Note: Besides FTP, SFTP is also a good alternative.  The dump_uri format for SFTP is identical to that for FTP but just specify the protocol as sftp://...

Verify the Backup

check backup status on SEFOS

SEFOS# sh system info

Hardware Version                  : 2.5.8_00209384
Firmware Version                  : TOR-1.3.1.21 <-----------
Switch Name                       : TOR 72P
System Contact                    :
System Location                   :
Logging Option                    : Console Logging
Login Authentication Mode         : Local
Config Save Status                : Successful   <------- IMPORTANT: Config should have been saved before
Remote Save Status                : Not Initiated
Config Restore Status             : Not Initiated

 

■ Verify the Backup file is saved on the server and includes SEFOS configuration

[root@opus-build14 ~]# ls -l mySwitchConfig.bak
-rw-r--r-- 1 root root 96863 Jul 30 15:58 mySwitchConfig.bak
[root@opus-build14 ~]# more mySwitchConfig.bak
...
...
XML content with ILOM properties...
..
 <property>platform</property>  <------- IMPORT: This is the start of SEFOS config. All encrypted data below this is SEFOS config.
    <value encrypted="true">14aee09e9f37845a2108cbb9276fbcc2c4cc0a426abb5adf5e0033337c5837070a08fdff82fbb704b4e4b6944566cebd2c9483a83b484637521
8ff788e04834b34d17fb95d7527918a6fccad155b23545e8b103b0f3ea6558c630926871e5607b908ef6fd45f53ca03a2df37f8166defc22a6ad85d4fda4f2674b847b63e3eb95c
73112487c16fa58f0d4cdc2c6484d53291a3dc911ce3091ae460393ac7290f14bb8802033a0f19ed219e874c300ab80338f7713311760b85411822cd5524242b834bed154ef6136
3dd8667cd33dda8bf07ba4939e7e00be2f27c6748b47faf7f3d5f613d4c0b9faf905a01e135fa2b866ee38f7491899be8febf7d92d360ab059330c1f73000982303f33d4766e34c
....
....
4fd7cfd5f2ec5ec3ef91648c7f9f26891232c3</value>
  </entry>
</SP_config>

If the SP configuration is backed up with a passphrase, then SEFOS configuration is also included but in encrypted format.  Should there be a need to back up individual SEFOS files, then one can also do something like this:

-> ls /SP/config/sefos/
-> set /SP/config/sefos dump_uri=ftp://user_name:user_password@192.168.1.100/var/tmp/switch.conf

 

Restore the Configuration

■ Configure the network settings on the Oracle ILOM network management interface to communicate with the backup server.

-> cd /SP/network
...

■ Set the passphrase to the same value that was used for backup.

-> cd /SP/config
-> set passphrase=abc123

■ Restore the configuration from the server.

-> set load_uri=ftp://username:password@192.168.1.100/tmp/mySwitchConfig.bak
Load successful.

■ Check config again to ensure it is restored.

ToR-9 SEFOS# show system info

Hardware Version                  : 2.5.8_00209384
Firmware Version                  : TOR-1.2.2.8
Switch Name                       : TOR 72P
System Contact                    :
System Location                   :
Logging Option                    : Console Logging
Login Authentication Mode         : Local
Config Save Status                : Not Initiated
Remote Save Status                : Not Initiated
Config Restore Status             : Successful  <----------------

ToR-9 SEFOS# sh run

Building configuration...

 

See also Product Notes document of your Switch, e.g. on http://docs.oracle.com/cd//E19934-01/index.html

References

<NOTE:1399483.1> - 10-Gigabit Ethernet Switches (Opus) Product Page

Attachments
This solution has no attachment
  Copyright © 2018 Oracle, Inc.  All rights reserved.
 Feedback