Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The difference of crsctl start/stop crs and crsctl start/stop cluster in rac

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

The official website explains:

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,)

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.

Chinese explanation:

1 crsctl start/stop crs is a single section management

Crsctl start/stop cluster [- all all nodes] can manage multiple nodes

2 crsctl start/stop crs management crs contains process OHASD

Crsctl start/stop cluster does not contain OHASD processes. You must start the OHASD process before you can use the

3 11gr2 rac manually starts or shuts down the process

The procedure for manually starting and shutting down using crsctl start/stop cluster is as follows:

Crsctl start/stop cluster-all starts all nodes where the OHAS is in the startup state

Manually start / close the process using crsctl start/stop crs

Node 1

Crsctl start/stop crs will actually start all the resources managed by Oracle crs later.

Node 2

Crsctl start/stop crs

.

Enable CRS to start on reboot

Crsctl enable crs

Disable CRS to start on reboot

Crsctl disable crs

4 query the startup of resources

Crsctl stat res-init-t

Note:

Crsctl start/stop crs and crsctl start/stop has have the same effect.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report