验证安装?在两节点上都要操作,以grid用户操作
1、检查CRS状态
[[email protected] ~]# su - grid
[[email protected] ~]$ 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、检查Clusterware资源
[[email protected] ~]$ crs_stat -t -v
Name Type R/RA F/FT Target State Host
----------------------------------------------------------------------
ora....ER.lsnr ora....er.type 0/5 0/ ONLINE ONLINE orcl1
ora....N1.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE orcl2
ora....N2.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE orcl1
ora....N3.lsnr ora....er.type 0/5 0/0 ONLINE ONLINE orcl1
ora.OVDATA.dg ora....up.type 0/5 0/ ONLINE ONLINE orcl1
ora.asm ora.asm.type 0/5 0/ ONLINE ONLINE orcl1
ora.cvu ora.cvu.type 0/5 0/0 ONLINE ONLINE orcl1
ora.gsd ora.gsd.type 0/5 0/ OFFLINE OFFLINE
ora....network ora....rk.type 0/5 0/ ONLINE ONLINE orcl1
ora.oc4j ora.oc4j.type 0/1 0/2 ONLINE ONLINE orcl1
ora.ons ora.ons.type 0/3 0/ ONLINE ONLINE orcl1
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE orcl1
ora....L1.lsnr application 0/5 0/0 ONLINE ONLINE orcl1
ora.orcl1.gsd application 0/5 0/0 OFFLINE OFFLINE
ora.orcl1.ons application 0/3 0/0 ONLINE ONLINE orcl1
ora.orcl1.vip ora....t1.type 0/0 0/0 ONLINE ONLINE orcl1
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE orcl2
ora....L2.lsnr application 0/5 0/0 ONLINE ONLINE orcl2
ora.orcl2.gsd application 0/5 0/0 OFFLINE OFFLINE
ora.orcl2.ons application 0/3 0/0 ONLINE ONLINE orcl2
ora.orcl2.vip ora....t1.type 0/0 0/0 ONLINE ONLINE orcl2
ora....ry.acfs ora....fs.type 0/5 0/ ONLINE ONLINE orcl1
ora.scan1.vip ora....ip.type 0/0 0/0 ONLINE ONLINE orcl2
ora.scan2.vip ora....ip.type 0/0 0/0 ONLINE ONLINE orcl1
ora.scan3.vip ora....ip.type 0/0 0/0 ONLINE ONLINE orcl1
3、检查集群节点
[[email protected] ~]$ olsnodes -n
orcl1 1
orcl2 2
4、检查监听器进程
[[email protected] ~]$ srvctl status listener
Listener LISTENER is enabled
Listener LISTENER is running on node(s): orcl1,orcl2
5、检查ASM状态
[[email protected] ~]$ srvctl status asm -a
ASM is running on orcl1,orcl2
ASM is enabled.
6、检查OCR注册表信息
[[email protected] ~]$ ocrcheck
Status of Oracle Cluster Registry is as follows :
Version : 3
Total space (kbytes) : 262120
Used space (kbytes) : 2740
Available space (kbytes) : 259380
ID : 1483487587
Device/File Name : +OVDATA
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
?
Logical corruption check bypassed due to non-privileged user
7、检查Votedisk 表决磁盘
[[email protected] ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 22fbaac523464f8abf5157377482ff69 (ORCL:OVDDATA1) [OVDATA]
2. ONLINE 6e54263d82d54f1fbf3e5dffc4fb4b3b (ORCL:OVDDATA2) [OVDATA]
3. ONLINE 36b45bb92f734fa1bf5134994f1d76d9 (ORCL:OVDDATA3) [OVDATA]
Located 3 voting disk(s).
检查完毕,记得在另外节点做同样检查。