Forum Discussion
Wade_98751
Nimbostratus
Aug 15, 2008Having .initialize issues
Good morning,
Need some assistance initializing (objIControl.initialize) as it fails to return true. I downloaded the iControlAssembly and ran the testclient which also returns the err...
Wade_98751
Nimbostratus
Aug 27, 2008Yes, the direct linked worked. sorry to bother with stupid PEBKAC questions.
Also, great news, I compiled the SDK code as you suggested and made my first successful connection to the BIG IP. I loaded the VB .Net project 'iControl-9.6.0\sdk\samples\soap\vb\microsoft\LocalLB\Pool' and built a pool.exe which connected successfully from a command prompt once I learned the proper parameters to pass it. I'm so stoked.
My next steps are to look at the pool.vbproj and see what code I can use to make a connection to the big ip and gracefully shutdown a node. It's definately a lot more complicated to get the initialize connection up and running in C or VB .Net than this article leads you to believe http://devcentral.f5.com/Default.aspx?tabid=68. I wish it were as simple as only adding a reference iControl.dll to a vb or c project. Let me know how I missed the bus here if you can.
My main goal is to integrate that code call into VBScript if possible to work inconjunction with a weekly IIS 6.0 web server reboot job we run after hours. The code is important because we want to stop connections to the web application gracefully before we reboot. There's a similar app written out on the devcentral site but its written in perl http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=254.
I'm not sure if I'll be able to instantiate the iControl objects from a vbscript. If not, I'll write something similar to the pool.exe in VB .Net and use WMI to start the pool.exe process remotely and pass it parameters so I can keep the whole process automated.
Let me know if you know a more succinct way to accomplish my goal.
Thanks for your ideas and assistance!
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
