文章详情

短信预约-IT技能 免费直播动态提醒

请输入下面的图形验证码

提交验证

短信预约提醒成功

Oracle RAC实施方案详细说明-安装后的检查06

2024-04-02 19:55

关注

Oracle RAC 实施方案详细说明 - 安装后的检查 06

查看数据库版本

SQL> select * from v$version;

Oracle RAC实施方案详细说明-安装后的检查06

查看集群名称

[root@rac01 bin]# ./cemutlo --help

Oracle RAC实施方案详细说明-安装后的检查06

[root@rac01 bin]# ./cemutlo -n

rac-cluster

[root@rac01 bin]# ./cemutlo -w

2:1:

查看集群状态

[root@rac01 ~]# cd /u01/app/11.2.0/grid/bin/

[root@rac01 bin]# ./crsctl check cluster -all

**************************************************************

rac01:

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

**************************************************************

rac02:

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

**************************************************************

查看资源状态

[root@rac01 bin]# ./crsctl stat res -t

Oracle RAC实施方案详细说明-安装后的检查06

Oracle RAC实施方案详细说明-安装后的检查06

查看 CRS 状态

[root@rac01 bin]# ./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

查看OHASD 状态

[root@rac01 bin]# ./crsctl check has

CRS-4638: Oracle High Availability Services is online

禁用crs 自启动

[root@rac01 bin]# ./crsctl disable crs

CRS-4621: Oracle High Availability Services autostart is disabled.

[root@rac02 bin]# ./crsctl disable crs

CRS-4621: Oracle High Availability Services autostart is disabled.

查看 节点 信息

[root@rac01 bin]# ./olsnodes --help

Oracle RAC实施方案详细说明-安装后的检查06

[root@rac01 bin]# ./olsnodes

rac01

rac02

[root@rac01 bin]# ./olsnodes -c

rac-cluster

查看网络接口信息

[root@rac01 bin]# ./oifcfg --help

Oracle RAC实施方案详细说明-安装后的检查06

[root@rac01 bin]# ./oifcfg getif

eth0  192.168.31.0  global  public

eth2  10.10.10.0  global  cluster_interconnect

查看OCR 信息

[root@rac01 bin]# ./ocrcheck -config

Oracle Cluster Registry configuration is :

 Device/File Name         :       +OCR

[root@rac01 bin]# ./ocrcheck

Oracle RAC实施方案详细说明-安装后的检查06

查看olr 信息

[root@rac01 bin]# ./ocrcheck -local

Oracle RAC实施方案详细说明-安装后的检查06

检查OCR 完整性

[grid@rac01 ~]$ cluvfy comp ocr -n all -verbose

Oracle RAC实施方案详细说明-安装后的检查06

查看votedisk 信息

[root@rac01 bin]# ./crsctl query css votedisk

Oracle RAC实施方案详细说明-安装后的检查06

查看数据库信息

[root@rac01 bin]# ./srvctl config database

cjcdb

[root@rac01 bin]# ./srvctl config database -d cjcdb -a

Oracle RAC实施方案详细说明-安装后的检查06

[root@rac01 bin]# ./srvctl status database -d cjcdb

Instance cjcdb1 is running on node rac01

Instance cjcdb2 is running on node rac02

[root@rac01 bin]# ./srvctl status database -d cjcdb -v

Instance cjcdb1 is running on node rac01. Instance status: Open.

Instance cjcdb2 is running on node rac02. Instance status: Open.

查看SCAN 配置

[root@rac01 bin]# ./srvctl config scan

SCAN name: rac-scan.cjc.com, Network: 1/192.168.31.0/255.255.255.0/eth0

SCAN VIP name: scan1, IP: /rac-scan.cjc.com/192.168.31.60

SCAN VIP name: scan2, IP: /rac-scan.cjc.com/192.168.31.70

SCAN VIP name: scan3, IP: /rac-scan.cjc.com/192.168.31.50

查看DNS 解析

[root@rac01 bin]# nslookup rac-scan.cjc.com

Server:   192.168.31.90

Address: 192.168.31.90#53

Name: rac-scan.cjc.com

Address: 192.168.31.70

Name: rac-scan.cjc.com

Address: 192.168.31.50

Name: rac-scan.cjc.com

Address: 192.168.31.60

查看SCAN VIP 状态

[root@rac01 bin]# ./srvctl status scan

SCAN VIP scan1 is enabled

SCAN VIP scan1 is running on node rac02

SCAN VIP scan2 is enabled

SCAN VIP scan2 is running on node rac01

SCAN VIP scan3 is enabled

SCAN VIP scan3 is running on node rac01

显示SCAN 监听器的状态

[root@rac01 bin]# ./srvctl status scan_listener

SCAN Listener LISTENER_SCAN1 is enabled

SCAN listener LISTENER_SCAN1 is running on node rac02

SCAN Listener LISTENER_SCAN2 is enabled

SCAN listener LISTENER_SCAN2 is running on node rac01

SCAN Listener LISTENER_SCAN3 is enabled

SCAN listener LISTENER_SCAN3 is running on node rac01

查看服务器IP

[root@rac01 bin]# ifconfig 

Oracle RAC实施方案详细说明-安装后的检查06

查看ASM 配置

[root@rac01 bin]# ./srvctl config asm

ASM home: /u01/app/11.2.0/grid

ASM listener: LISTENER

查看监听配置

[root@rac01 bin]# ./srvctl config listener

Name: LISTENER

Network: 1, Owner: grid

Home: <CRS home>

End points: TCP:1521

查看节点状态

[root@rac01 bin]# ./srvctl status nodeapps -n rac01

VIP rac01-vip is enabled

VIP rac01-vip is running on node: rac01

Network is enabled

Network is running on node: rac01

GSD is disabled

GSD is not running on node: rac01

ONS is enabled

ONS daemon is running on node: rac01

[root@rac01 bin]# ./srvctl status nodeapps -n rac02

VIP rac02-vip is enabled

VIP rac02-vip is running on node: rac02

Network is enabled

Network is running on node: rac02

GSD is disabled

GSD is not running on node: rac02

ONS is enabled

ONS daemon is running on node: rac02

欢迎关注我的微信公众号"IT小Chen",共同学习,共同成长!!!

Oracle RAC实施方案详细说明-安装后的检查06

阅读原文内容投诉

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

软考中级精品资料免费领

  • 历年真题答案解析
  • 备考技巧名师总结
  • 高频考点精准押题
  • 2024年上半年信息系统项目管理师第二批次真题及答案解析(完整版)

    难度     813人已做
    查看
  • 【考后总结】2024年5月26日信息系统项目管理师第2批次考情分析

    难度     354人已做
    查看
  • 【考后总结】2024年5月25日信息系统项目管理师第1批次考情分析

    难度     318人已做
    查看
  • 2024年上半年软考高项第一、二批次真题考点汇总(完整版)

    难度     435人已做
    查看
  • 2024年上半年系统架构设计师考试综合知识真题

    难度     224人已做
    查看

相关文章

发现更多好内容

猜你喜欢

AI推送时光机
位置:首页-资讯-数据库
咦!没有更多了?去看看其它编程学习网 内容吧
首页课程
资料下载
问答资讯