Friday, July 11, 2008

SAN Switch

It is very important to backup the configuration of SAN switches.

Procedure to backup switch configuration:

Prerequisite: You should know
a> IP address of FTP server
b> IP address of SAN switches
c> Valid username & password of FTP server
d> Directory on the ftp server where you want to save the configuration.

In this example

IP address of FTP server : 10.0.0.40
IP address of SAN switch: 10.0.0.48
Name of SAN switch : SANSW1

Telnet to the SAN switch SANSW1 from any windows client or AIX server

telnet 10.0.0.48

login: admin
password : wipro123 (verify if administrator has changed the password)

Here I am using a AIX host as ftp server. Once the config is uploaded then you can
move it to any of the server or client, where you want to keep the config safe. If
you have any windows ftp server, you can use the same to upload the config.

Please be sure of the directory on ftp server in which you want to save the config

From switch:

SANSW1:admin> configupload
Server Name or IP Address [host]: 10.0.0.40 (This is IP address of AIX FTP server)
User Name [None]: root
File Name [config.txt]: /sansw1config.txt
Password: xxxxxx (root password)
upload complete

this will save config in root directory.

Please follow the same procedure to save config of any other switch like SANSW2.


Procedure to restore switch configuration:

This is required if config has been accidentally deleted or changed or the switch has
gone bad and you are going to replace it with a new switch.

If the switch is a new switch for replacement, then please provide the ip address and subnet mask to the switch by connecting console cable and using hyper terminal. IP address of both the switch are mentioned in installation doc.

During the initial setup the switch will prompt to change the password of admin, root, factory users. Change them and note them.

After ip address is given. Telnet to the switch from any windows or unix server

telnet 10.0.0.48

username: admin
password : (password that you had given to admin user during the initial setup of switch)


from switch

SW1:admin> switchdisable

this will disable the switch. Switch disable is required for the download of
configuration.

SW0:admin> configdownload
Server Name or IP Address [host]: 10.0.0.40
User Name [None]: root
File Name [config.txt]: /yesansw1config.txt
Password: xxxxxx (root password)
Committing configuration...done.
download complete

After the download is complete, enable the switch

SW0:admin> switchenable

you can change the admin password, if you do not remember the old password that
was on previous switch, when its configuration was last uploaded.

if you remember it, the you can logout and login to check whether the config is same
as the previous switch.

SANSW1:admin> zoneshow

output should show all the zone configuration of the previous/faulty switch.

No comments: