当前位置:网站首页>CRS 管理与维护
CRS 管理与维护
2022-08-01 23:59:00 【青木与风】
CRS 是 Oracle Cluster Ready Service(Oracle 集群就绪服务)的缩写,从 Oracle 10gR2开始,Oracle 将其更名为 Clusterware, 一般我们认为,CRS = Clusterware = Oracle Cluster Ready Service = Oracle Cluster Software. CRS 集群的管理使用 grid用户,常用命令存放在 grid 软件的安装目录$ORACLE_HOME/bin 下。
一、启动和停止 CRS
Oracle CRS 是在系统启动时自动启动的,通常不需要手动启动和停止。但在系统升级、维护或
调试等特殊的情况下,也需要手动停止或启动 CRS 服务。
1. 单节点停止 CRS
切换到root用户下面的/u01/app/grid/product/11.2.0/bin目录下面
# ./crsctl stop crs
2. 单节点启动 CRS
# ./crsctl start crs
3. 停止在所有节点上运行的全部集群资源
# ./crsctl stop cluster -all
4. 启动在所有节点上运行的全部集群资源
# ./crsctl start cluster -all
二、验证 CRS
1. 检查一个集群的当前状态
# ./crsctl check cluster
2. 检查 CRS 的当前状态
# ./crsctl check crs
3. 检查 OHASD 的当前状态
# ./crsctl check has
三、禁用和启用 CRS 守护进程
# ./crsctl disable crs
# ./crsctl enable crs
四、显示集群资源的状态
# ./crsctl start res -t
五、查询 CRS 的软件版本
# ./crsctl query crs softwareversion
注:crsctl 的其它用法请参考联机文档:Usage:crsctl <command> <object> [<options>]
六|、OLSNODES 工具
使用 olsnodes 工具可以检查所有已经加入集群的节点。
1. 显示集群已经加入的节点
# ./olsnodes
2. 显示集群的名称
# ./olsnodes -c
3. 显示节点对应的虚拟 IP 地址
# ./olsnodes -i
边栏推荐
- C language Qixi is coming!It's time to show the romance of programmers!
- With a monthly salary of 12K, the butterfly changed to a new one and moved forward bravely - she doubled her monthly salary through the career change test~
- QML package management
- 如何优雅的消除系统重复代码
- thinkphp漏洞总结
- 递归:方法调用自身
- 2022还想上岸学习软件测试必看,测试老鸟的肺腑之言...
- 【MySQL篇】初识数据库
- 为什么要使用MQ消息中间件?这几个问题必须拿下
- 【图像融合】基于加权和金字塔实现图像融合附matlab代码
猜你喜欢
随机推荐
Cash Ⅱ LeetCode_518_ change
20220725 Information update
FAST-LIO2 code analysis (2)
Win11如何获得最佳电源效率?
Enterprise firewall management, what firewall management tools are there?
Excel文件读写(创建与解析)
Programmer is still short of objects? A new one is enough
security 会话并发管理
Docker实践经验:Docker 上部署 mysql8 主从复制
async/await 原理及执行顺序分析
FAST-LIO2代码解析(二)
检查 Oracle 版本的 7 种方法
Ansible中的任务执行控制
[Three sons] C language implements simple three sons
recursion: method calls itself
Zadig 面向开发者的自测联调子环境技术方案详解
Flink Yarn Per Job - CliFrontend
A brief analysis of mobile APP security testing in software testing, shared by a third-party software testing agency in Beijing
@Scheduled注解详解
如何重装Win11?一键重装Win11方法


![[Three sons] C language implements simple three sons](/img/96/c3f6c331cbc6d794dc5381cf176ba7.png)






