Forum Discussion

Daniel_Ramey_10's avatar
Daniel_Ramey_10
Icon for Nimbostratus rankNimbostratus
Mar 27, 2006

iControl popup dialogue box.

Greetings all,

I have 2 different versions of BigIP v4. v4.11 and v4.14. We have a vbs script that takes servers out of the pool. When it does this it pops up a dialogue box that has the IP address of the port about to be disabled as well as a single OK button. The script will not complete until it is clicked. As you can imagine this might be a hang up for automation. The odd part of all this is the fact that the same script (barring the line: bigipReq.node_Login "192.168.xx.x", "xxx", "xxxxxx", "xxxxxxx") works for the v4.14 version and does NOT throw the popup dialogue box. Is there something on the BigIP that might have changed between versions to account for this odd behavior?

Thanks, and here is part of the .vbs script below.

dram


Set bigipReq = Nothing
Set bigipReq = CreateObject("iControl.BIGIP")
bigipReq.node_Login "192.168.xx.x", "xxx", "xxxxxx", "xxxxxxx"
node_ips(0) = strDomain
Set nodes(0) = CreateObject("iControl.ITCMLocalLB.Node.ITCMCommonIPPortDefinition")
nodes(0).address = strDomain
nodes(0).port = 80
bigipReq.Node.disable_nodes(nodes)
Wscript.Echo "Server Disabled in BIG-IP"
mystring = strcomputername + " Disabled  in BIG-IP, IP of the server is " + strDomain + Cstr(Now) + chr(13) & Chr(10)  
Logfile.write(mystring)
Wscript.Sleep 10000
  • As I dig deeper on this issue, I have found that the VB script is apparently calling an iControl.dll file. This appears to be compiled from many different .vb files. Is this something that could have been provided by F5?

     

     

    Thanks,

     

    -= dram
  • If it was provided by F5, then it definitely wasn't part of our standard iControl SDK distribution. I'm not sure where you got it from.

     

     

    Since this script looks relatively simple, I'd suggest you download the SDK and write a quick C command line tool using the WSDL in the SDK. It won't be script based, but it will work and you'll have the source for it.

     

     

    There are reference samples in the SDK that you can use as a starting point.

     

     

    -Joe