Example main.cf, for clusters without the GCO option
The following sample main.cf is for a secure cluster that is managed locally by Cluster Management Console.
include "types.cf"
cluster vcs_cluster2 (
UserNames = { admin = cDRpdxPmHpzS, smith = dKLhKJkHLh }
ClusterAddress = "10.10.12.1"
Administrators = { admin, smith }
CounterInterval = 5
SecureClus = 1
)
system north (
)
system south (
)
group ClusterService (
SystemList = { north = 0, south = 1 )
UserStrGlobal = "LocalCluster@https://10.182.2.76:8443;"
AutoStartList = { north, south )
OnlineRetryLimit = 3
OnlineRetryInterval = 120
)
IP webip (
Device = eth0
Address = "10.10.12.1"
NetMask = "255.255.240.0"
)
NIC csgnic (
Device = eth0
)
NotifierMngr ntfr (
SnmpConsoles = { "saturn" = Error, "jupiter" = SevereError }
SmtpServer = "smtp.example.com"
SmtpRecipients = { "ozzie@example.com" = Warning,
"harriet@example.com" = Error }
)
VRTSWebApp VCSweb (
Critical = 0
AppName = cmc
InstallDir = "/opt/VRTSweb/VERITAS"
TimeForOnline = 5
RestartLimit = 3
)
VCSweb requires webip
ntfr requires csgnic
webip requires csgnic
// resource dependency tree
//
// group ClusterService
// {
// VRTSWebApp VCSweb
// {
// IP webip
// {
// NIC csgnic
// }
// }
// NotifierMngr ntfr
// {
// NIC csgnic
// }
// }
group VxSS (
SystemList = { north = 0, south = 1 }
Parallel = 1
OnlineRetryLimit = 3
OnlineRetryInterval = 120
)
Phantom phantom_vxss (
)
ProcessOnOnly vxatd (
IgnoreArgs = 1
PathName = "/opt/VRTSat/bin/vxatd"
)
// resource dependency tree
//
// group VxSS
// {
// Phantom phantom_vxss
// ProcessOnOnly vxatd
// }