• Homelab UPS questions

    From poindexter FORTRAN@21:4/122 to All on Monday, September 26, 2022 11:15:00
    (Hoping someone has a similar situation...)

    I have a homelab with an APC BackUPS 1500 XM, a Synology NAS running DSM
    6.2, and a Proxmox server. My desktop Windows 10 PC is plugged into a
    smaller UPS.

    The UPS has a UPS connection to the NAS, and on a power event it shuts the
    NAS down properly.

    I have Proxmox running on a laptop plugged into the UPS, so it's got its own battery and the APC UPS.

    If the power goes out, the synology shuts down, and I can either hit Proxmox
    on the web interface, ssh into it and shut it down, or hit the power button.
    If it runs down the battery, it goes into sleep mode.

    I'm planning on replacing the laptop with a desktop, and realized that I
    hadn't thought thruogh the shutdown process. I want to run it headless, so won't have a keyboard and monitor like with the laptop.

    I'm wondering if there's a way to have either the Proxmox system or the Synology system connected to the UPS and shut down the other one? It's been years since I worked with SNMP, thought there might be a way to make it
    work.




    ... Are there sections? Consider transitions
    --- MultiMail/DOS v0.52


    ... Are there sections? Consider transitions
    --- MultiMail/DOS v0.52
    * Origin: realitycheckBBS.org -- information is power. (21:4/122)
  • From Charles Blackburn@21:1/221 to poindexter FORTRAN on Monday, September 26, 2022 16:23:22
    Re: Homelab UPS questions
    By: poindexter FORTRAN to All on Mon Sep 26 2022 11:15:00

    Re: UPS homelab setup
    By: Kurt Weiske to All on Mon Sep 26 2022 10:05:00

    I have a homelab with an APC BackUPS 1500 XM, a Synology NAS running DSM 6.2, and a Proxmox server. My desktop Windows 10
    PC is plugged into a smaller UPS.
    <CUT>
    If the power goes out, the synology shuts down, and I can either hit Proxmox on the web interface, ssh into it and shut it
    down, or hit the power button. If it runs down the battery, it goes into sleep mode.
    <CUT>
    I'm wondering if there's a way to have either the Proxmox system or the Synology system connected to the UPS and shut down
    the other one?

    exact same ups i have.. and very similar setup except i have 4 servers all on the same ups

    run the UPS usb port into the proxmox host and run N.U.T (networked ups thing). then run a nut client on the other machines.

    when the thing goes into battery it signals the proxmox machine to shutdown and because the other machines are connected to the
    nut server on the proxmox machine they shut down too.

    https://networkupstools.org/


    regards
    ===

    Charles Blackburn
    The F.B.O BBS 21:1/221 618:250/36
    bbs.thefbo.us IPV4/V6
    DOVE-Net FSX-Net MicroNET USENET
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)
  • From Arelor@21:2/138 to poindexter FORTRAN on Monday, September 26, 2022 18:32:31
    Re: Homelab UPS questions
    By: poindexter FORTRAN to All on Mon Sep 26 2022 11:15 am

    I'm wondering if there's a way to have either the Proxmox system or the Synology system connected to the UPS and shut down the other one? It's been years since I worked with SNMP, thought there might be a way to make it work.

    APC supports remotedown. Basically you can configure a computer to shutdown if it
    stops sensing the other computer is up. A computer is designated as MASTER and the
    other as SLAVE. The SLAVE may be configured to shut down if MASTER disappears. The
    danger is that MASTER could go down for reasons not related to power outages. SLAVE
    may also be configured to recive signals from MASTER, which is a bit dangerous in
    itself.

    A dangerous approach can be seen here too: https://brendonmatheson.com/2020/03/21/automated-remote-host-shutdown-with-apcupsd.htm
    l

    IMO best approach for a home lab is an UPS per system, each with a comm link to its
    respective computer.


    --
    gopher://gopher.richardfalken.com/1/richardfalken
    --- SBBSecho 3.15-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
  • From Arelor@21:2/138 to poindexter FORTRAN on Monday, September 26, 2022 18:34:24
    Re: Homelab UPS questions
    By: poindexter FORTRAN to All on Mon Sep 26 2022 11:15 am

    I'm wondering if there's a way to have either the Proxmox system or the Synology system connected to the UPS and shut down the other one? It's been years since I worked with SNMP, thought there might be a way to make it work.

    MASTER-SLAVE configuration https://www.pontikis.net/blog/apc-ups-master-slave-setup-ap
    cupsd

    --
    gopher://gopher.richardfalken.com/1/richardfalken
    --- SBBSecho 3.15-Linux
    * Origin: Palantir * palantirbbs.ddns.net * Pensacola, FL * (21:2/138)
  • From poindexter FORTRAN@21:4/122 to Charles Blackburn on Tuesday, September 27, 2022 16:36:00
    Charles Blackburn wrote to poindexter FORTRAN <=-

    run the UPS usb port into the proxmox host and run N.U.T (networked ups thing). then run a nut client on the other machines.

    Interesting! Turns out there is support for NUT in Synology DSM. Thanks for the pointer!


    ... And then you typed 'G=C800:5', right?
    --- MultiMail/DOS v0.52
    * Origin: realitycheckBBS.org -- information is power. (21:4/122)
  • From Charles Blackburn@21:1/221 to poindexter FORTRAN on Wednesday, September 28, 2022 15:06:28
    Re: Re: Homelab UPS questions
    By: poindexter FORTRAN to Charles Blackburn on Tue Sep 27 2022 16:36:00

    Charles Blackburn wrote to poindexter FORTRAN <=-
    run the UPS usb port into the proxmox host and run N.U.T (networked ups thing). then run a nut client on the other
    machines.
    Interesting! Turns out there is support for NUT in Synology DSM. Thanks for the pointer!

    no problem at all.

    ... And then you typed 'G=C800:5', right?
    not sure where this is, but im geussing that's in the machine lanugage monitor :D

    regards
    ===

    Charles Blackburn
    The F.B.O BBS 21:1/221 618:250/36
    bbs.thefbo.us IPV4/V6
    DOVE-Net FSX-Net MicroNET USENET
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)
  • From poindexter FORTRAN@21:4/122 to Charles Blackburn on Thursday, September 29, 2022 06:52:00
    Charles Blackburn wrote to poindexter FORTRAN <=-

    ... And then you typed 'G=C800:5', right?
    not sure where this is, but im geussing that's in the machine lanugage monitor :D


    That is a command to low-level format MFM drives on a Western Digital controller. You'd need to reformat them occasionally.




    ... Abandon desire
    --- MultiMail/DOS v0.52
    * Origin: realitycheckBBS.org -- information is power. (21:4/122)
  • From Charles Blackburn@21:1/221 to poindexter FORTRAN on Friday, September 30, 2022 12:31:50
    Re: Re: Homelab UPS questions
    By: poindexter FORTRAN to Charles Blackburn on Thu Sep 29 2022 06:52:00

    Charles Blackburn wrote to poindexter FORTRAN <=-
    ... And then you typed 'G=C800:5', right?
    not sure where this is, but im geussing that's in the machine lanugage monitor :D

    That is a command to low-level format MFM drives on a Western Digital controller. You'd need to reformat them occasionally.

    ahh yes, i remember now.. I knew it looked familiar...

    now where's my copy of debug :D

    regards
    ===

    Charles Blackburn
    The F.B.O BBS 21:1/221 618:250/36
    bbs.thefbo.us IPV4/V6
    DOVE-Net FSX-Net MicroNET USENET
    --- SBBSecho 3.15-Linux
    * Origin: The FBO BBS - bbs.thefbo.us (21:1/221)