This is a premium alert message you can set from Layout! Get Now!

Administering Cluster Ready Services (CRS)

Anup
0
We use Cluster Control Utility “CRSCTL” to perform administrative operation of oracle clusterware. It is located in $CRS_HOME/bin and must be executed by the “root” user.


1. To check the current state of all oracle clusterware daemon:

$ ./crsctl check crs

CSS appears healthy
CRS appears healthy
EVM appears healthy

2. You can also check the state of individual oracle clusterware daemon:

$ ./crsctl check cssd

CSS appears healthy

$ ./crsctl check crsd

CRS appears healthy

$ ./crsctl check evmd

EVM appears healthy

3. To start oracle clusterware

$ ./crsctl start crs

Attempting to start CRS stack

The CRS stack will be started shortly

4. To stop oracle clusterware

$ ./crsctl stop crs

Stopping resources.

Successfully stopped CRS resources
Stopping CSSD.
Shutting down CSS daemon.
Shutdown request successfully issued.

5. To disable oracle clusterware:

# ./crsctl disable crs

6. To enable oracle clusterware:

$ ./crsctl enable crs

7. To list the module for debugging in CSS

$ ./crsctl lsmodules css

The following are the CSS modules ::

CSSD
COMMCRS
COMMNS

8. CRS_STAT: It reports the current state of resources configured in the OCR.

$ ./crs_stat -t

Name Type Target State Host
———————————————————————————–
ora….C1.inst application ONLINE ONLINE rac1
ora….C2.inst application ONLINE ONLINE rac2
ora….AC1.srv application ONLINE ONLINE rac1
ora.RAC.abc.cs application ONLINE ONLINE rac1
ora.RAC.db application ONLINE ONLINE rac2
ora….AC1.srv application ONLINE ONLINE rac1
ora….ice2.cs application ONLINE ONLINE rac1
ora….AC1.srv application ONLINE ONLINE rac1

9. CRS_STOP: This command used to stop resource or cluster member.

$ ./crs_stop ora.rac1.ons

Attempting to stop `ora.rac1.ons` on member `rac1`
Stop of `ora.rac1.ons` on member `rac1` succeeded.

10. CRS_START: This command used to start resource or cluster member.

$ ./crs_start ora.rac1.ons

Attempting to start `ora.rac1.ons` on member `rac1`
Start of `ora.rac1.ons` on member `rac1` succeeded.

11. OCRCHECK : It verifies the integrity of the OCR.

$ ./ocrcheck

Status of Oracle Cluster Registry is as follows :
Version : 2
Total space (kbytes) : 5237072
Used space (kbytes) : 9360
Available space (kbytes) : 5227712
ID : 794527192
Device/File Name : /apps/oracle/oradata/ocr
Device/File integrity check succeeded
Cluster registry integrity check succeeded

12 Check that all nodes have joined the cluster.

$./olsnodes

13 Oracle interface Configuration (oifcfg)

$./oifcfg getif

Oracle Interface Configure Utility

This command should return values for global public and global cluster_interconnect.

If the command does not return a value for global cluster_interconnect, enter the following command to delete and set the desired interface:

$ ./oifcfg delif –global
$./oifcfg setif –global /:public
$./oifcfg setif –global /:cluster_interconnect\

Cluster Name Check Utility

This utility orints the cluster name information:

$./cemutlo –n -w
Tags

Post a Comment

0 Comments

Please Select Embedded Mode To show the Comment System.*

Post a Comment
To Top