I’m thinking about getting started using Docker and an older Raspberry Pi. I’m already hosting a grafana service on it, so It can’t be fully dedicated to ha. So curious what everyone is using.

  • SayCyberOnceMore@feddit.uk
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    It’s now running as a VM in ProxMox on a pair of Lenovo M710q mini PCs

    So, have you got High Availability setup? If so, I’d like to know more about that part…

    • Llamatron@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      4 days ago

      So my plan had been to set up a pair of ProxMox hosts, use Ceph to do the shared storage and use HA so VMs could magically move around if a host died. However, I discovered Ceph and HA need a minimum of 3 hosts. HA can be done if you set up a Pi or some other 3rd host that can act as the 3rd vote in the event of a failure but as I didn’t have Ceph I’ve not bothered trying.

      I’ve read Ceph can work on 2 but not well or reliably.

      I might setup a 3rd host some day but it seems a bit of a waste as I just don’t need that amount of resources for what I’m running.

      And I should have known really, I’ve a bit of a background in VMware, albeit at the enterprise level so I’ve never had to even think about 2 or 3 node clusters.

      • SayCyberOnceMore@feddit.uk
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Ah, ok.

        Yep, I’m in a similar situation… I have a few VMs, but not enough for lots of failover infrastructure… (redundant switches, etc)

        I was thinking you might be just cloning 1 device to the other or something.

        • Llamatron@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          Oh I have a pair of D-Link switches (again off ebay) that are stacked together. My router, NAS and both ProxMox hosts have LACP connections to both. And my home WiFi is a couple Aruba IAPs, one on each switch. So if I lose a switch then most things will keep running.

      • tofu@lemmy.nocturnal.garden
        link
        fedilink
        English
        arrow-up
        2
        ·
        4 days ago

        You can do HA in Proxmox with ZFS replication instead of Ceph. Third device something else as you said. It’s what I’m doing.

        • Llamatron@lemmy.world
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 day ago

          You don’t happen to know of a guide on how to set this up? All I’ve found so far has told me that ZFS isn’t meant to mirror over network.

          Or do you mean how you can enable replication on a VM?

          • tofu@lemmy.nocturnal.garden
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            You can enable replication, and once you have the VM disk replicated, you can enable High Availability. Open the VM in the webinterface, click “More” at bottom right, and select “Manage HA”.