Creating – Oracle Audio Technologies E10898-02 User Manual

Page 65

Advertising
background image

Creating a Shared Virtual Disk for HA

High Availability

9-5

# iscsiadm -m node -p 10.2.1.250:3260,4 -T

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

# iscsiadm -m node -p 10.1.1.249:3260,2 -T

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

# iscsiadm -m node -p 10.0.1.249:3260,5 -T

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

5.

Verify that only the iSCSI targets you want to use for the server pool are visible:

# iscsiadm -m node

6.

Review the partitions by checking /proc/partitions:

# cat /proc/partitions

major minor #blocks name

8 0 71687372 sda

8 1 104391 sda1

8 2 71577607 sda2

253 0 70516736 dm-0

253 1 1048576 dm-1

7.

Restart the iSCSI service:

# service iscsi restart

8.

Review the partitions by checking /proc/partitions. A new iSCSI device (for
example, sdb) is listed. Determine the share disk volume you want to use and
create the desired partitions (for example, /dev/sdb1) using the fdisk command.

# cat /proc/partitions

major minor #blocks name

8 0 71687372 sda

8 1 104391 sda1

8 2 71577607 sda2

253 0 70516736 dm-0

253 1 1048576 dm-1

8 16 1048576 sdb

9.

Format the shared virtual disk from any of the Oracle VM Servers in the cluster.
For example, to create an OCFS2 partition with a 4k block size, 4k cluster size,
64MB journal size, and 16 node slots:

# mkfs.ocfs2 -L mylabel -b 4K -C 4K -J size=64M -N 16 /dev/sdb1

9.2.2 Creating a Shared Virtual Disk Using OCFS2 on SAN

To create a shared virtual disk using OCFS2 on SAN:

1.

Review the partitions by checking /proc/partitions. Determine the share disk
volume (for example, sdb) you want to use and create the desired partitions (for
example, /dev/sdb1) using the fdisk command:

# cat /proc/partitions

major minor #blocks name

8 0 71687372 sda

8 1 104391 sda1

8 2 71577607 sda2

253 0 70516736 dm-0

253 1 1048576 dm-1

8 16 1048576 sdb

Advertising