APC UPS connection setup failure against linux clusters using apcupsd service
APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send InviteCancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Link copied. Please paste this link to share this article on your social media post.
Posted:
Monday
. Last Modified:
Wednesday
APC UPS connection setup failure against linux clusters using apcupsd service
I have purchased a new APC UPS which I want to connect with four Linux Debian clusters.
The APC UPS Model: SURTD3000XLIM (APC model) has one serial com connector and one USB connector on the back of the UPS. Two cables were provided alongwith the UPS purchase- a) RJ-45 to DB-9 communication cable (goes to the serial com conenctor of UPS) and also b) an USB-A to mini-USB cable connector. I used both the cables to connect to our two Linux clusters.
In case of a)- the imp part of /etc/apcupsd/apcupsd.conf file looks like :
UPSNAME LG27a
UPSCABLE ether
UPSTYPE net
DEVICE 128.40.177.201:3551
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551
After saving this file, I stopped apcupsd service and started again.
When I do systemctl status apcupsd, I receive:
Still when I do apcaccess, I get (Status:Comm Lost !):
In case of b)- the imp part of /etc/apcupsd/apcupsd.conf file looks like :
UPSNAME LG27a
UPSCABLE usb
UPSTYPE usb
DEVICE
NETSERVER on
NISIP 0.0.0.0
NISPORT 3551
After saving this file, I stopped apcupsd service and started again.
On systemctl status apcupsd, I receive :
In case b) as well, I am getting error (Status:comm lost) when I do apcaccess:
APC : 001,018,0439
DATE : 2024-11-08 16:46:41 +0000
HOSTNAME : meitner
VERSION : 3.14.14 (31 May 2016) debian
UPSNAME : LG27a
CABLE : USB Cable
DRIVER : USB UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2024-11-08 14:28:27 +0000
STATUS : COMMLOST
MBATTCHG : 8 Percent
MINTIMEL : 4 Minutes
MAXTIME : 0 Seconds
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC : 2024-11-08 16:46:41 +0000
I checked all possible help resources such as : help1, help2 etc. But, still I could not succeed in setting up the communication.
For, b)type connectivity, when I type lsusb, it does not detect the APC unfortunately. Contrarily, in the /var/log/messages of the clustwer, USB device is detected:
I am unable to decipher the error. Kindly help me in rectifying the issue.