8.5.13 Rolling Back Updates
A backup enables you to roll back updates, regardless of whether the update failed or succeeded. This backup is stored on the inactive system partition, as described in Backing up Exadata Database Servers Before Planned Maintenance. Because Exadata systems have only one inactive system partition, the rollback operation can only revert to the previous active image.
Note:
Before performing a rollback operation on an Exadata Database Server, consider that the rollback procedure is designed to revert changes made by a patch or system update but does not account for subsequent changes to the system.
A rollback will likely run into problems if the system contains post-update customizations to system files, especially those in /etc
, connected in any way to Oracle Database and Oracle Grid Infrastructure (GI).
If your system contains customizations to system files, rehearse the rollback on a test system to discover issues and develop specific workarounds for them.
You can always reduce the risk of unforeseen issues during rollback operations by adhering to Exadata system configuration and customization best practices and carefully following the available product documentation (including update-specific release notes and README files).
When rolling back an update, the update utility performs the following actions:
- Shuts down the software stack and any guest virtual machines (VMs).
- Deactivates the active system partition, and activates the inactive system partition.
- Restores
/boot
from the inactive partition. - Updates the grub boot-loader.
Note:
Firmware updates are not rolled back when rolling back to a previous image. However, Oracle Exadata System Software releases typically support later firmware releases.
After rolling back to a previous image, you can run the following command to apply older firmware versions:
# /opt/oracle.cellos/CheckHWnFWProfile -action updatefw -mode exact
The CheckHWnFWProfile
command may cause the server to reboot. The command is not available inside guest VMs.
Example 8-19 Rolling back an update using patchmgr
[root@pmserver ]# ./patchmgr --dbnodes dbs_group --rollback
--dbnodes
specifies the list of database nodes to be updated.
--rollback
specifies the rollback action.
Parent topic: Updating Oracle Exadata Database Servers