Forum Discussion

Glenn_32974's avatar
Glenn_32974
Icon for Nimbostratus rankNimbostratus
Jul 31, 2012

GTM Global availability issue

Hello Folks!

 

 

I have the following scenario using GTM

 

 

Customer: Retail Store

 

 

2 Data Centers:

 

-Main DataCenter

 

-DR Data Center

 

 

App Server (cluster) at the Main DC

 

App Server (standalone) at DR site

 

 

Shareplex as replication tool for Oracle Databases

 

 

 

I have set Global Availability as the Load balancing method for WideIP so ALL request always go to the Main DC unless its unavailable... Since Im using replication tools for the databases I cannot allow traffic to fail-back to Main DC until I manually force it so ( this is because the Data Bases at the DR site will start storing data that might not be replicated to the Main DC DataBases... I need to make sure that when failing over to the Main DC ALL databases have same information)

 

 

My problem is that Global Availability will automatically redirect traffic to the main DC once it comes back online ( and my date bases might not be in sych!!)

 

 

What I need: When Fail over to the DR site occurs I need some sort of method that will force traffic to stick to the DR site (even though the Main DC is be back online) until I manually fail over to the Main DC ( so I can make sure my databases are in sych!!)

 

 

I hope I made myself clear on this one

 

 

Any thoughts will be highly appreciated!

 

 

rgs,

 

 

Glenn

 

 

 

 

 

 

 

  • Have you looked into persistenance in an irule

     

     

    https://devcentral.f5.com/wiki/iRules.GTMSelectivePersistence.ashx

     

     

    https://devcentral.f5.com/wiki/iRules.GTM.ashx

     

     

    http://support.f5.com/kb/en-us/solutions/public/11000/100/sol11150.html
  • Hey Glenn,

     

     

    You can also perhaps look at marking the Datacenter Container for your DR site manually to unavailable. Then once the necessary services are available and ready, mark the DC available, and GTM will then resolve to servers in that DC.