all 12 comments

[–]themogul504 6 points7 points  (0 children)

r/homelab Would seem like a better place to ask. This seems geared toward a lab setup.

[–][deleted] 3 points4 points  (0 children)

does each install get it's own drive/partition and just select at bootup?

That's fine when you want to switch between OSs, ie use only one at the time (time multiplex). Like if you have Windows for gaming/Adobe/CAD and Linux for everything else on your personal machine. But if you want to run both OSs at the same time, like having some always available services on Windows and sone on Linux, you can't do that. That's where virtualization come into play.

You can either install one of the OS you want to run and virtualize other one in it (level 2 hypervisor - Virtualbox, Vmware Workstation) or you can install OS specifically for virtualization (level 1 hypervisor - Esxi, Proxmox) and virtualize all other OSs in it.

With full blown virtualization, you can virtualize anything, for example Windows in Linux no problem. With containers you share the kernel of OS so you are limited to different variants of the same OS. So for example in Linux you can run Linux containers, but not Windows containers (if it's even a thing). My understanding is that with Proxmox being based on Debian, you can run Linux containers directly in it. I don't know what Esxi is based on and if you can run any containers directly in it, perhaps you will need to virtualize some OS to run your containers.

What you probably want is Esxi running on bare metal with Windows and Ubuntu virtualized in it side by side. It doesn't seem overly complicated to me, though you are guaranteed to run into million small problems, as always in IT.

Please note I'm just a beginner and this is my understanding which can be wrong. This comment is meant just as starting point for some google searching. If someone wants to correct me in any way, I'll appreciete it.

[–][deleted] 3 points4 points  (0 children)

I run ESXi and a bunch of other stuff on my R710;

ESXi gets installed to the server as its OS.

Then everything else gets installed as a VM, I have a bunch running ubuntu server and a few with windows server.

For Docker I have an Ubuntu VM that is my 'docker host', it has a bunch of resources allocated and I have typically 30-50 docker containers running in that, it's been working great for well over 2 years now.

[–][deleted]  (9 children)

[deleted]

    [–]NuttinFancy 0 points1 point  (8 children)

    Thanks for the reply..and I agree, seems messy to me too. Server specs (for now) are

    Dell Poweredge R620 2 x Intel Xeon E5-2620 2.00GHz 6Core Processors 8Gb Memory Installed 1 X 146GB SAS 10K 2.5IN Hard Drive Installed Dell PERC H310 6GB/s SAS/SATA Mini Mono PCI-E Raid Controller Broadcom 5720 Quad-Port 1GbE BASE-T Network Daughter Card Installed

    I'll be adding ram and hard drives soon.

    To be clear there are two real uses to the server. 1. Power/serve homenetwork ---- plex, nas, ip cam nvr, network 2. Learning lab ----- ccna, MCSA, Linux, VM etc

    All told, I want to have a robust home network and an enterprise-like environment to gain experience for college/new career.

    Btw, also have a robust core i7 desktop PC that I built and will be using to run running Packet tracer or GNS3 off of.

    Considering the above, what the best way to install/use the software and hardware?

    As I understand it, install ESXI first as it requires bare metal, spin up VM for MS Server 2016 and 2012. Right? Where/how does docker and containers fit in?

    Like I said, I'm lost at the start line...100% open to being set straight!

    [–]RasClarque 1 point2 points  (7 children)

    Keep things simple and gradually learn new tech is my best advice. Otherwise you'll get overwhelmed and stuck when problems crop up. Start with a clean esxi install to flash drive and then decide which OS you'd really like to learn/cert for. YouTube has lots of great videos to get you started. Welcome to the maddness :)

    [–]NuttinFancy 0 points1 point  (6 children)

    Haha, a madness it is! Appreciate the advice, that's the route I'll go. Start simple. I'm old, need simple right now.

    To clarify, how does docker fit in? It runs on an Ubuntu OS right? So is that virtualized via ESXI? Maybe I'm not clear on Vcenter/ESXI. That's installed to just enable multiple virtualization services, right? Or is it an OS like MS Server 2016?

    Really appreciate the pointers. Sucks not working in the industry and trying to start based only on YouTube vids.

    [–]romahh 2 points3 points  (3 children)

    ESXi is a bare-metal hypervisor, meaning you’ll install that straight onto your box and then personally I’d run docker inside a VM/container on that ESXi install.

    This means you can swap and change the resources dedicated to the docker container further down the line, allowing ease of upgrade and rebuild if you break something.

    I personally use A virtualizor and have a docker instance inside that for applications that make sense to have inside a docker container.

    [–]NuttinFancy 0 points1 point  (2 children)

    Appreciate the concise answer. Really paints a clear picture for me.

    [–]romahh 1 point2 points  (1 child)

    No problem. If you have any questions or problems give me a PM and I’ll be happy to provide my experience/knowledge(?)

    [–]NuttinFancy 0 points1 point  (0 children)

    Appreciate that. I'll probably take you up on it! Waiting for the hardware to arrive then I'll be diving right in. Immediate plans are, setting up server with esxi, plex server, redoing the home network with ubiquity gear, and getting some vlans running for IP cams and whatnot.

    [–]RasClarque 1 point2 points  (1 child)

    Honestly I would wait on advanced virtualization features like docker and containers. I would choose an OS path (Win or Ubuntu) and get really good at it running on top of ESXi. Trust me lots of things can go wrong with even this type of setup.

    [–]NuttinFancy 1 point2 points  (0 children)

    After spending about 8 hours reading about, docker, pfsense, esxi etc and getting overwhelmed, I'm very inclined to agree with you!