Koozali.org: home of the SME Server

UPS

Dan Elkins

UPS
« on: September 17, 2000, 12:07:03 PM »
Has anybody been successful in setting up a UPS with their e-smith server?  I'm messing with a Smart UPC and haven't had any luck.

Dan

Gul Dukat

RE: UPS
« Reply #1 on: September 18, 2000, 04:12:59 AM »
Dan,

We have UPS's on our e-smith servers. However, the ups's are monitored by windows98 pc's using supplied software. The ups's are Deltec PowerRite units.

I have not seen any text-based software for ups monitoring on e-smith or Linux.
We have seen (some time back) attemp at X windows packages.

Sorry

Dan Elkins

RE: UPS
« Reply #2 on: September 18, 2000, 04:56:31 AM »
> I have not seen any text-based software for ups monitoring on
> e-smith or Linux. We have seen (some time back) attemp at X
> windows packages.

I really don't need anything to monitor the UPS, just for the UPS to shutdown the server when the power goes out.  I installed the supplied RPM from the apc disk and it looks like it installed correctly.  There is a upsd file in the /etc/rc.d/init.d dir and a S98upsd file in the /etc/rc.d/rc4.d dir which looks like it would start the service on boot, but after I rebooted after the install and did a "service upsd status" is gives me a service is stoped message.  Being a newbie with linux I don't know the best place to add or change a files that runs "service upsd start" at startup.

Can anybody help?

Dan

Charlie Brady

RE: UPS
« Reply #3 on: September 18, 2000, 05:16:07 AM »
Dan Elkins wrote:

> I really don't need anything to monitor the UPS, just for the
> UPS to shutdown the server when the power goes out.  I
> installed the supplied RPM from the apc disk and it looks like
> it installed correctly.  There is a upsd file in the
> /etc/rc.d/init.d dir and a S98upsd file in the /etc/rc.d/rc4.d
> dir which looks like it would start the service on boot,

The e-smith server and gateway runs in runlevel 7, not runlevel4.

> but
> after I rebooted after the install and did a "service upsd
> status" is gives me a service is stoped message.  Being a
> newbie with linux I don't know the best place to add or change
> a files that runs "service upsd start" at startup.

Do:

ln -s /etc/rc.d/init.d/upsd /etc/rc.d/rc7.d/S98upsd
service upsd start

and you should be OK. Some time soon I'm sure that someone will make an e-smith-upsd RPM which will do those steps automatically.

Regards

Charlie

Dan Elkins

RE: UPS
« Reply #4 on: September 18, 2000, 05:29:12 AM »
Thanks Charlie.  That did it.

Dan

Robin

RE: UPS
« Reply #5 on: September 29, 2000, 12:30:11 PM »
APC have all the necessary software available on their website: the server doesn't care about the GUI but the client does (or is that the other way around :-). The server will run unmonitored and shut down the system if necessary, also keep logs and self test as required.

So you should (but I haven't done this) be able to install the server on e-smith but monitor and control it from clients on other OSes, just as you can on a standard Linux installation (which I have done).