IBM Storwize v7000 Unified Disk Code firmware uprade [CLI]

Posted: 23 November 2015 in Tutorials and guides
Tags: , , , ,

There’s no GUI tool to upgrade the firmware of Storwize disks, so basically this is a heavy task to be done by company admin (big responsibility), but I’ve managed to get the commands in one place, and some scripts are below:

UPLOAD

Upload the Software Upgrade Utility test in the first place; you can use GUI – if not – Putty PSCP, like this:

#pscp IBM_2073_2851_upgradetest_6.13 hax0r@5.10.15.254:/home/admin/upgrade
TEST AND RUN
#svcservicetask applysoftware -file IBM_2073_2851_upgradetest_6.13
#svcupgradetest -f -d
UPLOAD THE FIRMWARE
#pscp IBM2076_DRIVE_20150619 hax0r@5.10.15.254:/home/admin/upgrade
CHECK WHICH TO UPGRADE
#svcinfo lsdrive -nohdr |while read did error use;do svcinfo lsdrive $did |while read id value;do if [[ $id == "firmware_level" ]];then echo $did"   "$value;fi;done;done
UPGRADE (SINGLE DISK)

Enter the drive number – here is 0.

#svctask applydrivesoftware -file IBM2076_DRIVE_20150619 -type firmware -drive 0
UPGRADE (MULTIPLE DISKS)

Enter drives numbers – here is 5, 6, 7, 8, 9. I need to mention here that the execution between disks is 6 seconds.

#for did in 5 6 7 8 9;do echo "Updating drive "$did;svctask applydrivesoftware -file  IBM2076_DRIVE_20150619 -type firmware -drive $did;sleep 6s;done
VERIFY AND TEST
#svcinfo lsdrive -nohdr |while read did error use;do svcinfo lsdrive $did |while read id value;do if [[ $id == "firmware_level" ]];then echo $did"   "$value;fi;done;done
#svcupgradetest -f -d

Thankz to Anthony W for bl0g advices in this tut.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s