In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The Oracle 11gR2 cluster is divided into two stacks:
1. OHASD (Oracle High Availability Service Daemon)
2. CRSD (Cluster Ready Service Deamon)
When starting and stopping, there are two ways, both of which should be executed with the login of the root user.
First, crs mode.
This is a compatible method from 10g. There is a saying that performing this operation will have no effect, because the OHAS layer does not start, my local test, after executing the command, will start the entire cluster stack, OHASD and CRSD
Check immediately, the three major services have not been started, only OHASD has been started:
Check again after a period of time, and all three major services have been launched successfully:
Note: (1) the execution of crsctl start crs only shows that CRS-4123,OHAS starts successfully, but the agent process of OHASD will start CRSD, so you need to wait a little longer for related services to be started in the background.
(2) this method can only be performed separately on a single node.
Close:
As you can see, both stacks are closed, but only the resources are closed on this node.
Second, cluster mode. This is the new way of 11gR2. It is divided into starting OHAS and starting CRSD. If you start HAS, it will be accompanied by starting CRSD.
Check in advance:
Start cluster and report an error:
Start OHAS:
Check immediately:
Check after a while, and CSSD will first complete the startup:
After a while, the three major CRS services have been started:
Close:
Crsctl stop has
Check:
After starting has, close cluster:
Check in advance:
Close cluster
Start cluster again:
Summary: the startup and shutdown of Oracle 11gR2 clusters can be divided into two ways: inherited from 10g and 11 new ones. 10g inheritance method, namely crsctl start | stop crs. In this way, for a single-node cluster, the entire stack, including ohasd and crsd, that is, if closed, all services are turned off, and if started, all services are started. Another method is crsctl start | stop cluster. This approach depends on the startup of the previous stack ohasd, and if ohasd is not started, crsd cannot be started. If the ohasd is already started, the crsd starts normally. If you start ohasd, that is, crsctl start | stop has, which has the same effect as crsctl start | stop crs, it will start and stop crsd in conjunction with it. In the second way, with the option-all, all nodes can be started.
Crsctl start | stop crs and crsctl start | stop has is for the entire stack (OHAS and CRSD). This method can only operate on a single node.
Crsctl start | stop cluster is only for the CRSD stack, depending on whether the first OHAS is started, but this method can operate on all nodes, such as crsctl start cluster-all.
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.