Sunday, 11 December 2022

What is Voting disk

 

In an Oracle RAC (Real Application Clusters) system, a voting disk is a small, shared disk that is used by the cluster to store information about the current state of the cluster. This information includes the IDs of the nodes in the cluster and their current status (up or down). The voting disk is used by the cluster to determine which nodes are currently active and can participate in cluster operations.

The voting disk is an important component of an Oracle RAC system because it ensures that the cluster can continue to operate even if one or more nodes fail. This is because the remaining nodes can use the information on the voting disk to determine the current state of the cluster and take appropriate action.

In the event of a failure or corruption of the voting disk, it is important to replace the disk as soon as possible to ensure the continued operation of the cluster.

If the voting disk becomes corrupted in an Oracle RAC (Real Application Clusters) system, you should immediately shut down the database and replace the corrupted voting disk. Here are the steps to do this:


Shut down the database using the following command:

srvctl stop database -db <database_name>

Replace the corrupted voting disk with a new, uncorrupted disk. This will require access to the server and the storage system where the voting disk is located.


Once the new voting disk is in place, start the database using the following command:

srvctl start database -db <database_name>

Check the status of the database to ensure that it has started successfully and that the new voting disk is being used. You can use the following command to do this:


srvctl status database -db <database_name>

If the database has started successfully and the new voting disk is being used, you can proceed with normal operation. 





No comments:

Post a Comment