<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   xmlns:creativeCommons="http://backend.userland.com/creativeCommonsRssModule">
<channel>
    <title>Bend in the Weather (Entries tagged as ups)</title>
    <link>http://matt.bottrell.com.au/</link>
    <description>A blog about Linux, Life and the 'Net</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:matt@bottrell.com.au" />
    <generator>Serendipity 1.3.1 - http://www.s9y.org/</generator>
    <pubDate>Fri, 17 Oct 2008 16:44:53 GMT</pubDate>

    <image>
        <url>http://matt.bottrell.com.au/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Bend in the Weather - A blog about Linux, Life and the 'Net</title>
        <link>http://matt.bottrell.com.au/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>RAIDing the RAID</title>
    <link>http://matt.bottrell.com.au/archives/280-RAIDing-the-RAID.html</link>
            <category>Hardware</category>
            <category>Work</category>
    
    <comments>http://matt.bottrell.com.au/archives/280-RAIDing-the-RAID.html#comments</comments>
    <wfw:comment>http://matt.bottrell.com.au/wfwcomment.php?cid=280</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://matt.bottrell.com.au/rss.php?version=2.0&amp;type=comments&amp;cid=280</wfw:commentRss>
    

    <author>mbottrell@gmail.com (Matt)</author>
    <content:encoded>
    In a not to distant past &lt;a href=&quot;http://etbe.coker.com.au/2008/10/14/some-raid-issues/&quot;&gt;Russell Coker wrote about RAID Issues&lt;/a&gt; and referred in part to &lt;a href=&quot;http://www.cs.wisc.edu/adsl/Publications/corruption-fast08.html&quot;&gt;a report containing data from 1,530,000 disks running at NetApp customer sites&lt;/a&gt;. (also available in &lt;a href=&quot;http://www.cs.wisc.edu/adsl/Publications/corruption-fast08.pdf&quot;&gt;PDF&lt;/a&gt; or &lt;a href=&quot;http://www.cs.wisc.edu/adsl/Publications/corruption-fast08.ps&quot;&gt;Postscript&lt;/a&gt;)&lt;br /&gt;
&lt;br /&gt;
Interesting reading, for sure - particularly if you run any large dataset and want to ensure it stays intact!  &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/eek.png&quot; alt=&quot;:-O&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
It prompted in the recesses of my memory a report compiled in February 2007 by Google.  The report, &lt;a href=&quot;research.google.com/archive/disk_failures.pdf&quot;&gt;&lt;em&gt;&#039;Failure Trends in a Large Disk Drive Population&#039;&lt;/em&gt;&lt;/a&gt; was a report presented at the USENIX (FAST &#039;07) Conference.&lt;br /&gt;
&lt;br /&gt;
The Google report looked at actual hardware failures of disk Google saw over several years.  The numbers were crunched (Is there anything else Google does besides crunch large datasets?).  Some interesting results popped out:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;The disks studied where either SATA or PATA consumer-grade disks that were either 5400RPM or 7200RPM ranging in size from 80G to 400G and been commissioned from any time  after 2001.  - Interesting this is the same disks that many of us will find in our own machines.  No Enterprise disks, SCSI or SAS disks in the study.&lt;/li&gt;&lt;li&gt;HDDs had a higher tendancy to fail at the start of their life or anything beyond &gt;3 years of use.&lt;/li&gt;&lt;li&gt;Low or Heavy Utilization  of the HDD resulted in greater loss then &#039;Medium use&#039;.&lt;/li&gt;&lt;li&gt;Disks that had surface scan errors had a greater result of failure over the next 60 days.&lt;/li&gt;&lt;li&gt;HDDs in operating in cool temperature (15-30&lt;sup&gt;o&lt;/sup&gt;C) had  much greater failure rate in the first 3 years.  Whilst disks &gt; 3 years had a greater failure rate with the higher the operating temperature.  The ideal rate for running disks to minimise failure rate was 30-35&lt;sup&gt;o&lt;/sup&gt;C.&lt;/li&gt;&lt;li&gt;A disk that spends more than 50% of it&#039;s powered on time &gt; 40&lt;sup&gt;o&lt;/sup&gt;C is a good indication of a possible problem.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Self-Monitoring,_Analysis,_and_Reporting_Technology&quot;&gt;SMART&lt;/a&gt; data analysis revealed that it is not a reliable way to determine if a disk is about to fail.  36% of all disk failure had no SMART errors.  The disks that had SMART errors the majority where seek errors (~72%).  So basically, expect to see seek errors, beyond that you appear to be running blind with SMART.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
Looking at both the Google Report and the NetApp Storage Report some &#039;best practices&#039; become apparent to ensure you minimise your data loss:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;HDDs are mechanical devices.  Expect failure and plan for it.&lt;/li&gt;&lt;li&gt;Attempt to operate disks in the 30 - 35&lt;sup&gt;o&lt;/sup&gt;C temperature range to extend their life.&lt;/li&gt;&lt;li&gt;Monitor disk temperatures.  Extended periods where a disk temperature rises unexpectedly (ie: not under any additional load than normal), is often an early sign that failure is close at hand.&lt;/li&gt;&lt;li&gt;Attempt to purchase disks not from the same batch.  This will avoid a common manufacturing fault taking your disks out at the same time.  (Many storage companies will do that for you as part of their service.)  &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/li&gt;&lt;li&gt;HDD failure follows the &lt;a href=&quot;http://en.wikipedia.org/wiki/Bathtub_curve&quot;&gt;Bathtub curve&lt;/a&gt;.    The &#039;right side&#039; of the bath kicks in around 3 years.  Getting life out of your HDDs beyond that is a bonus, treat it as such!&lt;/li&gt;&lt;li&gt;HDDs are cheap these days.   Don&#039;t be cheap -- implement &lt;a href=&quot;http://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_6&quot;&gt;RAID-6&lt;/a&gt; over &lt;a href=&quot;http://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_5&quot;&gt;RAID-5&lt;/a&gt; as a matter of course.   Ensure you use &lt;a href=&quot;http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Double_parity&quot;&gt;Double-parity&lt;/a&gt; on your RAID-6 implementation.  You&#039;ll find most recent versions of RAID-6 implement double-parity as &#039;standard&#039;. (NB: If using NetApp - it&#039;s coined as &lt;a href=&quot;http://en.wikipedia.org/wiki/Non-standard_RAID_levels#RAID-DP&quot;&gt;RAID-DP&lt;/a&gt;.)  Some vendors even allow you to upgrade the storage firmware online if using RAID-6 with Double Parity (NetApp for example has this feature).&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Hot_spare#Computer_usage&quot;&gt;Hot-Spares&lt;/a&gt; in your RAID-6 array is a &lt;em&gt;very good idea&lt;/em&gt;. For the cost of the array consider it an insurance policy against the dreaded multiple disk failure which could potentially toast your array.&lt;/li&gt;&lt;li&gt;How important is your data?  Can you put a cost on it?   If the cost of replacement is extreme, consider redundancy options.  This could include:  Implementing &lt;a href=&quot;http://en.wikipedia.org/wiki/Nested_RAID_levels#RAID_60_.28RAID_6.2B0.29&quot;&gt;RAID-60 (or RAID-6+0)&lt;/a&gt;, archive/backup solutions, or even a total Disaster Recovery (DR) solution.&lt;/li&gt;&lt;li&gt;Air flow around an array unit is critical.  Don&#039;t cram your arrays in a fully populated rack, as minimal air-flow will ensure.  This will add to the HDD temperatures and general storage enclosure.  Remember you&#039;re aiming to keep your disks at 30-35&lt;sup&gt;o&lt;/sup&gt;C.&lt;/li&gt;&lt;li&gt;Keep a logbook of when each drive was added/replaced.  You know that 18 month disk then is less likely to fail than that disk that has been whirring away for 5 years.  Record size, manufacturer and model/run.  You may see some &#039;patterns&#039; emerge in your own failure rates that will help with additional purchase decisions (ie: particular makes/models to avoid!)&lt;/li&gt;&lt;li&gt;Perform regular &#039;scans&#039; or &#039;checks&#039; of your HDD health, knowing the current state of disks allows you to plan for the inevitable failure.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
Other tips I&#039;ve picked up over the years looking after Enterprise systems attached to large storage arrays:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;There is a reason that the ASX demands that publicly listed companies with &#039;mission critical&#039; services for the public (items such as water supply, electricity/gas, and telecommunications) MUST ensure their &#039;mission criticial&#039; applications have full Disaster Recovery operation on hot-standy.&lt;/li&gt;&lt;li&gt;Don&#039;t cut corners and not implement items like HotSpares and Double Parity.  &lt;em&gt;When&lt;/em&gt; you have a drive failure (not if), you&#039;ll be glade you spent that little bit extra on it.&lt;/li&gt;&lt;li&gt;A well planned storage solution should have &lt;em&gt;drive&lt;/em&gt; failures, it shouldn&#039;t have &lt;em&gt;storage&lt;/em&gt; failures.  (&lt;a href=&quot;http://www.zdnet.com.au/news/communications/soa/Internode-resorts-to-disaster-recovery/0,130061791,339292131,00.htm&quot;&gt;Don&#039;t tell Sun/Internode that!&lt;/a&gt;) &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/li&gt;&lt;li&gt;Ensure you have clean-filtered power.  Don&#039;t &lt;u&gt;assume&lt;/u&gt; it.  Power voltage fluctuations and disk writes don&#039;t play nicely.&lt;/li&gt;&lt;li&gt;Don&#039;t put all your eggs in one basket.  Bad things do happen (I won&#039;t mention Internode again).  Spreading your data out over multiple storage arrays helps add another level of redundancy. This is a GoodThing&lt;sup&gt;TM&lt;/sup&gt;&lt;/li&gt;&lt;li&gt;It&#039;s never a bad idea to have spare disks in storage waiting for that inevitable failure, rather than relying on a vendor to have your disk capacity/model available.  Every day that dead disk isn&#039;t replaced you are putting your array at risk.&lt;/li&gt;&lt;li&gt;Look after your disks and arrays, and they generally will look after you (ie: ensuring you don&#039;t spend countless hours in the early mornings attempting to recover the unrecoverable!)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
Above all, may your next &lt;em&gt;disk&lt;/em&gt; failure not be a &lt;em&gt;complete&lt;/em&gt; failure.   &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
I&#039;m interested to hear others stories, experiences and ideas that they have put in place to keep their data nice and cosy and their HDDs whirring in a constant and reliable state.  Feel free to drop me a comment.   &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
As a side note:  I&#039;ve been putting RAID-1 in place on my desktop machines as disk prices are so cheap now over the past 18 months.  For the price of a few hundred dollars why bother the stress of a hard-disk failure?  Having said that, it&#039;s no replacement for backing up your &#039;important&#039; information.  RAID-1 is still susceptible to the dreaded multiple disk failure issue.   &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cry.png&quot; alt=&quot;:&#039;(&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;   Having said that, I&#039;ve been lucky at that hasn&#039;t occurred.  (Touch wood!) 
    </content:encoded>

    <pubDate>Sat, 18 Oct 2008 03:44:00 +1100</pubDate>
    <guid isPermaLink="false">http://matt.bottrell.com.au/archives/280-guid.html</guid>
    <category>array</category>
<category>disk</category>
<category>failure</category>
<category>google</category>
<category>hardware</category>
<category>monitoring</category>
<category>nas</category>
<category>office</category>
<category>power</category>
<category>raid</category>
<category>san</category>
<category>storage</category>
<category>sysadmin</category>
<category>ups</category>
<category>work</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>UPS monitoring under Linux</title>
    <link>http://matt.bottrell.com.au/archives/211-UPS-monitoring-under-Linux.html</link>
            <category>Apps</category>
            <category>Hardware</category>
            <category>Linux</category>
            <category>Windows</category>
    
    <comments>http://matt.bottrell.com.au/archives/211-UPS-monitoring-under-Linux.html#comments</comments>
    <wfw:comment>http://matt.bottrell.com.au/wfwcomment.php?cid=211</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://matt.bottrell.com.au/rss.php?version=2.0&amp;type=comments&amp;cid=211</wfw:commentRss>
    

    <author>mbottrell@gmail.com (Matt)</author>
    <content:encoded>
    I recently &lt;a href=&quot;http://matt.bottrell.com.au/archives/194-Asterisk,-Snom-300-VOIP-phone-and-Power-Over-Ethernet..html&quot;&gt;made reference to the fact I purchased some UPSes&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
For our desktop machines I purchased 2 x &lt;a href=&quot;http://www.powerware.com.au/australia/UPS/5110_UPS.asp&quot;&gt;Powerware 5110 1500VA&lt;/a&gt; units. We also purchased a &lt;a href=&quot;http://www.powerware.com.au/australia/ups/5125_ups.asp?CC=1&quot;&gt;1 x Powerware 5125 2200VA&lt;/a&gt; (15A socket) to run our 19&quot; racks.  (This will also include some networking gear, a 8-port KVM with 15&quot; LCD monitor, and a reasonable server and Disk Arrays).&lt;br /&gt;
&lt;br /&gt;
I make it a habit when sizing a UPS of ensuring I don&#039;t load it too high.  Whilst I &lt;em&gt;can&lt;/em&gt; run many things on each UPS, I would refer a relatively low load, so that if required I can hold the box up long enough to shutdown everything safely.  There is nothing worse than hard crashing a server because the UPS load sat at 70-80% load and couldn&#039;t hold up  for 5-10 minutes whilst machines started shutting down.  This is particularly true of a busy database server.&lt;br /&gt;
&lt;br /&gt;
I generally try to run a UPS load of around &lt; 50% and ideally between 10-30% if I can.  I would rather have a few minutes up my sleeve then spending time worrying whether I will be able to recover from backup.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a title=&quot;/uploads/Pics/LanSafe.png&quot; id=&quot;s9yisp16&quot;&gt;&lt;/a&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://matt.bottrell.com.au/serendipity_admin_image_selector.php?serendipity[step]=showItem&amp;amp;serendipity[image]=16&#039; id=&quot;s9yisphref16&quot; onclick=&quot;javascript:this.href = this.href + &#039;&amp;amp;serendipity[from]=&#039; + self.location.href;&quot;&gt;&lt;!-- s9ymdb:16 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;83&quot; src=&quot;http://matt.bottrell.com.au/uploads/Pics/LanSafe.thumb.png&quot; alt=&quot;&quot;  /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;LanSafe v5 for Windows&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;
The software that comes with the Powerware 5110 runs under Windows.  (They do provide &#039;Linux&#039; software but it&#039;s pretty shoddy and a PITA to try and get working).  &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;a href=&quot;http://www.powerware.com.au/Software/Lansafe5.asp&quot; title=&quot;LanSafe Version 5 : UPS Monitoring software for Windows&quot;&gt;LanSafe&lt;/a&gt; -  does work well under Windows.&lt;br /&gt;
&lt;br /&gt;
Pauline runs Windows as her default OS (mainly due to her need for &lt;a href=&quot;http://myob.com/&quot; title=&quot;The software I love to hate&quot;&gt;MYOB&lt;/a&gt; and &lt;a href=&quot;http://eci.ato.gov.au/&quot; title=&quot;ATO Electronic Commerce Interface&quot;&gt;ATO&#039;s ECI Client Software&lt;/a&gt;  both only native to Windows.  There is also the  occasional business website she requires that is IE only - much to our disgust...)  &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cry.png&quot; alt=&quot;:&#039;(&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;  &lt;br /&gt;
&lt;br /&gt;
We will probably look at moving her over to a Linux desktop in the future and running Windows in either a dual boot or virtual machine.  In fact, we&#039;ll probably do that sooner rather than later, for a number of reasons.&lt;ol&gt;&lt;li&gt;&lt;a href=&quot;http://support.microsoft.com/lifecycle/?p1=3223&quot; title=&quot;Mainstream support finishes 14/04/2009&quot;&gt;End of Life for Windows XP Professional&lt;/a&gt; has been announced, for early next year.  (if you don&#039;t get &lt;em&gt;&#039;Extended Support&#039;&lt;/em&gt; which most consumers won&#039;t be offered - it&#039;s mainly for business.).&lt;/li&gt;&lt;li&gt;We&#039;ve purchased 2 x 1TB SATA2 disks for her machine &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cool.png&quot; alt=&quot;8-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/li&gt;&lt;li&gt;A reinstall of Windows may resolve the long delay at startup she faces - upto 5 minutes before the machine becomes &#039;usable&#039;.   Yes, we&#039;ve cleaned the registery, removed any unwanted startup programs, defragged the disk, and even cleaned out old pre-fetch data.  It&#039;s still a mystery.  &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/normal.png&quot; alt=&quot;:-|&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;
&lt;div class=&quot;serendipity_imageComment_left&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a title=&quot;/uploads/Pics/nut-ups.png&quot; id=&quot;s9yisp15&quot;&gt;&lt;/a&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://matt.bottrell.com.au/serendipity_admin_image_selector.php?serendipity[step]=showItem&amp;amp;serendipity[image]=15&#039; id=&quot;s9yisphref15&quot; onclick=&quot;javascript:this.href = this.href + &#039;&amp;amp;serendipity[from]=&#039; + self.location.href;&quot;&gt;&lt;!-- s9ymdb:15 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;110&quot; height=&quot;56&quot; src=&quot;http://matt.bottrell.com.au/uploads/Pics/nut-ups.thumb.png&quot; alt=&quot;&quot;  /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;nut-cgi showing my Powerware 5110 UPS&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 110px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;a title=&quot;/uploads/Pics/KNutClient.png&quot; id=&quot;s9yisp17&quot;&gt;&lt;/a&gt;&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://matt.bottrell.com.au/serendipity_admin_image_selector.php?serendipity[step]=showItem&amp;amp;serendipity[image]=17&#039; id=&quot;s9yisphref17&quot; onclick=&quot;javascript:this.href = this.href + &#039;&amp;amp;serendipity[from]=&#039; + self.location.href;&quot;&gt;&lt;!-- s9ymdb:17 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;110&quot; height=&quot;62&quot; src=&quot;http://matt.bottrell.com.au/uploads/Pics/KNutClient.thumb.png&quot; alt=&quot;&quot;  /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;KDE Client for Nut&lt;/div&gt;&lt;/div&gt;I wanted something that easy under my Linux desktop (Ubuntu in this case).&lt;br /&gt;
&lt;br /&gt;
That&#039;s where &lt;a href=&quot;http://www.networkupstools.org/&quot; title=&quot;Network UPS Tools&quot;&gt;NUT&lt;/a&gt; comes in. &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.networkupstools.org/compat/&quot; title=&quot;NUT UPS compatibility&quot;&gt;NUT supports a wide range of UPS makes, models and connectivity options&lt;/a&gt;.  &lt;a href=&quot;http://www.networkupstools.org/features/&quot; title=&quot;NUT features&quot;&gt;Feature-wise&lt;/a&gt; it is quite impressive.&lt;br /&gt;
&lt;br /&gt;
Reading through the&lt;a href=&quot;http://www.networkupstools.org/doc/&quot; title=&quot;Documentation for NUT&quot;&gt; documentation for NUT&lt;/a&gt; it&#039;s quite clear that you can extend on the notifications you can generate.  From items like &lt;a href=&quot;http://www.networkupstools.org/doc/2.2.0/pager.html&quot; title=&quot;NUT paging options&quot;&gt;sending wall messages, Emails, syslog alerts, to even Email messages&lt;/a&gt;. You can even &lt;a href=&quot;http://www.networkupstools.org/doc/2.2.0/osd-notify.html&quot;&gt;get an OSD display if the UPS state changes&lt;/a&gt;. I&#039;ll probably make use of the &lt;a href=&quot;http://matt.bottrell.com.au/archives/170-Nagios-2-way-alerting-via-SMS-Part-1.html&quot;&gt;SMS daemon I wrote about previously&lt;/a&gt; to send me an SMS.  &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/laugh.png&quot; alt=&quot;:-D&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;em&gt;Apparently&lt;/em&gt; &lt;a href=&quot;http://www.gnome.org/projects/gnome-power-manager/&quot;&gt;Gnome Power Manager&lt;/a&gt; is supposed to pickup a UPS (it is just a battery after all) is attached.  Seems it doesn&#039;t in this instance.  &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cry.png&quot; alt=&quot;:&#039;(&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;  &lt;em&gt;(I&#039;m happy to be corrected -- but I&#039;m yet to find anything on the web that shows so much for this UPS).&lt;/em&gt;&lt;br /&gt;
&lt;br /&gt;
There has been a &lt;a href=&quot;http://www.nabble.com/(gnome-)power-manager-td15731488.html&quot;&gt;bit of discussion in recent times&lt;/a&gt; of getting an independent system together that relies on D-BUS/HAL so that other Window Managers can also hook into it.  A lot like what we&#039;re seeing now in Network Manager (love or hate it!) (See: &lt;a href=&quot;http://live.gnome.org/BetterPowerManager&quot;&gt;BetterPowerManager&lt;/a&gt; and the &lt;a href=&quot;http://people.freedesktop.org/~hughsient/temp/power-management-spec-0.2.html&quot; title=&quot;Power Management Specification from Freedesktop.org&quot;&gt;Power Management Specification&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
For the record, you can also use &lt;a href=&quot;http://nagiosplugins.org/man/check_ups&quot; title=&quot;Nagios UPS plugin&quot;&gt;check_ups&lt;/a&gt; from Nagios to actively monitor your UPS that is being managed by NUT &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cool.png&quot; alt=&quot;8-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Those using an &lt;a href=&quot;http://www.apc.com/&quot;&gt;APC UPS&lt;/a&gt; should look at &lt;a href=&quot;http://www.apcupsd.com/&quot; title=&quot;APC UPS Software&quot;&gt;apcupsd&lt;/a&gt; (a new stable version was just released on the 20&lt;sup&gt;th&lt;/sup&gt; of May 2008).  There is also native Windows versions available.&lt;br /&gt;
 
    </content:encoded>

    <pubDate>Wed, 28 May 2008 00:23:00 +1000</pubDate>
    <guid isPermaLink="false">http://matt.bottrell.com.au/archives/211-guid.html</guid>
    <category>alerting</category>
<category>apps</category>
<category>hardware</category>
<category>linux</category>
<category>power</category>
<category>ups</category>
<category>windows</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>
<item>
    <title>Asterisk, Snom-300 VOIP phone and Power Over Ethernet.</title>
    <link>http://matt.bottrell.com.au/archives/194-Asterisk,-Snom-300-VOIP-phone-and-Power-Over-Ethernet..html</link>
            <category>Hardware</category>
    
    <comments>http://matt.bottrell.com.au/archives/194-Asterisk,-Snom-300-VOIP-phone-and-Power-Over-Ethernet..html#comments</comments>
    <wfw:comment>http://matt.bottrell.com.au/wfwcomment.php?cid=194</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://matt.bottrell.com.au/rss.php?version=2.0&amp;type=comments&amp;cid=194</wfw:commentRss>
    

    <author>mbottrell@gmail.com (Matt)</author>
    <content:encoded>
    Well it&#039;s coming up to the end of financial year, and like many businesses we needed to make a few purchases.  (That or pay more corporate tax -- hmmm  let me think.. more toys or more tax?  &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; )&lt;br /&gt;
Generally we don&#039;t make many purchases throughout the year and then buy up large near the end of the financial year. (well unless something fails!)&lt;br /&gt;
&lt;br /&gt;
As such we decided to get a decent VOIP phone.  We currently use a &lt;a href=&quot;http://www.linksys.com/servlet/Satellite?c=L_CASupport_C2&amp;amp;childpagename=US%2FLayout&amp;amp;cid=1169083369263&amp;amp;pagename=Linksys%2FCommon%2FVisitorWrapper&amp;amp;lid=6926337314B202&quot; title=&quot;SPA3102 : Single Port Router with 1 Port and FXO Port VOIP ATA&quot;&gt;LinkSys SPA3102&lt;/a&gt; with our cordless phone, but wanted to get a phone with a decent headset so we could talk hands free easily.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;serendipity_imageComment_left&quot; style=&quot;width: 350px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!-- s9ymdb:6 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;350&quot; height=&quot;234&quot; src=&quot;http://matt.bottrell.com.au/uploads/Pics/snom300.jpg&quot; alt=&quot;&quot;  /&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;Snom-300.  An excellent VOIP phone, with fantastic voice quality and a solidly built professional phone.&lt;/div&gt;&lt;/div&gt;We spoke to a few people, did the research and settled on a &lt;a href=&quot;http://www.snom.com/&quot; title=&quot;Maker of excellent VOIP phones&quot;&gt;Snom&lt;/a&gt; VOIP phone.  In particular, we elected the &lt;a href=&quot;http://www.snom.com/en/snom300_voip_phone0.html&quot; title=&quot;Snom-300 - an excellent VOIP phone for the office or home&quot;&gt;Snom-300&lt;/a&gt; as the phone of choice for us.  Whilst it claims it&#039;s the &#039;base phone&#039;, unless you&#039;re mega-boss or a telemarketing guru I doubt the snom-320 or snom-360 phones are really required.  (They basically have a lot of additional buttons and few features added to the base functionality).&lt;br /&gt;
&lt;br /&gt;
You can configure the phone via the LCD menu system, or use the built in web based configuration.  The web-based configuration is very well laid out and easy to navigate and locate what you need.&lt;br /&gt;
&lt;a href=&quot;http://wiki.snom.com/Snom300/Firmware&quot; title=&quot;Instructions on upgrading the Snom-300 firmware&quot;&gt;&lt;br /&gt;
Upgrading the phones firmware&lt;/a&gt; is extremely easy and quite painless.  You can watch the progress of the phone being flashed, and it&#039;s quite novel to see items like chroot, mount appear on your phones LCD.&lt;br /&gt;
&lt;br /&gt;
Chroot, mount you say?!  Yup, at the heart of every Snom is a Linux kernel.   &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cool.png&quot; alt=&quot;8-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;   Whilst this wasn&#039;t the sole reason for buying the device, it&#039;s handy to know that with a bit of time I could in theory hack the phone.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;serendipity_imageComment_right&quot; style=&quot;width: 250px&quot;&gt;&lt;div class=&quot;serendipity_imageComment_img&quot;&gt;&lt;!-- s9ymdb:7 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;250&quot; height=&quot;279&quot; src=&quot;http://matt.bottrell.com.au/uploads/Pics/snom300-headset.jpg&quot; alt=&quot;&quot;  /&gt;&lt;/div&gt;&lt;div class=&quot;serendipity_imageComment_txt&quot;&gt;The Snom-300 HS-MM3 headset is both comfortable and functional.  Sound is clear and crisp through it.&lt;/div&gt;&lt;/div&gt;I unfortunately get stuck is long boring teleconferences far too often, so I wanted to ensure I also had a phone that was able to plugin in a headset.  Not all IP VOIP phones we looked at seemed to have that feature.   &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/normal.png&quot; alt=&quot;:-|&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
The Snom phones do, however they use an RJ-11 headset connection instead of a 2.5mm or 3.5mm jack that people are most familar with.  (Many cordless phones also use the 2.5/3.5mm jacks).&lt;br /&gt;
&lt;br /&gt;
As such, we decided to purchase them.  They don&#039;t come cheap but are worth it.  It&#039;s a much better solution than getting &#039;neck cramp&#039; attempting to hold the phone under your chin, or even speaker phone (which seems to pickup more background noise), which can annoy anyone else within earshot.&lt;br /&gt;
&lt;br /&gt;
With the headset, I&#039;m able to easily keep working on my computer; punching away on the keyboard, and those on the other end are none the wiser!    (Well besides being too distracted to really keep up with the conversation; dang! I think I just let my secret out....and to think -- people just thought I was vague on the phone!) &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cool.png&quot; alt=&quot;8-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Our current setup has me registering both the ATA and the Snoms  devices registering directly to our VOIP provider.  This works fine, and allows multiple out going calls at the same time, but means only our ATA rings for incoming calls (we have two DIDs).&lt;br /&gt;
&lt;br /&gt;
It makes sense, as the ATA picks up the incoming request and responds... well before the Snoms do.  How to resolve?&lt;br /&gt;
&lt;br /&gt;
Easily -- &lt;a href=&quot;http://www.asterisk.org/&quot; title=&quot;Asterisk - The Open Sourced PBX&quot;&gt;Asterisk&lt;/a&gt; to the rescue! &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cool.png&quot; alt=&quot;8-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
I can setup Asterisk as our local PBX (or PABX for those in Australia!), and have all devices register to it.  Then the Asterisk server registers with our Voice Provider.   &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
A bit of Asterisk config and I should be able to get all the phones to ring.  In addition, it will allow me to use &lt;a href=&quot;http://en.wikipedia.org/wiki/T.38&quot; title=&quot;Fax Over IP aka FOIP&quot;&gt;T.38&lt;/a&gt;, add &lt;a href=&quot;http://en.wikipedia.org/wiki/Music_on_hold&quot; title=&quot;Music On Hold&quot;&gt;MOH&lt;/a&gt;, and voice mail.   I also like the ability to have local extensions so we can forward calls between various devices.   Currently both Pauline and I share an office, but in our new house we&#039;ll be up other ends of the house.  So call transfers make sense.  I think it would be great to also create an IVR application that puts telemarketers into a loop of endless questions.  (randomly generated of course -- so they aren&#039;t aware!)  Though I think &lt;a href=&quot;http://weblog.leapster.org/index.php?/archives/96-Combatting-telemarketers-with-Asterisk.html&quot; title=&quot;Combatting Telemarketers with Asterisk (using Zapateller)&quot;&gt;Paul Dwerryhouse&#039;s idea&lt;/a&gt; is probably the solution.&lt;br /&gt;
&lt;br /&gt;
I&#039;m a newbie to Asterisk (though I&#039;ve been aware of it for a while -- I just haven&#039;t had a need for it)...  so I imagine it might take me some time to configure it all up as we desire.&lt;br /&gt;
&lt;br /&gt;
Once done, the only thing Telstra will be getting out of us will be the cheapest line rental we can pay.  (They overcharge for that as well!) &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/tongue.png&quot; alt=&quot;:-P&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;  Though, there is not much getting around it whilst stuck on an ADSL1 connection.&lt;br /&gt;
&lt;br /&gt;
Another  purchase we made for the upcoming house was a nice 48-port managed Gigabit switch that contains 12 POE (Power over Ethernet) ports.    These will be used to power our phones in the future, saving the need for the current power-pack.&lt;br /&gt;
&lt;br /&gt;
The switch we went for is a &lt;a href=&quot;http://www.dlink.com.au/Products.aspx?Sec=1&amp;amp;Sub1=12&amp;amp;Sub2=20&amp;amp;PID=307&quot; title=&quot;48-Port Managed L2 Gigabit Stackable Switch With POE&quot;&gt;D-Link DGS-3100-48P&lt;/a&gt;.  Like most large switches it&#039;s full of fans and sounds like a DC-7 taking off.  As a result, it&#039;s safely packed back in it&#039;s box and will be used after the house move!&lt;br /&gt;
&lt;br /&gt;
We also purchased to UPSes (the old ones had dead batteries) -- strangely it&#039;s cheaper buying new UPSes than batteries.     &lt;br /&gt;
So we ended up with 1 x &lt;a href=&quot;http://www.powerware.com/australia/ups/5110_UPS.asp&quot; title=&quot;Powerware 5110 UPS&quot;&gt;1500VA UPS&lt;/a&gt; and a 1 x &lt;a href=&quot;http://www.powerware.com/australia/ups/5125_UPS.asp&quot; title=&quot;Powerware 5125 UPS&quot;&gt;2200VA UPS&lt;/a&gt;.&lt;br /&gt;
It appears we&#039;ll probably need one more 1500VA.&lt;br /&gt;
I went with &lt;a href=&quot;http://www.powerware.com/australia/&quot;&gt;Powerware UPSes&lt;/a&gt; as their is reasonably good local support (and hopefully battery replacements!), and &lt;a href=&quot;http://eu1.networkupstools.org/&quot; title=&quot;Network UPS Tools (NUT)&quot;&gt;nut&lt;/a&gt; seems to work well.&lt;br /&gt;
&lt;br /&gt;
All in all it&#039;s been a good month for hardware toys to play with. &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/smile.png&quot; alt=&quot;:-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
Shame a fair bit of this new gear is a few months off until we get into the new house!   &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/cry.png&quot; alt=&quot;:&#039;(&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt; &lt;br /&gt;
&lt;br /&gt;
Now if only those &lt;a href=&quot;http://www.intel.com/technology/architecture-silicon/next-gen/index.htm&quot; title=&quot;Intel &#039;Nehalem&#039; 45ns architecture with QuickPath Architecture&quot;&gt;Intel 8-core Xeons&lt;/a&gt; were out....  (my desired replacement server that will consolidate everything down!)  If you wish to view a demo of what&#039;s coming.. take a look at the &lt;a href=&quot;http://www.intel.com/technology/architecture-silicon/next-gen/demo/demo.htm&quot; title=&quot;Intel next-generation demonstration&quot;&gt;Intel demonstration&lt;/a&gt;.   &lt;img src=&quot;http://matt.bottrell.com.au/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;  
    </content:encoded>

    <pubDate>Tue, 13 May 2008 18:16:00 +1000</pubDate>
    <guid isPermaLink="false">http://matt.bottrell.com.au/archives/194-guid.html</guid>
    <category>asterisk</category>
<category>hardware</category>
<category>linksys</category>
<category>linux</category>
<category>networking</category>
<category>pbx</category>
<category>snom</category>
<category>telephony</category>
<category>ups</category>
<category>voip</category>
<category>xeon</category>
<creativeCommons:license>http://creativecommons.org/licenses/by-sa/3.0/</creativeCommons:license>
</item>

</channel>
</rss>