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.