Sun Cluster System Administration Guide for Solaris OS

ProcedureHow to Add a Node to a Device Group (Veritas Volume Manager)

This procedure adds a node to a device group using the clsetup utility.

The prerequisites to add a node to a VxVM device group are:

The phys-schost# prompt reflects a global-cluster prompt. Perform this procedure on a global cluster.

This procedure provides the long forms of the Sun Cluster commands. Most commands also have short forms. Except for the long and short forms of the command names, the commands are identical. For a list of the commands and their short forms, see Appendix B, Sun Cluster Object-Oriented Commands.

  1. Become superuser or assume a role that provides and solaris.cluster.modify RBAC authorization on any node of the cluster.

  2. Start the clsetup utility.

    # clsetup

    The Main Menu is displayed.

  3. To work with VxVM device groups, type the number that corresponds to the option for device groups and volumes.

    The Device Groups Menu is displayed.

  4. To add a node to a VxVM device group, type the number that corresponds to the option for adding a node to a VxVM device group.

    Follow the instructions and type the device group and node names.

  5. Verify that the node has been added.

    Look for the device group information for the new disk displayed by the following command.

    # cldevicegroup show devicegroup 

Example 5–28 Adding a Node to a Veritas Volume Manager Device Group

The following example shows the scconf command generated by clsetup when it adds a node (phys-schost-3 ) to a VxVM device group (dg1 ), and the verification step.

# clsetup
cldevicegroup add-node -n phys-schost-3 dg1
# cldevicegroup show dg1

=== Device Groups === 

Device Group Name:                        dg1
  Type:                                     VxVM
  failback:                                 yes
  Node List:                                phys-schost-1, phys-schost-3
  preferenced:                              no
  numsecondaries:                           1
  diskgroup names:                             dg1