Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Configure a Device Group on the Primary Cluster

Before You Begin

Ensure that you have completed the following tasks:

  1. Access nodeA as superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

    The node nodeA is the first node of the primary cluster. For a reminder of which node is nodeA, see Figure 4–9.

  2. Create a disk group on nodeA that contains volume 1, vol01 through volume 4, vol04.

    For information about configuring a disk group by using the VxVM software, see the Chapter 5, Installing and Configuring VERITAS Volume Manager, in Sun Cluster Software Installation Guide for Solaris OS.

  3. Configure the disk group to create a device group.


    nodeA# cldevicegroup create -t vxvm -n nodeA nodeB devgrp
    

    The device group is called devgrp.

  4. Create the file system for the device group.


    nodeA# newfs /dev/vx/rdsk/devgrp/vol01 < /dev/null
    nodeA# newfs /dev/vx/rdsk/devgrp/vol02 < /dev/null
    

    No file system is needed for vol03 or vol04, which are instead used as raw volumes.

Next Steps

Go to How to Configure a Device Group on the Secondary Cluster.