Forum Discussion
Fuchan_Tan_3092
Apr 09, 2012Nimbostratus
How is the virtual server status set?
Using the following steps via Java ICONTROL (exception 2 steps noted), I have created two virtual servers ( on port 80 and port 443). One issue remains, the status stays as "UNKNOWN" for both virtual ...
Fuchan_Tan_3092
Apr 10, 2012Nimbostratus
Thank for the expert knowledge. Set the pool as default seems like a simpler solution. I will give it a try.
Yesterday I learned that it is because no health monitoring. So I did something like the following and it works.
LocalLBPoolMonitorAssociation localLBPoolMonitorAssociation[] = new LocalLBPoolMonitorAssociation[1];
String[] monitor_templates = new String[1];
monitor_templates[0] = "tcp";
localLBPoolMonitorAssociation[0] = new LocalLBPoolMonitorAssociation();
localLBPoolMonitorAssociation[0].setPool_name("your pool name");
iControl.LocalLBMonitorRule localLBMonitorRule = new iControl.LocalLBMonitorRule();
localLBMonitorRule.setQuorum(0L);
localLBMonitorRule.setType(iControl.LocalLBMonitorRuleType.MONITOR_RULE_TYPE_SINGLE);
localLBMonitorRule.setMonitor_templates(monitor_templates);
localLBPoolMonitorAssociation[0].setMonitor_rule(localLBMonitorRule);
i_interfaces.getLocalLBPool().set_monitor_association(localLBPoolMonitorAssociation);
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