I just found it's not necessary to upgrade the version one by one, we can skip some of them, if you are using 2.0.1, upgrade to 2.1 first, then 3.0 then 3.62 and 3.9.1. Install and config a ftp service, mine is CentOS so I installed vsftpd, then download software to it's pub folder and rename it to upgrade_all.tgz
Here is the instruction on HP's website,
Worked Example:
Configure ipaddress of switch management port
There are detailed step by step instruction explaining how to connect to Voltaire InfiniBand 4X QDR 36P Managed Switch : HP Part # 519571-B21 using a command line interface Serial line and explaining how to configure an ipaddress in the ISR4036 user guide on
www.voltaire.com
On an ftp server accessible by the Voltaire InfiniBand 4X QDR 36P Managed Switch : HP Part # 519571-B21 management interface, copy accross the switch software version 3.1 file upgrade_all.tgz into a directory path /var/ftp/pub for example.
In Linux, run: tar –zxvf upgrade_all.tgz You will get: upgrade.tgz, firmware.tar and versions.txt files
Rename the software file, upgrade.tgz, to upgrade_2036_4036.tgz: mv upgrade.tgz upgrade_2036_4036.tgz
Log onto the switch management interface and verify what version software is installed:
ssh
admin@xx.xx.xx.xx where xx.xx.xx.xx is ipaddress of the switch management port.
Password: 123456
4036 Version 2.1.0 BUILD ID 409
Sun Nov 8 16:20:10 IST 2009
On the Voltaire InfiniBand 4X QDR 36P Managed Switch : HP Part # 519571-B21, configure the remote server to enable the switch to log into ftp server and access the software.
config
remote
server xx.xx.xx.xx (where xx.xx.xx.xx is the ipaddress of the ftp server)
username abcde (where abcde is the username required to access the remote ftp server)
password
Password: pass1 (where pass1 is the password required to access the remote ftp server)
protocol set FTP
remote show
remote configuration
-----------------------
remote server: xx.xx.xx.xx
username: abcde
protocol: FTP
Note: verify the information is correct
update software chassis pub
=== Testing connection ==
=== Test done ==
Getting files from remote FTP server....
Connecting to xx.xx.xx.xx (yy.yy.yy.yy)
upgrade.tgz 100% |*******************************| 43248k 00:00:00 ETA
Installing kernel image ...
Erasing blocks: 10/10 (100%)
Writing data: 1185k/1185k (100%)
Verifying data: 1185k/1185k (100%)
Installing FDT file ...
Erasing blocks: 1/1 (100%)
Writing data: 11k/11k (100%)
Verifying data: 11k/11k (100%)
Installing ramdisk image ...
Erasing blocks: 162/162 (100%)
Writing data: 20688k/20688k (100%)
Verifying data: 20688k/20688k (100%)
Installing safe kernel image ...
Erasing blocks: 10/10 (100%)
Writing data: 1185k/1185k (100%)
Verifying data: 1185k/1185k (100%)
Installing safe FDT file ...
Erasing blocks: 1/1 (100%)
Writing data: 11k/11k (100%)
Verifying data: 11k/11k (100%)
Installing safe ramdisk image ...
Erasing blocks: 162/162 (100%)
Writing data: 20688k/20688k (100%)
Verifying data: 20688k/20688k (100%)
Updating u-boot
Erasing blocks: 3/3 (100%)
Writing data: 384k/384k (100%)
Verifying data: 384k/384k (100%)
Set u-boot env to default
Erasing 128 Kibyte @ 20000 -- 50 % complete.
Update_software: "Succeeded."
Update_software: "Rebooting the switch."
Message from syslogd@ at Tue Apr 10 22:06:55 2001 ...
Update_software: "Rebooting the switch."
4036-0050# /usr/voltaire/admin/admin: line 32: 928 Hangup ./\
VoltaireCli -a
Connection closed by foreign host.
Note: The switch will automatically reboot and your telnet/SSH connection to the switch gets disconnected; this is a normal stage.
After the reboot, login to the switch and verify that the switch softwrae version has been updated to 3.1:
4036-0050# version show
version: 3.1.0
date: Mar 26 2010 01:00:02 PM
build Id:718
Check the firmware version:
4036-0050# 4036-0050#
Module No. Type Node GUID LID FW Version SW Version
---------- ---- --------- --- ---------- ----------
4036/2036 3.0.0-629
---------
CPLD 1 0x9
IS4 1 0x0008f10500100050 1 7.3.0 VLT1210030804
4036-0050#
If the switch firmware is not 7.3.1, upgrade it using the command:
4036-0050# upgrade firmware chassis pub
=== Testing connection ==
=== Test done ==
Getting files from remote FTP server....
Connecting to xx.xx.xx.xx (yy.yy.yy.yy)
firmware.tar 100% |*******************************| 55450k 00:00:00 ETA
Burning the FW image
-W- Unknown device id (23130) in the given FW image. Skipping HW match check.
Current FW version on flash: 7.3.0
New FW version: 7.3.1
You are about to replace current PSID on flash - "VLT1210030804" with a diff
erent PSID - "VLT1210031100".
Note: It is highly recommended not to change the PSID.
Do you want to continue ? (y/n) [n] : y
Burning second FW image without signatures - OK
Restoring second signature - OK
Finished. Change will be effective only after next reboot
4036-0050# reload
After the reboot, login to the switch and verify that the firmware has been upgraded to 7.3.1:
4036-0050# module-firmware show
Module No. Type Node GUID LID FW Version SW Version
---------- ---- --------- --- ---------- ----------
4036/2036 3.1.0-718---------
CPLD 1 0x9
IS4 1 0x0008f10500100050 1 7.3.100 VLT1210031100
---------
4036-0050#