Symantec logo

Configuring VCS

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:


Editing the main.cf file

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

include "types.cf"

 To edit the main.cf file

  1. Log in as superuser, and move to the directory containing the configuration file:

    # cd /etc/VRTSvcs/conf/config

  2. Using vi, or another text editor, edit the main.cf file, defining your cluster name and system names. Refer to the following example.
  3. Save and close the file.

Refer to the Veritas Cluster Server User's Guide for a full description of the main.cf file, how to edit it and verify it.


Example, main.cf

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

include "types.cf"

cluster VCSCluster2 ( )

system north

system south

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

include "types.cf"

cluster VCSCluster1 ( )

system sn1

types.cf file

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