Difference between revisions of "UPS Handling with NUT"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
Line 29: Line 29:
{{!}}-  
{{!}}-  
{{!}} style="width: 90.175px;" {{!}} '''none'''
{{!}} style="width: 90.175px;" {{!}} '''none'''
{{!}} style="width: 619.15px;" {{!}}
{{!}} style="width: 400.15px;" {{!}} Disable automatic startup of NUT
Disable automatic startup of NUT
{{!}}
{{!}}-  
{{!}}-  
{{!}} style="width: 90.175px;" {{!}} '''standalone'''
{{!}} style="width: 90.175px;" {{!}} '''standalone'''
{{!}} style="width: 619.15px;" {{!}} This MODE is for local only configuration
{{!}} style="width: 400.15px;" {{!}} This MODE is for local only configuration
{{!}} [[Standalone NUT usage]]
{{!}}-  
{{!}}-  
{{!}} style="width: 90.175px;" {{!}} '''netserver'''
{{!}} style="width: 90.175px;" {{!}} '''netserver'''
{{!}} style="width: 619.15px;" {{!}} This MODE is open to the network. (A NUT server)
{{!}} style="width: 400.15px;" {{!}} This MODE is open to the network. (A NUT server)
{{!}} [[Setting up a NUT Server]]
{{!}}-  
{{!}}-  
{{!}} style="width: 90.175px;" {{!}} '''netclient'''
{{!}} style="width: 90.175px;" {{!}} '''netclient'''
{{!}} style="width: 619.15px;" {{!}} This MODE is for client machines that will access a NUT server
{{!}} style="width: 400.15px;" {{!}} This MODE is for client machines that will access a NUT server
{{!}}}<p class="mwt-heading">See [https://networkupstools.org/docs/man/nut.conf.html the nut.conf documentation] for more details.</p>
{{!}} [[Setting up a NUT Client]]
{{!}}}
<p class="mwt-heading">See [https://networkupstools.org/docs/man/nut.conf.html the nut.conf documentation] for more details.</p>


* [[Setting up a NUT Server]]
* [[Setting up a NUT Client]]
* [[Using NUT to gracefully shut down ESXi]]
* [[Using NUT to gracefully shut down ESXi]]



Revision as of 22:53, 9 April 2022

Proven on:
Logo Debian.png
11 (bullseye)


As always...

Start with:

  • sudo apt update
  • sudo apt upgrade

Network UPS Tools

Install & Configure NUT

Select your mode

MODE options:
none Disable automatic startup of NUT
standalone This MODE is for local only configuration Standalone NUT usage
netserver This MODE is open to the network. (A NUT server) Setting up a NUT Server
netclient This MODE is for client machines that will access a NUT server Setting up a NUT Client

See the nut.conf documentation for more details.

Managing NUT

The usual:

  • sudo service nut-server [start|stop|restart|status]

Client commands:

further Usage Concepts

NUT gives lots of options.

Things like:

  • Cleanly shutting down all of the VMs on a server & the server itself too.
  • Sending notifications about power issues.
  • Managing redundant UPSs on your system.
  • etc...