{"id":8164,"date":"2018-09-27T22:18:29","date_gmt":"2018-09-28T05:18:29","guid":{"rendered":"https:\/\/www.apolonio.com\/blog\/?p=8164"},"modified":"2018-09-27T22:18:29","modified_gmt":"2018-09-28T05:18:29","slug":"final-piece-to-nas","status":"publish","type":"post","link":"https:\/\/www.apolonio.com\/blog\/?p=8164","title":{"rendered":"Final Piece to NAS"},"content":{"rendered":"<p>Maybe a few more tiny things, but I got all the stuff I need to go in to production for my NAS.\u00a0 The last piece I got was the UPS.\u00a0 I purchased the CyberPower 1325VA which is the model LX1325GU.<\/p>\n<p>CentOS 7 is still running on this box and I was able to install nut and run nut-scanner<\/p>\n<pre>[nutdev1]\r\ndriver = \"usbhid-ups\"\r\nport = \"auto\"\r\nvendorid = \"0764\"\r\nproductid = \"0501\"\r\nproduct = \"LX1325GU\"\r\nserial = \"XXXXX1234567\"\r\nvendor = \"CPS\"\r\nbus = \"002\"<\/pre>\n<p>I placed this config in \/etc\/ups\/ups.conf<\/p>\n<p>Serial number in this post has been changed<\/p>\n<p>In \/etc\/ups\/nut.conf<\/p>\n<p>I made<\/p>\n<pre>MODE=standalone<\/pre>\n<p>In \/etc\/ups\/upsd.conf I appended<\/p>\n<pre>ACL all 0.0.0.0\/0\r\nACL localhost 127.0.0.1\/32\r\nACCEPT localhost\r\nREJECT all<\/pre>\n<p>Ran the standard commands<\/p>\n<pre>  systemctl enable nut-monitor.service\r\n  systemctl enable nut-server.service\r\n  systemctl start nut-server.service\r\n  systemctl start nut-monitor.service<\/pre>\n<p>Then I could run commands<\/p>\n<pre>upscmd<\/pre>\n<p>And list settings<\/p>\n<pre>upsc nutdev1<\/pre>\n<p>Create a user in\u00a0\u00a0\/etc\/ups\/upsd.users<\/p>\n<div class=\"line number1 index0 alt2\"><code class=\"plain plain\">[local_mon]<\/code><\/div>\n<div class=\"line number2 index1 alt1\"><code class=\"plain plain\">password = secretpass<\/code><\/div>\n<div class=\"line number3 index2 alt2\"><code class=\"plain plain\">allowfrom = localhost<\/code><\/div>\n<div class=\"line number4 index3 alt1\"><code class=\"plain plain\">upsmon master<\/code><\/div>\n<p>OK there are some stuff there still should be done while I am posting this but I got other stuff to do so maybe will finish tomorrow.<\/p>\n<p>I looked up the run times on this site<\/p>\n<p><a href=\"https:\/\/www.cyberpowersystems.com\/tools\/runtimes\/\">https:\/\/www.cyberpowersystems.com\/tools\/runtimes\/<\/a><\/p>\n<ul>\n<li>At 100W I should get an hour (unrealistic)<\/li>\n<li>At 200W I should get 27 minutes (that is being hopeful)<\/li>\n<li>At 300W I should get 15 minutes (a little low but this is what I should target_<\/li>\n<li>At 400W I should get 11 minutes (really low)<\/li>\n<\/ul>\n<p>Also the width of this unit plus the server fits in this area I am targeting.<\/p>\n<p>lsusb produces<\/p>\n<pre>Bus 002 Device 003: ID 0764:0501 Cyber Power System, Inc. CP1500 AVR UPS<\/pre>\n<p>Which kind of matches this<\/p>\n<p><a href=\"https:\/\/networkupstools.org\/ddl\/Cyber_Power_Systems\/CP1500AVRLCD.html\">https:\/\/networkupstools.org\/ddl\/Cyber_Power_Systems\/CP1500AVRLCD.html<\/a><\/p>\n<p>Anyway swam today for my workout, son got his braces, and fixed the light switch.<\/p>\n<p>Kind of productive day<\/p>\n<p>Weight: 274.2<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Maybe a few more tiny things, but I got all the stuff I need to go in to production for my NAS.\u00a0 The last piece I got was the UPS.\u00a0 I purchased the CyberPower 1325VA which is the model LX1325GU. &hellip; <a href=\"https:\/\/www.apolonio.com\/blog\/?p=8164\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,11,3,9],"tags":[],"class_list":["post-8164","post","type-post","status-publish","format-standard","hentry","category-new-toys","category-technical","category-training","category-weighin"],"_links":{"self":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8164"}],"version-history":[{"count":1,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8164\/revisions"}],"predecessor-version":[{"id":8165,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/8164\/revisions\/8165"}],"wp:attachment":[{"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8164"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8164"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.apolonio.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}