CRS

srvctl getenv nodeapps: command syntax and example


Syntax:

srvctl getenv nodeapps -n node_name [-t name_list]

-n node_name:Node name
-t name_list:Names of environment variables

Example:

The following example lists all environment variables for the node applications:

srvctl getenv nodeapps -n node01

srvctl getenv service: command syntax and example

Syntax:
srvctl getenv service -d db_unique_name -s service_name [-t name_list]

-d db_unique_name:Unique name for the database
-s service_name:Service name
-t name_list:Names of environment variables

Example:

The following example lists all environment variables for a service:

srvctl getenv service -d mndb -s mndb_sales

srvctl getenv instance: command syntax and example

Syntax:
srvctl getenv instance -d db_unique_name -i inst_name [-t name_list]

-d db_unique_name:Unique name for the database
-i inst_name:Instance name
-t name_list:Names of environment variables

Example

The following example sets the environment configuration for an instance:

srvctl getenv instance -d -mndb-i node01

srvctl getenv database: command syntax and example

srvctl getenv displays the environment variables stored in the OCR for target.


Syntax:

srvctl getenv database -d db_unique_name [-t name_list]

-d db_unique_name:Unique name for the database
-t name_list:Names of environment variables

Example:

The following example gets the environment configuration for a cluster database:

srvctl getenv database -d mndb

srvctl enable asm: command syntax and example


Syntax:

srvctl enable 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 enable asm -n node01 -i asm1



Loading