Go to main content

Installing and Configuring an Oracle® Solaris Cluster 4.4 Environment

Exit Print View

Updated: September 2019
 
 

How to Add Mediator Hosts

Perform this procedure if your configuration requires dual-string mediators.

  1. If you will use a third mediator host for a dual-string disk set and that host does not already have disk sets configured, modify the /etc/group file and create a dummy disk set.
    1. Add the entry root to the sysadmingroup in the /etc/group file.
    2. Create a dummy disk set by using the metaset command.
      phys-schost-3# metaset -s dummy-diskset-name -a -h hostname
      –s dummy-diskset-net

      Specifies the dummy disk set name.

      –a

      Adds to the disk set.

      –h hostname

      Specifies the name of the node.

  2. Assume the root role on the node that currently masters the disk set to which you intend to add mediator hosts.
  3. Add each node with connectivity to the disk set as a mediator host for that disk set.
    phys-schost# metaset -s setname -a -m mediator-host-list
    –s setname

    Specifies the disk set name.

    –m mediator-host-list

    Specifies the name of the node to add as a mediator host for the disk set.

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

Example 10  Adding Mediator Hosts

The following example adds the nodes phys-schost-1 and phys-schost-2 as mediator hosts for the disk set dg-schost-1. If needed, repeat the command a third time for a third mediator host. All commands are run from the node that masters the disk set for which you are adding mediator hosts, in this case phys-schost-1.

phys-schost# metaset -s dg-schost-1 -a -m phys-schost-1
phys-schost# metaset -s dg-schost-1 -a -m phys-schost-2
phys-schost# metaset -s dg-schost-1 -a -m phys-schost-3

Next Steps

Check the status of mediator data. Go to How to Check For and Fix Bad Mediator Data.