Previous  |  Next  >  
Product: Cluster Server Guides   
Manual: Cluster Server 4.1 Installation Guide   

main.cf Example, for Clusters Without the GCO Option


include "types.cf"
cluster VCSCluster2 (
        UserNames = { admin = cDRpdxPmHpzS, smith = dKLhKJkHLh }
        ClusterAddress = "11.176.88.199"
        Administrators = { admin, smith }
        CounterInterval = 5
        )
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 = lan0
               Address = "11.176.88.199"
               NetMask = "255.255.240.0"
               )
        NIC csgnic (
               Device = lan0
               )
        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 = vcs
               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
        //          }
        //      }

main.cf Example, for Clusters With the GCO Option

If you have installed VCS with the Global Cluster option, note that the ClusterService group also contains the Application resource, wac, required to control the cluster in a Global Cluster environment.


.
.
group ClusterService (
        SystemList = { north = 0, south = 1 }
        UserStrGlobal = "LocalCluster@https://10.182.2.78:8443;"
        AutoStartList = { north, south }
        OnlineRetryLimit = 3
        OnlineRetryInterval = 120
        )

        Application wac (
                StartProgram = "/opt/VRTSvcs/bin/wacstart"
                StopProgram = "/opt/VRTSvcs/bin/wacstop"
                MonitorProcesses = { "/opt/VRTSvcs/bin/wac" }
                RestartLimit = 3
                )
.
.
 ^ Return to Top Previous  |  Next  >  
Product: Cluster Server Guides  
Manual: Cluster Server 4.1 Installation Guide  
VERITAS Software Corporation
www.veritas.com