Setting Shared Disks for Oracle RAC

  1. Create Disks.

    vmkfstools -c 1G -d eagerzeroedthick /vmfs/volumes/datastore01/Oracle-RAC/Oracle-RAC-OCR01-1GB.vmdk
    vmkfstools -c 1G -d eagerzeroedthick /vmfs/volumes/datastore01/Oracle-RAC/Oracle-RAC-OCR01-1GB.vmdk
    vmkfstools -c 1G -d eagerzeroedthick /vmfs/volumes/datastore01/Oracle-RAC/Oracle-RAC-OCR01-1GB.vmdk
    vmkfstools -c 30G -d eagerzeroedthick /vmfs/volumes/datastore01/Oracle-RAC/Oracle-RAC-MGMT01-30GB.vmdk
    vmkfstools -c 10G -d eagerzeroedthick /vmfs/volumes/datastore01/Oracle-RAC/Oracle-RAC-ARCH01-10GB.vmdk
    vmkfstools -c 20G -d eagerzeroedthick /vmfs/volumes/datastore01/Oracle-RAC/Oracle-RAC-DATA01-20GB.vmdk
  2. Adding a SCSI controller to Oracle RAC VMs.

    Leave the Bus Sharing mode as None, and choose the desired type (LSI Parallel or LSI SAS or Paravirtual).

    Note: The Paravirtual controller type is generally recommended for RAC shared disks.

  3. Adding shared disks to Oracle RAC VMs.

    Select Thick provision eager zeroed option in the Disk Provisioning dropdown menu.
    In the Sharing dropdown menu, select the Multi-writer option.
    Change the Disk Mode to Independent-Persistent.

    Note: While Independent-Persistent disk mode is not a hard requirement to enable Multi-writer option, the default Dependent disk mode would cause the cannot snapshot shared disk error when a virtual machine snapshot is taken. Use of Independent-Persistent disk mode would allow taking a snapshot of the OS disk while the shared disk would need to be backed up separately by a third-party vendor software.