Problem:If Clearpass is upgrade [not patch install] for an example from 6.4.6 to 6.5.0. However it is not working as expected and if you prefer to roll back the upgrade then this article will help you.
Diagnostics:
- Clearpass server usually has two partition to hold two boot images.
- During upgrade the inactive partition will be upgraded with the new version image and the upgrade procedure will change the active partition for next reboot post upgrade and will reboot the server to bring up the server with existing configuration on new version.
- Post upgrade if you would like to roll backup to avoid business impact then the following command will help to set the next reboot partition to the old version and rebooting the server will complete the roll back process.
SolutionRun the following commands from Clearpass CLI to verify the partition status and change the active partition version:
# system boot-image -l
(Displays version info for the partitions)
# system boot-image -a <image version>
(Sets the active boot partition to the version specified)
# system restart
(To reboot the server, while reboot it will boot with the updated active partition)
Example:
# system boot-image -l
ClearPass Platform 6.4.6.72714
ClearPass Platform 6.5.0.71095 [Active]
# system boot-image -a 6.4.6.72714
# system boot-image -l
ClearPass Platform 6.4.6.72714 [Active]
ClearPass Platform 6.5.0.71095
# system restart