Sunday, December 29, 2013

Brocade FOS Up gradation Steps



Brocade FOS Up gradation Steps.
1.       Backing up the existing switch configuration to the local server by cmd “configupload”.
For Example:
switch1:admin> configupload
Server Name or IP Address [host]: 1.2.3.4
User Name [user]: matty
File Name [config.txt]: switch1_config.txt
Protocol (RSHD or FTP) [rshd]: ftp
Password:
upload complete
For download put configdownload.

2.       Tag all the fiber cable and unplug it from the switch.
3.       Download the FOS version 6.1.0c from the brocade site.
4.       Take the putty of the switch.
5.       Enter the version cmd to check the current version.
6.       Enter the nsShow cmd to check the entire device directly connected to the switch.
7.       Enter the nsAllShow cmd to check the entire connected device to the fabric.
8.       Enter the fabricshow cmd to check all switches in the fabric
9.       Enter the Firmwareshow cmd to chek the primary and secondary partion.
10.   Enter the Firmwaredownload cmd to download the new version.
For example:
switch:admin> firmwaredownload 
Server Name or IP Address: 10.22.127.127
FTP User Name: JohnDoe
File Name:  /release.plist
FTP Password:
You can run firmwaredownloadstatus to get the status
of this command.
This command will cause the switch to reset and will
require that existing telnet, secure telnet or SSH
sessions be restarted.
Do you want to continue [Y]: y
11.   Enter the firmwaredownloadstatus cmd to check the current status of the upgrade process.
12.   Enter the firmwareshow cmd to check the primary and secondary partition version.
13.   Plugin all the fiber cable and check the connectivity.
14.   Enter the nsShow cmd to check the entire device directly connected to the switch.
15.   Enter the nsAllShow cmd to check the entire connected device to the fabric.
16.   Enter the fabricshow cmd to check all switches in the fabric.



Backing up Brocade switch configurations
Brocade switches have become one of the most widely deployed componets in most Storage Area Networks (SANs). One thing that has led to Brocade’s success is their robust CLI, which allow you to view and modify almost every aspect of their switch. This includes zoning configurations, SNMP attributes, domain ids, switch names and network addresses, etc. All of this configuration information is necessary for the switch to function properly, and should be periodically backed up to allow speedy recovery when disaster hits.
Each Brocade switch comes with the “configUpload” and “configDownload” commands to back up a switch configuration to a remote system, or to restore a configuration from a remote system. ConfigUplaod has two modes of oepration: interactive mode and automatic mode. To use the interactive mode to upload a config from a switch named switch1 to an ftp server with the IP address 1.2.3.4, configUpload can be run to walk you through backing up the configuration:
switch1:admin> configuploadServer Name or IP Address [host]: 1.2.3.4User Name [user]: matty
File Name [config.txt]: switch1_config.txt
Protocol (RSHD or FTP) [rshd]: ftp
Password:
upload complete
After the configuration is uploaded, you will have a text file with you switches configuration on the remove server:
$ ls -l sw*
-rw-r--r--   1 matty    other       7342 Jul  7 09:15 switch1_config.txt
To restore a configuration, you can use the configDownload command. Both of these commands allow the paramters to be passed as arguments to the script, so they are ideal for automation (there is a backup script on the Brocade support site that can be used to automate configuration backups)

No comments:

Post a Comment