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:
See Software Requirements for Quorum Disk Manager and Set Up Public Key Authentication for ZFS Storage Controllers for more information.
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
/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.
/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.
/opt/oracle.SupportTools/quorumdiskmgr --list --config --zone-name=zone01
/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
/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
/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
/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)
/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)
/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
/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
/opt/oracle.SupportTools/quorumdiskmgr --list --device --zone-name=zone01
/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
Go to Complete the Quorum Disk Configuration for those instructions.