mbryanr Posted August 25, 2011 Share Posted August 25, 2011 I have 2 synology diskstations that I would like to have communicate to the unRAID APC. I'm running apcupsd on the unRAID with the clean powerdown package. Synology utilizes NUT to communicate to an ups, while unRAID is using the apcupsd http://www.networkupstools.org/ I have 2 options, but wonder if I am making this more complicated than need be. 1. Setup Syno as the master, unRAID as the slave. http://lime-technology.com/forum/index.php?topic=13791.msg130563#msg130563 Would I have to install NUT on the unRAID? or should I just... 2. Setup unRAID as the master, and install apcupsd on the Syno? http://forum.synology.com/enu/viewtopic.php?f=27&t=19378 Or...can I just leave as is (doubtful)- setup the syno as master, modify the unRAID .conf file (SynoIP:3493) - and have unRAID monitor UPS status <See below> Quote Link to comment
mbryanr Posted August 25, 2011 Author Share Posted August 25, 2011 :)Making progress....installed bootstrap, and the apcupsd ipkg on the synology, and configuring apcupsd.conf for slave service.. I'll post steps how to accomplish if I get it to successfully shutdown on command from the unRAID server. Any suggestions or help is appreciated btw: only command line experience has been mounting drives via nfs, running screen for the pre-clear - I have never done any of this. (if you don't count machine language coding back when I was in 8th grade for simple games!) Trying to be careful though. Quote Link to comment
avpap Posted August 22, 2015 Share Posted August 22, 2015 I am trying to do exactly the same thing (unraid and synology sharing a UPS). Did you have any luck? Quote Link to comment
Leifgg Posted August 22, 2015 Share Posted August 22, 2015 I am trying to do exactly the same thing (unraid and synology sharing a UPS). Did you have any luck? FYI, APCUPSD on unRAID is setup by default to be Master. If you can get APCUPSD installed on Synology you can set it to listen to unRAID by setting Device:unRAIDIP:3551 UPS type:Net UPS cable:Ether Quote Link to comment
avpap Posted August 22, 2015 Share Posted August 22, 2015 Thank you very much for the pointers! I tried to follow your advice, but got this from synology when running apctest # ./apctest 2015-08-22 13:51:17 apctest 3.14.8 (16 January 2010) unknown Checking configuration ... Attached to driver: usb sharenet.type = DISABLE cable.type = USB_CABLE You are using a USB cable type, so I'm entering USB test mode mode.type = USB_UPS Setting up the port ... apctest FATAL ERROR in linux-usb.c at line 609 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see <http://www.apcupsd.com/support.html>. apctest error termination completed Synology's own ups setting is working and communicating with the ups, so i am messing something up with the apcupsd settings. Any ideas? btw this is my .conf file https://dl.dropboxusercontent.com/u/3260689/apcupsd.conf Quote Link to comment
Leifgg Posted August 22, 2015 Share Posted August 22, 2015 Thank you very much for the pointers! I tried to follow your advice, but got this from synology when running apctest # ./apctest 2015-08-22 13:51:17 apctest 3.14.8 (16 January 2010) unknown Checking configuration ... Attached to driver: usb sharenet.type = DISABLE cable.type = USB_CABLE You are using a USB cable type, so I'm entering USB test mode mode.type = USB_UPS Setting up the port ... apctest FATAL ERROR in linux-usb.c at line 609 Cannot find UPS device -- For a link to detailed USB trouble shooting information, please see <http://www.apcupsd.com/support.html>. apctest error termination completed Synology's own ups setting is working and communicating with the ups, so i am messing something up with the apcupsd settings. Any ideas? btw this is my .conf file https://dl.dropboxusercontent.com/u/3260689/apcupsd.conf Have a look om the encl conf. I am using this one for a Windows VM but settings should be similar. apcupsd.conf Quote Link to comment
avpap Posted August 22, 2015 Share Posted August 22, 2015 I may have misunderstood, so I would like to clarify things. Your unraid machine is running the apc daemon as configured by the "apc settings" on the unraid ui, correct? The .conf file you sent me is from the one running on the "slave" machine, correct? I am doing the modifications to your .conf file (change the ip of the unraid box), but apctest show "getlink not up". Am I supposed to activate the master mode from the unraid menu somehow or am I still doing something wrong in the .conf file of the synology? Quote Link to comment
Leifgg Posted August 22, 2015 Share Posted August 22, 2015 I may have misunderstood, so I would like to clarify things. Your unraid machine is running the apc daemon as configured by the "apc settings" on the unraid ui, correct? The .conf file you sent me is from the one running on the "slave" machine, correct? I am doing the modifications to your .conf file (change the ip of the unraid box), but apctest show "getlink not up". Am I supposed to activate the master mode from the unraid menu somehow or am I still doing something wrong in the .conf file of the synology? Correct, there is nothing more on unRaid the do the settings in the GUI, unRAID is master as default (no conf file or anything else to change). There is something in the conf for Synology missing, take a clean conf file for Linux (mine is for Windows) and look for differences and change the Linux conf file. It can be the case that a Linux system needs something slightly different so google it as well. Quote Link to comment
avpap Posted August 22, 2015 Share Posted August 22, 2015 Thank you very much for all your help! Quote Link to comment
RobJ Posted August 22, 2015 Share Posted August 22, 2015 Check out the new v6 plugin for NUT -> [Plug-In] NUT - Network UPS Tools It's a first version, so I don't know how well the master/slave stuff works yet, but he sounds very open to further development if needed. Quote Link to comment
klogg Posted December 2, 2017 Share Posted December 2, 2017 On 8/22/2015 at 3:29 PM, RobJ said: Check out the new v6 plugin for NUT -> [Plug-In] NUT - Network UPS Tools It's a first version, so I don't know how well the master/slave stuff works yet, but he sounds very open to further development if needed. That one is abandoned now, but this one is maintained and is working for me. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.