Forum Discussion
roberto_78284
Nimbostratus
Aug 02, 2012Disable poolMember Exception
Hi!!
I am testing this class: https://devcentral.f5.com/Tutorials/TechTips/tabid/63/articleType/ArticleView/articleId/1086386/Java-iControl-Objects--LTM-Pool-Member.aspx
When I use...
roberto_78284
Nimbostratus
Aug 03, 2012Hi!!
Sorry for the little information.
My BIG-IP version: BIG-IP 11.2.0 Build 2446.0 Final
iControl version: iControlAssembly_11_2_0-Java
Source code:
public void disableMember(){
String host = "xx.xx.xx.xx";
String user = "xxxx";
String pass = "xxxxx";
iControl.Interfaces interfaces = new Interfaces(host, user, pass);
Pool pool = new Pool(interfaces, "pool_name");
String address = "xx.xx.xx.xx";
long port = xx;
PoolMember member = new PoolMember(interfaces, pool, address, port);
try {
member.disable();
} catch (Exception e1) {
e1.printStackTrace();
}
}
I tested the member.enable() method and has not a problem.
Thanks!
- Matthew_Harris1Sep 10, 2013
Nimbostratus
I am also getting this error using PowerShell. It is failing on: $MemberStatisticsA = (Get-F5.iControl).LocalLBPoolMember.get_statistics( (, $pool_name), $MemberDefAofA); I have verified that $pool_name and $MemberDefAofA have the correct values. I am using BIG-IP 11.4.0. Did you resolve this?
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
