IT Infrastructure blog

August 11, 2011

How to backup Brocade SAN Switch configuration

Filed under: Brocade SAN Switch — Akther @ 5:23 pm

you have to take SAN switch backup regularly especially if you are making changes continuously.It will save your life in case any disaster happens on SAN switch. In this article i am describing how we can achieve this in one of the Brocade SAN switch.

We need a FTP server to take backup of SAN Switch. I have an IIS server and acting as a FTP server as well. You can use any of the free ftp software to do this. And the backup will be storing at E:\FTP folder

Now access the CLI of switch and run the configupload command

SANSwitch1:admin> configupload

Protocol (scp or ftp) [ftp]:

Server Name or IP Address [host]: 192.168.1.1

User Name [user]: administrator

File Name [config.txt]:

Password:

upload failed: Could not connect to remote host.

I have received this error,  upload failed: Could not connect to remote host.

Then i was searching why it’s failing. Found in Brocade forum that if we given username Anonymous and password Anonymous it will work. Tried this and it work fine

SANSwitch1:admin> configupload

Protocol (scp or ftp) [ftp]:

Server Name or IP Address [host]: 192.168.1.1

User Name [user]: anonymous

File Name [config.txt]: SAN_sWITCH_BACKUP_11082011

Password:

Upload complete

You can see the backup file in your FTP server installed computer home directory.

Advertisements

August 1, 2011

Can’t add a disk from filer view or disk assign command in NetApp filer

Filed under: NetApp — Akther @ 5:57 pm
Tags: ,

I have to add a disk from spare pool in NetApp filer and we have only 2 disks in spare pool. NetApp recommends to keep two disks in spare pool. But we required space and we were trying to add one disk in to aggr to get some space there

I tried by using filer view first. but it’s saying you the number of spare disk is too little and you can’t add this disk in to existing Aggr. The screen shot is below

 

Ok, thought to  try from CLI

Login to the filer.

FAS2050B*> disk assign 0c.00.12
FAS2050B*> Mon Aug  1 13:55:53 GMT [FAS2050B: HTTPPool04:warning]: HTTP XML Authentication failed from 192.168.144.41.
Mon Aug  1 13:55:53 GMT [FAS2050B: diskown.RescanMessageFailed:warning]: Could not send rescan message to FAS2050B. Please type disk show on the console of FAS2050B for it to scan the newly inserted disks.

Again it’s failed to add disk from spare pool by using disk assign command

Then i had tried by using aggr add command it was successfull. So just thought to share this experiance to all and hope it will helpfull for some one.

FAS2050B > aggr add aggr0 -d 0c.00.12

Then check the spare pool. Only 1 disk is available now..

FAS2050B> vol status -s

Pool1 spare disks (empty)

Pool0 spare disks

RAID Disk       Device          
Spare disks for block

spare           0c.00.14       

Note : We can change the minimum spare pool disk quantity by issuing below command, but i didn’t tried it.

options raid.min_spare_count <number of spares>

Create a free website or blog at WordPress.com.