Forum Discussion

vishal_124938's avatar
vishal_124938
Icon for Nimbostratus rankNimbostratus
Jul 09, 2014

How can we complete vCMP setup using iControl API after we create new vCMP Guest

Hi,

 

I am trying to create a vCMP guest using iControl API (interfaces.getSystemVCMP().create)

 

When we login to this vCMP device, there is a setup utility page that opens up. User needs to finish this setup for proceeding further with this vCMP device.

 

How can we complete this setup using iControl API?

 

5 Replies

  • Hi Vishal

     

    To do this in a fully automated fashion, you use the create call as you mention, then you must poll for the availability of the vcmp guest on the IP address that you specified as its mgmt address in the create call.

     

    Best option is to perform a system_systeminfo_get_version call - nice and simple and will tell you when icontrol is ready for calls. To disable the setup UI, you can set a variable (I think there is a direct call to do this, but this will do the trick just as well) urn:iControl:Management/DBVariable - change 'setup.run' to false.

     

    However, that is purely cosmetic - you can continue to run icontrol scripts against your guest without modifying that variable. The vcmp guest can be fully configured but still display the setup wizard during a web logon.

     

    Your next steps will be setting a self IP address (no need for vlans as they were created in the vcmp host), and creating pools/virtual servers. Don't forget NTP! NTP is absolutely critical within a vcmp environment for both vcmp host and guest.

     

    There is little difference at this point between configuring a physical F5 and a vcmp guest - most of the same icontrol calls apply, you just dont have physical interfaces to manage.

     

    Best of luck. Ross