Two things I’d like to address before we start. After the first post, I received comments about the budget. It was too expensive. Especially for a lab environment, a lot of readers tend to pick up used hardware, plug in some local storage or install a software NAS and be done with it. “Good enough for a home lab” and I agree with that motivation. If you are a student with only a couple of hundreds to spare and not 5.000, this will also do the trick for you. But from an SMB perspective, you should want a supportable infrastructure where in case of defects you have someone to fall back on (HP, QNAP, VMware). The focus for SMB should be that it is a production environment. You can’t really afford the system to be down. Other comments I got were about single points of failure, specially with regards to NAS and switch. My response to that is: True, these are single points of failure and you could cover them by buying two of each. This will augment your budget with about 1.500 euro’s ($1,700). If you can afford that, superb, by all means go for it. The focus of this article, however, is to put you into business as cheap as is supportable. Therefore I choose the configuration the way it is in this article.
Right, that being said, let’s get started with the build.
Server Assembly
The server we selected is the HP Microserver Gen8. It’s a very basic little cube that is not rack-mountable but then again, most smaller companies just have an IT corner instead of a serverroom. The box is very compact. The server comes packed with a powercable and a documentation package. As you may remember from the previous post, we also purchased two 8GB RAM modules and a MicroSD card. So, after unboxing and unwrapping everything,
To install both the RAM modules and the MicroSD card, we need to open the server. This is quite easy. On the back there are two thumbscrews that are quicly undone without the aid of any tools. Once you pull the cover back and up, you will find both installation locations.
The RAM modules are located on the other side of the server. Carefully push down the brackets on both ends of the memory slot to remove the SD-RAM module that came with the server (either 2GB or 4GB, depending on the ordernumber). After we’ve installed the two 8GB modules, you can store this
Two remarks I’d like to put here. First, the MicroSD cardslot is not hotplug. Bare that in mind if you run into trouble while installing or otherwise. The card is only detected correctly by the server when the card is properly inserted in the slot before you push the powerbutton. Second, in the kitlist we included a low profile network card by HP. As we purchased this card after we did the build, it’s not included in this instruction. However, it is installed just as easily as the other components. No tools needed. You do need to unplug the small plug next to the memory modules and the powerplug located next to the MicroSD cardslot. After that you can unscrew the thumbscrew on the back of the server and pull back the mainboard. Push down on the cardslot to remove the spacer. Now you can slide in the networkcard, push it down into the PCIe slot and push down the locking mechanism to secure the card. Slide back the motherboard into the case and reattach the plugs you unplugged before.
Now, before we move on, it is important to have your installation media prepared. You can either use a USB stick or a USB CDROM but your server does not offer any other manual options (not quite true, you can do a networkboot if you have a networkbootserver with an ESX image available). In this case we went for the easiest and quickest option, which is a USB stick. Now, VMware does not offer a bootable USB image. You can download the ESXi ISO image and put that on a USB drive. Please do note that HP offers a special ISO image for ESX. This image includes the optimal drivers for HP hardware as well as drivers for the systems management chips inside the system. It is recommended to use this HP image. Now, to make your USB bootable, we have used a tool called Yumi USB Boot. This can be downloaded at the Pendrive Linux website. Yumi is a Windows tool that lets you select an ISO image, the HP ESX image in our case, and mount
When you pressed F11 and selected the USB Boot option, you should see the bootmenu. Move down to the GRUB option, press enter, you should now see your HP ESX entry. Select this and press enter again. The ESX bootable installer should now start and you are presented with the default screens. Please follow the instructions on the screen. When you have to select the disk where to install ESX, it should display the MicroSD card as “HP ILO”. If it does not display this, your card is pobably not mounted or working correctly.
When you are really doing this step by step, you of course have 2 other servers to configure, but this should be a piece of cake by now. As the installation procedure takes a while, we’ll move on the the storage part here. Preparing the QNAP NAS also takes some time.
Storage Assembly
- The QNAP NAS itself
- A poweradapter and powercable
- Two networkcables
- An infrared remote control
- Screws for 3 1/2 inch and 2 1/2 inch harddisks
Now, one thing I do not get, is why there are two networkcables. The QNAP NAS has four networkinterfaces and as IT guys, we love to use them all. Why not include four cables then? It’s not like the purchase price will go up by tens of euros or dollars. Anyway, to connect them all, you will have to buy two more cables of about 1.5 meters.
We are going to configure the SSD for cache and the three Seagate disks as a RAID 5 volume. Because this NAS has 4 drivebays, we are a bit limited in the amount of disk configurations we can pick from. The SSD is taking up one slot, leaving 3 open slots. The most safe construction for your data is to put the three disks in a RAID 5 volume. This way the data is striped over 3 disks. For every write action to two disks, one parity block is written to the third. Basically, if you have 3 disks, you offer up 1 disk in space for parity blocks for data safety. In total we will be having slightly less than 4 TB storage available, where the SSD will speed up reads from the NAS with a predictive algorithm. This way data is even more quickly available for ESX to process.
QNAP does allow for a write cache as well,
When you log on for the first time, you will be greeted with the first boot wizard. This wizard will guide you through the initial setup, selecting your disks, setting up RAID and preparing for general NAS service. This QNAP NAS has several functions and options, but as this article is focussed on setup in
As we have a ‘non-standard’ disk configuration (one SSD with three HDD’s) you need to pick “Configure Disks Later” in this screen. The last screen gives you an overview of what you configured. When you click “apply” the settings are made active and you can log into the admin interface.
Next, in the Admin interface, select Storage Manager. This screen shows you the plugged in disks and a wizard to configure them. Select the three Seagate disks and configure them as a RAID 5 set.
QNAP also has the option of iSCSI to connect to ESX. Now, we picked NFS for a couple of reasons. First, NFS is easy to configure. We create the share, select the IPs who can connect, run throught the wizard on the side of ESX and we’re in business. Second, iSCSI traffic is pretty specific and not handled equally well by every switch that is out there. We’re using a good switch but it’s not optimized for high throughput traffic. NFS is the safest bet that will work like a charm in this environment.
In the next part, we will configure ESX, connect to the storage, install vCenter and deploy our first virtual machine.