Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: p-jones on June 24, 2006, 12:18:51 AM
-
I note that SM contains the NUT module for UPS features but I have been unable to locate almost nothing relevant to integrating with an V7 server.
Is anyone using this feature ? How has it been set up ? What UPS's does it work with (there seem to be a numberof different communication standards from the UPS data ports)
Rgds
Peter
-
Hi,
Have you looked at this:
http://no.longer.valid/phpwiki/index.php/APC%20Smart%20UPS
and this
http://forums.contribs.org/index.php?topic=31268.0
I use SME7rc3 NUT and USB APC SmartUPS 1500i. Have worked so far.
Cheers
/G
-
Thanks Greg. I didnt find that howto when I searched. That gives me something to work with.
Cheers
Peter
-
I recently set one up with a APC SmartUPS 700 Serial connection, to setup just do the following...
enable first by typing...
db configuration setprop nut status enabled
Then select your UPS, here's a few...
apcsmart - APC SMartUPS and similar
fentonups - Fenton UPS
optiups
bestups
genericups
ups-trust425+625
db configuration setprop nut Model apcsmart
And if it's a serial (COM1) you need to add...
db configuration setprop nut Device /dev/ttyS0
Expand the templates...
expand-template /etc/sysconfig/ups
expand-template /etc/ups/ups.conf
expand-template /etc/ups/upssched.conf
expand-template /etc/ups/upsmon.conf
expand-template /etc/ups/upsd.users
expand-template /etc/ups/upsd.conf
Then once you have done that, just type...
/etc/rc7.d/S15nut restart
Type
upsc UPS@localhost
and all should be well[/code]
-
Just the thing I was looking for. :-D
I just added a new drive to do soft RAID mirroring and had reinstall SME 7.0. I had forgotten how I did the nut setup before.
BTW the list of UPS models and the driver names can be found here:
http://www.networkupstools.org/compat/stable.html
Just replace apcsmart from your post with the nut driver name from the link.
Just thought I'd add that so next time I have to do it I'll know it's in the forum.
:pint:
Thanks!
-
Using nut on sme server and fedora core 5 for 625 belkin serial and 525 belkin serial
Works well on both machines
-
For information - The above works for a Powerware 3105 on SME7.
Set the driver with
db configuration setprop nut Model bcmxcp_usb
And follow the instructiions above.
Many thanks for posting this information.
-
There is something I don't understand about NUT and the UPS process. And I'm hoping you knowledgeable folk can elighten me.
In the normal course of events when a power failure occurs, (1) the UPS battery takes over, (2) when the battery gets low it signals NUT and NUT initiates a controlled shutdown, (3) the battery eventually goes flat, (4) the power gets restored and (5) because the server was set to boot on power restore, the SME Server boots.
In the case of a brief power flicker, we never get to step (2) and the server just continues to run.
My question has to do with the case where we complete step (2) and the server shuts down, but the grid power returns before step (3) completes. How does the server know to boot again?
Thanks for helping to clarify this for me.
John
-
Hi John
an explanation of the shutdown process can be found here
http://www.networkupstools.org/doc/2.0.1/shutdown.html
or /usr/share/doc/nut-2.0.3/docs/shutdown.txt
read the section on Power Races
-
Hi skinny,
Thanks for pointing me in the right direction.
That material looks really useful.
John