Wednesday, May 5, 2010

Recover the Voting Disk

The recommended way to recover from a lost or corrupt voting disk is to restore it from a previous good backup that was taken with the dd command.
There are actually very few steps required to restore the voting disks:
Shutdown CRS on all nodes in the cluster.
List the current location of the voting disks.
Restore each of the voting disks using the dd command from a previous good backup of the voting disks that was taken using the same dd command.
Re-start CRS on all nodes in the cluster.
For example:

[root@racnode1 ~]# crsctl stop crs
[root@racnode2 ~]# crsctl stop crs
[root@racnode1 ~]# crsctl query css votedisk
[root@racnode1 ~]# # Do this for all voting disks...
[root@racnode1 ~]# dd if= of= bs=4k
[root@racnode1 ~]# crsctl start crs
[root@racnode2 ~]# crsctl start crs

No comments:

Post a Comment