Recently I was requested to build a 96 node bare metal linux environment to service Hadoop, open-stack,docker, etc all on the fly. Building 96 nodes individually was not something I was willing to tackle and it forced me to look at different tools.
In my search I evaluated cobbler, stackiq, and just raw pxe booting from kix-start files. All had different challenges to overcome.
cobbler which is open source is great but was a bit combersome to me. I needed something i could ramp up on quickly and get this project off the ground.
I have a current PXE boot environment that works great for PXE ESXi, and CentOS with KIX-Start files but its very hands on requiring different amounts of configuration to get it to a useable state (ip configs mostly).
Stackiq had 1 great feature that really appealed to me and that was ability to upload data via CSV. Now I know many of you are probably saying, dude you should be doing this via database or some sophisticated tool. Great show me the tool that does bare metal soup to nuts in half a days work and Ill gladly give it a try.
Here is a sampling of the install process from their page (updated by me to reflect the correct files to load and install)
Their instructions dictate not to mix and match versions 3.5 and 4.0 between each other.
NOTE: CentOS revisions will change along with updates.
# CentOS 7 Requirements
– CentOS “Everything” version 7 ISO
– CentOS Updates version 7 ISO:
– The Stacki Pro pallet 4
– The Stacki UX pallet 4
– After two weeks, a Stacki Pro license
# CentOS 7 Setup
#### Install the CentOS and CentOS-Updates pallets
# stack add pallet CentOS-7-x86_64-Everything-1611.iso
# stack add pallet CentOS-Updates-7.2-0.x86_64.disk1.iso
# stack enable pallet CentOS CentOS-Updates
#### Disable the stacki os pallet
# stack disable pallet os
#### Install and run the stacki-pro pallet
# stack add pallet stacki-pro-4.0_20170420_fe85f12-7.x.x86_64.disk1.iso
# stack enable pallet stacki-pro
# stack run pallet stacki-pro | bash
#### Reboot the frontend
#### Install and run the stacki-ux pallet
# stack add pallet stacki-ux-4.0_20170421_0fdf750-7.x.x86_64.disk1.iso
# stack enable pallet stacki-ux
# stack run pallet stacki-ux | bash
#### Reboot the frontend
After the frontend reboots, point your web browser at the frontend and you
should see the StackIQ web GUI. On CentOS 7, you may need to wait a few minutes
after the initial frontend install for RMQ services and NodeJS server to start
before using all GUI features.
Note, I found the gui not super useful, but rather do most of my work via the CLI.
#Lists the hosts config files
#display list of hosts
stack list host
#set the install status (you can use wildcards here <host*>)
stack set host boot <host> action=install