Rolling Back Listeners
Verb
This command is used to switch the listeners back to the old Oracle Home after the Update operation has been completed.
emcli db_software_maintenance -performOperation -name="Update Listener" -purpose=rollback_listener -target_type=oracle_database -target_list="DB1" -normal_credential="NC_HOST_CREDS:SYSMAN" -privilege_credential="HOST PRIV:SYSMAN"
-
name: This is the unique name of the operation.
-
purpose: ROLLBACK_LISTENER
-
target_type: The type of target on which this operation is being performed. This can be "rac_database" for RAC and "oracle_database" for single instance databases.
-
target_list: This is a comma separated list of targets which need to be patched.
-
Targets of homogenous types are supported in a single fleet operation.
-
A unique list of hosts based on this target list is displayed and start stage of Oracle home software on those hosts.
-
If targets running from the same Oracle home are provided in this list, the stage and deploy operation will be started only once and not for all targets.
-
-
normal_credential: This must be entered in the format <Named Credential: Credential Owner> where:
-
<Named Credential>: Named credential for the host where new Oracle home will be deployed.
-
<Credential Owner>: The Enterprise Manager user who owns this Named Credential.
-
-
privilege_credential: This must be entered in the format <Named Credential: Credential Owner> where:
-
<Named Credential>: Named credential for the host where new Oracle home will be deployed.
-
<Credential Owner>: The Enterprise Manager user who owns this Named Credential.
These credentials are used to run scripts as root.
-
- procedure_name_prefix: OPTIONAL use this if the listener name exceeds the character limit, this allows for you to enter a deployment procedure name to ease tracking of the listener rollback procedure.