Sample main.cf file for VCS clusters

The following sample main.cf file is for a secure cluster that is managed locally by the Cluster Management Console.

include "types.cf"

cluster vcs_cluster2 (
    UserNames = { admin = cDRpdxPmHpzS, smith = dKLhKJkHLh }
    ClusterAddress = "192.168.1.16"
    Administrators = { admin, smith }
    CounterInterval = 5
    SecureClus = 1
)

    system galaxy (
   )

    system nebula (
   )

    group ClusterService (
       SystemList = { galaxy = 0, nebula = 1 )
       UserStrGlobal = "LocalCluster@https://10.182.2.76:8443;"
       AutoStartList = { galaxy, nebula ) 
       OnlineRetryLimit = 3
       OnlineRetryInterval = 120
       )

    IP webip (
       Device = lan0
       Address = "192.168.1.16"
       NetMask = "255.255.240.0"
       )
NIC csgnic (
       Device = lan0
       NetworkHosts = { "192.168.1.17", "192.168.1.18" }
       )
NotifierMngr ntfr (
   SnmpConsoles = { "saturn" = Error, "jupiter" = SevereError }
   SmtpServer = "smtp.example.com"
   SmtpRecipients =  { "ozzie@example.com" = Warning,
                  "harriet@example.com" = Error }
   )

VRTSWebApp VCSweb (
   Critical = 0
   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 = { galaxy = 0, nebula = 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
   // }