Forum Discussion

PSPK's avatar
PSPK
Icon for Nimbostratus rankNimbostratus
May 17, 2016

Load Balance ETL servers

Hi,

 

I have two ETL unix servers. Currently I am load balancing these servers with HACMP software load balancer. Server1 is active all time and Server2 is offline. When server1 is oFF, HACMP will switch traffic to server2.

 

Server1 has some files/folders which server2 do not have. So during failover from Server1 to server2 the HACMP software load balancer will not only failover the traffic but also these files/folders from server1 to server2.

 

Now we are planning to use F5 as a load balancing machine. Can this load balancer switch files from server1 to server2 along with failover.

 

Note: My server1 and server2 doesn't sync each other. so HACMP software load balancer will transfer those files/folders during failover only. So after the failover those files/folder will not be in Server1.

 

Please help

 

Thanks,

 

Ashish

 

1 Reply

  • I'm making some assumptions here, that the files are some sort of remote mount, and that you just need to remount it on the other box ?. (Otherwise, how would you get to the files on server1 if server1 goes down?)

     

    You can add commands to /config/user_alert.conf which trigger unix commands to be run when particular messages are seen in the log files. You could match the message for your pool member going down, and have it run a unix command on the LTM.

     

    So if you have commands that can be run from the BigIP (for example, "ssh user@server2 'mount /mnt/point'" that will effect what you need to do, then you can put those commands into the appropriate places, and let them do their magic.

     

    Take a look at https://devcentral.f5.com/questions/user_alertconf-and-automation-good-stuff, and see if that's what you want to do.

     

    How are you currently doing it with hacmp ?