当前位置:首页 > centos6中搭建oracle 11g rac及常用维护命令 - 图文
5.3 确认Grid安装
5.3.1 CRS状态
crs_stat -t -v
除GSD外其他全部为online
33
crsctl stat res -t
5.3.2 voting disk状态
crsctl query css votedisk
## STATE File Universal Id File Name Disk group
34
-- ----- ----------------- --------- ---------
1. ONLINE 7b8903f49cc84fa8bf06d199bdf5dfe3 (ORCL:DISK01) [CRSDG]
5.3.3 检查 Oracle 集群注册表 (OCR)
ocrcheck
Status of Oracle Cluster Registry is as follows : Version : 3
Total space (kbytes) : 262120 Used space (kbytes) : 2264 Available space (kbytes) : 259856 ID : 1510360228
Device/File Name : +CRSDG
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
5.3.4 检查 CRS 状态
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
35
6、 ASM磁盘组配置
6.1 检查监听状态
[grid@rac01 ~]$ lsnrctl status
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=LISTENER)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.18.3.211)(PORT=1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=172.18.3.213)(PORT=1521)))
Services Summary...
Service \
Instance \The command completed successfully
6.2 创建DATA磁盘组
以grid用户执行asmca命令,创建DATA和FRA两个磁盘组。分别存放数据和归档日志
36
共分享92篇相关文档