Sun Cluster Software Installation Guide for Solaris OS

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

  1. Become superuser on the node.

  2. (Optional) 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.

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

  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.

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

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

  6. Reboot the node.

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

  8. Create disk groups.

    Go to SPARC: How to Create and Register a Disk Group.