Sun Cluster Software Installation Guide for Solaris OS

ProcedureHow 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. 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.

  2. Start the vxinstall utility.

    phys-schost# vxinstall
  3. When prompted by the vxinstall utility, make the following choices or entries.

    • SPARC: 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.

  4. 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.

    phys-schost# cldevicegroup set -p localonly=true dsk/dN

    Specifies a property of the device group.


    Sets the device group to be mastered only by the single node in the node list.

    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.

  5. Evacuate any resource groups or device groups from the node.

    phys-schost# clnode evacuate from-node

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

  6. Reboot the node.

    phys-schost# shutdown -g0 -y -i6
  7. 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 Creating Disk Groups in a Cluster.