SAN bits

Seeing is believing, knowing is everything

Cluster switch upgrade on Netapp

Leave a comment

Today I would be discussing on how to do a cluster switch firmware upgrade on Netapp.

The following protocols can be used for uploads or downloads: ◆ FTP ◆ TFTP ◆ SCP ◆ SFTP ◆ XMODEM . Downloaded code from netapp is validated with a CRC check and a version check to protect against the download of malicious code. I have limited myself to TFTP as it can be easily configured using the free tool from solarwinds

Login to the cluster switch with the login credentials.

 

login to privileged mode as below. where you will be prompted for password again.

(CN1610) >enable
Password:***********
Check for the current and backup images currently available on flash of the swtich as below.

(CN1610) #show bootvar

Image Descriptions

active :
backup :
Images currently available on Flash

——————————————————————–
unit        active           backup             current-active                   next-active
——————————————————————–

1             1.1.0.7             1.1.0.1                     1.1.0.7                          1.1.0.7

As per the above example we have 1.1.0.7 in the active configuration and 1.1.0.1 in the backup configuration.

(CN1610) # show version

Switch: 1

System Description……………………….. NetApp CN1610, 1.1.0.7, Linux
2.6.21.7
Machine Type…………………………….. NetApp CN1610
Machine Model……………………………. CN1610
Serial Number……………………………. xxxxxxxxxxx
Burned In MAC Address…………………….. 00:xx:xx:xx:xx:xx
Software Version…………………………. 1.1.0.7
Operating System…………………………. Linux 2.6.21.7
Network Processing Device…………………. BCMxxxx
Part Number……………………………… 111-00333

We can check for the firmware version, part number and switch model using the above command.

(CN1610) # copy active backup
Copying active to backup
Copy operation successful

With the above command we are initiating a back of the current active firmware configuration.

The validation of the firmware copy can be checked by the earlier bootvar command as below.
(CN1610) #show bootvar

Image Descriptions

active :
backup :
Images currently available on Flash

——————————————————————–
unit       active      backup           current-active        next-active
——————————————————————–

1              1.1.0.7     1.1.0.7               1.1.0.7                     1.1.0.7
We can see the backup is the same as active configuration on the switch.

Copying the firmware through TFTP: ( TFTP server which we are using here is 192.168.x.x)

Start the firmware copy to the switch with the command as below.( Here we also make it active)

(CN1610) #copy tftp://192.168.x.x/NetApp_CN1610_1.1.0.8.stk active

Mode……………………………………. TFTP
Set Server IP……………………………. 192.168.x.x
Path……………………………………. ./
Filename………………………………… NetApp_CN1610_1.1.0.8.stk
Data Type……………………………….. Code
Destination Filename……………………… active

During the transfer you will be prompted that the management access for the switch is blocked during the transfer. Give a yes to proceed further.

Management access will be blocked for the duration of the transfer
Are you sure you want to start? (y/n) y

TFTP Code transfer starting…

File transfer operation completed successfully.

Validate the file that’s copied as below.

(CN1610) #show bootvar

active :
backup :
Images currently available on Flash

——————————————————————–
unit     active    backup      current-active next-active
——————————————————————–

1         1.1.0.8      1.1.0.7                   1.1.0.7       1.1.0.8

We could see that current active firmware configuration is 1.1.0.7 and the next active is 1.1.0.8 ( which means this is available after the next reboot) .
1.1.0.7 Will be available as backup configuration and 1.1.0.8 is made active.

Reboot the cluster switch with the below command

(CN1610) #reload

The system has unsaved changes.
Would you like to save them now? (y/n) y

Validate the switch firmware post reboot and confirm the same using bootvar command as below.

(CN1610) #show bootvar

Image Descriptions

active :
backup :
Images currently available on Flash

——————————————————————–
unit             active        backup           current-active             next-active
——————————————————————–

1                     1.1.0.8          1.1.0.7             1.1.0.8                     1.1.0.8
With the above command we could see that the firmware is applied as 1.1.0.8 which is highlighted as active version and backup is 1.1.0.7 and this completes the upgrade. Let me know your thoughts.

Author: kumaraysun

Loves SAN, Learns and works mainly on netapp

Leave a comment