Sun Cluster 2.2 Software Installation Guide

Configuring VxVM for Sun Cluster

Use this procedure to configure your disk groups, volumes, and file systems for the logical hosts.


Note -

This procedure is only applicable for high availability (HA) configurations. If you are using Oracle Parallel Server and the cluster feature of VxVM, refer to your VERITAS documentation for configuration information.


How to Configure VxVM for Sun Cluster
  1. Format the disks to be administered by the volume manager.

    Use the fmthard(1M) command to create a VTOC on each disk with a single Slice 2 defined for the entire disk.

  2. For each cluster node, create a root disk group (rootdg).

    See your VERITAS documentation for guidelines and details about creating a rootdg.

  3. Initialize each disk for use by the volume manager.

    You can use the vxdiskadd(1M) or vxinstall(1M) commands to initialize each disk. See your VERITAS documentation for details.

  4. (Optional) Assign hot spares.

    For each disk group, use the vxedit(1M) command to assign one disk as a hot spare for each disk controller.

  5. Reboot all nodes on which you installed VxVM.

  6. For each disk group, create a volume to be used for the HA administrative file system on the multihost disks.

    The HA administrative file system is used by Sun Cluster for data service specific state or configuration information.

    Use the vxassist(1M) command to create a 10-Mbyte volume mirrored across two controllers for the HA administrative file system. Name this volume diskgroup-stat.

  7. For each disk group, create the other volumes to be used by HA data services.

    Use the vxassist(1M) command to create these volumes.

  8. Start the volumes.

    Use the vxvol(1M) command to start the volumes.

  9. Create file systems on the volumes.

    Refer to "Configuring VxFS File Systems on the Multihost Disks", for details on creating the necessary file systems.