Articles in the Storage category

  1. Monitoring HP MSA P2000 G3 I/O Latency With Nagios

    Tue 04 February 2014

    At work we have a couple of HP MSA P2000 G3 SANs. These are entry-level SANs that still seem to have almost all features you might want from a SAN, except for official SSD-support.

    It seems that the new MSA 2040 adds support for SSDs and also provides 4 GB cache per controller instead of the somewhat meager 2GB of the P2000.

    Anyway, a very nice feature of the MSA P2000 G3 is the fact that the management interface also provides a well-documented API that allows you to collect detailed stats on subjects like:

    • Overall enclosure status
    • Reports on failed drives
    • Controller CPU usage
    • IOPs per controller
    • IOPs per vdisk
    • IOPs per disk

    Thomas Weaver has written a Nagios plugin that does that: it collects this information and in turn you can graph it with pnp4nagios.

    In more recent firmware updates HP has added support to monitor read and write I/O latency per vdisk. Latency is an important indicator for application-level performance so I was quite happy with that.

    As the plugin by Thomas did not support reading these parameters yet, I spend some time implementing this check and submitted this new version of check_p2000_api.php back to Thomas.

    Read Latency of a RAID 6 array

    readlatency

    Write Latency of a RAID 6 array

    readlatency

    You will notice that the write latency of this disk array is very high at times, which seem to indicate that this vdisk is taxed too much with too many I/O-requests.

    I'd like to thank Thomas Weaver for writing this plugin, I think it's very useful.

    Tagged as : Storage Nagios
  2. An Affordable Server Platform Based on Server-Grade Hardware

    Fri 13 December 2013

    Updated post (June 2014) found HERE

    There are some reasons why you should consider buying true server-grade harware when building a server, wether it's for home or business use.

    This is why I want to introduce you to the Supermicro X9SCM-F motherboard.

    motherboard

    This motherboard costs about $160 or €160, which is more than a desktop grade motherboard, but you get quite a lot in return.

    Remote KVM over IP

    First of all, this motherboard has a separate network interface dedicated to an on-board Keyboard-Video-Mouse interface (IPMI). This interface allows you to power the server on or off, enter the BIOS all through a web interface, through the network. You never need to be in the vicinity of your server unless you need to perform some hardware maintenance.

    Support for ECC (Error-correcting Code) RAM

    All server grade hardware from manufactures like Supermicro, Dell or HP all ship their servers with ECC RAM. This type of memory is more expensive than regular RAM, but based on the name, you may guess the benefit: it detects and corrects memory errors. If you truly care about data integrity and availability, this is a recommended feature.

    Support for both cheap or faster and more expensive processors

    Cheap processor with ECC RAM support

    The cheapest solution seems to be the Intel Pentium G2030 @ 2.00 GHz. For only 72 dollar or 52 Euro it can be yours and it supports ECC memory. Performance is not stellar but sufficient for most NAS builds. More proof that a build based on ECC does not have to be expensive.

    One step up the ladder is the Intel Core i3-3220. It retails for about $124 or €125 and it supports ECC memory, something I didn't suspect of the i3 series. At 3.3Ghz it's quite fast and it is a dual-core processor with hyper-threading support. The processor also supports virtualisation (VT-x), but it does not support I/O virtualisation (VT-d).

    Faster processor with full virtualisation support

    At $229 or €200 the Intel Xeon E3-1230 V2 cost you twice the price of the Core i3, but you get twice the processor cores (quad-core) with hyper-threading, turbo-boost up to 3.7 ghz and full virtualisation support (both VT-x and VT-d). For the money, you get a beast of a processor with ECC RAM support.

    Overview of CPU's

    CPUPassmark scorePrice in EuroPrice in Dollars
    Intel Pentium G2030 @ 3.00GHz300852 Euro72 Dollar*
    Intel Core i3-3220 @ 3.30GHz422697 Euro125 Dollar
    Intel Xeon E3-1230 V2 @ 3.30GHz8890196 Euro230 Dollar
    • Dollars are from Newegg (* is estimate).
    • Euros are including taxes.

    Support for 32 GB RAM

    32 GB is quite some RAM and the maximum amount supported by the free version of VMware ESXi (ESXi 5.5 does not have this limit I've been told). Basically, it supports entry-level virtualisation needs or web-application needs. The 32 GB RAM limit is one of the biggest constraints of this platform, but may be sufficient for most applications except for large virtualisation loads or big databases.

    32 GB is more than enough for everyone who likes to build a beefy storage server.

    Expandability: 4 x PCI-e 8x (physical size) slots

    This is probably why the Supermicro X9SCM-F motherboard is so interesting for NAS or storage builders. It has four PCI-e slots in a 8x physical form factor. Two of them are PCI-e 2.0 4x in a physical 8x slot and the other two are true PCI-e 3.0 8x slots. But even a PCI-e 2.0 4x slot provides you with 4 x 500 MB/s = 2000 MB/s per slot. The 8x slots have 8 lanes at 985 MB/s each thus totalling almost 8 GB/s! Let's be honest: the PCI-e 2.0 4x provide more than enough bandwidth to power any disk controller or network interface.

    Because there are four slots, there are several possibilities. For example, you could populate them with four IBM M1015 HBA's providing you with 32 SAS/SATA ports for a total of 32 disks. With the six on-board SATA ports, you could theoretically connect 38 disks.

    If you put only 3 x IBM M1015 HBA's in the motherboard you will leave room for fast networking, like a quad-port gigabit network card. You can then put the four gigabit ports into Linux interface bonding to achieve 400 MB/s network transfer speeds.

    motherboard

    You could also consider to implement 10GB network cards (more expensive) or take a look into fibre channel or infiniband network connectivity.

    With those four PCI-e slots, you can come a very long way.

    Two on-board Gigabit network interfaces

    The motherboard supports two on-board network interfaces and you can use them to bond them together for extra performance and/or fail-over.

    You could also use one interface for regular LAN traffic and the other one for iSCSI or other protocols.

    Conclusion

    I believe the Supermicro X9SCM-F motherboard is a very interesting all-round platform for any type of server and particularly interesting as a platform for storage servers.

    If you take the motherboard ($160), 8 GB RAM ($75) and entry level processor ($125) you get a server-grade platform for $360. The same platform with 16 GB RAM will cost you about $435. The prices in Euros will be about the same.

    Tagged as : storage
  3. Script That Shows Smart Values of All Disks'

    Sat 05 October 2013

    Please use this tool on github instead of this ancient script.


    So you have a Linux system with a lot of hard drives. If you want to quickly check on some key SMART values to determine the health of individual disks, you might be interested in this script.

    I wrote a small Python script called 'showsmart' that displays key SMART values for all disks that support SMART. This has been tested on Ubuntu and Debian.

    showsmart

    • REALLOC. = Reallocated Sector Count
    • PENDING = Current Pending Sector
    • CRC ERR. = UDMA CRC ERROR

    This script only requires python and smartctl (smartmontools).

    I hope someone will find it useful.

Page 9 / 16