Removes the configuration information for the specified target from Oracle Clusterware. Environment settings for the object are also removed. Using this command does not destroy the specified target.
Use the remove
verb to remove the associated resource from the management of Oracle Clusterware or Oracle Restart. Depending on the noun used, you can remove databases, services, nodeapps, Oracle ASM, Oracle Notification Service, and listeners.
If you do not use the force parameter (-force
), then Oracle Clusterware or Oracle Restart prompts you to confirm whether to proceed. If you use -force
, then the remove operation proceeds without prompting and continues processing even when it encounters errors. Even when the Oracle Clusterware resources cannot be removed, the OCR configuration is removed, so that the object now appears not to exist, but there are still Oracle Clusterware resources. Use the force parameter (-force
) with extreme caution because this could result in an inconsistent OCR.
To use the remove
verb, you must first stop the node applications, database, instance, or service for which you are specifying srvctl remove
. Oracle recommends that you perform a disable operation before using this command, but this is not required. You must stop the target object before running the srvctl remove
command. See the stop
command.
Table A-121 srvctl remove Summary
Command | Description |
---|---|
Removes Oracle ASM instances |
|
Removes the Cluster Verification Utility configured for the cluster |
|
Removes a database and configuration |
|
Removes a disk group from the Oracle Clusterware or Oracle Restart configuration |
|
Removes the configuration for an Oracle ACFS volume |
|
Removes GNS |
|
Removes a highly available VIP |
|
Removes instances and configurations of administrator-managed databases |
|
Removes the configuration of the specified listener from Oracle Clusterware or Oracle Restart |
|
Removes the management database from Oracle Clusterware |
|
Removes the management database listener from Oracle Clusterware |
|
Removes a network from the cluster configuration |
|
Removes node applications |
|
Removes the OC4J instance configuration |
|
Removes Oracle Notification Service instances |
|
Removes all Oracle Clusterware resources for all SCAN VIPs |
|
Removes all Oracle Clusterware resources for all SCAN listeners |
|
Removes services from the Oracle Clusterware or Oracle Restart configuration |
|
Removes a specific server pool |
|
Removes specific VIPs |
|
Removes a specific volume |