Rollback Exadata Patches
Should a rollback be required after successfully deploying a patch on your Exadata targets, you can do that and retry patches using EMCLI commands.
Before you consider performing a rollback, verify if the patch update procedure is successful or not. Following the instructions at Track, Fix and Resume Operations in Enterprise Manager Database Lifecycle Management Administrator's Guide.
Topics:
To retry an operation, see Exadata Fleet Maintenance Patching Operations.
Evaluate if a Rollback is Possible
EMCLI command format to verify if an update can be rolled back based on Exadata type:
-
EMCLI command format for Storage Server:
emcli db_software_maintenance -performOperation -name="Rollback Storage Cell node" -purpose="ROLLBACK_EXADATA_SOFTWARE" -target_list="Cel1,Cell2" -target_type="oracle_exadata" -input_file="data://home/user_name/fppinstallfest/updateExadata.prop"
-
EMCLI command format for Switch:
emcli db_software_maintenance -performOperation -name="Rollback IB Switch node" -purpose="ROLLBACK_EXADATA_SOFTWARE" -target_list="IB1,IB2" -target_type="oracle_si_netswitch" -input_file="data://home/user_name/fppinstallfest/updateExadata.prop"
-
EMCLI command format for Database Node:
emcli db_software_maintenance -performOperation -name="Rollback DB node" -purpose="ROLLBACK_EXADATA_SOFTWARE" -target_list="exadatadatabase3.subnet.example.com" -target_type="host" -input_file="data://home/user_name/fppinstallfest/updateExadata.prop"
For more information about the performOperation Rollback
verb,
see db_sm_performoperation_rollback in Command Line
Interface Reference.
Example input file that contains all the required information:
WORKING_DIRECTORY=/<work directory>
fppOptions={"eval":"true"}
Rollback an Update
EMCLI command format to rollback an update operation based on Exadata type:
-
EMCLI command format for Storage Server:
emcli db_software_maintenance -performOperation -name="Rollback Storage Cell node" -purpose="ROLLBACK_EXADATA_SOFTWARE" -target_list="Cel1,Cell2" -target_type="oracle_exadata" -input_file="data://home/user_name/fppinstallfest/updateExadata.prop"
-
EMCLI command format for Switch:
emcli db_software_maintenance -performOperation -name="Rollback IB Switch node" -purpose="ROLLBACK_EXADATA_SOFTWARE" -target_list="IB1,IB2" -target_type="oracle_si_netswitch" -input_file="data://home/user_name/fppinstallfest/updateExadata.prop"
-
EMCLI command format for Database Node:
emcli db_software_maintenance -performOperation -name="Rollback DB node" -purpose="ROLLBACK_EXADATA_SOFTWARE" -target_list="exadatadatabase3.subnet.example.com" -target_type="host" -input_file="data://home/user_name/fppinstallfest/updateExadata.prop"
For more information about the performOperation Rollback
verb,
see db_sm_performoperation_rollback in Command Line
Interface Reference.
Example input file that contains all the required information:
WORKING_DIRECTORY=/<work directory>