Configuring VCS manually

VCS configuration requires the types.cf and main.cf files on each system in the cluster. Both of the files are in the /etc/VRTSvcs/conf/config directory.

main.cf file

The main.cf configuration file requires the following minimum essential elements:

  • An "include" statement that specifies the file, types.cf, which defines the VCS bundled agent resource type definitions.

  • The name of the cluster.

  • The name of the systems that make up the cluster.

types.cf file

Note that the "include" statement in main.cf refers to the types.cf file. This text file describes the VCS bundled agent resource type definitions. During new installations, the types.cf file is automatically copied in to the /etc/VRTSvcs/conf/config directory.

When you manually install VCS, the file /etc/VRTSvcs/conf/config/main.cf contains only the line:

include "types.cf"

For a full description of the main.cf file, and how to edit and verify it, refer to the Cluster Server Administrator's Guide.

To configure VCS manually

  1. Log on as superuser, and move to the directory that contains the configuration file:
    # cd /etc/VRTSvcs/conf/config
    			
  2. Use vi or another text editor to edit the main.cf file, defining your cluster name and system names. Refer to the following example.

    An example main.cf for a two-node cluster:

    include "types.cf" 
    cluster VCSCluster2 ( )
    system sys1 ( )
    system sys2 ( )

    An example main.cf for a single-node cluster:

    include "types.cf" 
    cluster VCSCluster1 ( )
    system sn1 ( )
  3. Save and close the main.cf file.