Voting algorithm in ORACLE RAC

Source: Internet
Author: User


The voting algorithm in oracle rac assumes that there are three machines in the RAC cluster: A, B, c a, B, and C. assume that this is A heartbeat line problem, the entire RAC cluster is divided into two partitions, one is only A partition, the other is A partition composed of B and C, and the other is www.2cto.com, if there is no voting algorithm, two partitions will simultaneously operate on the database (shared storage). Note that the database here is not what we usually call the database, because in the RAC cluster, data files, the configuration file is stored on the backend shared storage. multiple nodes in the RAC cluster are shared. Speaking of this, after the first two partitions, since the partition in which A is located only has its own, there is no other heartbeat line connection, so it only has one vote for itself, while B, the partition in which C is located can vote for each other because there is a heartbeat line between them. Therefore, they all have two votes. At this time, they have many votes to control the RAC cluster, the partition of A is kicked out of the cluster. Node A is forcibly restarted to prevent both node A and node BC from simultaneously operating the database.

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.