crsctl replace votedisk

Use the crsctl replace votedisk command to move or replace the existing voting files. This command creates voting files in the specified locations, either in Oracle ASM or some other storage option. Oracle Clusterware copies existing voting file information into the new locations and removes the voting files from the former locations.

Syntax

crsctl replace votedisk [+asm_disk_group | path_to_voting_disk [...]]

Parameters

Table E-56 crsctl replace votedisk Command Parameters

Parameter Description

+asm_disk_group

Specify the disk group in Oracle ASM where you want to locate the voting file.

path_to_voting_disk [...]

A space-delimited list of voting file paths for voting files that reside outside of Oracle ASM.

Usage Notes

  • You must be root, the Oracle Clusterware installation owner, or a member of the Administrators group to run this command.

  • Specify to replace a voting file in either an Oracle ASM disk group or in some other storage device.

  • You can run this command on any node in the cluster.

Example

Example 1

To replace a voting file that is located within Oracle ASM:

$ crsctl replace votedisk +diskgroup1

Example 2

To replace a voting file that is located on a shared file system:

$ crsctl replace votedisk /mnt/nfs/disk1 /mnt/nfs/disk2