Creating storage for OCR and voting disk using the installer

The SF Oracle RAC installer enables you to create OCR and voting disk storage on CVM raw volumes or on a clustered file system. After creating the storage, the installer adds the storage configuration to VCS for high availability.

If you are creating the OCR and voting disk storage on CVM raw volumes, the installer performs the following tasks:

If you are creating the OCR and voting disk storage on CFS, the installer performs the following tasks:

To create storage for OCR and voting disk using the SF Oracle RAC installer

  1. From the SF Oracle RAC installer menu, enter 2 to select the option Create Storage for OCR and Voting disk.

    The following menu displays:

    1)  Create Oracle User and Group
    2)  Create Storage for OCR and Voting disk
    3)  Oracle Network Configuration
    4)  Exit SF Oracle RAC Configuration
    b)  Back to previous menu
    Choose option: [1-4,b,q] (1) 2
  2. Enter y to create the storage.

    Do you want the installer to assist you in creating disk groups, 
    volumes and file systems for Oracle? (Mirroring enabled 
    by default) [y,n,q] (n) y

    The installer displays the available disks.

    If you want to create the storage manually, enter n. The installer displays instructions for creating the storage manually. You may skip the remaining steps.

  3. Select the disks by typing the number next to the available disks. Separate multiple disks by a space.

    Note:

    Specify a minimum of two disks. The installer creates mirrored CVM volumes using the disks.

        DEVICE       								TYPE       DISK    GROUP 							Status       
    1)  Disk_1 										auto:cdsdisk    -       -         online shared
    2)  Disk_2 										auto:cdsdisk    -       -  							online shared
    3)  Disk_3 										auto:cdsdisk    -       -         online
    
    Select at least two disks for creating storage for OCR and Voting disk
    (exclude disks used for Operating System and data):
    [1-3,q] 2 3
  4. Enter the name of an unused disk group.

    Enter the disk group name:  [b] (ocrvotedg)
  5. Review and confirm the configuration information displayed:

    CVM Master node: galaxy
    Selected disks (including mirroring):
    			1. Disk_2
    			2. Disk_3
    Disk group name: ocrvotedg
    Is this information correct? [y,n,q] (y)

    The installer initializes the disk groups. Press Return to continue.

    Choose the type of storage.

Creating the OCR and voting disk storage on CVM raw volumes

Perform the steps in the following procedure to create the storage for OCR and voting disk on CVM raw volumes.

To create the OCR and voting disk storage on CVM raw volumes

  1. Enter 1 to select the option CVM raw volumes.

    1  CVM Raw Volume
    2  Clustered File System
    b  Back to previous menu
    Select the storage scheme to be used: [1-2,b,q] 1
  2. Enter the name and size of the volume on which you want to store OCR information.

    Enter the volume name for OCR:  [b] (ocrvol)
    Enter the volume size for OCR (in MB):  [b] (320)
  3. Enter the name and size of the volume on which you want to store voting disk information.

    Enter the volume name for Vote:  [b] (votevol)
    Enter the volume size for Vote (in MB):  [b] (320)
  4. Enter the Oracle UNIX user name.

    Enter Oracle UNIX user name:  [b] oracle
  5. Enter the Oracle UNIX group name.

    Enter Oracle UNIX group name:  [b] (oinstall)
  6. Press Return to continue.

  7. Review and confirm the configuration information. The installer creates the volumes and brings the corresponding resources online.

    Press Return to continue.

  8. Verify that the resource is online on all nodes in the cluster.

    Note:

    It takes a few minutes for the CVMVolDg resource to come online.

    # hares -state ocrvote_voldg_ocrvotedg
Creating the OCR and voting disk storage on CFS

Perform the steps in the following procedure to create the storage for OCR and voting disk on CFS.

To create the OCR and voting disk storage on CFS

  1. Enter 2 to select the option CFS Mounted.

    1  CVM Raw Volume
    2  Clustered File System
    b  Back to previous menu
    Select the storage scheme to be used: [1-2,b,q] 2
  2. Enter the name and size of the volume on which you want to store OCR and voting disk information.

    Enter the volume name for OCR and Voting disk: [b] (ocrvotevol)
    Enter the volume size for OCR and Voting disk (in MB): [b] (640)
  3. Enter the Oracle UNIX user name.

    The Oracle UNIX user name was previously set up when you performed the pre-installation task of creating Oracle user and group.

    Enter Oracle UNIX user name:  [b] oracle
  4. Enter the Oracle UNIX group name.

    The Oracle UNIX group name was previously set up when you performed the pre-installation task of creating Oracle user and group.

    Enter Oracle UNIX group name:  [b] (oinstall)
  5. Press Return to continue.

  6. Review and confirm the configuration information. The installer creates and starts the volumes on all nodes in the cluster.

  7. Enter the CFS mount point for OCR and voting disk information.

    Enter the mount point location for CFS (common for all the nodes) [b] 
    (/ocrvote)

    The installer creates the CFS mount points and sets the ownership. Press Return to continue.

  8. Verify that the ocrvote_mnt_ocrvotedg and ocrvote_voldg_ocrvotedg resources are online on all nodes in the cluster:

    Note:

    It takes a few minutes for the CVMVolDg resource to come online.

    # hares -state ocrvote_mnt_ocrvotedg
    # hares -state ocrvote_voldg_ocrvotedg