Disables a specified object (cluster database, database instance, Oracle ASM instance, or service). Use the srvctl disable
command when you must shut down an object for maintenance. The disabled object does not automatically restart.
When you run the disable
command, the object is disabled and unavailable to run under Oracle Clusterware for automatic startup, failover, or restart. Additionally, you cannot run the srvctl start
command on a disabled object until you first re-enable the object. If you specify -instance
instance_name
or -node
node_name
, then SRVCTL only disables the object on the specified instance or node.
If you do not specify -instance
instance_name
or -node
node_name
, then the disable action applies to the object that you specified, globally, on all nodes in the cluster and also supersedes any per-node disable settings. Any object you disable globally is also disabled on any nodes you add to the cluster in the future.
Disabling an object globally is different from disabling an object, individually, on each node in the cluster. For example, if you disable a database on several nodes, individually, in a cluster, then, when you run the srvctl start database
command, the database starts only on nodes where the database is enabled. If, however, you disable the database globally, then the srvctl start database
command is rejected because the database is disabled, clusterwide.
Table A-31 srvctl disable Summary
Command | Description |
---|---|
Disables the Cluster Verification Utility |
|
Disables the cluster database |
|
Disables a disk group on a number of specified nodes |
|
Disables an Oracle ACFS volume |
|
Disables GNS |
|
Prevents an HAVIP resource from running on a number of specified nodes |
|
Disables an instance |
|
Disables a listener |
|
Disables the management database |
|
Disables the management listener |
|
Disables a node application and GSD |
|
Disables OC4J instances |
|
Disables the Oracle Notification Service daemon |
|
Disables SCAN VIPs |
|
Disables SCAN listeners |
|
Disables a service |
|
Disables a VIP |
|
Disables a volume |