Running of instances in the flex cluster of the oracle 12c database

Source: Internet
Author: User
Tags unsupported

In RAC of 12c, because it is a flex cluster, the instance runs randomly. For example, instance 3 runs on Node 2 and instance 2 runs on Node 3. This is also true after restart.

We can handle this in this way, so that the original running instance is changed back:

1. Check the information of the instance and node mappings recorded in crs:

[Oracle @ 12102-rac2 ~] $ Crsctl stat res ora. cdbrac. db-p | grep SERVERNAME
GEN_USR_ORA_INST_NAME @ SERVERNAME (12102-rac1) = cdbrac_1
GEN_USR_ORA_INST_NAME @ SERVERNAME (12102-rac2) = cdbrac_3
GEN_USR_ORA_INST_NAME @ SERVERNAME (12102-rac3) = cdbrac_2
[Oracle @ 12102-rac2 ~] $

2. Modify the parameters by using the unsupported parameter. For the reason that the unsupported parameter needs to be added, refer to here.

Crsctl modify res ora. cdbrac. db-attr "GEN_USR_ORA_INST_NAME @ SERVERNAME (12102-rac2) = cdbrac_2"-unsupported
Crsctl modify res ora. cdbrac. db-attr "GEN_USR_ORA_INST_NAME @ SERVERNAME (12102-rac3) = cdbrac_3"-unsupported

3. Check whether the changes have been made to each node:

[Oracle @ 12102-rac2 ~] $ Crsctl stat res ora. cdbrac. db-p | grep SERVERNAME
GEN_USR_ORA_INST_NAME @ SERVERNAME (12102-rac1) = cdbrac_1
GEN_USR_ORA_INST_NAME @ SERVERNAME (12102-rac2) = cdbrac_2
GEN_USR_ORA_INST_NAME @ SERVERNAME (12102-rac3) = cdbrac_3
[Oracle @ 12102-rac2 ~] $

4. Restart crs (including DB)

Related Article

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.