Project Details
Customer
Former Employer
What we did
Automate the process of server creation
Year
2013
Language
Perl Bash
API
VMware vSphere Infoblox Foreman OP5 Monitor
Lines of code
~ 4000

Automate the process of server creation

This project involved the automation of all the necessary steps that were needed to create a server in the customers infrastructure. This involves,

  • Aquire an IP address from Infoblox and create specified aliases (CNAME’s)
  • Create a new instance in VMware with specified hardware (CPU / Memory / Disk)
  • Attach the instance to the specified VLAN interface as well as the correct storage pool
  • Boot the server and PXE-install it with the correct profile (this was done via PXE because of legacy reasons)
  • Once the server was installed, puppet got in place and configured it accordingly
  • The final step was to add the newly installed server to the monitoring system OP5 Monitor

This was achived with a lot of API-calls to the various infrastructure components. There is a lot of sanity-checking and error-handling involved since there are so many moving parts. The infrastructure is very standardized and this project was mostly about gluing all the parts together.