Using HP Insight Control for Linux to Manage HP ProLiant DL785 G6 Servers running Oracle VM
6. Verify that the virtual disks (for example, the 253 major numbered devices) are seen in each
individual server as follows:
# cat /proc/partitions
104 0 143338560 cciss/c0d0
104 1 142279641 cciss/c0d0p1
104 2 1052257 cciss/c0d0p2
8 0 209715200 sda
8 16 20971520 sdb
8 32 31457280 sdc
8 48 209715200 sdd
8 64 20971520 sde
8 80 31457280 sdf
253 0 209715200 dm-0
253 1 20971520 dm-1
253 2 31457280 dm-2
7. On one server in the pool, create a partition on the virtual disk with the
fdisk
or
parted
utilities
and restart
multipathd
to ensure that the partition appears in the local file system as follows:
# cat /proc/partitions
104 0 143338560 cciss/c0d0
104 1 142279641 cciss/c0d0p1
104 2 1052257 cciss/c0d0p2
8 0 209715200 sda
8 1 97659103 sda1
8 16 20971520 sdb
8 32 31457280 sdc
8 48 209715200 sdd
8 49 97659103 sdd1
8 64 20971520 sde
8 80 31457280 sdf
253 0 209715200 dm-0
253 1 20971520 dm-1
253 2 31457280 dm-2
253 3 97659103 dm-3
The /dev/mpath directory contains the following:
lrwxrwxrwx 1 root root 7 Nov 16 12:35 mpath0 -> ../dm-0
lrwxrwxrwx 1 root root 7 Nov 16
8. On the server selected in step 7, create an OCFS2 file system on the virtual disk using the one
server in the pool. For example:
# mkfs.ocfs2 -Tdatafiles -N8 /dev/mpath/mpath0p1
9. Remove the default local repository from each server in the pool. For example, the following
command returns the repository name and UUID on a server:
# /opt/ovs-agent-2.3/utils/repos.py –-list
Copy the UUID and use it to delete the local repository. For example:
# /opt/ovs-agent-2.3/utils/repos.py –-delete UUID
10. Create the shared repository on the server you will use as the Oracle VM Server Pool Master. For
example:
# /opt/ovs-agent-2.3/utils/repos.py --new /dev/mpath/mpath0p1
15