Forum Discussion

bigipjr28_13978's avatar
bigipjr28_13978
Icon for Nimbostratus rankNimbostratus
Apr 23, 2015

automation - failing over wideips between two data centers

Hey guys,

 

Been sort of at this on for a while now. Here Ill post a general outline of how we have our environment configured and questions to along with as it pertains to what we setup.

 

As of now we have two DCs with GTMS that face internal and external. On the GTM we have the two vips in a pool configured with global availability. So say when an application needs to be failover from one DC to another I would go and change the weight of the member from 0 to 1 or 1 to 0 depending on the location of the DC.

 

I have a script that contains a bunch of tmos commands that modifies the pool member to go failover from 1 to 0 or 0 to 1 that are actually in separate scripts that are on the internal and external facing gtms.

 

I am looking for some ideas/suggestions as to ways to improve the script or maybe another way all together to preform this so that I can either run a script or automate it all together. The other tricky is that alot of applications are mission critical with most of the run on certain intervals either within the hour and we have to work with multiple teams to move pieces of the application/infrastructure over to our other DC.

 

Tanks

 

1 Reply

  • Perform the same sort of thing but using iControl.

     

    Have it loop through the pools and show which ones are active on which DC, then allow the user to allocate an application to a datacentre. Simples!

     

    If it were me i'd do this in PHP to provide a nice interface but it depends on what languages you know.