19 March 2010

Administering Oracle ASM Instances with SRVCTL in Oracle RAC


You can use the Server Control Utility (SRVCTL) to add, remove, enable, and disable
an Oracle ASM instance.

To issue SRVCTL commands to manage Oracle ASM, log in
as the operating system user that owns the Oracle ASM home and issue the SRVCTL
commands from the bin directory of the Oracle ASM home.

Use the following syntax to remove an Oracle ASM instance:

srvctl remove asm [-f]

Use the following syntax to enable an Oracle ASM instance:

srvctl enable asm [-n node_name]

Use the following syntax to disable an Oracle ASM instance:

srvctl disable asm [-n node_name]

You can also use SRVCTL to start, stop, and obtain the status of an Oracle ASM
instance as in the following examples.

Use the following syntax to start an Oracle ASM instance:

srvctl start asm [-n node_name] [-o start_options]

Use the following syntax to stop an Oracle ASM instance:

srvctl stop asm [-n node_name] [-o stop_options]

Use the following syntax to show the configuration of an Oracle ASM instance:

srvctl config asm -n node_name

Use the following syntax to display the state of an Oracle ASM instance:

srvctl status asm [-n node_name]

Share:

0 reacties:

Post a Comment