Application Notes Usage and best practices for Device Mapper Multipath with Xen enabled virtual machines for HP StorageWorks Disk Arrays (5697-7828, April 2009)

Figure 4 Ready to begin installation screen
Preparing disks for DomU
The storage in the DomU is represented as virtual block devices (VBDs). The storage presented to
DomU can be a raw image file, physical disk partitions or LVM volumes.
Preparing physical disks for installing Xen virtual machine
1. Select the Device Mapper multipath device for installing the virtual machine.
Example: /dev/mapper/mpath0
2. Provide multipath device file location at Normal Disk Partition text field as shown in Figure 3.
Preparing logical volumes for installing Xen virtual machine
To create the logical volumes on the multipath device, complete the following steps:
1. Create the physical volumes on multipath devices.
Example: #pvcreate /dev/mapper/mpath0 /dev/mapper/mpath1
2. Create a volume group.
Example: #vgcreate xenvg /dev/mapper/mpath0 /dev/mapper/mpath1
3. Create a logical volume.
Example: #lvcreate -L 10GB -n xenroot xenvg
4. Provide the logical volume file location at Normal Disk partition text field as shown in Figure 3.
8