Есть такая железка 4/8 SAN коммутатор HP StorageWorks (A7984A) к ней утерян админский пароль, стандартный пароль (password и fivranne) для пользователей root, fabric, admin не подходит. Утеря пароля в HP не является гарантийным случаем - за восстановления хотят денег. На Brocade нашёл что необходимо иметь - recovery firmware - найти его не смог - они тоже хочут денег (я так думаю кризис...). Но самое интересное в той инструкции (коротенькой) что я находил было написано что её туда надо положить через внутренний ftp сервер, но она не отвечает по 20/21 порту по известному мне IP адресу. В общем у кого есть опыт поделитесь...
» Востановить пароль на HP StorageWorks SAN Switch Base
Если ещё тема актуальна- то могу выслать инструкции как это сделать.
Делается за 15 минут. Абсолютно бесплатно.
На англицком языке.
Делается за 15 минут. Абсолютно бесплатно.
На англицком языке.
Все очень просто:
1. Подсоединяешься консольным кабелем
2. Запускаешь какунить софтину типа putty или hyperterminal
3. Далее перегружаешь свитч и вовремя загрузки жмешь ESC
4. Вывалиться окно типа:
1) Start system.
2) Recover password.
3) Enter command shell.
5. Жмакаешь 2
Option? 2
6. Именяешь пароль
1. Подсоединяешься консольным кабелем
2. Запускаешь какунить софтину типа putty или hyperterminal
3. Далее перегружаешь свитч и вовремя загрузки жмешь ESC
4. Вывалиться окно типа:
1) Start system.
2) Recover password.
3) Enter command shell.
5. Жмакаешь 2
Option? 2
6. Именяешь пароль
Ну в обчем так... в начале...
На самом дел чуть больше возни...
Вот тут описано точнее:
Fabric OS Password Recovery Notes
Publication Number: 53-1000114-01
Publication Date: 3/13/2006
Supporting Fabric OS v2.6.x, v3.1.x, v4.x, v5.x
http://www.google.ca/search?hl=en&q=Publication+Number%3A+53-1000114-01&btnG=Search&meta=&aq=f&oq=
Good luck!
На самом дел чуть больше возни...
Вот тут описано точнее:
Fabric OS Password Recovery Notes
Publication Number: 53-1000114-01
Publication Date: 3/13/2006
Supporting Fabric OS v2.6.x, v3.1.x, v4.x, v5.x
http://www.google.ca/search?hl=en&q=Publication+Number%3A+53-1000114-01&btnG=Search&meta=&aq=f&oq=
Good luck!
Сам замучился с восстановлением пароля выкладываю инструкцию по которой я делал.
Для соединения делаем такой кабелёк:
Serial Console Com Port;
2 – 2
3 – 3
5 – 5
The exact procedure is the following
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 ).
Для соединения делаем такой кабелёк:
Serial Console Com Port;
2 – 2
3 – 3
5 – 5
The exact procedure is the following
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 ).
Copy & Paste от сюда - Эх копипастеры хоть бы в читабельный вид поправил.
Страницы: 1
Предыдущая тема: Не печатает HP F2280
Форум Ru-Board.club — поднят 15-09-2016 числа. Цель - сохранить наследие старого Ru-Board, истории становления российского интернета. Сделано для людей.