Dayton_Jones_12
Jun 17, 2013Nimbostratus
Need to change lb method on several hundred pools
I need to modify the "lb method" in several hundred pools, on several LTMs. Right now the pools are using the default of RoundRobin, but I need to change to "Predictive (member)"
Looking at the bigip.conf file, there are no "lb method" entries except for the test pools that I set through the GUI. I've created a perl script using the BigIP::ParseConfig module, but this only modifies the pool if the "lb method" entry already exists, it does not add the entry.
How can I easily/safely add the new method to all the pools? Any help will be greatly appreciated.