The following techniques are used to validate the integrity of Oracle Cluster configuration files, namely OCR and voting disks.
1. Check the ocssd.log for voting disk issues. (run as grid user)
# grep voting $Grid_home/log/hostname/cssd/ocssd.log
2. Use the cluvfy utility to check the integrity of the OCR. (run as grid user)
# cluvfy comp ocr -n all -verbose
3. Use the ocrcheck command to check the integrity of the OCR. (run as root user)
# $Grid_home/bin/ocrcheck
DanBrother 發表在 痞客邦 留言(0) 人氣(12)
crs_stat command usage :
Examine Clusterware Status In a Tabular Format:
# crs_stat -t
Examine Clusterware Parameter Settings:
# crs_stat -p
Examine Clusterware Permissions and Ownership:
# crs_stat -ls
DanBrother 發表在 痞客邦 留言(0) 人氣(16)
Oracle Clusterware includes two important components:
1. Voting disk: A file that manages information about node membership
2 OCR (Oracle Cluster Registry): A file that manages cluster and Oracle RAC database configuration information.
These files can be stored on ASM (Automatic Storage Management) or a cluster filesystem.
[Reference]
http://docs.oracle.com/cd/B28359_01/rac.111/b28252/adminoc.htm
DanBrother 發表在 痞客邦 留言(0) 人氣(8)
DanBrother 發表在 痞客邦 留言(0) 人氣(5)
Stop CRS:
crsctl stop crs (normal)
crsctl stop crs -f (force)
Start CRS:
crsctl start crs
Checking Resource Status for CRS: (replaces crs_stat -t -v in Oracle11gR2)
crsctl status resource -t or
crsctl stat res -t or
crsctl stat res -t -init (only local node status)
** Different resources can be filtered by the following commands:
crsctl stat res -t -w "TYPE = ora.database.type" (Database)
crsctl stat res -t -w "TYPE = ora.asm.type" (ASM)
crsctl stat res -t -w "TYPE = ora.scan_listener.type" (Scan Listener)
crsctl stat res -t -w "TYPE = ora.scan_vip.type" (Scan VIP)
crsctl stat res -t -w "TYPE = ora.cvu.type" (Cluster Verification Utility)
ps. equal sign (=) should have space in between
DanBrother 發表在 痞客邦 留言(0) 人氣(136)