Sun Cluster Software Installation Guide for Solaris OS

ProcedureSPARC: How to Create a Root Disk Group on a Nonroot Disk

Use this procedure to create a root disk group by encapsulating or initializing local disks other than the root disk. As of VxVM 4.0, the creation of a root disk group is optional.

Note –

If you want to create a root disk group on the root disk, instead perform procedures in SPARC: How to Encapsulate the Root Disk.

Before You Begin

If the disks are to be encapsulated, ensure that each disk has at least two slices with 0 cylinders. If necessary, use the format(1M) command to assign 0 cylinders to each VxVM slice.

  1. Become superuser on the node.

  2. Start the vxinstall utility.

    # vxinstall

    When prompted, make the following choices or entries.

    • If you intend to enable the VxVM cluster feature, supply the cluster feature license key.

    • Choose Custom Installation.

    • Do not encapsulate the boot disk.

    • Choose any disks to add to the root disk group.

    • Do not accept automatic reboot.

  3. If the root disk group that you created contains one or more disks that connect to more than one node, enable the localonly property.

    Use the following command to enable the localonly property of the raw-disk device group for each shared disk in the root disk group.

    # scconf -c -D name=dsk/dN,localonly=true

    When the localonly property is enabled, the raw-disk device group is used exclusively by the node in its node list. This usage prevents unintentional fencing of the node from the disk that is used by the root disk group if that disk is connected to multiple nodes.

    For more information about the localonly property, see the scconf_dg_rawdisk(1M) man page.

  4. Move any resource groups or device groups from the node.

    # scswitch -S -h from-node

    Moves all resource groups and device groups

    -h from-node

    Specifies the name of the node from which to move resource or device groups

  5. Reboot the node.

    # shutdown -g0 -y -i6
  6. Use the vxdiskadm command to add multiple disks to the root disk group.

    The root disk group becomes tolerant of a disk failure when it contains multiple disks. See VxVM documentation for procedures.

Next Steps

Create disk groups. Go to SPARC: Creating Disk Groups in a Cluster.