Go to main content

Oracle® SuperCluster Quorum Disk Manager

Exit Print View

Updated: September 2017
 
 

Add Quorum Disks to Database Zones (Non-Global Zones)

The example in this section creates quorum disks for a small rack configuration with two database zones: zone01 and zone02.

For non-global zones (zones within a dedicated Database Domain or Database I/O Domain), additional parameters are needed when you run the quorumdiskmgr tool, even though the quorum devices are managed from the global zone. Specify the non-global zone that will be affected to the quorumdiskmgr tool using the parameter --zone-name. Also, you will run the steps in the procedure in this section as the root user on the global zone (the Database Domain hosting the zones).

To create the quorum disks:

  1. Verify that your SuperCluster system fulfills the proper software requirements and that you have set up the public key authentication for the ZFS storage controllers, if necessary.

    See Software Requirements for Quorum Disk Manager and Set Up Public Key Authentication for ZFS Storage Controllers for more information.

  2. Get the necessary IP address information for each non-global zone.
    • On the first non-global zone, enter the following command:

      zone01# ipadm show-addr bondib0

      Output similar to the following appears - note the IP address provided in the ADDR column (in this case, 192.168.10.1):

      ADDROBJ           TYPE     STATE        ADDR
      bondib0/v4        static   ok           192.168.10.1/22  
    • On the second non-global zone, enter the following command:

      zone02# ipadm show-addr bondib0

      Output similar to the following appears - note the IP address provided in the ADDR column (in this case, 192.168.10.2):

      ADDROBJ           TYPE     STATE        ADDR
      bondib0/v4        static   ok           192.168.10.2/22   
  3. Log into the global zone (the Database Domain hosting the zone) as a root user.
  4. On the global zone, create the quorum disk configuration for the first non-global zone:
    /opt/oracle.SupportTools/quorumdiskmgr --create --config --owner=oracle --group=grid --network-iface-list="bondib0" --zone-name=zone01

    Where zone01 is the name of the first non-global zone.

  5. On the global zone, create the quorum disk configuration for the second non-global zone:
    /opt/oracle.SupportTools/quorumdiskmgr --create --config --owner=oracle --group=grid --network-iface-list="bondib0" --zone-name=zone02

    Where zone02 is the name of the second non-global zone.

  6. Verify that the configurations have been successfully created on the first and second non-global zones.
    1. Enter the following command on the non-global zone zone01:
      /opt/oracle.SupportTools/quorumdiskmgr --list --config --zone-name=zone01
    2. Enter the same command on the non-global zone zone02:
      /opt/oracle.SupportTools/quorumdiskmgr --list --config --zone-name=zone02 

    Output similar to the following appears for both non-global zones zone01 and zone02:

    Owner: oracle
    Group: dba
    ifaces: bondib0,bondib1
    
    [SUCCESS ] Successfully list quorumdisk config file
  7. On the global zone, create a target for the first non-global zone:
    /opt/oracle.SupportTools/quorumdiskmgr --create --target --asm-disk-group=datac1 –-visible-to="zone01_IP_address, zone02_IP_address" --zone-name=zone01

    For example:

    /opt/oracle.SupportTools/quorumdiskmgr --create --target --asm-disk-group=datac1 –-visible-to="192.168.10.1, 192.168.10.2" --zone-name=zone01
  8. On the global zone, create a target for the second non-global zone:
    /opt/oracle.SupportTools/quorumdiskmgr --create --target --asm-disk-group=datac1 –-visible-to="zone01_IP_address, zone02_IP_address" --zone-name=zone02

    For example:

    /opt/oracle.SupportTools/quorumdiskmgr --create --target --asm-disk-group=datac1 –-visible-to="192.168.10.1, 192.168.10.2" --zone-name=zone02
  9. Verify the target has been successfully created on the first and second non-global zones.
    1. Enter the following command on the first non-global zone (zone01):
      /opt/oracle.SupportTools/quorumdiskmgr --list --target --zone-name=zone01

      On the first non-global zone, output similar to the following appears:

      Name: iqn.1986-03.com.sun:02:080a9aa9-3c1a-cd96-b80e-a812ce744211
      Size: 128 MB
      Lun: QD_datac1_zone01
      Host name: ZONE01
      ASM disk group name: DATAC1
      Visible to: 192.168.10.1, 192.168.10.2
      Discovered by:
      
      [SUCCESS ] List lun(s)
    2. Enter the same command on the second non-global zone (zone02):
      /opt/oracle.SupportTools/quorumdiskmgr --list --target --zone-name=zone02

      On the second non-global zone, output similar to the following appears:

      Name: iqn.1986-03.com.sun:02:080a9aa9-3c1a-cd96-b80e-a812ce744111
      Size: 128 MB
      Lun: QD_datac1_zone02
      Host name: ZONE02
      ASM disk group name: DATAC1
      Visible to: 192.168.10.1, 192.168.10.2
      Discovered by:
      
      [SUCCESS ] List lun(s)
  10. On the global zone, create devices for the first non-global zone:
    /opt/oracle.SupportTools/quorumdiskmgr --create --device --target-ip-list="zone01_IP_address, zone02_IP_address" --zone-name=zone01

    For example:

    /opt/oracle.SupportTools/quorumdiskmgr --create --device --target-ip-list="192.168.10.1, 192.168.10.2" --zone-name=zone01
  11. On the global zone, create devices for the second non-global zone:
    /opt/oracle.SupportTools/quorumdiskmgr --create --device --target-ip-list="zone01_IP_address, zone02_IP_address" --zone-name=zone02

    For example:

    /opt/oracle.SupportTools/quorumdiskmgr --create --device --target-ip-list="192.168.10.1, 192.168.10.2" --zone-name=zone02
  12. Verify the devices have been successfully created on the first and second non-global zones.
    1. Enter the following command on the first non-global zone (zone01):
      /opt/oracle.SupportTools/quorumdiskmgr --list --device --zone-name=zone01
    2. Enter the same command on the second non-global zone (zone02):
      /opt/oracle.SupportTools/quorumdiskmgr --list --device --zone-name=zone02

    Output similar to the following appears on both zone01 and zone02:

    Device path: /dev/exadata_quorum/QD_DATAC1_ZONE01
    Size: 128 MB
    Host name: ZONE01
    ASM disk group name: DATAC1
    
    Device path: /dev/exadata_quorum/QD_DATAC1_ZONE02
    Size: 128 MB
    Host name: ZONE02
    ASM disk group name: DATAC1
    
    [SUCCESS ] List devices
  13. Complete the quorum disk configuration process.

    Go to Complete the Quorum Disk Configuration for those instructions.