Forum Discussion
Fuchan_Tan_3092
Nimbostratus
Apr 09, 2012How 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 ...
Jonathan_Scholi
Cirrostratus
Apr 10, 2012If you've already created the virtual server, you can use the set_default_pool_name() method, but I find it easier to apply the default pool at the time of virtual server creation. Something like:
LocalLBVirtualServerVirtualServerResource[] resourceArray = new LocalLBVirtualServerVirtualServerResource[1];
LocalLBVirtualServerVirtualServerResource poolResource = new LocalLBVirtualServerVirtualServerResource();
poolResource.setType(iControl.LocalLBVirtualServerVirtualServerType.RESOURCE_TYPE_POOL);
poolResource.setDefault_pool_name(poolNameVariable);
resourceArray[0] = poolResource;
iControlInterfaces.getLocalLBVirtualServer().create(commonVirtualServerDefinitionArray, wildmasksString, resourceArray, localLBVirtualServerVirtualServerProfileArray); Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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