Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Configuring SF HA with CFS GCO and SRDF

Created: 28 Mar 2011 • Updated: 18 Apr 2011 | 3 comments
HermanW's picture
This issue has been solved. See solution.

Hello!

I have been looking around for sample servicegroup/resource configuration for a SF HA CFS with  GCO and with  SRDF configuration.  Each site primary and DR has multiple nodes.

I cannot find any sample configs.  Can anyone please help with a sample service group / and resource constellation? 

Thank you in advance!!

Comments 3 CommentsJump to latest comment

mikebounds's picture

See example below form VCS5.0:

 

 group CFS_SG (
  SystemList = { sys01 = 0, sys02 = 1 }
  AutoFailOver = 0
  Parallel = 1
  ClusterList = { prodclus = 0, drclus= 1 }
  AutoStartList = { sys01, sys02 }
  )

  CFSMount shared_mnt (
    MountPoint = "/shared_mnt"
    BlockDevice = "/dev/vx/dsk/cvmdg01/vol01"
    NodeList = { sys01, sys02 }
    )

  CVMVolDg cvmdg01_voldg (
    CVMDiskGroup = cvmdg01
    CVMVolume = { vol01 }
    CVMActivation = sw
    )

  SRDF srdf01 (
    SymHome = "/usr/symcli"
    GrpName = srdf01
  )

  requires group cvm online local firm

  cvmdg01_voldg requires srdf01
  shared_mnt requires cvmdg01_voldg 


 
Note you need to make sure you setup actions (deport and import) on CVMVolDg type  - see below:
 
 type CVMVolDg (
  static keylist RegList = { CVMActivation }
  static keylist SupportedActions = { deport, import }
  static boolean FireDrill = 1
  static str ArgList[] = { CVMDiskGroup, CVMVolume, CVMActivation }
  str CVMDiskGroup
  keylist CVMVolume
  str CVMActivation
  temp int voldg_stat
  ) 
 
Mike

UK Symantec Consultant in VCS, GCO, SF, VVR, VxAT on Solaris, AIX, HP-ux, Linux & Windows

If this post has answered your question then please click on "Mark as solution" link below

SOLUTION
Zahid.Haseeb's picture

 

What is your HA/DR platform. Windows or Unix/Linux ?
 
 
 
 
 
include "types.cf"
 
cluster cluster-pri (
UserNames = { admin = ejkGkdJgkGkdJgiRge }
ClusterAddress = "10.10.20.21"
Administrators = { admin }
HacliUserLevel = COMMANDROOT
)
 
remotecluster tpscluster2 (
ClusterAddress = "10.10.20.2"
)
 
heartbeat Icmp (
ClusterList = { tpscluster2 }
Arguments @tpscluster2 = { "10.10.20.2" }
)
 
system NODE1 (
Limits = { ExchLoad = 10 }
)
 
system NODE2 (
Limits = { ExchLoad = 10 }
)
 
group ClusterService (
SystemList = { NODE1 = 0, NODE2 = 1 }
AutoStartList = { NODE1, NODE2 }
)
 
IP csg_ip (
Address = "10.10.20.21"
SubNetMask = "255.0.0.0"
MACAddress @NODE1 = "00:0C:29:9D:79:B1"
MACAddress @NODE2 = "00:0C:29:2D:4F:91"
)
 
NIC csg_nic (
MACAddress @NODE1 = "00:0C:29:9D:79:B1"
MACAddress @NODE2 = "00:0C:29:2D:4F:91"
)
 
Process wac (
StartProgram @NODE1 = "\"C:\\Program Files\\Veritas\\Cluster Server\\bin\\wac.exe\""
StartProgram @NODE2 = "\"C:\\Program Files\\Veritas\\Cluster Server\\bin\\wac.exe\""
StopProgram @NODE1 = "\"C:\\Program Files\\Veritas\\Cluster Server\\bin\\wacstop.exe\""
StopProgram @NODE2 = "\"C:\\Program Files\\Veritas\\Cluster Server\\bin\\wacstop.exe\""
MonitorProgram @NODE1 = "\"C:\\Program Files\\Veritas\\Cluster Server\\bin\\wacmonitor.exe\""
MonitorProgram @NODE2 = "\"C:\\Program Files\\Veritas\\Cluster Server\\bin\\wacmonitor.exe\""
)
 
csg_ip requires csg_nic
wac requires csg_ip
 
 
// resource dependency tree
//
// group ClusterService
// {
// Process wac
//    {
//    IP csg_ip
//        {
//        NIC csg_nic
//        }
//    }
// }
 
 
group Exchange (
SystemList = { NODE1 = 0, NODE2 = 1 }
ClusterList = { cluster-pri = 0, tpscluster2 = 1 }
Authority = 1
Prerequisites = { ExchLoad = 10 }
)
 
ExchProtocol Exchange-ExchProtocol-POP3SVC-1 (
Protocol = POP3SVC
VirtualServer = "Default POP3 Virtual Server"
LanmanResName = Exchange-Lanman
)
 
ExchProtocol Exchange-ExchProtocol-SMTPSVC-1 (
Protocol = SMTPSVC
VirtualServer = "Default SMTP Virtual Server"
LanmanResName = Exchange-Lanman
)
 
ExchProtocol Exchange-ExchProtocol-IMAP4SVC-1 (
Protocol = IMAP4SVC
VirtualServer = "Default IMAP4 Virtual Server"
LanmanResName = Exchange-Lanman
)
 
ExchProtocol Exchange-ExchProtocol-W3SVC-1 (
Protocol = W3SVC
VirtualServer = "Exchange Virtual Server"
LanmanResName = Exchange-Lanman
)
 
ExchService Exchange-ExchService-MSExchangeSA (
Service = MSExchangeSA
LanmanResName = Exchange-Lanman
)
 
ExchService Exchange-ExchService-MSExchangeIS (
Service = MSExchangeIS
LanmanResName = Exchange-Lanman
)
 
ExchService Exchange-ExchService-MSExchangeMTA (
Service = MSExchangeMTA
LanmanResName = Exchange-Lanman
)
 
ExchService Exchange-ExchService-RESVC (
Service = RESVC
LanmanResName = Exchange-Lanman
)
 
IP Exchange-IP (
Address = "192.168.253.23"
SubNetMask = "255.255.0.0"
MACAddress @NODE1 = "00-0C-29-9D-79-B1"
MACAddress @NODE2 = "00-0C-29-2D-4F-91"
)
 
Lanman Exchange-Lanman (
VirtualName = EVSMAIL
IPResName = Exchange-IP
DNSUpdateRequired = 1
ADUpdateRequired = 1
DNSCriticalForOnline = 1
ADCriticalForOnline = 1
DNSOptions = { PurgeDuplicate }
)
 
MountV Exchange-MountV (
MountPath = "Y:"
VolumeName = ExchangePriVol1
VMDGResName = Exchange-VMDg
)
 
NIC Exchange-NIC (
MACAddress @NODE1 = "00-0C-29-9D-79-B1"
MACAddress @NODE2 = "00-0C-29-2D-4F-91"
)
 
RVGPrimary RDS_EXchangeDG-Pri_0-RVGP (
RvgResourceName = RDS_EXchangeDG-Pri_0-RVG
)
 
RegRep Exchange-RegRep (
MountResName = Exchange-MountV
ReplicationDirectory = "\\VCS\\Private\\RegRep\\Exch"
Keys = {
"HKLM\\SYSTEM\\CurrentControlSet\\Services\\IMAP4Svc" = "",
"HKLM\\SYSTEM\\CurrentControlSet\\Services\\MSExchangeDSAccess" = "",
"HKLM\\SYSTEM\\CurrentControlSet\\Services\\MSExchangeIS" = "",
"HKLM\\SYSTEM\\CurrentControlSet\\Services\\MSExchangeMTA" = "",
"HKLM\\SYSTEM\\CurrentControlSet\\Services\\MSExchangeSA" = "",
"HKLM\\SYSTEM\\CurrentControlSet\\Services\\POP3Svc" = "" }
RestoreLocally = 1
)
 
requires group Exchange_RVGGROUP online local hard
Exchange-ExchProtocol-POP3SVC-1 requires Exchange-ExchService-MSExchangeIS
Exchange-ExchProtocol-SMTPSVC-1 requires Exchange-ExchService-MSExchangeIS
Exchange-ExchProtocol-IMAP4SVC-1 requires Exchange-ExchService-MSExchangeIS
Exchange-ExchProtocol-W3SVC-1 requires Exchange-ExchService-MSExchangeIS
Exchange-ExchService-MSExchangeSA requires Exchange-Lanman
Exchange-ExchService-MSExchangeSA requires Exchange-MountV
Exchange-ExchService-MSExchangeSA requires Exchange-RegRep
Exchange-ExchService-MSExchangeIS requires Exchange-ExchService-MSExchangeSA
Exchange-ExchService-MSExchangeMTA requires Exchange-ExchService-MSExchangeSA
Exchange-ExchService-RESVC requires Exchange-ExchService-MSExchangeSA
Exchange-IP requires Exchange-NIC
Exchange-Lanman requires Exchange-IP
Exchange-MountV requires RDS_EXchangeDG-Pri_0-RVGP
Exchange-RegRep requires Exchange-MountV
 
 
// resource dependency tree
//
// group Exchange
// {
// ExchProtocol Exchange-ExchProtocol-POP3SVC-1
//    {
//    ExchService Exchange-ExchService-MSExchangeIS
//        {
//        ExchService Exchange-ExchService-MSExchangeSA
//            {
//            Lanman Exchange-Lanman
//                {
//                IP Exchange-IP
//                    {
//                    NIC Exchange-NIC
//                    }
//                }
//            MountV Exchange-MountV
//                {
//                RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                }
//            RegRep Exchange-RegRep
//                {
//                MountV Exchange-MountV
//                    {
//                    RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                    }
//                }
//            }
//        }
//    }
// ExchProtocol Exchange-ExchProtocol-SMTPSVC-1
//    {
//    ExchService Exchange-ExchService-MSExchangeIS
//        {
//        ExchService Exchange-ExchService-MSExchangeSA
//            {
//            Lanman Exchange-Lanman
//                {
//                IP Exchange-IP
//                    {
//                    NIC Exchange-NIC
//                    }
//                }
//            MountV Exchange-MountV
//                {
//                RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                }
//            RegRep Exchange-RegRep
//                {
//                MountV Exchange-MountV
//                    {
//                    RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                    }
//                }
//            }
//        }
//    }
// ExchProtocol Exchange-ExchProtocol-IMAP4SVC-1
//    {
//    ExchService Exchange-ExchService-MSExchangeIS
//        {
//        ExchService Exchange-ExchService-MSExchangeSA
//            {
//            Lanman Exchange-Lanman
//                {
//                IP Exchange-IP
//                    {
//                    NIC Exchange-NIC
//                    }
//                }
//            MountV Exchange-MountV
//                {
//                RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                }
//            RegRep Exchange-RegRep
//                {
//                MountV Exchange-MountV
//                    {
//                    RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                    }
//                }
//            }
//        }
//    }
// ExchProtocol Exchange-ExchProtocol-W3SVC-1
//    {
//    ExchService Exchange-ExchService-MSExchangeIS
//        {
//        ExchService Exchange-ExchService-MSExchangeSA
//            {
//            Lanman Exchange-Lanman
//                {
//                IP Exchange-IP
//                    {
//                    NIC Exchange-NIC
//                    }
//                }
//            MountV Exchange-MountV
//                {
//                RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                }
//            RegRep Exchange-RegRep
//                {
//                MountV Exchange-MountV
//                    {
//                    RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                    }
//                }
//            }
//        }
//    }
// ExchService Exchange-ExchService-MSExchangeMTA
//    {
//    ExchService Exchange-ExchService-MSExchangeSA
//        {
//        Lanman Exchange-Lanman
//            {
//            IP Exchange-IP
//                {
//                NIC Exchange-NIC
//                }
//            }
//        MountV Exchange-MountV
//            {
//            RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//            }
//        RegRep Exchange-RegRep
//            {
//            MountV Exchange-MountV
//                {
//                RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                }
//            }
//        }
//    }
// ExchService Exchange-ExchService-RESVC
//    {
//    ExchService Exchange-ExchService-MSExchangeSA
//        {
//        Lanman Exchange-Lanman
//            {
//            IP Exchange-IP
//                {
//                NIC Exchange-NIC
//                }
//            }
//        MountV Exchange-MountV
//            {
//            RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//            }
//        RegRep Exchange-RegRep
//            {
//            MountV Exchange-MountV
//                {
//                RVGPrimary RDS_EXchangeDG-Pri_0-RVGP
//                }
//            }
//        }
//    }
// }
 
 
group Exchange_RVGGROUP (
SystemList = { NODE1 = 0, NODE2 = 1 }
)
 
IP RDS_EXchangeDG-Pri_0-IP (
Address = "10.1.1.10"
SubNetMask = "255.0.0.0"
MACAddress @NODE1 = "00:0C:29:9D:79:B1"
MACAddress @NODE2 = "00:0C:29:2D:4F:91"
)
 
NIC RDS_EXchangeDG-Pri_0-NIC (
MACAddress @NODE1 = "00:0C:29:9D:79:B1"
MACAddress @NODE2 = "00:0C:29:2D:4F:91"
)
 
VMDg Exchange-VMDg (
DiskGroupName = EXchangeDG-Pri
DGGuid = "71ff22e0-2dbd-4a66-903c-cdd00f7ffe0f"
)
 
VvrRvg RDS_EXchangeDG-Pri_0-RVG (
RVG = RVG_EXchangeDG-Pri_0
VMDgResName = Exchange-VMDg
IPResName = RDS_EXchangeDG-Pri_0-IP
)
 
RDS_EXchangeDG-Pri_0-IP requires RDS_EXchangeDG-Pri_0-NIC
RDS_EXchangeDG-Pri_0-RVG requires RDS_EXchangeDG-Pri_0-IP
RDS_EXchangeDG-Pri_0-RVG requires Exchange-VMDg
 
 
// resource dependency tree
//
// group Exchange_RVGGROUP
// {
// VvrRvg RDS_EXchangeDG-Pri_0-RVG
//    {
//    IP RDS_EXchangeDG-Pri_0-IP
//        {
//        NIC RDS_EXchangeDG-Pri_0-NIC
//        }
//    VMDg Exchange-VMDg
//    }
// }
 

Any comment will be appreciated. Mark as Solution if your query is resolved
__________________
Thanks in Advance
Zahid Haseeb

zahidhaseeb.wordpress.com

g_lee's picture

Zahid,

The original post requested sample configuration for "SF HA CFS with GCO and with SRDF configuration" - the example main.cf you have posted contains neither CFS nor SRDF details. Did you mean to post a different configuration?

Also, as CFS doesn't appear to be available with SFW_HA, it's more likely this is a Unix/Linux configuration rather than Windows.

regards,

Grace

If this post has helped you, please vote or mark as solution