Sun Cluster Software Installation Guide for Solaris OS

Configuring Disk Device Groups

This section describes how to configure a disk device group on the primary cluster and the secondary cluster. This example configuration uses VxVM software. For information about Solstice DiskSuite or Solaris Volume Manager software, see Chapter 3, Installing and Configuring Solstice DiskSuite or Solaris Volume Manager Software.

The following figure illustrates the volumes that were created in the disk device group.

Figure 6–8 Volumes for the Disk Device Group

Figure shows the volumes created in the disk device group.


Note –

The volumes defined in this section must not include disk label private areas, for example, cylinder 0. The VxVM software manages this constraint automatically.


How to Configure a Disk Device Group on the Primary Cluster
  1. Create a disk group that contains four volumes, volume 1 through volume 4.

    For information about configuring a disk group by using the VxVM software, see Chapter 4, SPARC: Installing and Configuring VERITAS Volume Manager.

  2. Access nodeA as superuser.

    nodeA is the first node of the primary cluster. For a reminder of which node is nodeA, see Figure 6–7.

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


    nodeA# /usr/cluster/bin/scconf -a -D type=vxvm,name=devicegroup \
    ,nodelist=nodeA:nodeB
    

    The disk device group is called devicegroup.

  4. Start the disk device group.


    nodeA# /usr/cluster/bin/scswitch -z -D devicegroup -h nodeA
    
  5. Synchronize the disk device group with the Sun Cluster software.


    nodeA# /usr/cluster/bin/scconf -c -D name=devicegroup,sync
    
  6. Create the file system for the disk device group.


    nodeA# /usr/sbin/newfs /dev/vx/rdsk/devicegroup/vol01 < /dev/null
    nodeA# /usr/sbin/newfs /dev/vx/rdsk/devicegroup/vol02 < /dev/null
    nodeA# /usr/sbin/newfs /dev/vx/rdsk/devicegroup/vol03 < /dev/null
    nodeA# /usr/sbin/newfs /dev/vx/rdsk/devicegroup/vol04 < /dev/null
    
  7. Enable remote access between the nodes in the primary cluster and secondary cluster by adding the following entities to the /.rhosts file on nodeA and nodeB.


    nodeC +
    + root
How to Configure a Disk Device Group on the Secondary Cluster
  1. Follow the procedure in How to Configure a Disk Device Group on the Primary Cluster, with these exceptions:

    • Replace nodeA with nodeC.

    • Do not use nodeB.

    • In Step 3, include nodeC only in the node list. For example:


      nodeC# /usr/cluster/bin/scconf -a -D type=vxvm,name=devicegroup \
      ,nodelist=nodeC
      
    • In Step 7, add the following entities to the /.rhosts file on nodeC only:


      nodeA +
      nodeB +
      + root