The following figures describe various upgrade scenarios.
Legend
![Legend.jpg](https://docscontent.nvidia.com/dims4/default/61f36b5/2147483647/strip/true/crop/189x167+0+0/resize/189x167!/quality/90/?url=https%3A%2F%2Fk3-prod-nvidia-docs.s3.us-west-2.amazonaws.com%2Fbrightspot%2Fconfluence%2F0000018b-aa76-dab5-abab-ee766f220000%2Fimages%2Fnetworking%2Fdownload%2Fattachments%2F144708624%2FLegend.jpg)
UFM-SDN Appliance Standalone Upgrade Flow
![UFM_SDN_Appliance_Standalone_Upgrade_Flow.jpg](https://docscontent.nvidia.com/dims4/default/c09135e/2147483647/strip/true/crop/241x636+0+0/resize/241x636!/quality/90/?url=https%3A%2F%2Fk3-prod-nvidia-docs.s3.us-west-2.amazonaws.com%2Fbrightspot%2Fconfluence%2F0000018b-aa76-dab5-abab-ee766f220000%2Fimages%2Fnetworking%2Fdownload%2Fattachments%2F144708624%2FUFM_SDN_Appliance_Standalone_Upgrade_Flow.jpg)
UFM-SDN Appliance High Availability Out-Of-Service Upgrade Flow
![UFM_SDN_Appliance_High_Availability_Upgrade_Flow.jpg](https://docscontent.nvidia.com/dims4/default/e5bc118/2147483647/strip/true/crop/485x561+0+0/resize/485x561!/quality/90/?url=https%3A%2F%2Fk3-prod-nvidia-docs.s3.us-west-2.amazonaws.com%2Fbrightspot%2Fconfluence%2F0000018b-aa76-dab5-abab-ee766f220000%2Fimages%2Fnetworking%2Fdownload%2Fattachments%2F144708624%2FUFM_SDN_Appliance_High_Availability_Upgrade_Flow.jpg)
UFM-SDN Appliance High Availability External UFM-SM In-Service Upgrade Flow
![UFM_SDN_Appliance_High_Availability_External_UFM_SM_In_Service_Upgrade_Flow.jpg](https://docscontent.nvidia.com/dims4/default/d5002cb/2147483647/strip/true/crop/609x588+0+0/resize/609x588!/quality/90/?url=https%3A%2F%2Fk3-prod-nvidia-docs.s3.us-west-2.amazonaws.com%2Fbrightspot%2Fconfluence%2F0000018b-aa76-dab5-abab-ee766f220000%2Fimages%2Fnetworking%2Fdownload%2Fattachments%2F144708624%2FUFM_SDN_Appliance_High_Availability_External_UFM_SM_In_Service_Upgrade_Flow.jpg)
To upgrade UFM-SDN Appliance software on your system:
![image2019-6-17_11-54-1.png](https://docscontent.nvidia.com/dims4/default/c18b809/2147483647/strip/true/crop/24x23+0+0/resize/24x23!/quality/90/?url=https%3A%2F%2Fk3-prod-nvidia-docs.s3.us-west-2.amazonaws.com%2Fbrightspot%2Fconfluence%2F0000018b-aa76-dab5-abab-ee766f220000%2Fimages%2Fnetworking%2Fdownload%2Fthumbnails%2F144708624%2Fimage2019-6-17_11-54-1.png)
Obtain the available image (.img file) and place it on either a USB storage device or an ftp/scp server and follow the steps below.
Stop UFM.
ufm-appliance [ mgmt-ha-active ] (config) # no ufm start
Alternatively, if external UFM-SM is available, run:
ufm-appliance [ mgmt-ha-active ] (config) # ufm safe-stop
Fetch the new software image.
ufm-appliance [ mgmt-ha-active ] (config) # image fetch scp://<username>@192.168.10.125/var/www/html/<image_name> Password ****** 100.0%[############################################################]
Install the new image.
ufm-appliance [ mgmt-ha-active ] (config) # image install image-ufm_appliance-x86_64-x86_64-20121205-152024.img Step 1 of 4: Verify Image 100.0% [################################################################] Step 2 of 4: Uncompress Image 100.0% [################################################################] Step 3 of 4: Create Filesystems 100.0% [################################################################] Step 4 of 4: Extract Image 100.0% [################################################################]
Set next boot location as the other slot.
ufm-appliance [ mgmt-ha-active ] (config) # image boot next
Save configuration. Run:
ufm-appliance [ mgmt-ha-active ] (config) # configuration write
Reload UFM-SDN Appliance.
ufm-appliance [ mgmt-ha-active ] (config) # reload
Start UFM.
ufm-appliance [ mgmt-ha-active ] (config) # ufm start
Run on both master and standby:
Fetch the new software image. Run:
ufm-appliance [ mgmt-ha-active ] (config) # image fetch <download URL>
Install the new image. Run:
ufm-appliance [ mgmt-ha-active ] (config) # image install <image name>
Set next boot location as the other slot. Run:
ufm-appliance [ mgmt-ha-active ] (config) # image boot next
Save the configuration changes. Run:
ufm-appliance [ mgmt-ha-active ] (config) # configuration write
Reload the standby UFM-SDN Appliance. Run:
ufm-appliance [ ha-standby ] (config) # reload
Once the standby is up and running, reload the master UFM-SDN Appliance. Run:
ufm-appliance [ mgmt-ha-active ] (config) # reload
As a result, a failover will occur from the master node to the standby node.