当前位置:网站首页>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
边栏推荐
- 在CentOS下安装MySQL
- Flink Yarn Per Job - CliFrontend
- 【ACWing】230. 排列计数
- Artifact XXXwar exploded Artifact is being deployed, please wait...(已解决)
- Keepalived 高可用的三种路由方案
- 在MySQL登录时出现Access denied for user ‘root‘@‘localhost‘ (using password YES) 拒绝访问问题解决
- C language Qixi is coming!It's time to show the romance of programmers!
- How to solve the error when mysql8 installs make
- Programmer is still short of objects? A new one is enough
- 20220725 Information update
猜你喜欢
Wincc报表教程(SQL数据库的建立,wincc在数据库中保存和查询数据,调用Excel模板把数据保存到指定的位置和打印功能)
Various Joins of Sql
Chrome书签插件,让你实现高效整理
Flink Yarn Per Job - CliFrontend
2022还想上岸学习软件测试必看,测试老鸟的肺腑之言...
cdh的hue上oozie启动报错,Cannot allocate containers as requested resource is greater than maximum allowed
ICLR 2022最佳论文:基于对比消歧的偏标签学习
不就是个TCC分布式事务,有那么难吗?
ICLR 2022 Best Paper: Partial Label Learning Based on Contrastive Disambiguation
Study Notes: The Return of Machine Learning
随机推荐
在MySQL中使用MD5加密【入门体验】
@Transactional 注解使用详解
检查 Oracle 版本的 7 种方法
Unity—四元数、欧拉角API+坐标系统
【Leetcode】473. Matchsticks to Square
ICLR 2022最佳论文:基于对比消歧的偏标签学习
Win11内存管理错误怎么办?
【MySQL篇】初识数据库
类型“FC<Props>”的参数不能赋给类型“ForwardRefRenderFunction<unknown, Props>”的参数。 属性“defaultProps”的类型不兼容。 不
Flink Yarn Per Job - 提交流程一
使用Jenkins做持续集成,这个知识点必须要掌握
asyncawait和promise的区别
根本上解决mysql启动失败问题Job for mysqld.service failed because the control process exited with error code
学习笔记:机器学习之回归
20220725资料更新
【MySQL系列】MySQL数据库基础
A brief analysis of mobile APP security testing in software testing, shared by a third-party software testing agency in Beijing
Axure tutorial - the new base (small white strongly recommended!!!)
在CentOS下安装MySQL
mysql8安装make报错如何解决