I’m on the pathway for setting up a Proxmox cluster with 3 thin clients, 2 of which are deployed (but not the cluster until I get the third machine running). I’m thinking of installing 4 VMs as follows: a) one for OpenWRT so that I can get rid of my SKY router b) one for Opensense c) one for Frigate d) one for Homeassistant/OpenHabian e) one for everything else (about 8 services with docker) The thin clients are Optiplexes with 16-32 GB RAM. Do you think I am overdoing this? Basically I want to keep my network VMs free from everything else so that I don’t have to reboot these when I have to reboot the VM with all the services.

  • Meska@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    Router inside a proxmox is not good , buy a cheap mikrotik,maybe put a pihole inside a vm if you want some filtering , ha with proxmox needs dedicated network cards between the hosts to be reliable and it’s not worth with a small setup , you can still have the cluster and migrate the vms without ha. And please dedicate one real machine to pbs 😅.

    • trilobite@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      Ah, just replied to another message on this point. Network VMs are therefore not an option? Or could i have a cheap mikrotik with 2 cards (lan and wan) and have a openwrt fir my sky ip6 handling, opensense for virtual lans, dhcp, etc and pihole for filtering? So wan->openwrt->opensense->pihole->lan all on one device?

  • Lka1988@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    I’m on the pathway for setting up a Proxmox cluster with 3 thin clients, 2 of which are deployed (but not the cluster until I get the third machine running). […] The thin clients are Optiplexes with 16-32 GB RAM.

    What specific models are you running? I have a trio of Optiplexes on 7th and 8th gen Intel hardware just for Proxmox. It’s great, I can run pretty much whatever I want.

    I’m thinking of installing 4 VMs as follows: a) one for OpenWRT so that I can get rid of my SKY router b) one for Opensense

    OPNSense already does everything OpenWRT can do, and more.

    c) one for Frigate

    Frigate runs in Docker. You don’t need a separate VM for it.

    d) one for Homeassistant/OpenHabian

    I’ve heard of OpenHabian, but there seems to be a lot of tribalism around it.

    e) one for everything else (about 8 services with docker)

    A single VM can run much more than 8 services without so much as a sneeze.

    Do you think I am overdoing this? Basically I want to keep my network VMs free from everything else so that I don’t have to reboot these when I have to reboot the VM with all the services.

    That is actually part of the reason Docker exists; individual services can be restarted very quickly. I have 4 VMs dedicated to just Docker services, and rarely have to reboot an entire VM unless I specifically did something to it (maybe 3 or 4 times over the last year).

    You won’t notice the downtime.

  • Creat@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    0
    ·
    4 days ago

    Without knowing what exactly you’re planning, OpenWRT and OPNSense seem redundant. Both are router/firewall, with the latter being much more capable. I can’t imagine it can’t take on both roles you’re planning for them, unless you need some support specific plugin?

  • Possibly linux@lemmy.zip
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 days ago

    You don’t need that many VMs. For networking get a dedicated box (can be a used consumer device) and then create a few VMs to run podman containers.

    If you do want a dedicated instance for a service use LXC

    • trilobite@lemmy.mlOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      4 days ago

      The reason i’m not considering a dedicate box for Openwrt/opesense is due to the redundncy offered by the proxmox cluster which i would loose with a dedicated machine.

        • trilobite@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          2 days ago

          You’re right. I’m sure i don’t understand, which is why i posted here for opinions :-) I was thinking about this the other day … i would need at least two physical interfaces presumably on the optiplexes, one for lan and one for wan. So, this may not be a goer from the start. So, here if my next question: how do you maintain network redundancy? Two devices that each have two network cards?