main.cf File
The VCS configuration file /etc/VRTSvcs/conf/config/main.cf is created during the installation procedure. After installation, the main.cf file contains the base definitions of the cluster and its nodes. Additionally, the file types.cf listed in the include statement defines the bundled agents for VCS resources. The types.cf file is also in the directory /etc/VRTSvcs/conf/config after installation. Refer to the VERITAS Cluster Server User's Guide for more extensive examples of main.cf and types.cf.
A typical VCS configuration file for CFS file resembles:
include "types.cf"
include "CFSTypes.cf"
include "CVMTypes.cf"
cluster cfs_cluster (
HacliUserLevel = COMMANDROOT
CounterInterval = 5
)
system system01 (
)
system system02
)
group cvm (
SystemList = { system01 = 0, system02 = 1 )
AutoFailOver = 0
Parallel = 1
AutoStartList = { system01, system02 )
)
CFSfsckd vxfsckd (
)
CVMCluster cvm_clus (
CVMClustName = cfscluster
CVMNodeId = { system01 = 0, system02 = 1 }
CVMTransport = gab
CVMTimeout = 200
)
CVMVxconfigd cvm_vxconfigd (
Critical = 0
CVMVxconfigdArgs = { syslog }
)
cvm_clus requires cvm_vxconfigd
vxfsckd requires cvm_clus
// resource dependency tree
//
// group cvm
// {
// CVMfsckd vxfsckd
CVMVxconfigd cvm_vxconfigd (
Critical = 0
CVMVxconfigdArgs = { syslog }
)
cvm_clus requires cvm_vxconfigd
vxfsckd requires cvm_clus
// resource dependency tree
//
// group cvm
// {
// CVMfsckd vxfsckd
// {
// CVMCluster cvm_clus
// {
// CVMVxconfigd cvm_vxconfigd
// }
// }
// }
(For SFCFS HA Only) If you configured VCS Cluster Manager (Web Console), a service group, "ClusterService," was created that includes IP, Process, and Notifier resources. These resources were configured according to information you provided during the installation procedure. A resource dependency was also created.
|