码迷,mamicode.com
首页 > 数据库 > 详细

Redhat 5.8 ORACLE 11gR2 RAC安装文档4-grid 安装验证

时间:2015-06-23 17:39:20      阅读:160      评论:0      收藏:0      [点我收藏+]

标签:

验证安装?在两节点上都要操作,以grid用户操作

1、检查CRS状态

[root@orcl1 ~]# su - grid

[grid@orcl1 ~]$ 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资源

[grid@orcl1 ~]$ 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、检查集群节点

[grid@orcl1 ~]$ olsnodes -n

orcl1 1

orcl2 2

4、检查监听器进程

[grid@orcl1 ~]$ srvctl status listener

Listener LISTENER is enabled

Listener LISTENER is running on node(s): orcl1,orcl2

5、检查ASM状态

[grid@orcl1 ~]$ srvctl status asm -a

ASM is running on orcl1,orcl2

ASM is enabled.

6、检查OCR注册表信息

[grid@orcl1 ~]$ 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 表决磁盘

[grid@orcl1 ~]$ 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).

检查完毕,记得在另外节点做同样检查。

Redhat 5.8 ORACLE 11gR2 RAC安装文档4-grid 安装验证

标签:

原文地址:http://www.cnblogs.com/kaodaxia/p/4595782.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!