Saturday, July 8, 2017

From Testing The (Virtual) Waters to Floating With The Machines

Over the last couple of weeks I found myself strolling down memory lane. I felt something was missing, which isn't exactly new or special. It took me a some days to realise that it seemed to be about some special playground. Being involved in Tony's book on virtual machine labs, I felt that just running some VMs on my MacBook Pro via Parallels Desktop wasn't enough anymore. After a year without a "serious" lab to tinker with, I decided to start something new.

Intel NUC7 (left), Alienware m7700 (right)
Shortly after the Intel NUC had arrived and the basic setup was ready to go, I remembered that the machine I ran my very first home lab on was still around. Putting the 12 year old DTR system next to the new "member of the family" brought back some memories of the first challenges and adventures in the Land Of The Virtual Machines. As you can see, I decided to write about the (home) labs, especially about the hardware and software involved. The beginnings lie more than a decade back.

In 2004, shortly after starting a new occupation, I learned about two coworkers who had created a setup to test a virtualisation platform. Having heard and read about VMware Workstation for a couple of months, I hadn't used it at that time. Being curious, I reached out to my colleagues to learn more about what they where "playing" with and what goals they had. They told me about VMware GSX Server and were kind enough to tell me about their plans and to keep me in the loop. Later that year, while at the company's HQ to attend some meetings, I met one of said colleagues in person. After showing me the actual setup and giving me the chance to get (some kind of) first hand experience, he handed be a book and suggested that I could take with me to have a look and return it on my next visit.

I didn't find the time back then to actually read 'Rob's Guide to Using VMware', not to mention work through it (or even parts of it), but looking back, it was the right book to find or have at the right time. It was back then when I was making up my mind about earning some certifications, and I was thinking about ways to learn about the bits I hadn't (and wouldn't have) to deal with at work. After coming across resources like Microsoft's Self-Paced Training Kits etc. and discussing options with friends and family, I decided to create my first home lab.

In early 2005, I started things by getting my own copy of the book mentioned above, the necessary training kits - and a notebook. Back then, Alienware was a valued and (somewhat) independent brand, offering mostly medium to high end machines for gamers. Among other things, they "made" and sold quite nice desktop replacement systems. Mostly because it had very good reviews and offered some interesting configuration options, I chose to order an Alienware m7700 based on:
VMware Workstation 5 (Still have the orig. media set.)
  • Intel Pentium 4 @ 3.6 GHz
  • 2 GB RAM
  • 2x 100 GB HDD
Back then, this was enough to run Microsoft Windows XP and VMware Workstation 5, with the lab itself consisting of up to five (or even six) virtual machines (mostly Windows XP and Windows Server 2003). It was interesting (and challenging at times, of course) to find out what could be achieved using this environment, supported by some USB hubs, USB NICs and networking gear.

This setup served me well for me more than three years, even (maybe even more) after successfully completing the first rounds of certifications. Mostly because of some major changes of circumstances that had quite some impact on almost all parts of my life, I almost completely abandoned this home lab platform and went for almost two years without a playground of this kind.

In the meantime, since "becoming a Mac" in early 2007, Parallels Desktop for Mac (starting with v2.5) became my companion to test and play around with new (mostly but not exclusively work-related) stuff at home. As I had no intention to run a full-blown or even a basic-but-complete home lab, the (slightly upgraded) MacBook served my needs pretty well:
  • Intel Core 2 Duo @ 2.0 GHz
  • 2 GB RAM
  • 80 GB HDD
With some new ideas in my head (in particular investing time and effort into brushing up my humble knowledge and skills re application development), some new goals to pursue and the updated version of the 17" MacBook Pro becoming available in early 2009, I decided to get me that new machine and get things going. Who would have guessed back then that today (in mid 2017) this MBP still is my indispensable day-to-day workhorse? Well, it is, and despite discontinued support (and thus lack of OS updates/upgrades), chances are that I am going to use this computer until something breaks (or some other aspects would render continue running it a very bad idea). The original configuration of the 17" MacBook Pro included:
  • Intel Core 2 Duo @ 2.93 GHz
  • 4 GB RAM
  • 320 GB HDD
Of course, there have been some upgrades over the years, with the current setup (as of today) being:
  • Intel Core 2 Duo @ 2.93 GHz
  • 8 GB RAM
  • 512 GB SSD
Apart from the fact that this MBP still works pretty well even after more than eight years of being used on a daily basis, having an actual portable solution for a lot of different purposes (research/education, development, operations/system administration etc.) made and still makes it easy for me to live with some concessions I had and have to make. If there would be a kind of officially supported way to receive the most recent version of macOS, I think I would keep using this machine "forever". (No, I am not going to dive into what is referred to as 'planned obsolescence', at least not this time, even though being technically able to run v10.12 without (known) problems but being rejected to get it by the MBPs product ID/serial number sure is annoying, to say the least. Anyway.)

Things went on mostly unchanged, even after joining a new employer in 2011, mainly because the aforementioned MacBook Pro hold enough reserve capacities to allow me both, self-teaching me different/additional aspects of software development as well as keeping my sysadmin skills up-to-date (or at least to not fall too far behind). In late 2014, after it had been kept in some sort of quarantine (for quite some weird reasons, actually), I "inherited" the Dell Precision M4600 that had been used by the lead developer who had left about two years ago. The original configuration of the system wasn't too bad:
  • Intel Core i7-2720QM @ 2.20 GHz
  • 8 GB RAM
  • 250 GB HDD
While the agency's two developers where allowed/given multiple test beds, for some reasons the sysadmins never had one. After some discussions with our management, I was allowed to get some upgrades for the mobile workstation that would allow running some (more or less) serious testing environment. The final setup of the M4600 consisted (among other parts) of:
  • Intel Core i7-2720QM @ 2.20 GHz
  • 32 GB RAM
  • 500 GB SSD
  • 256 GB SSD
Running Microsoft Windows Server 2012 R2, this setup proved more than just helpful in a lot of cases over the following months. With VMware vSphere 5.x running in the production environment, it was interesting and instructive to deal with Hyper-V, not only because of the differences in concepts and approaches to solutions of/within the products, but also because things needed to be transferred from one environment to the other and vice versa.

About this time last year, during the final stage of shutting down the agency (a completely different and quite sad/irritating story) the M4600 became the live datacentre for the remaining employees, delivering all the "basic" services still needed, just until the day before everyone (including me) had to leave. Moving the virtual machines almost seamlessly from the vSphere environment to this little Hyper-V server was as interesting as seeing the latter doing a great job at allowing my colleagues to work right to the point where we all had to stop. (A moment of silence for this little hero, please.)

With a tool like the machine mentioned above at hand, I really had no need to think about re-building a "playground"/lab at home, and after moving on the a new agency and an entirely new position, I really didn't think I would even consider it any more. As mentioned in the introduction, things developed different than expected. So in a way, having been involved with Tony's work and book made me think about "returning to my roots", at least as far as some dedicated home lab setup was concerned. Compared to the good old Alienware m7700, the configuration of the Intel NUC sure is a little bit - different:
  • Intel Core i7-7567U @ 3.50 GHz
  • 32 GB RAM
  • 1 TB SSD 
It will be interesting to find out about what is possible with a setup like that, about the limitation of an environment like that (or at least those of the recent configuration), and which challenges as well as inspirations will be found along the way - floating with the machines.

Tuesday, June 20, 2017

A Basic Home Lab with Intel NUC and VMware ESXi - A "Launchpad"

Disclaimer (sort of): the majority of the links below have been inserted into the document and checked on 16.06.2017; as I cannot promise to revise this posting regularly, some links might break over the time.

[Update (12.07.2017): added links for additional tools in Misc./Beyond.]



While working with Tony "da_667" Robinson on his Project AVATAR (which by now has turned into the famous "Black Tome"), I started looking around for options that would meet my (estimated) needs to set up a home lab. For some reason I felt quite early like doing something based on VMware vSphere Hypervisor/ESXi server. With William Lam's virtuallyGhetto being one of the blogs I visit on a (more or less) regular basis, it didn't take me too long to come across the posting captioned 'Update on Intel NUC 7th Gen (Kaby Lake) & ESXi 6.x' (which, of course, is listed below).

After having a nice couple of short and more often than not enlightening chats, I settled for Intel's NUC-Kit NUC7i7BNH. Starting with the postings from virtuallyGehtto and virten.net, it didn't take much more to get my new home lab up and running. Even though I actually hadn't expected to run into much trouble on the way, I was and still am impressed by how easy and well it all went so far. Mostly because of that I thought of sharing the links I used (or found useful when coming across them). After asking on Twitter if anybody would be interested in "just that list" of links, I (obviously) received enough positive feedback to compile this posting.

The list below might serve you as some sort of launchpad. While the sequence of the sections might be helpful for the setup, the links are not at all ordered in a meaningful way. Just have a look and find out what works for you, what sounds interesting. If you are curious enough and have some time to spare, dare to follow some of the links you can find on the respective pages, postings etc. And if you feel like it, just leave a comment, nudge me on Twitter or just link back to this posting on your blog.



General

Well, this may appear to be way too obvious, but maybe it comes in handy to have this link right here.


NUC- & ESXi-Setup

This is the very beginning, the real core - and basically all you might need.


Patches

Security

Yes, this bit might appear to be obvious too, some may think of it as superfluous, but I for one prefer my systems well-patched, at least when it comes to security related updates. The last two links might just serve as reminder, shortcuts…

Misc.

These might come in handy if you hate empty fields or default content displayed in your dashboard, prefer complete and meaningful information returned from your devices etc.


Connectivity

In case you would like to add some more network ports to your NUC/ESXi setup, this one could be a good starting point - or all you need. (I went for the USB-C to Dual Gigabit Ethernet Adapter from StarTech.)


"Building Virtual Machine Labs"

No, this really has no deeper meaning, those are just a couple of links to be/stay prepared in case you are planning to try the setup Tony presents in his book. (To be honest, I had them on my respective scratchpad over at Simplenote.)


Misc./Beyond

Missing in the original version of this article, I decided to update it and add the links for the following tools, as you might find them helpful too:

  • UNetbootin, which allows creating bootable Live USB drives for many Linux distributions (via download or ISO file): https://unetbootin.github.io/
  • draw.io, a free to use web application to create all kinds of diagrams, e. g. for networks etc.: https://www.draw.io/



If you think of playing around with multiple instances of ESXi, those links below might lead you to some helpful stuff to start with - and read on, obviously.




Well, that's it. I would like to point out one last time that this isn't meant to be a kind of setup guide. Think of it as a launchpad, helping you to get things up and running. While I might correct errors or add one or two hints, I have no plans (so far) to take this to any higher level, so don't expect too much updates to this posting.

Apart from that, I wish you good luck and some fun and interesting time with your NUC/EXSi home lab.

Cheers!

Friday, June 16, 2017

Neglected Space

No, this posting isn't going to be about the song by Imogen Heap, not even close. This is (more or less) to reopen, maybe to rediscover this blog. There hasn't been much to write about over the last couple of years. Perhaps there have been stories that would have been worth a line or two, yet I obviously didn't care enough - or just didn't feel like sharing.

Anyway, for the sake of this and at least one more posting I am going to revive this space. In case you care to skim through the previous or even the very early postings, I couldn't be bothered to clean up this place. So if you look around, enjoy what you find, yet keep in mind that it's been quite some time - and that I am not exactly a blogger.

See you soon.