Ciao a tutti, ho un ups apc piuttosto potente a cui è collegato un
server diciamo server1. Ora invece ho un piccolo server chiamiamolo
server2 rimasto orfano di un ups e ho pensato di appicicarlo allo stesso
ups ma vorrei configurarlo in modo che faccia lo shutdown in caso di
batteria bassa.

Non riesco però da server2 a connettermi all'apc di server1.

In apcupsd.conf di server1 ho configurato le seguenti opzioni:
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551

In apcupsd.conf di server2 invece:
UPSCABLE ether
UPSTYPE net
LOCKFILE /var/lock
DEVICE <ip di server1>:3551
UPSCLASS standalone
UPSMODE disable
POLLTIME 10

se provo con apctest però non riesce a connettersi:

# apctest
2012-10-10 10:29:00 apctest 3.14.8 (16 January 2010) debian
Checking configuration ...
Attached to driver: net
sharenet.type = DISABLE
cable.type = APC_NET

You are using a SMART cable type, so I'm entering SMART test mode
mode.type = NETWORK_UPS
Setting up the port ...
Hello, this is the apcupsd Cable Test program.
This part of apctest is for testing Smart UPSes.
Please select the function you want to perform.

1) Query the UPS for all known values
2) Perform a Battery Runtime Calibration
3) Abort Battery Calibration
4) Monitor Battery Calibration progress
5) Program EEPROM
6) Enter TTY mode communicating with UPS
Q) Quit

Select function number: 1

I am going to run through the series of queries of the UPS
that are used in initializing apcupsd.

Simulating UPSlinkCheck ...
YWrote: Y Got:
getline failed. Apparently the link is not up.
Giving up.


Cosa sbaglio?

Grazie mille

Piviul


-- 
Per REVOCARE l'iscrizione alla lista, inviare un email a 
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Rispondere a