To integrate your Infoblox server with your CloudBolt instance follow these simple steps.
Configuring Infoblox in CloudBolt’s Web Interface¶
- Log into CloudBolt as an admin user
- Navigate to Admin -> IP Management
- Enter the appropriate credentials for a new Infoblox integration point or edit the existing one
- Save the changes
Enable the Infoblox related plug-in actions¶
CloudBolt ships with a few sample plug-ins that can interact with Infoblox server registered with Cloudbolt on the previous section. The use case included in the samples consists of pre-allocating IP addresses, and creating DNS and DHCP entries for a host in Infoblox. The VM being created is setup for DHCP but the IP it gets can be considered static for all intents and purposes, because the MAC is registered with Infoblox’s DHCP to always return the preallocated IP. If you are using the combination of Infoblox + VMware and would like to configure the VMs for static IP, please contact us.
The sample plug-ins make use of specific CloudBolt parameters that should be manually created if you want to use this sample integration.
Required Parameters for the Sample Plug-ins¶
Create these two parameters in CloudBolt (in the Admin –> Parameters part of the UI) before enabling the Infoblox actions:
- Host FQDN (label: ‘Host FQDN’, name: ‘host_fqdn’, type: ‘String’) - the fully qualified domain name that will be registered in the Infoblox DNS.
- Infoblox IP (label: ‘Infoblox IP’, name: ‘infoblox_ip’, type:’String’) - Stores the IP assigned to the host record in Infoblox. This is set on the server record in CloudBolt prior to application installation.
Infoblox 01 - Calculate FQDN and Allocate IP (Trigger point: Pre-Create Resource)¶
Enable this plug-in if you want to allocate an IP with Infoblox for the server being provisioned. This plug-in will use the value of the host_fqdn parameter on the server if it is set. If not, the plug-in will combine the hostname of the server and the dns_domain and set this on the server as host_fqdn.
Infoblox 02 - Setup DHCP for Host (Trigger point: Pre-Network Configuration)¶
Enable this plug-in action if you have you server configured for DHCP and want to make sure the Infoblox controlled DHCP server returns the IP allocated in the previous action.
Infoblox 03 - Make sure server IP matches Infoblox (Trigger point: Pre-Application)¶
Enable this plug-in if you have a configuration manager (such as Chef) that needs line of sight to your server and you need to set the IP on the server record in CloudBolt to the IP that was allocated by Infoblox.
Infoblox 04 - Delete Host Record (Trigger point: Post-Decommission)¶
Enable this plug-in if you want CloudBolt to make API calls to Infoblox to delete a host record and free up the IP allocation whenever a server is deleted using Cloudbolt.