Forum Discussion
shiff_128078
Nimbostratus
Jul 10, 2004Please Help!!!
I am not the developer of this application, but the network admin so please keep that in mind with your answers. We have written a webgui to allow us to take many nodes offline and online at once acc...
Jul 10, 2004
Glad to!
But first, can you supply a section of your source code where you show the method calls and the setup and assignment for the input to the set_state() method.
Odds are that you aren't assinging the parameters correctly and passing in the IPPortDefintion array incorrectly. Code should look something like this.
ITCMCommonIPPortDefinition [] node_defs = new ITCMCommonIPPortDefinition[1];
node_defs[0] = new ITCMCommonIPPortDefinition();
node_defs[0].address = "10.10.10.10"; // or the ip address of the node server.
node_defs[0].port = 80; // or the port of your node server.
int state = 1; // 0 == disabled, 1 == enabled;
nodeInterface.set_state(node_defs, state);
The next step you can do is to enable parameter level debugging on the BIG-IP. You can do this with the "Local.Bigip.CORBA.LogLevel" database variable on BIG-IP. Setting this to the value of "DEBUG" and restarting the portal (bigstart restart) will start dumping alot of data into the /var/log/ITCM.log logfile. This will include all parameters to all method calls which can help in diagnosing any input issues.
But, first, pass along your snippet of code and I'll see if I can see anything from that.
-Joe
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