I woke up this morning to a text from my ISP, “There is an outage in your area, we are working to resolve the issue”

I laugh, this is what I live for! Almost all of my services are self hosted, I’m barely going to notice the difference!

Wrong.

When the internet went out, the power also went out for a few seconds. Four small computers host all of my services. Of those, one shutdown, and three rebooted. Of the three that ugly rebooted some services came back online, some didn’t.

30 minutes later, ISP sends out the text that service is back online.

2 hours later I’m still finding down services on my network.

Moral of the story: A UPS has moved to the top of the shopping list! Any suggestions??

    • ripcord@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      8 months ago

      I’d like that, but also a really long-running UPS. multi-hour power outages are surprisingly common in my area.

      • towerful@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        Thats no longer a UPS.
        You could get something like a powerwall, something designed to power things from batteries for a long time.
        Or get a generator with an automatic failover. The UPS then covers the downtime between powerfailure and generator taking load

          • towerful@programming.dev
            link
            fedilink
            English
            arrow-up
            1
            ·
            8 months ago

            Generally, UPS (lead acid) batteries are not designed for long-cycle deep discharge.
            They are designed to hold their rated load for a minute or so until the power is restored (generators start, power-uncuts) or the servers have a chance to shut down.
            But maybe thats dated information, and modern UPSs are designed to run from batteries for a few hours.

    • bitwolf@lemmy.one
      link
      fedilink
      English
      arrow-up
      1
      ·
      8 months ago

      Does this require a lot of gear? Or does it simply act as another gateway?

      • BoofStroke@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        3
        ·
        8 months ago

        There are devices like the Netgear lm1200 that can do it inline by themselves.

        I have that device, but configured as a second gateway. My firewall manages the failover based on primary packet loss and latency.

      • themoonisacheese@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        8 months ago

        It requires an LTE capable gateway and a data plan. As for the rest you can simply write your routing tables so that if the main gateway doesn’t work, use the secondary gateway with lower prio.