srvctl disable

srvctl disable asm: command syntax and example

Disables the asm instance on specified node

Syntax:

srvctl disable asm -n node_name [-i asm_inst_name]

-n node_name:Node name
-i inst_name:ASM instance name.

Example:

An example of this command is:

srvctl disable asm -n node01 -i asm1

srvctl disable service: command syntax and example

Syntax:
srvctl disable service -d db_unique_name {-s service_name_list | -s service_name -i inst_name}

-d db_unique_name:Unique name for the database.
-s service_name_list:Comma-delimited service names.
-s service_name:Single service name.
-i inst_name:Instance name.

Example:

The following example globally disables two services:

srvctl disable service -d mndb -s mndb_sales

The following example disables a service running on the preferred named instance and results in running a service on one less instance:

srvctl disable service -d mndb -s mndb_sales -i mndb1

srvctl disable instance: command syntax and example

Syntax:
srvctl disable instance -d db_unique_name -i inst_name_list

-d db_unique_name:Unique name for the database.
-i inst_name_list:Comma-delimited instance names.

Example:

An example of this command is:

srvctl disable instance -d mndb -i “mndb1,mndb2″

srvctl disable database: command syntax and example

srvctl disable disables target, meaning CRS will not consider it for automatic startup, failover,
or restart. This option is useful to ensure an object that is down for maintenance is not
accidentally automatically restarted.


Syntax:

srvctl disable database -d db_unique_name

The only option available for this command is -d to specify the database name.

Example

An example of this command is:

srvctl disable database -d mndb



Loading