Forum Discussion
Jeff_Kessler_47
Nimbostratus
Feb 14, 2007Using iControl to change pool members on ASM
Hello all,
We have a ASM at our primary site and one at our back up site. When we manually failover just one application to our back up site's web server we usually just change the DNS aliass of...
Feb 14, 2007
Absolutely you can do that with iControl. Look at the LocalLB::Pool interface for the following methods:
struct IPPortDefinition {
String address;
long port;
};
IPPortDefinition[][] LocalLB::Pool::get_member(
in String[] pool_names
);
void LocalLB::Pool::add_member(
in String[] pool_names,
in IPPortDefinition[][] members
);
void remove_member(
in String[] LocalLB::Pool::pool_names,
in IPPortDefinition[][] members
);
You can query the pool members with the get_member() method, add members with add_member(), and remove members with remove_member()
You'll just have to build the logic into your application to make these calls when you update your DNS alias changes.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects