All pastes #879776 Raw Edit

upen

public text v1 · immutable
#879776 ·published 2008-01-29 18:14 UTC
rendered paste body
include "types.cf"
include "OracleTypes.cf"

cluster bbcluster (
        UserNames = { admin = C4MkKzqH9c4P6, bwolfe = EEhz8rJAkqhS6 }
        Administrators = { admin, bwolfe }
        CounterInterval = 5
        )

system server1 (
        )

system server2 (
        )

group ClusterService (
        SystemList = { server1 = 0, server2 = 1 }
        AutoStartList = { server1, server2 }
        OnlineRetryLimit = 3
        )

        IP webip (
                Device = ce1
                Address = "2.4.5.3"
                NetMask = "255.255.255.0"
                )

        NIC csgnic (
                Device = ce1
                )

        NotifierMngr ntfr (
                SmtpServer = "email2.<mydomain.com>"
                SmtpRecipients = { "ulisano@<mydomain.com>" = Warning }
                )

        VRTSWebApp VCSweb (
                Critical = 0
                AppName = vcs
                InstallDir = "/opt/VRTSweb/VERITAS"
                TimeForOnline = 5
                )

        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 bb (
        SystemList = { server1 = 0, server2 = 1 }
        AutoStartList = { server1 }
        )

        Application bbservice (
                User = root
                StartProgram = "/opt/VRTSvcs/bin/blackboard/online"
                StopProgram = "/opt/VRTSvcs/bin/blackboard/offline"
                CleanProgram = "/opt/VRTSvcs/bin/blackboard/clean"
                PidFiles = { "/usr/local/blackboard/logs/pid-files/httpd.pid",
                         "/usr/local/blackboard/logs/pid-files/modperl.pid",
                         "/usr/local/blackboard/logs/pid-files/tomcat.pid" }
                )

        DiskGroup bbdg (
                DiskGroup = bboradg
                )

        IP bb_ip (
                Device = ce1
                Address = "2.4.5.2"
                NetMask = "255.255.255.0"
                )

        Mount bb_mnt-bb (
                MountPoint = "/usr/local/blackboard"
                BlockDevice = "/dev/vx/dsk/bboradg/VOLBB"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-y"
                )

        Mount bb_mnt-or (
                MountPoint = "/usr/local/oracle"
                BlockDevice = "/dev/vx/dsk/bboradg/VOL-OR"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-y"
                )

        Mount bb_mnt-u01 (
                MountPoint = "/u01"
                BlockDevice = "/dev/vx/dsk/bboradg/VOL-U01"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-y"
                )

        Mount bb_mnt-u02 (
                MountPoint = "/u02"
                BlockDevice = "/dev/vx/dsk/bboradg/VOL-U02"
                FSType = vxfs
                MountOpt = rw
                FsckOpt = "-y"
                )

        NIC bb_ce1 (
                Device = ce1
                NetworkType = ether
                )

        Oracle BB60 (
                Sid = BB60
                Owner = oracle
                Home = "/u01/app/oracle/product/9.2.0"
                Pfile = "/u01/app/oracle/admin/BB60/pfile/initBB60.ora"
                EnvFile = "/opt/VRTSvcs/bin/Oracle/envfile"
                )

        Sqlnet LISTENER (
                Owner = oracle
                Home = "/u01/app/oracle/product/9.2.0"
                TnsAdmin = "/u01/app/oracle/product/9.2.0/network/admin"
                Listener = LISTENER
                MonScript = "./bin/Sqlnet/LsnrTest.pl"
                EnvFile = "/opt/VRTSvcs/bin/Oracle/envfile"
                )

        Volume bb_vol-or (
                Volume = VOL-OR
                DiskGroup = bboradg
                )

        Volume bb_vol-u01 (
                Volume = VOL-U01
                DiskGroup = bboradg
                )

        Volume bb_vol-u02 (
                Volume = VOL-U02
                DiskGroup = bboradg
                )

        Volume bb_volbb (
                Volume = VOLBB
                DiskGroup = bboradg
                )

        BB60 requires bb_mnt-bb
        BB60 requires bb_mnt-or
        BB60 requires bb_mnt-u01
        BB60 requires bb_mnt-u02
        LISTENER requires BB60
        LISTENER requires bb_ip
        bb_ip requires bb_ce1
        bb_mnt-bb requires bb_volbb
        bb_mnt-or requires bb_vol-or
        bb_mnt-u01 requires bb_vol-u01
        bb_mnt-u02 requires bb_vol-u02
        bb_vol-or requires bbdg
        bb_vol-u01 requires bbdg
        bb_vol-u02 requires bbdg
        bb_volbb requires bbdg
        bbservice requires LISTENER


        // resource dependency tree
        //
        //      group bb
        //      {
        //      Application bbservice
        //          {
        //          Sqlnet LISTENER
        //              {
        //              Oracle BB60
        //                  {
        //                  Mount bb_mnt-bb
        //                      {
        //                      Volume bb_volbb
        //                          {
        //                          DiskGroup bbdg
        //                          }
        //                      }
        //                  Mount bb_mnt-or
        //                      {
        //                      Volume bb_vol-or
        //                          {
        //                          DiskGroup bbdg
        //                          }
        //                      }
        //                  Mount bb_mnt-u01
        //                      {
        //                      Volume bb_vol-u01
        //                          {
        //                          DiskGroup bbdg
        //                          }
        //                      }
        //                  Mount bb_mnt-u02
        //                      {
        //                      Volume bb_vol-u02
        //                          {
        //                          DiskGroup bbdg
        //                          }
        //                      }
        //                  }
        //              IP bb_ip
        //                  {
        //                  NIC bb_ce1
        //                  }
        //              }
        //          }
        //      }