Forum Discussion

SP_266134's avatar
SP_266134
Icon for Nimbostratus rankNimbostratus
Aug 13, 2016

F5 dynamics url routing

hi guys, I have two web servers and two 100% similar application running on both nodes but having two separate urls http://test1 and http://test2. Both these application have the same content. I am trying to see if F5 can manage the instances like active node and passive node. I want all trafic to First test if node 1 is working test1 returns some ok message. go to http://test1 and if test1 does not return anything or the Node1 is down. We want to request to go to test2 server.

 

Regards Sunil Prabha

 

3 Replies

  • Same answer as: https://devcentral.f5.com/questions/f5-ltm-and-active-passive-node-configuration-48248answer138717

     

    Write proper monitor to detect when a node is healthy or not.

     

  • You can achieve via priority group activation in pool & add content verification monitor in pool.@Lrhazi has already shared link.

     

  • Hi Sunil,

    beside of using the "Priority Group Activation" feature (already mentioned by Mohamed) to establish a primary/secondary configuration with automatic failover/failback, you could also use a "DST_IP" persistence profile with long timeouts to support a active/passive configurations with automatic failover but without failbacks.

    Depending on your detailed requirements of autmatic failovers/failbacks and the control and visibility of the current active node, it may be also required to write certain iRules to control the active node by using a

    [table]
    entry (e.g. initiating a failover only after 30 seconds inactivity, manually switching the current maste node, etc.).

    Do you have any special failover/failback requirements? Or are you fine with the Primary/Secondary failover/failback apporach of the "Priority Group Activation" feature?

    Cheers, Kai