Server User Manual
Creating a Shared Virtual Disk for Live Migration
6-2 Oracle VM Server User’s Guide
10.1.0.249:3260,1 iqn.1992-04.com.emc:cx.apm00070202838.a0
10.1.1.249:3260,2 iqn.1992-04.com.emc:cx.apm00070202838.a1
10.2.0.250:3260,3 iqn.1992-04.com.emc:cx.apm00070202838.b0
4. Delete entries that you do not want to use, for example:
iscsiadm -m node -p 10.2.0.250:3260,3 -T
iqn.1992-04.com.emc:cx.apm00070202838.b0 -o delete
iscsiadm -m node -p 10.1.0.249:3260,1 -T
iqn.1992-04.com.emc:cx.apm00070202838.a0 -o delete
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 necessary entries 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 device is listed.
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. The new device can now be used.
fdisk -l /dev/sdb
10. Create a new directory named /etc/ocfs2 directory:
mkdir /etc/ocfs2
11. Create the OCSF2 configuration file as /etc/ocfs2/cluster.conf. The following is a
sample cluster.conf file:
node:
ip_port = 7777
ip_address = 10.1.1.1
number = 0
name = example1.com
cluster = ocfs2