Solstice DiskSuite 4.2.1 User's Guide

How to Add Another Host to a Diskset (Command Line)

DiskSuite supports a maximum of two hosts per diskset. You can add another host to an existing diskset that only has one host.

  1. Make sure you have met the prerequisites ("Prerequisites for Maintaining DiskSuite Objects") and have read the preliminary information ("Preliminary Information for Working With Disksets").

  2. Add the host:


    # metaset -s diskset -a -h host ...
    

    In this command,

    -s diskset

    Specifies the name of a diskset on which metaset will work.

    -a

    Adds hosts to the named diskset. 

    -h host...

    Specifies one or more hostnames to be added to the diskset. Adding the first host creates the set. The hostname is the same name found in /etc/nodename.

  3. Verify that the host has been added to the diskset by using the metaset(1M) command without any options.


    # metaset
    

Example -- Adding Another Host to a Diskset


red# metaset -s relo-red -a -h blue
red# metaset -s relo-red
Set name = relo-red, Set number = 1
 
Host                Owner
  red                Yes
  blue
 
Drive               Dbase
  c1t0d1             Yes
  c1t2d0             No 
  c1t3d0             No 
  c1t4d1             No 
  c2t2d0             Yes
  c3t0d1             Yes
  c3t2d0             No 
  c3t3d0             No 
  c3t4d1             No 

This example adds host blue to the diskset relo-red.