On both nodes, create an /etc/lvm/md.tab file with the following entries.
These entries define the volumes for each disk set. The one-way mirrors provide flexibility to add a mirror later without unmounting the file system. You can create the file on one node and copy it to the other node, or you can create it on both nodes at the same time by using the cconsole(1M) utility.
apacheset/d0 -m apacheset/d10 apacheset/d10 1 1 /dev/did/rdsk/d3s0 nfsset/d1 -m nfsset/d11 nfsset/d11 1 1 /dev/did/rdsk/d4s0 oraset/d2 -m oraset/d12 oraset/d12 1 1 /dev/did/rdsk/d5s0 oraset/d0 -p oraset/d2 3G oraset/d1 -p oraset/d2 3G |
From phys-sun, take ownership of each of the disk sets and activate their volumes.
phys-sun# cldevicegroup switch -n phys-sun apacheset phys-sun# metainit -s apacheset -a phys-sun# cldevicegroup switch -n phys-sun nfsset phys-sun# metainit -s nfsset -a phys-moon# cldevicegroup switch -n phys-sun oraset phys-moon# metainit -s oraset -a |
Check the status of the volumes for each disk set.
phys-sun# metastat … Status: Okay … |