Richard Freeman via plug on 28 Mar 2025 09:28:38 -0700
|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: [PLUG] Going nuts with NUT
|
- From: Richard Freeman via plug <plug@lists.phillylinux.org>
- To: plug@lists.phillylinux.org
- Subject: Re: [PLUG] Going nuts with NUT
- Date: Fri, 28 Mar 2025 16:28:30 +0000
- Dkim-signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=6gbrjpgwjskckoa6a5zn6fwqkn67xbtw; d=amazonses.com; t=1743179310; h=Content-Type:Message-ID:Date:MIME-Version:Subject:To:References:From:In-Reply-To:Feedback-ID; bh=khwcS2PZgVPntEGXskzh3x1tv+rCXV64lxmoGjlsenE=; b=CkRy2AG8/8ysoFCjuBtkOlzrY0bY2rQxtP023gkNFNagS5Iid//ddp+gmaZ45963 Ck7Mf0RrKZCwgKIgBTMhGUg9NhHFq0BJL6Wjn9VXSymRO+ZvSz0f6tKaZpKdT07ar9r DEwaO6lws0Qx0YeRMkqvPOXY+9i2Tyr9pnh8M5cY=
- Feedback-id: ::1.us-east-1.doJCrkiyQ09KtfEvuFEuReZPy2ZpwXNO4IjAz+5txmU=:AmazonSES
- Reply-to: Richard Freeman <r-plug@thefreemanclan.net>
- Sender: "plug" <plug-bounces@lists.phillylinux.org>
On 3/28/2025 12:20 PM, Gregory Deal via plug wrote:
I'm
trying to have a UPS shutdown multiple computers (2 Macs and a
NAS). Initially I thought "how do you connect a single UPS to
multiple machines?". Some initial searching suggests using NUT
(Network UPS Tools) to have the computer attached to the UPS
direct the remaining ones to also shutdown.
You are indeed on the right track. It has been a while since I've
touched it so I'll let somebody else comment on your exact config.
Some of the confusion comes from the fact that it has a couple of
tiers. It was basically engineered so that you can have any number
of UPS units, and any number of devices using them, and rules to
define when to shut down each individual device based on the status
of various combination of UPS units. (Ie consider you have 10 racks
with 30 servers and two UPS units on each rack each feeding 1 of two
independent PSUs on each server. So that is 20 UPS units and 300
servers.)
Of course, most of the time we have 1 UPS and often just 1 computer,
or maybe a little more.
The main consideration I've seen is that you need to make sure the
server that is doing all the message-passing (which need not be
attached to a UPS) doesn't shut down until all the other computers
have already started shutting down. You also need to make sure that
the UPS doesn't power off until all computers are down.
For a single UPS config you typically put the UPS and the server on
the same node, which has a longer shutdown delay than the other
nodes.
Also, it is beneficial to shed less essential loads sooner to extend
UPS life for more essential loads.
--
Rich
___________________________________________________________________________
Philadelphia Linux Users Group -- http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug