NUT: Howto configure the UPS to stay on after OMV shutdown

  • If you have devices that you would prefer to remain powered after OMV shuts down on a loss of mains, finding the necessary configuration requires a little digging and use of the sdorder directive, which isn't covered in most of the basic tutorials on NUT.


    Here is my Driver configuration directives using my APC SmartUPS:


    Code
    driver = apcsmart
    port = /dev/ttyS0
    cable = 940-0024C
    sdtype = 2
    sdorder = -1


    The drawback to this configuration is that if the power returns before the UPS shuts down on low battery, then the OMV server will not be turned back on since it will not detect any change to the AC state (assuming that the OMV server is configured as such).

    OMV 5.6.26-1 (Usul); Shuttle XPC SH67H3; Intel Core i5-2390T; 8 GB DDR3-1333 RAM; 128GB SanDisk Z400s SSD (OS); Samsung 860 EVO 1TB (primary storage); WD Red 2TB (backup and archive storage).

  • Thank you for solving my problem. I thought it could be solved with sdorder, but was not sure. Now the UPS stays on :)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!