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.
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
Specifies the name of a disk set on which to add the host.
Adds the host to the named disk set.
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.
Verify that the host has been added to the 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.