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 14, 2004
I don't see any problems with your code. I've got a couple of questions.
1. First things first, have you verified that the node servers exist for all your entries in the database? I know it's an obvious question, but one worth asking... The LocalLBNode sample in the SDK should print out all Node Servers configured on the BIG-IP, as will "b node show" on the BIG-IP command line.
2. Secondly, In looking at your code, what happens if the GetString() method returns an empty string? If you have an empty value for the IPAddress, or HttpPort column, you could end up with a IP address of ":", "10.10.10.10:", or ":80" all which would probably succeed in your Split() code (although I haven't verified that). Are you sure that all of the records return valid values for the IPAddress and HttpPort columns?
3. Your code specified that set_availability() is called before set_state() but the IPPortDefinition parameters to each are identical (as far as I can tell). It seems odd to me you are getting an error from set_state() and not the set_availability() before it. Can you determine where in the code this is failing? Is it on the first HttpPort call, or the HttpsPort call?
Debugging the inputs to GetIpPortDefinition() might help out
private ITCMCommonIPPortDefinition GetIpPortDefinition(string ipPortDefinition)
{
System.Diagnostics.Debug.WriteLine("IPPortDefinition: " + ipPortDefinition);
...
}
And run dbwin32 or some other debug monitor application to view the output.
I'll try to mock up an application that uses your code (minus the SQL pieces) and see if I can reproduce a problem in the code.
Let me know if you find anything regarding the configuration on your end...
-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