Sun Microsystems
Products & Services
 
Support & Training
 
 

Previous Previous     Contents     Index     Next Next

Managing Differences Between Files That Are Not Shared

Files on a shared file system have the same content, as viewed from the master node and vice-master node. The following files are stored locally on the master node and vice-master node. The files must contain identical information, but they are not shared.

cluster_nodes_table

Contains the nodeid and node name of each peer node. For more information, see the cluster_nodes_table(4) man page.

/etc/hosts

Contains the hostnames of all nodes on the cluster network. For more information, see the hosts(4) man page.

nhfs.conf

Describes the cluster configuration, including network interfaces, mirrored disk partitions, and the floating external address. For more information, see the nhfs.conf(4) man page.

To manage differences that exist between files that are not shared, performing the following procedure.

ProcedureTo Manage Differences Between Files That Are Not Shared

  1. Log in to the master node as superuser.

  2. Open or create the /SUNWcgha/remote/etc/nhadmsync.conf file in a text editor.

  3. Specify the names of the files that you want to compare by adding them to the nhadmsync.conf file.

    For more information, see the nhadmsync.conf(4) man page.

  4. Save the nhadmsync.conf file and exit the text editor.

  5. Log in to the vice-master node, as superuser.

  6. Repeat Step 2 through Step 4.

  7. Verify that the listed files are the same on the master node and the vice-master node:

    # nhadm synccheck

    • If the files are not identical on the master node and vice-master node, analyze the differences between the copies of the files.

    • If the differences between the files are acceptable, accept them:

      # nhadm syncgen

      If you accept the differences between two files, the differences will no longer be signaled by the nhadm synccheck command.

    For more information about the nhadm command, see the nhadm(1M) man page.

Using the Naming Services

This section provides guidelines for using naming services on the Foundation Services.

If you use a naming service such as the Network Information Services (NIS) or the Domain Name System (DNS), avoid conflicts between the names of nodes and services by doing the following:

  1. Verify that the names of nodes specified in the /etc/hosts file are used before node names generated by your naming service.

    The name assigned to a node during cluster configuration must not conflict with the name assigned to a node by the naming service.

  2. Verify that the entries for hosts, network, and services in the /etc/nsswitch.conf file are set as follows:

    [...]
    hosts:      files [...]
    network:    files [...]
    [...]
    services:   files [...]

Previous Previous     Contents     Index     Next Next