A deep dive into datacenter technologies like virtualization, automation, backup, and networking – bridging the gap between enterprise-grade solutions and practical implementations for SMBs and/or home labs.

Author: admin

Automated Server OS installation with IPXE – part2

In the second part, we take a look at the PHP scripts that will generate the necessary files to boot our servers as well as how to get all the needed information and data to successfully install an ESXi Host.

For ease of understanding, I´ll start with a “fake database” PHP file.
As I can´t give the code for our database backend I´ve created this fake script to show the idea behind the whole thing.

Automated Server OS installation with IPXE – part1

Several years ago we had the challenge to install more than 300 physical servers as fast as possible. As booting and installing based on PXE was not possible due to not changing external reasons we had to find a different approach. Creating a custom ISO file for every system was also no real option as it would consume a lot of disk space and would be unflexible to handle, so I needed an automated Server OS installation procedure.
Finally, I got the clearance to write this series of posts and I´m going to explain how I solved that challenge and reduced the pure installation time to only a few hours.

The interesting thing about the complete setup is the ability to install almost any OS and any device anywhere as long as you can establish a connection to a network path or share.
You can exchange the ISO file with a USB stick and run the installation that way. When you have no DHCP available, just set up your embedded IPXE script to a static ip that´s available in your network.

Powered by WordPress & Theme by Anders Norén