1、检查CRS状态
[grid@rac1 ~]$ crsctl check crs
CRS-4638: Oracle High Availability Services is online
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
2、集群资源启动完毕后,查看集群状态:
[grid@rac1 ~]$ crs_stat –t
[grid@rac1 ~]$ crs_stat –t –v
3、检查集群节点
[grid@rac1 ~]$ olsnodes -n
rac1 1
rac2 2
4、检查两个节点上的oracle tns监听器进程
在节点1上查询:
[grid@rac1 ~]$ ps -ef | grep lsnr | grep -v 'grep' | grep -v 'ocfs' |awk '{print $9}'
LISTENER_SCAN1
LISTENER
在节点2上查询:
[grid@rac2 ~]$ ps -ef | grep lsnr | grep -v 'grep' | grep -v 'ocfs' |awk '{print $9}'
LISTENER_SCAN1
LISTENER
5、如果在 Oracle ASM 上安装了 OCR 和表决磁盘文件,则以 Grid Infrastructure 安装所有者的身份,使用下面的命令语法来确认当前正在运行已安装的 Oracle ASM:
[grid@rac1 ~]$ srvctl status asm –a
ASM is running on rac1,rac2
ASM is enabled.
6、检查 Oracle 集群注册表 (OCR)
[grid@rac1 ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2720
Available space (kbytes) : 259400
ID : 1482448137
Device/File Name : +CRS
Device/File integrity check succeeded
Device/File not configured
Device/File not configured
Device/File not configured
Device/File not configured
Cluster registry integrity check succeeded
7、检查表决磁盘
[grid@rac1 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 286aa1683d864f11bf4478228196a1e6 (ORCL:CRSVOL1) [CRS]
Located 1 voting disk(s).
8、检查集群的运行状况 —(集群化命令)
以 grid 用户身份运行以下命令。
[grid@rac1 ~]$ crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
[grid@rac1 ~]$[@more@]来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/25837813/viewspace-1052005/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/25837813/viewspace-1052005/