This is Part 1 of setting up the native Infoblox IPAM integration with VMware vRealize Automation. In this blogpost I will show you how to do the required setup of Infoblox NIOS to be used by vRealize Automation. Instead of Infoblox I will be using a Microsoft Server for DNS.

Infoblox NIOS setup

Create Cloud API account

Using an administrator account which is a member of the cloudapi-only group is highly recommended as this allows the Infoblox IPAM plugin to send detailed Tenant information to NIOS.

To create the Cloud API account:

  1. Navigate to Administration -> Administrators -> Admins in your Infoblox Grid Manager GUI.

  2. Click on the + (Add) button.

  3. Select Local as Authentication Type. Give in your Credentials. Select the cloud-api-only Admin Group. Click Save & Close.

NIOS

Add Permissions to the Cloud API account:

  1. Navigate to Administration -> Administrators -> Permissions in your Infoblox Gris Manager GUI.

  2. Select cloud-api-only Group and change permissions accordingly.

Initially, I set everything to be allowed (RW) and then restrict these as required later on by removing permissions that are not needed.

NIOS

Add Extensible Attributes

Additional Extensible Attributes (EA’s) are required in NIOS. These include the following EA’s, with the type that they should be created as noted in parentheses (note: Only the name to be used for the EA is in bold. The remaining information indicates the EA type, such as integer or string):

  • VMware NIC index (integer)
  • VMware resource ID (string)
  • VMware On-Demand Network (string)
  • VMware Network Profile (string)
  • VMware External Network Profile ID (string)
  • VMware External Range ID (string)
  • VMware Request ID (string)
  • VMware Blueprint Request ID (string)

To create the required EA’s:

  1. Navigate to Administration -> Extensible Attributes in your Infoblox Grid Manager GUI.

  2. Click on the + (Add) button.

  3. Enter the name for the EA, as displayed in bold in the list above.

  4. Set the Type dropdown menu to the required setting (refer to the list above).

  5. Optional: Add a comment.

  6. Click on the small arrow next to Save & Close and select Save & New to add additional EA’s, or click on Save & Close if done.

NIOSNIOS

Add Microsoft server

To integrate and use an external Microsoft DNS server we have to add a Microsoft Server to Infoblox.

To add a Microsoft DNS server navigate to Grid -> Microsoft Servers in your Grid Manager GUI.

  1. Click on the + (Add) button.
  2. Give in your Domain admin Credentials to connect to the Microsoft Server(s). Select your Infoblox server as Managing Member and Click Next.NIOS
  3. Select Use General Credentials to connect to Microsoft DNS/DHCP services.
  4. Select Use General Synchronization interval. Change Manage DNS and DHCP Services in Read/Write and Click Next.NIOS
  5. Select Use General Credentials for synchronizing for Active Directory information.
  6. Select Use General Synchronization interval. Change Manage Active Directory Sites in Read/Write. Select No Encryption and Click Next.NIOS
  7. Give in the Name or IP Address of the Microsoft DNS server and select DNS Sync and Active Directory Sites.
  8. Override DNS Monitor & Control and select it. Override DHCP Monitor & Control and de-select it.
  9. Click Next. Save & Close.NIOSNIOS
  10. Go back and edit the Microsoft Server.
  11. Go to Permissions. Click + and Add the cloud-api-only Group. Change permission to Read/Write. Click Save & Close.NIOS
  12. Click on the Microsoft server and select Test Microsoft Server. If everything is green, all is working and the Microsoft Server is setup correctly.NIOS

 

Create Network

To create the networks which will be used for IP address assignment with the Infoblox plugin for VMware:

  1. Navigate to Data Management -> IPAM in your Grid Manager GUI.
  2. Click on +. Select (IPv4) Network.
  3. Select Add Network. Click Next.
  4. Set the Netmask. Click + to type in the address of your Network. Click Next.NIOS
  5. Click +. Select Add Infoblox Member. If you have a single server, this should be automatically selected. Click Next.NIOS
  6. Select Assign these Active Directory Domains/Sites. Select your Active Directory Domain and Site, then click Add. Click Next.NIOS
  7. Override the Routers, Domain Name and DNS servers section and add the correct information. Click Next.NIOS
  8. Click Next. Click Save & Close. Do a Service Restart.
  9. Go back and edit the Network.
  10. Go to General. Select Disable for DHCP.NIOS
  11. Go to Permissions. Click + and Add the cloud-api-only Group. Change permission to read/write. Click Save & Close.NIOS

Add Range

Because I don’t want to use the whole Network for IP address assignment a Range has to be created.

To create the Range:

  1. Navigate to Data Management -> IPAM in your Grid Manager GUI.
  2. Select the created Network. In the Toolbar, Click on + (Add) and Select (IPv4) Range.
  3. Select Add Range. Click Next.NIOS
  4. Give in a Start IP and a End IP. Optional, give it a Name and Comment. Click Next.NIOS
  5. Select Grid Member and select your Infoblox Server. Click Next.NIOS
  6. Click Next. Click Next. Click Save & Close.
  7. Go back and navigate to Data Management -> DHCP -> Networks
  8. Click on the Network. Click on the Range and select Edit.
  9. Go to General. Select Disable for DHCP.
  10. Go to Permissions. Click + and Add the cloud-api-only Group. Change permission to Read/Write. Click Save & Close.NIOS
  11. The Infoblox Server is now setup correctly for IPAM and DNS.

NIOS

NIOS

 

Now, go to Part 2 for how to install the Infoblox plugin.

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

 


Other articles in the series vRealize Automation: