This is Part 4 of setting up the native Infoblox IPAM integration with VMware vRealize Automation. In this blogpost I will show you how to do the vRA setup for Infoblox IPAM.

vRA setup for Infoblox IPAM

Before proceeding make sure that vRealize Automation has a basic setup with at least one:
  • Tenant
  • Business Group
  • vSphere Reservation
  • Single machine blueprint
  • Catalog Service
  • Entitlement

Create Infoblox NIOS Endpoint

  1. Connect to your vRA appliance and launch the vRealize Automation console.
  2. Log in using the account that has been created in vRA. In my case, I have created the account “vraadmin” in the domain vsphere.local
  3. Navigate to Infrastructure -> Endpoints.
  4. Drill down through the + New menu and select IPAM -> Infoblox.vRA Setup
  5. Provide the connection details for the connection to your Infoblox appliance.vRA Setup
  6. Go to Properties and add the Infoblox.IPAM.APIType property to use the Cloud API instead of the default WAPI. Click OK.vRA Setup
  7. The Infoblox NIOS endpoint for IPAM will now show in the endpoint list.

Create External Profile

Create the External network profile which will be used to set the network parameters for a machine blueprint.
  1. Under Infrastructure -> Reservations -> Network Profiles, expand the + New menu and select External.vRA Setup
  2. Set the parameters for the profile and select the Infoblox NIOS endpoint for IPAM.vRA Setup
  3. Switch to the Network Ranges tab.
  4. Click on the Address space menu and select the Network View in NIOS that you want to use for this profile.vRA Setup
  5. Click on + Add button.
  6. Click on the Search button.
  7. Select the network or range in NIOS that you want to be used for IP provisioning. Click OK to close the Network Range selector.vRA Setup
  8. Select the range to verify its DHCP options.vRA Setup
  9. Click OK to save the network profile.

Add a Reservation

Under Infrastructure -> Reservations -> Reservations, add the configured External Profile to an existing Reservation. vRA Setup

Create Property Group

During the Infoblox plugin installation a default Property Group, Infoblox-Default, was created.vRA Setup
The properties in this group are used by vRealize Automation to tell Infoblox how to register the IP address during deployment of a VM and if a DNS record needs to be created.
  1. Under Administration -> Property Dictionary -> Property Groups, select the Infoblox-Default property group and make a Copy.
  2. Give the Property Group a name and a description.
  3. Edit the Properties as follows, and click Ok to Save.
    • Infoblox.IPAM.createFixedAddress = FALSE
    • Infoblox.IPAM.createAddressAndPtrRecord = TRUE
    • Infoblox.IPAM.Network0.enableDhcp = FALSE
    • Infoblox.IPAM.createReservation = TRUE
    • Infoblox.IPAM.createAddressRecord = FALSE
    • Infoblox.IPAM.Network0.enableDns = TRUE
    • Infoblox.IPAM.createHostRecord = FALSESetup

Edit existing Single Machine blueprint

  1. Under Design -> Blueprints, select a simple existing machine blueprint to edit.
  2. In the design canvas, select the Existing Network component.Setup
  3. Under de General tab, select the Infoblox Network Profile and click Ok.Setup
  4. To show the IP address range, go to the IP Ranges tab.Setup
  5. To show the details of the IP address range, click on IP Range Details. Click Close. Click Save.Setup
  6. In the design canvas, select the vSphere Machine component.
  7. Under the Network tab, verify that the Infoblox Network Profile is available with a Static IP Assignment Type.Setup
  8. Under the Properties tab, add the Infoblox Property Group. Click Save. Click Finish.Setup
  9. Make sure that the blueprint is published and added to your catalog with the correct entitlements before proceeding.

 

Request Single Machine blueprint

  1. Go to the catalog and request your blueprint.vRA setup
  2. Fill in a description and click Submit.vRA setup
  3. Go to Requests and wait for a successful deployment.vRA setup
  4. Go to Items and select your deployment. Check the provided IP address.vRA setup
  5. Go to the Infoblox Grid Manager and show the IP, DNS and Tenant details of your provisioned machine.
  6. Check if your machine can be pinged by name.

 

If this is working, then you have correctly setup the native Infoblox IPAM integration with VMware vRealize Automation and you can throw your IP and DNS Excel sheets out of the window 😉

[Back to Infoblox & vRealize Automation, IP Address Management (IPAM) made easy]

 


Other articles in the series vRealize Automation: