Sun Microsystems, Inc.
spacerspacer
spacer www.sun.com docs.sun.com |
spacer
black dot
 
 
B.   Installing and Configuring Solstice DiskSuite/Solaris Volume Manager Software Configuring Mediators  Previous   Contents   Next 
   
 

ProcedureHow to Add Mediator Hosts

Perform this procedure if your configuration requires mediators.

  1. Become superuser on the node that currently masters the diskset to which you intend to add mediator hosts.

  2. Run the metaset(1M) command to add each node with connectivity to the diskset as a mediator host for that diskset.
    # metaset -s setname -a -m mediator-host-list
    -s setname

    Specifies the diskset name

    -a

    Adds to the diskset

    -m mediator-host-list

    Specifies the name of the node to add as a mediator host for the diskset

    See the mediator(7D) man page for details about mediator-specific options to the metaset command.

  3. Check the status of mediator data.

    Go to How to Check the Status of Mediator Data.

Example--Adding Mediator Hosts

The following example adds the nodes phys-schost-1 and phys-schost-2 as mediator hosts for the diskset dg-schost-1. Both commands are run from the node phys-schost-1.
# metaset -s dg-schost-1 -a -m phys-schost-1
# metaset -s dg-schost-1 -a -m phys-schost-2

ProcedureHow to Check the Status of Mediator Data

  1. Add mediator hosts as described in How to Add Mediator Hosts.

  2. Run the medstat command.
    # medstat -s setname
    -s setname

    Specifies the diskset name

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

  3. Is Bad the value in the Status field?

ProcedureHow to Fix Bad Mediator Data

Perform this procedure to repair bad mediator data.

  1. Identify the mediator host(s) with bad mediator data as described in the procedure How to Check the Status of Mediator Data.

  2. Become superuser on the node that owns the affected diskset.

  3. Remove the mediator host(s) with bad mediator data from all affected disksets.
    # metaset -s setname -d -m mediator-host-list
    -s setname

    Specifies the diskset name

    -d

    Deletes from the diskset

    -m mediator-host-list

    Specifies the name of the node to remove as a mediator host for the diskset

  4. Restore the mediator host.
    # metaset -s setname -a -m mediator-host-list
    -a

    Adds to the diskset

    -m mediator-host-list

    Specifies the name of the node to add as a mediator host for the diskset

    See the mediator(7D) man page for details about mediator-specific options to the metaset command.

  5. Create cluster file systems.

    Go to How to Add Cluster File Systems.

 
 
 
  Previous   Contents   Next