Sun Cluster 2.2 Software Installation Guide

B.2.17 How to Initialize the md.tab File

This procedure assumes that you have ownership of the diskset on the node where the command is executed. It also assumed that you have configured identical md.tab files on each node in the cluster. These files must be located in the /etc/opt/SUNWmd directory.

  1. As root, initialize the md.tab file by running the metainit(1M) command.

    1. Take control of the diskset:

      phys-hahost1# metaset -s hahost1 -t
      
    2. Initialize the md.tab file. The -a option activates all metadevices defined in the md.tab file. For example, this command initializes the md.tab file for diskset hahost1.

      phys-hahost1# metainit -s hahost1 -a
      
    3. Repeat this for each diskset in the cluster.

      If necessary, run the metainit(1M) command from another node that has connectivity to the disks. This is required for clustered pair and ring topologies, where the disks are not accessible by all nodes.

  2. Use the metastat(1M) command to check the status of the metadevices.

    phys-hahost1# metastat -s hahost1