RAC Knowledge Update-managing ASM + retrieving OCR information + disabling RAC Automatic startup (from wenpingshu)

Source: Internet
Author: User

Use srvctl to manage ASM
Srvctl can use the status command to view the service status of ASM and use commands similar to start and stop to manage ASM components.
The following example shows that the instance cctt1 is running on the cctt1 node, and the ASM instance asm2 is running on the cctt2 node.
Srvctl status ASM-N cctt1

$ Srvctl status ASM-N cctt1
ASM instance + ASM1 is running on node cctt1.
$ Srvctl status ASM-N cctt2
ASM instance + asm2 is running on node cctt2.

 

 

|

 

You can use the srvctl config command to retrieve information stored in the cluster database in OCR, for example
The following query shows the installation information of the cctt database on two nodes.

$ Srvctl config database-D cctt
Cctt1 cctt1/Oracle/product/DB
Cctt2 cctt2/Oracle/product/DB

 

|

Disable the service by using srvctl: (p508 Wenping)
By default, various services in the RAC cluster are automatically started. As the system starts
Automatic startup without manual intervention.
However, in some special circumstances, this automatic setting will cause inconvenience. For example, after some maintenance and adjustment for the system, the Administrator may not want
It is expected that the RAC cluster will be started at the same time when the system is restarted. In this case, you can disable the service temporarily until you execute the re-enable command.
The following command First disables the instance orcl1 on node node_a and then disables the instance. Disable ASM on node_a and disable ASM:
$ Srvctl stop instance-D orcl-I orcl1
$ Srvctl disable instance-D orcl-I orcl1
$ Srvctl stop ASM-N node_a-I ASM1
$ Srvctl disable ASM-N node_a-I + ASM1

If the system restarts, the disabled system will not start automatically. This allows administrators to perform system maintenance, upgrades, and machine resizing.
And Application cutting.

To restore a disabled service, use the srvctl enable command to reactivate the service. The following process is for
Reverse process-activate the service and start the service:
$ Srvctl enable ASM-N node_a-I + ASM1
$ Srvctl start ASM-N node_a-I + ASM1
$ Srvctl enable instance-D orcl-I orcl1
$ Srvctl start instance-D orcl-I orcl1

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.