Use this procedure to create your VxVM disk groups and volumes.
Perform this procedure from a node that is physically connected to the disks that make the disk group that you add.
Perform the following tasks:
Make mappings of your storage disk drives. See the appropriate manual in the Sun Cluster Hardware Administration Collection to perform an initial installation of your storage device.
Complete the following configuration planning worksheets.
See Planning Volume Management for planning guidelines.
If you did not create root disk groups, ensure that you have rebooted each node on which you installed VxVM, as instructed in Step 12 of How to Install VERITAS Volume Manager Software.
Become superuser on the node that will own the disk group.
Create the VxVM disk groups and volumes.
Observe the following special instructions:
SPARC: If you are installing Oracle RAC, create shared VxVM disk groups by using the cluster feature of VxVM. Observe guidelines and instructions in How to Create a VxVM Shared-Disk Group for the Oracle RAC Database in Sun Cluster Data Service for Oracle RAC Guide for Solaris OS and in the VERITAS Volume Manager Administrator's Reference Guide.
Otherwise, create VxVM disk groups by using the standard procedures that are documented in the VxVM documentation.
You can use Dirty Region Logging (DRL) to decrease volume recovery time if a node failure occurs. However, DRL might decrease I/O throughput.
For local disk groups, set the localonly property and add a single node to the disk group's node list.
A disk group that is configured to be local only is not highly available or globally accessible.
Start the clsetup utility.
phys-schost# clsetup |
Choose the menu item, Device groups and volumes.
Choose the menu item, Set localonly on a VxVM disk group.
Follow the instructions to set the localonly property and to specify the single node that will exclusively master the disk group.
Only one node at any time is permitted to master the disk group. You can later change which node is the configured master.
When finished, quit the clsetup utility.
Determine your next step:
SPARC: If the VxVM cluster feature is enabled, go to How to Verify the Disk Group Configuration.
If you created disk groups that are not local and the VxVM cluster feature is not enabled, register the disk groups as Sun Cluster device groups. Go to How to Register a Disk Group.
If you created only local disk groups, go to How to Verify the Disk Group Configuration.