当前位置:网站首页>CRS management and maintenance
CRS management and maintenance
2022-08-02 00:15:00 【Aoki and the Wind】
CRS is the abbreviation of Oracle Cluster Ready Service (Oracle Cluster Ready Service). Starting from Oracle 10gR2, Oracle changed its name to Clusterware. Generally, we think that CRS = Clusterware = Oracle Cluster Ready Service = Oracle Cluster Software. CRS clusterTo manage and use grid users, common commands are stored in the installation directory $ORACLE_HOME/bin of the grid software.
First, start and stop CRS
Oracle CRS is automatically started when the system starts, usually do not need to start and stop manually.However, in special circumstances such as system upgrade, maintenance or
debugging, it is also necessary to manually stop or start the CRS service.
1. Stop CRS on a single node
Switch to the /u01/app/grid/product/11.2.0/bin directory under the root user
# ./crsctl stop crs
2. Single node start CRS
# ./crsctl start crs
3. Stop all cluster resources running on all nodes
# ./crsctl stop cluster -all
4. Start all cluster resources running on all nodes
# ./crsctl start cluster -all
Second, verify CRS
1. Check the current state of a cluster
# ./crsctlcheck cluster
2. Check the current status of the CRS
# ./crsctl check crs
3. Check the current status of OHASD
# ./crsctl check has
Three, disable and enable the CRS daemon
# ./crsctl disable crs
# ./crsctl enable crs
Fourth, display the status of cluster resources
# ./crsctl start res -t
5. Query the software version of CRS
# ./crsctl query crs softwareversion
Note: For other usages of crsctl, please refer to the online documentation: Usage:crsctl
Six |, OLSNODES tool
Use the olsnodes tool to check all nodes that have joined the cluster.
1. Display the nodes that the cluster has joined
# ./olsnodes
2. Display the name of the cluster
# ./olsnodes -c
3. Display the virtual IP address corresponding to the node
# ./olsnodes -i
边栏推荐
猜你喜欢
随机推荐
Short video SEO search operation customer acquisition system function introduction
yay 报错 response decoding failed: invalid character ‘<‘ looking for beginning of value;
Flink Yarn Per Job - 提交流程一
工件SSMwar exploded 部署工件时出错。请参阅服务器日志了解详细信息
GetHashCode方法与=
Thinkphp 5.0.24变量覆盖漏洞导致RCE分析
双队列实现栈?双栈实现队列?
els 方块变形判断。
使用 Zadig 交付云原生微服务应用
在MySQL中使用MD5加密【入门体验】
接地气讲解TCP协议和网络程序设计
学习笔记:机器学习之回归
【ACWing】406. 放置机器人
QML包管理
C language Qixi is coming!It's time to show the romance of programmers!
632. 最小区间
信息系统项目管理师必背核心考点(五十七)知识管理工具
JSP out.print()和out.write()方法的不同之处
为什么要使用MQ消息中间件?这几个问题必须拿下
微软电脑管家V2.1公测版正式发布