Forum Discussion
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
- Ross_79170
Nimbostratus
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
- vishal_124938
Nimbostratus
Thank you very much Ross. That worked great. Can you point me to the iControl API to set the NTP? I did not find this option in the BigIp GUI - shaggy
Nimbostratus
iControl :: System :: Inet :: set_ntp_server_address https://devcentral.f5.com/wiki/iControl.System__Inet.ashx - vishal_124938
Nimbostratus
Thanks a lot. It worked
Recent Discussions
Related Content
* 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