Solaris Volume Manager Administration Guide

ProcedureHow to Add Another Host to a Disk Set

This procedure explains how to add another host to an existing disk set that only has one host. Solaris Volume Manager supports up to four hosts per disk set.

Before You Begin

Check Guidelines for Working With Disk Sets.

Steps
  1. To add a host to a disk set, use one of the following methods:

    • From the Enhanced Storage tool within the Solaris Management Console, open the Disk Sets node and choose the disk set you want to modify. Select the disk set you want to modify. Then click the right mouse button , and choose Properties. Select the Hosts tab. Click Add Host. Then follow the instructions in the wizard. For more information, see the online help.

    • To add hosts to a disk set from the command line, use the following form of the metaset command:


      # metaset -s diskset-name -a -h hostname
      
      -s diskset-name

      Specifies the name of a disk set on which to add the host.

      -a

      Adds the host to the named disk set.

      -h hostname

      Specifies one or more host names to be added to the disk set. Adding the first host creates the disk set. The host name is the same name found in the /etc/nodename file.

      See the metaset(1M) man page for more information.

  2. Verify that the host has been added to the disk set.


    # metaset
    

Example 19–4 Adding Another Host to a Disk Set


# metaset -s blue -a -h host2
# metaset
Set name = blue, Set number = 1
 
Host                Owner
  host1                Yes
  host2
 
Drive               Dbase
  c1t6d0             Yes 
  c2t6d0             Yes 

This example shows the addition of the host, host2, to the disk set, blue.