Bare Metal Provisioning
by Thomas Lee, Infoblox Technical Marketing Engineer
This document describes a possible method for implementing bare metal provisioning utilizing Infoblox’s NetMRI and IPAM products.
The aim of the process described here is to allow the customer to deliver network devices to their site and then have installers rack and connect the servers to power and network and have the devices come up onto the network with the correct configuration with no input from the installers.
Sequence of events
The following diagram shows the steps involved and the sequence of events, between the device to be provisioned, the Infoblox DHCP server and IPAM servers along with the NetMRI Network Automation server.
- Engineer installs the device in the correct location, connects the device to the network and powers it up.
- The Device starts up and sends out DHCP request for IP and location of a server to pick up a configuration from.
- The DHCP server identifies the correct range to issue an IP address from, based on the gateway address in the initial DHCP Discover message.
- The DHCP server returns the IP address for the device, along with the location of the server to pull the default configuration from (In this case, the NetMRI server).
- The DHCP server informs NetMRI via syslog that it has issued a new lease, providing the IP address.
- The Device contacts NetMRI to request a configuration file.
- NetMRI returns the default config file to the device – this contains three items of information that are important for NetMRI in this process:
- A node name that identifies it as a device that is to be provisioned – for example – autoconfig.
- A SNMP v1/v2c community string or V3 details that is known to NetMRI, so it can discover the device.
- A local Telnet/SSH user that NetMRI knows of, so that it can discover and pull configurations from the device, and more importantly, also to push configuration to the device once it has been discovered.
- The Device Reloads using the default configuration file.
- NetMRI attempts to discover the device, using the known credentials.
- The device responds with the request information to NetMRI.
- NetMRI identifies that this is a device that BMP is applicable for.
- NetMRI builds up the correct configuration for the device, based on a template configuration, using the following information to pick out the configuration template to use:
- Device Type
- Device Vendor
- Device OS
- Device Model
As well as identifying the correct template to use, NetMRI will look up the IP address within IPAM, identify the range it was issued from and pull the extensible attributes to create the permanent node name for this device.
NetMRI could also look up other extensible attributes from IPAM, if for example other attributes were utilized to hold details for the following types of data:
- Permanent SNMP sysLocation
- Community String
- Syslog server
- TACACS server
- DNS servers
- Helper Addresses
- NetMRI pushes the now complete configuration to the device and reloads the device.
- The Device reloads and comes up onto the network with its permanent configuration.
- NetMRI now accesses the IPAM solution to convert the DHCP lease that was given to the device into a Fixed Reservation within the IPAM/DHCP solution.
For more information on bare metal provision, please see the following link: https://docs.infoblox.com/display/ILP/NetMRI