How can we switch between the boot partitions of an IAP via CLI ?
We can use the following command to switch between boot partitions of an IAP:
a) IAP# switch-partition-reboot
The above command applies to single IAP
b) IAP# switch-partition-reboot all
The above command applies to all the IAP's in the cluster.
Ideally, when we upgrade an IAP cluster, the backup partition on the IAP gets upgraded to the new image & it becomes the primary partition post reloading the IAP.
At the same time, the current firmware gets copied to backup partition.
There might be a need to rollback the firmware on the IAP's in case there are issues observed with the new firmware.
The above commands help in such scenarios.