To clarify I am not asking about a dedicated machine running something like Proxmox or Esxi. My question is about VMs running on your daily use machine on something like VirtualBox, VM ware fusion, parallels etc

  • SuprIntendntChalmers@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 个月前

    I have my main/gaming rig that I use for everything unrelated to my career, and I run a Hyper V VM on/with it that I strictly use for just my daily job. (Work from home sysadmin for an MSP)

    The company I work for provided me with hardware that I can connect at home and use, but it’s much more convenient for me to get everything done utilizing all of my monitors and gaming hardware and not having to have two physical computers set up. The company doesn’t care and I keep the work VM pretty isolated from everything else (well, as much as you can with a Hyper V VM and still get all of the functionality I crave.)

    • NikStalwart@alien.topB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 个月前

      Have you considered a physical KVM switch? If you have, why did you decide against it?

      Are you doing GPU partitioning?

      • SuprIntendntChalmers@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 个月前

        There’s really no need for a KVM switch, I think having two physical computers to deal with in my case would just complicate things. Running the VM for my work life during work hours and then shutting it down once I’m off the clock is super simple already.

        As far as GPU partitioning, all of the clients I work with are spending their day working with things like Excel and Outlook, so nothing graphically demanding.

  • koloqial@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 个月前
    • Plex
    • CouchPotato
    • Sonar
    • SabNZBd
    • PFSense
    • PiHole

    Then on RaspberryPi’s:

    • HomeAssistant
    • OctoPrint
    • nithinbose@alien.topOPB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 个月前

      That’s cool. What OS are you running on the VM? How do you access these services, only from your workstation or across the home network? Is the machine always on so that you can access your media/PiHole?

  • NikStalwart@alien.topB
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 个月前

    So on my workstation / daily driver box:

    • I have Docker using the WSL2 backend. I use this instance of docker to test deployments of software before I push it to my remote servers, to perform local development tasks, and to host some services that I only ever use when my PC is on (so services that require trust and don’t require 24x7 uptime).
    • I have about 8 distros of linux in WSL2.
    • The main distro is Ubuntu 22.04 for legacy reasons. I use this to host an nginx server on my machine (use it as a reverse proxy to my docker services running on my machine) and to run a bunch of linux apps, including GUI ones, without rebooting into my Arch install.
    • I have two instances of Archlinux. One is ‘clean’ and is only used to mount my physical arch disk if I want to do something quick without rebooting into Arch, and the other one I actively tinker with.
    • Other distros are just there for me to play with
    • I use HyperV (since it is required for WSL) to orchestrate Windows virtual machines. Yes, I do use Windows VMs on Windows host. Why? Software testing, running dodgy software in an isolated environment, running spyware I mean Facebook, and similar.
    • Prior to HyperV, I used to use Virtualbox. I switched to hyperv when I started using WSL. For a time, hyperv was incompatible with any other hypervosor on the same host so I dropped virtualbox. That seems to have been fixed now, and I reinstalled virtualbox to orchestrate Oracle Cloud VMs as well.
    • nithinbose@alien.topOPB
      link
      fedilink
      English
      arrow-up
      0
      ·
      10 个月前

      I am really curious to know what services you are running.

      I don’t use Windows so unfamiliar with Hyper-V do you pass through your physical arch disk into the VM? Are you able to boot arch from the disk or do you use it to just access the files on the disk?

      Thanks for your reply.

      • NikStalwart@alien.topB
        link
        fedilink
        English
        arrow-up
        0
        ·
        10 个月前

        So to answer your last question first: I run dual boot Arch+Windows, and I can mount the physical Arch disk inside a WSL VM and then chroot into it to run or fix some things when I CBA to reboot properly. I haven’t tried booting a WSL instance off of the physical arch disk but I don’t imagine it would work. Firstly, WSL uses a modified linux kernel (which won’t be accessible without tinkering with the physical install). Secondly, the physical install is obviously configured for physical ACPI and Network use which will break if I boot into it from WSL. After all, WSL is not a proper VM.

        To answer the first question as to services: notes, kanban boards, network monitoring tools (connected to a VPN / management LAN), databases, more databases, even MOAR databases, database managers, web scrapers, etc.

        The very first thing I used WSL for (a long time ago) was to run ffmpeg. I just could not be bothered building it for Windows myself.