Renaming the LLT and GAB Startup Files
Rename the LLT and GAB startup files. If you need to upgrade the single-system cluster to a multiple system cluster at a later time, you may need them.
# mv /sbin/rc2.d/S680llt /sbin/rc2.d/s680llt
# mv /sbin/rc2.d/S920gab /sbin/rc2.d/s920gab
Setting Up Configuration Files
This section describes setting up the configuration files main.cf and types.cf for your single-node VCS installation.
main.cf File
VCS requires the configuration file, main.cf, to exist in the directory /etc/VRTSvcs/conf/config. The main.cf configuration file has the following essential elements:
- An "include" statement that specifies the file, types.cf, which defines the VCS bundled agent resources
- The name of the cluster
- The name of the system that make up the single-system cluster
An example main.cf for a single-system 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 resource type definitions. During new installations, the types.cf file is automatically copied in to the /etc/VRTSvcs/conf/config directory.
Editing the main.cf 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.
Verifying Single-Node Operation
-
Bring up VCS manually as a single-node cluster using hastart(1M) with the -onenode option:
# hastart -onenode
-
Verify that the had and hashadow daemons are running in single-node mode:
# ps -ef | grep ha
root 285 1 0 14:49:31 ? 0:02 /opt/VRTSvcs/bin/had -onenode
root 288 1 0 14:49:33 ? 0:00 /opt/VRTSvcs/bin/hashadow
|