I love virtual appliances. All of the ease of use, none of their subpar hardware. If you already have a highly available, redundant virtual infrastructure, why would you add hardware that is outside of your control? Plus, you can replicate the “appliance” to have a cold standby that you can bring up in minutes, should there be a problem.
Recently, I have run into some issues with virtual appliances and the latest VM hardware version in VMware 6.0 update 2 (VM version 11). With VM hardware 11, there are some changes to the underlying virtual hardware relating to serial ports. We run Kemp Virtual LoadMaster appliances and had to open a case because the appliances were generating an error every minute stating “ttyS0: ioctl: Input/output error” and “init: Id “S0” respawning too fast: disabled for 5 minutes.”
A quick Google search revealed results for Linux distributions that all referenced serial ports. “But these do not have serial ports,” was my thought. Kemp support was quick to offer a work around. . . add a serial port to the VM and direct its output to a file. Sure enough, adding the serial port fixed the problem. (See here for how to add a serial port to a VM.)
We are also utilizing Infoblox virtual appliances for DNS and IPAM. Fast forward a couple of weeks, I needed to restart our Grid Master appliance for our Infoblox environment (our environment is a Grid Master inside the network with two slave DNS appliances on the outside). While starting up, the appliance would go through its normal POST and get so far in the boot process and stop at the screen that said “Emergency prompt not entered, continuing to boot.” I ran into the same issue a couple weeks prior when we upgraded our Infoblox environment to 8.0.1 with the outside slave appliances. The fix from Infoblox was to redeploy those servers as new 8.0.1 appliances and resync the databases. I did not have that luxury with the Grid Master and my suspicion that the replica VM would be affected by the same issue, was confirmed. I opened a case with Infoblox support with mild panic setting in. As I was put on hold to talk to the engineer, I had a revelation, “what if the appliance was looking for a serial port?” I quickly added a serial port, redirected the output to a file on the replica, and started it up. It paused at the “Emergency prompt not entered, continuing to boot” screen, then proceeded to boot. I told the engineer that I fixed the problem and performed the same procedure on the production appliance. I asked if they had similar experiences with other customers running virtual appliances and was told they were not aware of the issue. I also explained I had run into the issue previously with two other virtual appliances and it might be something they may want to add to their knowledge base. I could not believe I was the only person that had run into this issue, and hope this post may help anyone else who finds themselves in a similar predicament.
Tech Talk Live is the only conference of its kind in the region specifically designed for IT pros in education.
1020 New Holland Avenue, Lancaster, PA 17601