Thought I would just thank the list for the help to setup my UPS. Today we had a power outage. One week after I setup my UPS. I got a 1500VA Back-UPS (not the expensive Smart ones). So I had to set the shutdown timeout in the conf file.  Hadn't even gotten around to testing it yet. Worked like a charm doing a clean shutdown today . Talk about luck. 
<br><br>BTW just wondering. Is there any benefit to using ext3 filesystem in a software RAID1? I know that ext3 is journalled but with a mirror what's the point if one of the drives completes a write but the other doesn't (due to power loss). Won't the array still be corrupted? Anyone with experience?
<br><br><div><span class="gmail_quote">On 10/16/06, <b class="gmail_sendername">Robert Arkiletian</b> <<a href="mailto:robark@gmail.com">robark@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br><br><div><div><span class="e" id="q_10e54a672012f8f3_1"><span class="gmail_quote">On 10/16/06, <b class="gmail_sendername">James P. Kinney III</b> <<a href="mailto:jkinney@localnetsolutions.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
jkinney@localnetsolutions.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Mon, 2006-10-16 at 13:04 -0600, Calvin Dodge wrote:<br>> On 10/16/06, Robert Arkiletian <<a href="mailto:robark@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">robark@gmail.com</a>
> wrote:<br>> ><br>> ><br>> >  Why do you recommend usb over serial?
<br>><br>> The cheaper APCs don't do true serial communication (i.e., sending<br>> data to the computer). Instead, they set certain signals (like CTS,<br>> IIRC) to indicate their condition.<br><br>It even more complicated than that. The different models transmit
<br>differing amounts of data. Whether the data port is serial or usb makes<br>no difference. The Back-UPS vs the Smart-UPS have a large amount of<br>functionality difference. The Backups is simpler and has only a timer<br>

function. Once it goes on battery, the timer starts. At the end of the<br>timer, it send the shutdown command to the host.<br><br>The smartups has much more of a command set. It supports battery<br>condition testing and and can signal a power down when the battery falls
<br>below a certain level. More importantly, it can hold of on powering back<br>up until the battery has reached a certain minimum runtime level.<br><br>On my current install, we have Smart-UPS XL 3000VA RM 3U models that
<br>have both serial and USB connectors. The same data is on both ports.<br><br>One nice thing about these (and all Linux systems can be setup to do<br>this) is when the shutdown command is issued, the apcupsd can be told to
<br>also send it to a group of other machines. In my current case, there are<br>several servers that run off the UPS in the rack. If the UPS is going<br>down that powers the main login/NFS-/home machine, every other server
<br>will need to also shut down as they will have nothing they can do. If a<br>UPS signals to a boot/app server the remaining app servers can stay up.<br><br>So the UPS is told power back up when the AC as back and the batteries
<br>are back up to enough time to allow a partially booted system to shut<br>down gracefully. The first box up is the NFS server. It will then tickle<br>the other machines with Wake-on LAN calls (as soon as I can finish that
<br>process).</blockquote></span></div><div><br><br>Wow nice info James. Thanks. I really like the fact that one box can tell the others to shutdown also. Is this done by setting up ssh keys? There must be some kind of auth required.
<br>
 </div><div><span class="e" id="q_10e54a672012f8f3_3"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">><br>> USB allows for real communication with the host computer, and I
<br>> _believe_ that means real data gets sent to that host. For example,
<br>> here's the output of "apcaccess" on my workstation:<br>><br>> APC      : 001,034,0890<br>> DATE     : Mon Oct 16 12:59:50 MDT 2006<br>> HOSTNAME : source-server.prosocial.local<br>> RELEASE  : 
3.12.4<br>> VERSION  : 3.12.4 (19 August 2006) redhat<br>> UPSNAME  : source-server.prosocial.local<br>> CABLE    : USB Cable<br>> MODEL    : Back-UPS NS 600<br>> UPSMODE  : Stand Alone<br>> STARTTIME: Fri Oct 13 13:05:46 MDT 2006
<br>> STATUS   : ONLINE<br>> LINEV    : 118.0 Volts<br>> LOADPCT  :   0.0 Percent Load Capacity<br>> BCHARGE  : 100.0 Percent<br>> TIMELEFT :  42.8 Minutes<br>> MBATTCHG : 5 Percent<br>> MINTIMEL : 3 Minutes
<br>> MAXTIME  : 0 Seconds<br>> LOTRANS  : 088.0 Volts<br>> HITRANS  : 139.0 Volts<br>> ALARMDEL : Always<br>> BATTV    : 13.5 Volts<br>> LASTXFER : Low line voltage<br>> NUMXFERS : 0<br>> TONBATT  : 0 seconds
<br>> CUMONBATT: 0 seconds<br>> XOFFBATT : N/A<br>> STATFLAG : 0x07000008 Status Flag<br>> MANDATE  : 2005-12-26<br>> SERIALNO : 3B0601X00177<br>> BATTDATE : 2000-00-00<br>> NOMBATTV :  12.0<br>> FIRMWARE : 
18.w1 .D USB FW:w1<br>> APCMODEL : Back-UPS NS 600<br>> END APC  : Mon Oct 16 12:59:51 MDT 2006<br>><br>><br>> I'm reasonably certain a serial signal-only connection can't convey<br>> that much information to the host (I've no great emotional stake in
<br>> this, and won't complain if somebody can post similar output from a<br>> signal-only UPS).<br>><br>> ><br>> >  I am using the CentOS 4 based k12ltsp.<br>><br>> RPMs are available for RHEL3 at the apcupsd site
<br>> (<a href="http://sourceforge.net/project/showfiles.php?group_id=54413&package_id=73150" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://sourceforge.net/project/showfiles.php?group_id=54413&package_id=73150
</a>).<br>> I think that's the closest match to CentOS 4 (being directly descended
<br>> from RHEL4).<br>><br>> Calvin<br>><br>> _______________________________________________<br>> K12OSN mailing list<br>> <a href="mailto:K12OSN@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
K12OSN@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
https://www.redhat.com/mailman/listinfo/k12osn</a><br>> For more info see <<a href="http://www.k12os.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.k12os.org</a>><br>--<br>
James P. Kinney III<br>CEO & Director of Engineering<br>Local Net Solutions,LLC
<br>770-493-8244<br><a href="http://www.localnetsolutions.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.localnetsolutions.com</a><br><br>GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<br><<a href="mailto:jkinney@localnetsolutions.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">jkinney@localnetsolutions.com
</a>><br>Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7<br><br><br>_______________________________________________<br>K12OSN mailing list<br><a href="mailto:K12OSN@redhat.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">https://www.redhat.com/mailman/listinfo/k12osn</a><br>For more info see <<a href="http://www.k12os.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www.k12os.org</a>><br><br><br></blockquote></span></div></div>
<br><br clear="all"><br>-- <div><span class="e" id="q_10e54a672012f8f3_5"><br>Robert Arkiletian<br>Eric Hamber Secondary, Vancouver, Canada<br>Fl_TeacherTool <a href="http://www3.telus.net/public/robark/Fl_TeacherTool/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://www3.telus.net/public/robark/Fl_TeacherTool/
</a><br>C++ GUI tutorial <a href="http://www3.telus.net/public/robark/" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www3.telus.net/public/robark/</a>

</span></div></blockquote></div><br><br clear="all"><br>-- <br>Robert Arkiletian<br>Eric Hamber Secondary, Vancouver, Canada<br>Fl_TeacherTool <a href="http://www3.telus.net/public/robark/Fl_TeacherTool/">http://www3.telus.net/public/robark/Fl_TeacherTool/
</a><br>C++ GUI tutorial <a href="http://www3.telus.net/public/robark/">http://www3.telus.net/public/robark/</a>