Voting algorithms in Oracle RAC

Source: Internet
Author: User

There are three machines in the RAC cluster, a,b,c

A,b,c will have 3 votes, assuming this is a heart jumper problem, the entire RAC cluster is divided into two paritition,

One is only a partition, one is a b,c composed of partition,

Two partition all want to think that the other side of the problem, they need to take over the business, if there is no voting algorithm will cause two partition simultaneous operation of the database (shared storage), note that the database here is not what we usually say the database, because in the RAC cluster, data files, configuration files , the log files are placed on the back-end shared storage, which is shared by multiple nodes in the RAC cluster.

In other words, after the first two partition, because a is located in the partition only own, no other heartbeat line connection, so it only own 1 votes,

and b,c partition because there are each other's heart jumpers exist, can vote to each other, so they have 2 votes, this time the number of votes to get control of the RAC Cluster, a where the partition was kicked out of the cluster. A node is forced to restart, avoiding a and BC nodes operating the database at the same time.

Voting algorithms in Oracle RAC

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.