[Skip Header] Friend Requests Messages Notifications HomeProfile Account(more) [End of Header]

About this Author

Dzung Dinh Viet helps environmental education.

Oracle Clusterware Control (CRSCTL) 11g-r2

  • Dual Environment CRSCTL Commands
  • Oracle RAC Environment CRSCTL Commands
  • Oracle Restart Environment CRSCTL Commands

CRSCTL command available:

crsctl <command> <object> [<options>]

    command: enable|disable|config|start|stop|relocate|replace|stat|add|delete|modify|

                           getperm|setperm|check|set|get|unset|debug|lsmodules|query|pin|unpin

 

Action

Usefull Command

Description/Syntax and Options

start

crsctl start crs

crsctl start cluster [-all]

crsctl start has 

crsctl start resource

          {<resName> [...]|-w <filter>]|-all} [-n <server>] [-k <cid>] [-d <did>] [-env "env1=val1,env2=val2,..."] [-f] [-i]

     Start designated resources

where

     resName [...]    One or more blank-separated resource names

     -w               Resource filter

     -all             All resources

     -n               Server name

     -k               Resource cardinality ID

     -d               Resource degree ID

     -env             Start command environment

     -f               Force option

     -i               Fail if request cannot be processed immediately

 crsctl start crs [-excl]

     Start OHAS on this server

     -excl      Start Oracle Clusterware in exclusive mode

 crsctl start cluster [[-all]|[-n <server>[...]]]

    Start CRS stack

where

    Default         Start local server

    -all            Start all servers

    -n              Start named servers

    server [...]    One or more blank-separated server names

stop

crsctl stop crs

crsctl stop cluster [-all]

crsctl stop has

crsctl stop resource

          {<resName>[...]|-w <filter>]|-all} [-n <server>] [-k <cid>] [-d <did>] [-env "env1=val1,env2=val2,..."] [-f] [-i]

     Stop designated resources

where

     resName [...]    One or more blank-separated resource names

     -w               Resource filter

     -all             All resources

     -n               Server name

     -k               Resource cardinality ID

     -d               Resource degree ID

     -env             Stop command environment

     -f               Force option

     -i               Fail if request cannot be processed immediately

crsctl stop crs [-f]

    Stop OHAS on this server

where

    -f              Force option

crsctl stop cluster [[-all]|[-n <server>[...]]] [-f]

    Stop CRS stack

where

    Default         Stop local server

    -all            Stop all servers

    -n              Stop named servers

    server [...]    One or more blank-separated server names

    -f              Force option

 status

crs_stat -t

crsctl status resource [-p]

crsctl status server

0 Comments