Script to modify Virtual Servers default pool?
Hello,
Is there any way to get the default pool changed for a number of virtual servers?
I have the following scenario: We have virtual servers: A, B, C For each of the virtual servers there are two sets of pools created: A-1 and A-2, B-1 and B-2, C-1 and C-2 The default pool for each of the Virtual Servers is A-1, B-1, C-1
What would be the best way to be able re-assign the default pool from "$sVirtual-1" to "$sVirtual-2" and vice versa for each of the virtual servers? How to make sure that when the new default pools is re-assigned there are no client connection drop?
I'm very new to the iControl scripting so any example would be greatly appreciated. Also based on my search in the forums I think the best way to achieve this modification is via iControl script. If that's not the case I'm open to any suggestion that can help me realize this scenario.