krisdames
Jun 25, 2013Cirrus
Perform action based on MySQL query results
Hi,
I'd like to enable a specific pool member and disable the remaining pool members based on the results of a MySQL query. For example, if my pool contains server1 and server2, the results of the query will either be "server1" or "server2". Whichever server name is in the query result should be enabled and the other server(s) should be disabled. What's the best way to go about this?
Thanks!
--
Kris