广告
返回顶部
首页 > 资讯 > 数据库 >rac中 crsctl start/stop crs and crsctl start/stop cluster 区别
  • 579
分享到

rac中 crsctl start/stop crs and crsctl start/stop cluster 区别

2024-04-02 19:04:59 579人浏览 薄情痞子
摘要

官网解释: crsctl start/stop crs - Manage start/stop the entire oracle Clusterware stack on a n

官网解释:


crsctl start/stop crs - Manage start/stop the entire oracle Clusterware stack on a node, including the OHASD process, this command is to be used only on the local node..


crsctl start/stop cluster - Manage start/stop the Oracle Clusterware stack on local node if you do not specify either -all or -n and nodes remote if option -n or -all be specified , NOT including the OHASD process. You can't start/stop clusterware stack without OHASD process running .


Despite crsctl start/stop crs manage entire Oracle Clusterware stack on local node crsctl start/stop crs not allow you to manage remote nodes, unlike crsctl start/stop cluster that allows you to manage all the nodes, but if the process OASH is runing.


To manage Oracle Clusterware Stack on remote nodes, the ohasd (Oracle High Availability Services Daemon) must be running on all managed nodes. (i.e using crsctl start cluster -n <node1>, <node2>)


Then if you try use crsctl start cluster -n node1,node2 and your local node is node1 and on node1 or node2 OHASD not running this command will fails. 


中文解释:


1 crsctl start/stop crs 是单节管理 


crsctl start/stop cluster [-all 所有节点] 可以管理多个节点


  2 crsctl start/stop crs 管理crs 包含进程 OHASD


  crsctl start/stop cluster 不包含OHASD进程 必须要先启动 OHASD进程才可以使用


  3  11gr2 rac 手动启动或关闭过程


使用crsctl start/stop cluster手动启动和关闭的过程如下:


crsctl start/stop cluster -all 会启动所有OHAS是启动状态的所有节点


使用crsctl start/stop crs手动启动/关闭流程


节点1


crsctl start/stop crs 实际上后面会把Oracle crs 管理的资源都会启动


节点2


crsctl start/stop crs


......


  Enable CRS to start on reboot


 crsctl enable crs


Disable CRS to start on reboot


 crsctl disable crs


  4 查询资源启动情况


crsctl stat res -init -t


  注:



crsctl start/stop crs 与crsctl start/stop has 作用相同


您可能感兴趣的文档:

--结束END--

本文标题: rac中 crsctl start/stop crs and crsctl start/stop cluster 区别

本文链接: https://www.lsjlt.com/news/49288.html(转载时请注明来源链接)

有问题或投稿请发送至: 邮箱/279061341@qq.com    QQ/279061341

本篇文章演示代码以及资料文档资料下载

下载Word文档到电脑,方便收藏和打印~

下载Word文档
猜你喜欢
软考高级职称资格查询
编程网,编程工程师的家园,是目前国内优秀的开源技术社区之一,形成了由开源软件库、代码分享、资讯、协作翻译、讨论区和博客等几大频道内容,为IT开发者提供了一个发现、使用、并交流开源技术的平台。
  • 官方手机版

  • 微信公众号

  • 商务合作