2 creating a shared virtual disk for ha, Creating a shared, Creating – Oracle Audio Technologies E10898-02 User Manual

Page 64: Creating a shared virtual disk for ha

background image

Creating a Shared Virtual Disk for HA


Oracle VM Server User's Guide

Have the cluster root mounted at /OVS. All other storage may be mounted at the
standard location of /OVS/uuid.

Have moved any /OVS mount points (set in FSTAB for Releases 2.1 or 2.1.1) to the
/etc/ovs/repositories file. All storage, even that mounted at /OVS, must be
maintained in the /etc/ovs/repositories file. You can move the mount points to
the /etc/ovs/repositories file with the following command:

# /usr/lib/ovs/ovs-cluster-check --alter-fstab

Have a shared cluster root at /OVS, and not local, using clustered OCFS2 on SAN,
or ISCSI storage, or NFS on NAS. The default local storage is OCFS2, and is not
supported with HA.

The following sections describe how to perform the configuration required to enable

9.2 Creating a Shared Virtual Disk for HA

To enable HA, you must first create a shared virtual disk to be used by the server pool.
You can set up a shared virtual disk in the following configurations:

OCFS2 (Oracle Cluster File System) using the iSCSI (Internet SCSI) network

OCFS2 using SAN (Storage Area Network)

NFS (Network File System)

This section discusses creating a shared virtual disk in these configurations.

9.2.1 Creating a Shared Virtual Disk Using OCFS2 on iSCSI

To create a shared virtual disk using OCFS2 on iSCSI:


Install the iscsi-initiator-utils RPM on the Oracle VM Server. The
iscsi-initiator-utils RPM is available on the Oracle VM Server CDROM or ISO file.

# rpm -Uvh iscsi-initiator-utils-




Start the iSCSI service:

# service iscsi start


Run discovery on the iSCSI target. In this example, the target is

# iscsiadm -m discovery -t sendtargets -p

This command returns output similar to:,5 iqn.1992-04.com.emc:cx.apm00070202838.a2,6 iqn.1992-04.com.emc:cx.apm00070202838.a3,4 iqn.1992-04.com.emc:cx.apm00070202838.b1,1 iqn.1992-04.com.emc:cx.apm00070202838.a0,2 iqn.1992-04.com.emc:cx.apm00070202838.a1,3 iqn.1992-04.com.emc:cx.apm00070202838.b0


Delete entries that you do not want to use, for example:

# iscsiadm -m node -p,3 -T

iqn.1992-04.com.emc:cx.apm00070202838.b0 -o delete

# iscsiadm -m node -p,1 -T

iqn.1992-04.com.emc:cx.apm00070202838.a0 -o delete