Back Up

SME Versions Supported: v - - Contribs.org certified on: NC

Nav Bar Documentation How-to Classification Back Up NUT ups module
Comments Please add your comments about this How To

Author(s): Duncan
Contributor(s):
License: Unknown

Created: NA Last updated: 31 Dec 2003

This wiki page has been prepared by Contribs Doc Team


About this How To

Summary: NUT ups module

Keywords: NUT, ups, bestfortress, serial port

Tips:

Known Limitations and Caveats:

Downloads:


How To

URL: NUT ups module http://forums.contribs.org/viewtopic.php?t=9337

A very brief howto.

/sbin/e-smith/config set nut service status enabled /sbin/e-smith/signal-event post-upgrade /sbin/e-smith/signal-event reboot

The default is for a USB UPS - so it will probably fail.

I use a Sola 550 (which uses the bestfortress driver and serial ports)

edit

/etc/ups/ups.conf like so


  1. DO NOT MODIFY THIS FILE! It is updated automatically by the
  2. SME Server software. Instead, modify the source template in
  3. an /etc/e-smith/templates-custom directory. For more
  4. information, see
  5. HomePage.html/Customizing

#

  1. copyright (C) 2002 Mitel Networks Corporation

UPS driver = bestfortress port = /dev/ttyS0

And /etc/sysconfig/ups


  1. DO NOT MODIFY THIS FILE! It is updated automatically by the
  2. SME Server software. Instead, modify the source template in
  3. an /etc/e-smith/templates-custom directory. For more
  4. information, see
  5. HomePage.html/Customizing

#

  1. copyright (C) 2002 Mitel Networks Corporation

DEVICE=/dev/ttyS0 MODEL=bestfortress

OPTIONS=

SERVER=yes

As it says DO NOT MODIFY THIS FILE! - the changes will probably not survive long so make and edit the templates in /etc/e-smith/templates-custom/etc as required.

I had some permission problems with /dev/ttyS0 so i did the following

chmod a+r /dev/ttyS0 chmod a+w /dev/ttyS0

The defaults worked fine - system halted and UPS shutdown. System came backup with no problems when power to the UPS was restored.

Nav Bar Documentation How-to Classification Back Up NUT ups module
Comments Please add your comments about this How To

Feedback

NUT ups module Feedback Add your comments to this page.




Wiki Links List

Those pages link to NUT ups module:
 . Page Name .   . Hits . 
 NUT ups module Feedback   688 
 UPS   833