Operating System - HP-UX
1837229 Members
2241 Online
110115 Solutions
New Discussion

Re: Expect script to backup Brocade SAN switches

 
generic_1
Respected Contributor

Expect script to backup Brocade SAN switches

3 part question.
A) Can anyone share a expect script that they have tested to backup Brocade san switches.

B) Where can I find the most current depot for HPUX 11.i expect depot.

C) Does anyone have a better free alternative for option for backing these things up in an automated pattern. Expect will do the job. I just dont like unencrypted passwords and expect tends to puke once in a while ive found.

Many Thanks in Advance
5 REPLIES 5
Stuart Urquhart
Frequent Advisor

Re: Expect script to backup Brocade SAN switches

You might want to look at www.brocadeconnect.com (need a brocade wwn to register). There are some scripts to just that.
generic_1
Respected Contributor

Re: Expect script to backup Brocade SAN switches

Hasnt anyone else run into this?, and wanted a automated/secure way to back these things up?
Florian Heigl (new acc)
Honored Contributor

Re: Expect script to backup Brocade SAN switches

I'm not deeply involved with the SAN here, from what I know 90% of the configs lie in the VCMDB on the symmetrix, and the other 10% are very probably done manually.

If I were to take care of the switches, I'd ssh into them periodically, run a configshow and drop the output into cvs/rcs/whatever.

But I'm not, and I'd rather not think about it. :(
yesterday I stood at the edge. Today I'm one step ahead.
Rick Garland
Honored Contributor

Re: Expect script to backup Brocade SAN switches

An expect script is not required. Run a 'configshow' or 'supportshow' command on the switch and capture the output.

Save this capture. You have a backup.

generic_1
Respected Contributor

Re: Expect script to backup Brocade SAN switches

Thank you for your replies. I think I have found a good way to back everything up. I am still working out the bugs.