?
Solved

HP StorageWorks 8/8 SAN switch password recovery

Posted on 2014-09-26
3
Medium Priority
?
2,711 Views
Last Modified: 2016-11-08
I need assistance with password recovery on a HP StorageWorks 8/8 SAN switch.  Help please!
0
Comment
Question by:3T1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 14

Accepted Solution

by:
JAN PAKULA earned 2000 total points
ID: 40346932
The default is
user admin - root - guest - etc
Password password  or fibranne


The exact procedure is the following

From
http://h30499.www3.hp.com/t5/Storage-Area-Networks-SAN/password-reset-for-8-24-SAN-Switch/td-p/4538498#.VCXcxvldUXs


Details

On 8Gb Brocade switches, if the Boot PROM password is not set(or it is set and known) and need to recover root password (in case it was set previously and forgotten), then follow the below procedure to set all the passwords to factory default (Factory defined user IDs: root, factory, admin and user, Default password: password):

1. Connect the serial console to the SAN switch (or director). (Default serial console settings: Baud rate â 9600, Data bits â 8, Parity â none, Stop bits -1, Flow control â none).

2. Reboot the switch

3. Press ESC at the message â Hit ESC to stop autoboot: â , the Boot PROM menu displays with the following options:

1) Start system.

2) Recover password.

3) Enter command shell.

Option?

4. Type â 3â to Enter Command shell.

1) Start system.

2) Recover password.

3) Enter command shell.

Option? 3

Boot PROM password has not been set.

=>

5. Run the â printenvâ command to check the environment variables (This step is optional).

Sample output of â printenvâ from a Brocade 8Gb switch:

=> printenv

AutoLoad=yes
BootromVerbose=no
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=quiet
OSLoader=ATA()0x8c047;ATA()0x14e978
OSRootPartition=hda1;hda2
SkipWatchdog=yes
baudrate=9600
bootcmd=setenv bootargs mem=${mem} ${OSLoadOptions};ataboot;bootm 0x400000
bootdelay=20
ethact=ppc_4xx_eth0
ethaddr=00:05:1E:5B:4D:C3
hostname=sequoia
initrd_high=0x20000000
mem=520192k
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
netdev=eth0
consoledev=ttyS1
ramdiskaddr=400000
ramdiskfile=your.ramdisk.u-boot
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 1.1.3 (Apr 15 2008 - 19:19:34)

Environment size: 631/4080 bytes

Sample output of â printenvâ from a Brocade 4Gb switch:

> printenv


AutoLoad=yes
ENET_MAC=00051E0343E3
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=quiet;quiet
OSLoader=ATA()0x3c020;ATA()0x6b348
OSRootPartition=hda1;hda2
SkipWatchdog=yes

6. Set the environment variable â OSLoadOptionsâ to single (or â s)

=> setenv OSLoadOptions single

(Note: On 4Gb switches, the setenv requires â =â as well:

setenv OSLoadOptions=single )

7. Run â printenvâ command to verifyt the new value of â OSLoadOptionsâ :

=> printenv


AutoLoad=yes
BootromVerbose=no
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=single
OSLoader=ATA()0x8c047;ATA()0x14e978
OSRootPartition=hda1;hda2
SkipWatchdog=yes
baudrate=9600
bootcmd=setenv bootargs mem=${mem} ${OSLoadOptions};ataboot;bootm 0x400000
bootdelay=20
ethact=ppc_4xx_eth0
ethaddr=00:05:1E:5B:4D:C3
hostname=sequoia
initrd_high=0x20000000
mem=520192k
preboot=echo;echo Type "run flash_nfs" to mount root filesystem over NFS;echo
netdev=eth0
consoledev=ttyS1
ramdiskaddr=400000
ramdiskfile=your.ramdisk.u-boot
stderr=serial
stdin=serial
stdout=serial
ver=U-Boot 1.1.3 (Apr 15 2008 - 19:19:34)

Environment size: 652/4080 bytes

8. Run the command â bootâ ( on 4 Gb switches, run the command â autoâ )

=> boot

Note: The rest of the steps are same for all switches with Linux based FOS (ver 4.1 and above).

9. After the switch boot in single user mode, remount the / partition as read/write:

sh-2.04# mount -o remount,rw,noatime /

10. Mount the second partition to /mnt (this will get from the value of â OSRootPartitionâ variable in â printenvâ output â usually it will be â hda2â , that is, /dev/hda2)

sh-2.04# mount /dev/hda2 /mnt

11. Verify the mounted file systems by running the â mountâ command:

sh-2.04# mount

/dev/root on / type unknown (rw,noatime)


none on /proc type proc (rw)
none on /dev/pts type devpts (rw,mode=620)
none on /tmp type ramfs (rw)

/dev/hda2 on /mnt type ext3 (rw)

12. Run the â passwddefaultâ command as follows:

sh-2.04# /sbin/passwddefault

13. Reboot the switch.

sh-2.04# reboot â f

After reboot, login to the switch using username â adminâ , password â passwordâ and set the new passwords for root, factory, admin and user accounts.

For details about the other password recovery methods on Brocade SAN switches (and Directors) with Linux based FOS (FOS 4.1 and above), refer the engineering advisory: http://h41302.www4.hp.com/km/saw/view.do?docId=emr_na-c01227153-2 .

For all types of password recovery methods on Brocade switches and Directors(except Boot PROM password recovery on 8Gb switches), refer the â Fabric OS Password Recovery Notesâ from Brocade. Authorized users can download this manual from GCC SAN sharepoint portal (refer the SAW article: http://h41302.www4.hp.com/km/saw/view.do?docId=emr_na-c00861444-5
0
 

Author Closing Comment

by:3T1
ID: 40349974
Excellent information.  Thanks for taking the time, it is much appreciated.
0
 

Expert Comment

by:Bert Schuur
ID: 41878248
Thank you very much, saved us an HP-visit.
0

Featured Post

Bringing Advanced Authentication to the SMB Market

WatchGuard announces the acquisition of advanced authentication provider, Datablink, with one mission – to bring secure authentication to SMB, mid-market, and distributed enterprises with a cloud-based solution, ideal for resale via their established channel & MSSP community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you’re like me and you like peace and quiet, saving money, and pretty lights, then this article is for you. For financial reasons, I buy all the Cisco equipment for my home lab second-hand. The first thing to wear out is usually one of the coo…
When posting a question about a Cisco ASA, Cisco Router or Cisco Switch, it can aid diagnosis if a suitably sanitised copy of the config is provided. It is much better to leave as much of the configuration as original as possible, as it could be tha…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses
Course of the Month8 days, 8 hours left to enroll

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question