The srvctl enable
command enables the specified object so that it can run under Oracle Clusterware for automatic startup, failover, or restart. The Oracle Clusterware application supporting the object may be up or down to use this function. The default value is enable
. If the object is already enabled, then SRVCTL returns a message advising you that the object is enabled. Enabled objects can be started, and disabled objects cannot be started.
When you run the enable
command, the object is enabled and available to run under Oracle Clusterware for automatic startup, failover, or restart. Additionally, you can run the srvctl start
command on an enabled object. If you specify -instance
instance_name
or -node
node_name
, then SRVCTL only enables the object on the specified instance or node.
If you do not specify -instance
instance_name
or -node
node_name
, then the enable action applies to the object that you specified, globally, on all nodes in the cluster and also removes any per-node enable settings. Any object you enable globally is also enabled on any nodes you add to the cluster in the future.
Enabling an object globally is different from enabling an object, individually, on each node in the cluster. For example, if you enable 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 enable the database globally, then the srvctl start database
command starts the database on all nodes on which it is configured to run.
Table A-48 srvctl enable Summary
Command | Description |
---|---|
Enables an Oracle ASM instance |
|
Enables the Cluster Verification Utility |
|
Enables the database resource |
|
Enables a specified disk group on a number of specified nodes |
|
Enables an Oracle ACFS volume |
|
Enables GNS |
|
Allows an HAVIP resource to run on a number of specified nodes |
|
Enables the instance |
|
Enables a listener |
|
Enables the management database for Oracle Clusterware management. |
|
Enables the management listener for Oracle Clusterware management |
|
Enables node applications and GSD |
|
Enables OC4J instances |
|
Enables the Oracle Notification Service daemon |
|
Enables SCAN VIPs |
|
Enables SCAN listeners |
|
Enables a service |
|
Enables a VIP |
|
Enables a volume |