Creating a Shared Virtual Disk for Live Migration
Domain Live Migration
6-3
ip_port = 7777
ip_address = 10.1.1.1
number = 0
name = example1.com
cluster = ocfs2
node:
ip_port = 7777
ip_address = 10.1.1.2
number = 1
name = example2.com
cluster = ocfs2
cluster:
node_count = 2
name = ocfs2
12.
Review the status of the OCFS2 cluster service:
# service o2cb status
13.
Load the OCFS2 module:
# service o2cb load
14.
Set the OCFS2 service to be online:
# service o2cb online
15.
Configure the OCFS2 service to start automatically when the computer boots:
# service o2cb configure
16.
Start up the OCFS2 service.
# service o2cb start
17.
Format the shared virtual disk from any of the Oracle VM Servers in the cluster:
# mkfs.ocfs2 /dev/sdb1
18.
Mount the shared virtual disk from all the Oracle VM Servers in the cluster on
/OVS/remote:
# mount /dev/sdb1 /OVS/remote/ -t ocfs2
19.
Change the /etc/fstab file to include the shared virtual disk mounted at boot:
/dev/sdb1 /OVS/remote ocfs2 defaults 1 0
6.1.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:
# 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
Summary of Contents for VM
Page 1: ...Oracle VM Server User s Guide Release 2 1 E10898 04 June 2009 ...
Page 10: ...x ...
Page 16: ...Oracle VM 1 4 Oracle VM Server User s Guide ...
Page 24: ...Monitoring Oracle VM Agent 3 4 Oracle VM Server User s Guide ...
Page 40: ...Installing Paravirtual Drivers 4 16 Oracle VM Server User s Guide ...
Page 44: ...Using the xm Command Line Interface 5 4 Oracle VM Server User s Guide ...
Page 50: ...Migrating a Domain 6 6 Oracle VM Server User s Guide ...
Page 54: ...Removing a Repository 7 4 Oracle VM Server User s Guide ...
Page 68: ...Enabling HA 9 8 Oracle VM Server User s Guide ...
Page 88: ...Oracle VM Server Configuration File B 6 Oracle VM Server User s Guide ...
Page 96: ...Oracle VM Agent Deployment D 4 Oracle VM Server User s Guide ...
Page 104: ...Attaching to a Console with the Grub Boot Loader E 8 Oracle VM Server User s Guide ...
Page 108: ...Xen Glossary 4 ...
Page 112: ...Index 4 ...