<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>

<channel>
	<title>Christian's blog</title>
	<atom:link href="http://blog.barfoo.org/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.barfoo.org</link>
	<description>The usual IT babble</description>
	<pubDate>Wed, 07 Jan 2009 09:41:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.8-bleeding-edge</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Latest SLES10/ESX-3.5 RPMS</title>
		<link>http://blog.barfoo.org/2009/01/04/latest-sles10esx-35-rpms/</link>
		<comments>http://blog.barfoo.org/2009/01/04/latest-sles10esx-35-rpms/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 22:14:11 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[RPM]]></category>

		<category><![CDATA[SLES10]]></category>

		<category><![CDATA[VMware ESX]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1301</guid>
		<description><![CDATA[Disclaimer: I don’t take any responsibility for faults within the software, I just provide the RPM’s! Feel free to ask me about stuff concerning these RPM’s, but I ain’t accountable if your stuff goes kaboom …
Well, even though Jan said that I don&#8217;t need to be doing this, at least some RPMS I need to [...]]]></description>
			<content:encoded><![CDATA[<p class="error"><strong>Disclaimer:</strong> I don’t take <em>any responsibility</em> for faults within the software, I just provide the RPM’s! Feel free to ask me about stuff concerning these RPM’s, but I ain’t accountable if your stuff goes <strong>kaboom</strong> …</p>
<p>Well, even though <a href="http://blog.barfoo.org/2008/07/14/latest-sles10-rpm-additions/comment-page-1/#comment-970">Jan said</a> that I don&#8217;t need to be doing this, at least some RPMS I need to build myself, since</p>
<ol>
<li>The openSUSE build service isn&#8217;t always as fast as you&#8217;d wish</li>
<li>some of my RPMS contain fixes/patches from other sources</li>
</ol>
<p>So, here we go (again):</p>
<p><strong>VMware ESX 3.5</strong> (binary compatible to CentOS 3.9/RHEL 3.9):</p>
<ul>
<li>htop-0.8.1-1.0 (<a href="http://distributions.barfoo.org/ESX-3.5/i386/htop-0.8.1-1.0.i386.rpm">i386</a>, <a href="http://distributions.barfoo.org/ESX-3.5/src/htop-0.8.1-1.0.src.rpm">SRPM</a>)</li>
<li>nagios-plugins-1.4.13-1.0 (<a href="http://distributions.barfoo.org/ESX-3.5/i386/nagios-plugins-1.4.13-1.0.i386.rpm">i386</a>, <a href="http://distributions.barfoo.org/ESX-3.5/src/nagios-plugins-1.4.13-1.0.src.rpm">SRPM</a>)
<ul>
<li>nagios-plugins-setuid-1.4.13-1.0 (<a href="http://distributions.barfoo.org/ESX-3.5/i386/nagios-plugins-setuid-1.4.13-1.0.i386.rpm">i386</a>)</li>
</ul>
</li>
<li>perl-Config-Tiny-2.12-1.0 (<a href="http://distributions.barfoo.org/ESX-3.5/noarch/perl-Config-Tiny-2.12-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/ESX-3.5/src/perl-Config-Tiny-2.12-1.0.src.rpm">SRPM</a>)</li>
<li>perl-Math-Calc-Units-1.06-1.0 (<a href="http://distributions.barfoo.org/ESX-3.5/noarch/perl-Math-Calc-Units-1.06-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/ESX-3.5/src/perl-Math-Calc-Units-1.06-1.0.src.rpm">SRPM</a>)</li>
<li>perl-Nagios-Plugin-0.31-1.0 (<a href="http://distributions.barfoo.org/ESX-3.5/noarch/perl-Nagios-Plugin-0.31-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/ESX-3.5/src/perl-Nagios-Plugin-0.31-1.0.src.rpm">SRPM</a>)</li>
</ul>
<p><strong>SUSE Linux Enterprise Server 10</strong>:</p>
<ul>
<li>dstat-0.6.8-1.0 (<a href="http://distributions.barfoo.org/SLES10/src/dstat-0.6.8-1.0.src.rpm">SRPM</a>)</li>
<li>iotop-0.2.1-1.0 (<a href="http://distributions.barfoo.org/SLES10/noarch/iotop-0.2.1-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/SLES10/src/iotop-0.2.1-1.0.src.rpm">SRPM</a>)</li>
<li>nagios-plugins-check_diskio-2.2.0-1 (<a href="http://distributions.barfoo.org/SLES10/noarch/nagios-plugins-check_diskio-2.2.0-1.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/SLES10/src/nagios-plugins-check_diskio-2.2.0-1.src.rpm">SRPM</a>)</li>
<li>nagios-plugins-check_lm_sensors-3.1.0-1.0 (<a href="http://distributions.barfoo.org/SLES10/noarch/nagios-plugins-check_lm_sensors-3.1.0-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/SLES10/src/nagios-plugins-check_lm_sensors-3.1.0-1.0.src.rpm">SRPM</a>)</li>
<li>nagios-plugins-check_nagios_latency-0.9.3-1.0 (<a href="http://distributions.barfoo.org/SLES10/noarch/nagios-plugins-check_nagios_latency-0.9.3-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/SLES10/src/nagios-plugins-check_nagios_latency-0.9.3-1.0.src.rpm">SRPM</a>)</li>
<li>perl-Config-Tiny-2.12-1.0 (<a href="http://distributions.barfoo.org/SLES10/noarch/perl-Config-Tiny-2.12-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/SLES10/src/perl-Config-Tiny-2.12-1.0.src.rpm">SRPM</a>)</li>
<li>perl-Math-Calc-Units-1.06-1.0 (<a href="http://distributions.barfoo.org/SLES10/noarch/perl-Math-Calc-Units-1.06-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/SLES10/src/perl-Math-Calc-Units-1.06-1.0.src.rpm">SRPM</a>)</li>
<li>perl-Nagios-Plugin-0.31-1.0 (<a href="http://distributions.barfoo.org/SLES10/noarch/perl-Nagios-Plugin-0.31-1.0.noarch.rpm">noarch</a>, <a href="http://distributions.barfoo.org/SLES10/src/perl-Nagios-Plugin-0.31-1.0.src.rpm">SRPM</a>)</li>
</ul>
<p class="information">If you are looking for older versions, try the respective directory on distributions.barfoo.org (for example <a href="http://distributions.barfoo.org/ESX-3.5/i386/">i386 for ESX 3.5</a> or <a href="http://distributions.barfoo.org/SLES10/x86_64/">x86_64 for SUSE Linux Enterprise Server 10</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2009/01/04/latest-sles10esx-35-rpms/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Theme</title>
		<link>http://blog.barfoo.org/2009/01/04/new-theme/</link>
		<comments>http://blog.barfoo.org/2009/01/04/new-theme/#comments</comments>
		<pubDate>Sun, 04 Jan 2009 17:47:48 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1350</guid>
		<description><![CDATA[Well, since it&#8217;s yet another new year (oh, Happy new year! by the way ..), I decided to drop the old crybook and switch over to iNove, which I think looks quite good with a few additions.
If anyone finds something that ain&#8217;t working or looks just wrong, tell me please.
]]></description>
			<content:encoded><![CDATA[<p>Well, since it&#8217;s yet another new year (oh, Happy new year! by the way ..), I decided to drop the old crybook and switch over to iNove, which I think looks quite good with a few additions.</p>
<p>If anyone finds something that ain&#8217;t working or looks just wrong, tell me please.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2009/01/04/new-theme/feed/</wfw:commentRss>
		</item>
		<item>
		<title>More MD weirdness</title>
		<link>http://blog.barfoo.org/2008/12/29/more-md-weirdness/</link>
		<comments>http://blog.barfoo.org/2008/12/29/more-md-weirdness/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 17:55:17 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[MD]]></category>

		<category><![CDATA[RAID5]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1337</guid>
		<description><![CDATA[Well, at last I&#8217;m getting somewhere with my troubles. This only seems to be happening when creating an RAID5 multiple device with four disks, this doesn&#8217;t happen with three.
Now, the next thing I tried was to create a three disk array, and then adding the fourth disk as spare and then extending the array with [...]]]></description>
			<content:encoded><![CDATA[<p>Well, at last I&#8217;m getting somewhere with my troubles. This only seems to be happening when creating an RAID5 multiple device with four disks, this doesn&#8217;t happen with three.</p>
<p>Now, the next thing I tried was to create a three disk array, and then adding the fourth disk as spare and then extending the array with that fourth disk. After that, all these errors seem to appear again <strong>*yuck*</strong> So I either possess rather faulty disks, or something else is fishy, since I&#8217;m having another four disk RAID5 array with the old disks &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/12/29/more-md-weirdness/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MD (Multiple Devices) weirdness</title>
		<link>http://blog.barfoo.org/2008/12/29/md-multiple-devices-weirdness/</link>
		<comments>http://blog.barfoo.org/2008/12/29/md-multiple-devices-weirdness/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 17:15:20 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[DawiControl]]></category>

		<category><![CDATA[EXT3]]></category>

		<category><![CDATA[SATA]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1324</guid>
		<description><![CDATA[Well, I don&#8217;t think my problem has anything to do with the DawiControl card anymore. I did a little experiment today. I created a 1TiB EXT3 file system on a single drive (one of the new 1TiB drives obviously) and started syncing data over to it (roughly 800MiB).
Now, then I unmounted the drive(s), ran fsck [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I don&#8217;t think <a href="http://blog.barfoo.org/2008/12/28/sil-3114-barfing/">my problem</a> has anything to do with the DawiControl card anymore. I did a little experiment today. I created a 1TiB EXT3 file system on a single drive (one of the new 1TiB drives obviously) and started syncing data over to it (roughly 800MiB).</p>
<p>Now, then I unmounted the drive(s), ran fsck -C -f /dev/sd${deviceletter}1 and it went through without any trouble. Then I removed the partition and created a 1GiB partition on each drive, which I then used to build a new device mapper RAID5 array (with EXT3 on top &#8230;).</p>
<p>And guess what happened after I copied the data over, unmounted the file system and ran fsck ? Sure, <a href="http://blog.barfoo.org/wp-content/uploads/2008/12/ext3-fsck.log">same thing as yesterday</a>. Now, this means either it&#8217;s a mdadm bug, while creating the array or really MD&#8217;s fault (which I can rule out, since the same happens on 2.6.25 as well as on 2.6.2 <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> &#8230; *shrug*</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/12/29/md-multiple-devices-weirdness/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SIL 3114 barfing</title>
		<link>http://blog.barfoo.org/2008/12/28/sil-3114-barfing/</link>
		<comments>http://blog.barfoo.org/2008/12/28/sil-3114-barfing/#comments</comments>
		<pubDate>Sun, 28 Dec 2008 10:16:24 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[DawiControl]]></category>

		<category><![CDATA[EXT3]]></category>

		<category><![CDATA[SIL3114]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1317</guid>
		<description><![CDATA[Well, after I had so much trouble with the USB converter (which isn&#8217;t really suited for Linux), I went ahead and bought a DawiControl DC-154 (which is using a SIL3114) controller to migrate my stuff.
After fucking up the new RAID array with the 1TB disks on the old controller (luckily I had the old hard [...]]]></description>
			<content:encoded><![CDATA[<p>Well, after I had <a href="http://blog.barfoo.org/2008/12/23/usb-weirdness/">so much trouble with the USB converter</a> (which isn&#8217;t really suited for Linux), I went ahead and bought a DawiControl DC-154 (which is using a SIL3114) controller to migrate my stuff.</p>
<p>After fucking up the new RAID array with the 1TB disks on the old controller (luckily I had the old hard disks still lying around, which still contained the RAID array), I plugged the 1TB disks onto the new controller and started building the array. So after 760 minutes (that&#8217;s nearly 13 hours) of synchronizing the newly created array, I was finally able to create the file system &#8212; that should be without trouble, right ?</p>
<p>Well, yeah &#8230; it was &#8230; So I started putting the data on the newly created array (using rsync). Only problem: something seems to be corrupting data (as in EXT3 is barfing up a lot of file system errors).</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
</pre></td><td class="code"><pre class="text text" style="font-family:monospace;">Dec 28 08:47:21 epimetheus [67092.652866] EXT3-fs: mounted filesystem with ordered data mode.
Dec 28 09:53:20 epimetheus [71058.253027] EXT3-fs error (device md2): ext3_add_entry: bad entry
 in directory #23371810: directory entry across blocks - offset=260, inode=18964552,
 rec_len=26988, name_len=115
Dec 28 09:53:20 epimetheus [71058.305558] EXT3-fs error (device md2): ext3_add_entry: bad entry
 in directory #23371810: directory entry across blocks - offset=260, inode=18964552,
 rec_len=26988, name_len=115</pre></td></tr></table></div>

<p>(fsck.ext3 is returning much, much more ..)</p>
<p>After putting the blame on EXT3, I tried out reiserfs (yeah, yeah I know .. baaaad idea). Well, at first it didn&#8217;t put out any errors, but running fsck.reiserfs turned up errors that looked a lot like the ones fsck.ext3 returned.</p>
<p>Then, I started looking at the array size (since I was curious), and it said the new array on four 1TB disks is ~760GB. Now according to my improper math, using 4* 1000GB drives the total usable amout of disk space should be something like 2793.96GB, and not ~760GB. *shrug*</p>
<p>I&#8217;m out of idea&#8217;s right now, and I&#8217;m gonna wait till January till I do anything else.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/12/28/sil-3114-barfing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>USB weirdness</title>
		<link>http://blog.barfoo.org/2008/12/23/usb-weirdness/</link>
		<comments>http://blog.barfoo.org/2008/12/23/usb-weirdness/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 20:50:43 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[EXT3]]></category>

		<category><![CDATA[USB]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1304</guid>
		<description><![CDATA[Well, I was at work for a brief moment, where I grabbed me one of our SATA-&#62;USB bridges, since I need to migrate some (~750GB) data of the old raid-array and onto a new one. The troublesome about that is simply, that the current RAID controller only supports four attached devices, that&#8217;s why I do [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I was at work for a brief moment, where I grabbed me one of our SATA-&gt;USB bridges, since I need to migrate some (~750GB) data of the old raid-array and onto a new one. The troublesome about that is simply, that the current RAID controller only supports four attached devices, that&#8217;s why I do have to use something like this &#8230; Sure I could have bought a new RAID controller, but why spend 45+ EUR on something, that you can solve differently ?</p>
<p>Well, after figuring that I need to change my kernel config yet again (didn&#8217;t have USB support till Tue Dec 23 ~16:45:00 CET 200 <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> I attached the adapter to two adjacent USB ports. And shortly after copying 4-10MB, the transfer would result in a read-only EXT3 file system with something like this in the syslog:</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;">Dec 23 17:23:57 epimetheus usb 1-2: new high speed USB device using ehci_hcd and address 2
Dec 23 17:23:57 epimetheus usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
Dec 23 17:23:57 epimetheus usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Dec 23 17:23:57 epimetheus usb usb3: Product: OHCI Host Controller
Dec 23 17:23:57 epimetheus usb usb3: Manufacturer: Linux 2.6.25-hardened-r11 ohci_hcd
Dec 23 17:23:57 epimetheus usb usb3: SerialNumber: 0000:00:02.1
Dec 23 17:23:57 epimetheus Initializing USB Mass Storage driver...
Dec 23 17:23:57 epimetheus usb 1-2: reset high speed USB device using ehci_hcd and address 2
Dec 23 17:23:57 epimetheus usb 1-2: device descriptor read/64, error -71
Dec 23 17:23:58 epimetheus usb 1-2: reset high speed USB device using ehci_hcd and address 2
Dec 23 17:23:58 epimetheus usb 1-2: device descriptor read/64, error -71
Dec 23 17:23:58 epimetheus usb 1-2: reset high speed USB device using ehci_hcd and address 2
Dec 23 17:23:58 epimetheus usb 1-2: device not accepting address 2, error -71
Dec 23 17:23:59 epimetheus usb 1-2: reset high speed USB device using ehci_hcd and address 2
Dec 23 17:23:59 epimetheus usb 1-2: device not accepting address 2, error -71
Dec 23 17:23:59 epimetheus usb 1-2: USB disconnect, address 2
Dec 23 17:23:59 epimetheus sd 4:0:0:0: Device offlined - not ready after error recovery
Dec 23 17:23:59 epimetheus sd 4:0:0:0: [sde] Result: hostbyte=0x01 driverbyte=0x00
Dec 23 17:23:59 epimetheus end_request: I/O error, dev sde, sector 1229380295
Dec 23 17:23:59 epimetheus end_request: I/O error, dev sde, sector 1229380535
Dec 23 17:23:59 epimetheus Aborting journal on device sde1.
Dec 23 17:23:59 epimetheus ext3_abort called.
Dec 23 17:23:59 epimetheus EXT3-fs error (device sde1): ext3_journal_start_sb: Detected aborted journal
Dec 23 17:23:59 epimetheus Remounting filesystem read-only
Dec 23 17:23:59 epimetheus EXT3-fs error (device sde1) in ext3_ordered_writepage: IO failure
Dec 23 17:23:59 epimetheus __journal_remove_journal_head: freeing b_frozen_data
Dec 23 17:23:59 epimetheus __journal_remove_journal_head: freeing b_frozen_data
Dec 23 17:23:59 epimetheus __journal_remove_journal_head: freeing b_frozen_data
Dec 23 17:23:59 epimetheus __journal_remove_journal_head: freeing b_frozen_data
Dec 23 17:23:59 epimetheus __journal_remove_journal_head: freeing b_committed_data</pre></div></div>

<p>Well, now what ? I googled a for a bit, apparently this happens when <a href="http://en.wikipedia.org/wiki/OHCI#Enhanced_Host_Controller_Interface">EHCI</a> tries to write to the device and gets a timeout, cause the device is rather slow &#8212; or whatever (or the device drops down to USB 1.1). So, after disabling EHCI, the transfer has been running for about three hours now, and roughly only 1/12 of the data transferred to the external disk. Only trouble with that is, that even USB 1.1 is kinda slow to transfer 750GiB  <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_exclaim.gif' alt=':!:' class='wp-smiley' /> </p>
<p>Followup: Well, due to USB 1.1 being slow as a snail, I went surfing for alternatives using Windows (since I know that the bridge does full USB 2.0 with Windows without any troubles). And guess what I found ?<br />
There&#8217;s an <a href="http://www.sourceforge.net/projects/ext2fsd">EXT2/3 device driver for Windows XP</a>, yay! So I&#8217;m copying with full 100Mbit speed right now *shrug*</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/12/23/usb-weirdness/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Short vacation</title>
		<link>http://blog.barfoo.org/2008/12/03/short-vacation/</link>
		<comments>http://blog.barfoo.org/2008/12/03/short-vacation/#comments</comments>
		<pubDate>Tue, 02 Dec 2008 22:07:06 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Vacation]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1278</guid>
		<description><![CDATA[Well, Arne recently (not really recently though ..    ) complained about my blog being waaay to technical, so I ended up writing this lil&#8217; anecdote.
I&#8217;m finally on my long awaited, the remaining year lasting vacation. Last week was interrupted by a short job interview in Nuremberg, and also by the flu (not [...]]]></description>
			<content:encoded><![CDATA[<p>Well, <a href="http://uplegger.eu">Arne</a> recently (not really recently though ..  <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' />  ) complained about my blog being waaay to technical, so I ended up writing this lil&#8217; anecdote.</p>
<p>I&#8217;m finally on my long awaited, the remaining year lasting vacation. Last week was interrupted by a short job interview in Nuremberg, and also by the flu (not &#8220;<em>again</em>&#8220;, I still got it in me, haven&#8217;t been able to shake it now for about three months).</p>
<p>Today I&#8217;m spending the night on Spiekeroog, which is a smallish island in the middle of the North Sea. It&#8217;s a real neat island, and if I would have the choice of deciding whether or not to move here for the same salary, I&#8217;d probably do it. Spiekeroog certainly does have a certain amount of flair, which I ain&#8217;t gonna deny. But it also does have it&#8217;s drawbacks.</p>
<p>One thing &#8220;<em>neat</em>&#8221; about Spiekeroog is, that it&#8217;s completely isolated from the CO² pollution. There is not a single car on the island (well, besides emergency services like police and fire/rescue) - only electric cars.</p>
<p>It&#8217;s located in the North Sea, so it&#8217;s exposed to the raw Atlantic weather of which I got a good taste today. When I was planning the trip a few weeks back, I allotted about 8 hours for the 400km&#8217;ish trip to Neuharlingersiel. Due to my driving &#8220;<em>skills</em>&#8221; (  <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  others would say I do have a rather heavy foot - 170km/h or 105.6331 mph for those not able to deal with the metric system  <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_exclaim.gif' alt=':!:' class='wp-smiley' />  ), I was there about two hours early. So I went eating some crab soup (which was really delicious) and then went down to the harbour, where the hotel boat was gonna pick me up. And then it started raining (as in pouring), with only about 2°C air temperature. So basically I was freezing my bollocks off.</p>
<p>Anyway, after eating dinner worth fifty bucks in the restaurant (well, don&#8217;t forget the expensive rose wine - which was a bit sour actually, as well as the three bucks of delicious tea) I&#8217;m now all cosy within my bed and all tucked in.</p>
<p>Cheerio for now!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/12/03/short-vacation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IBM TS7530 and DNS</title>
		<link>http://blog.barfoo.org/2008/11/22/ibm-ts7530-and-dns/</link>
		<comments>http://blog.barfoo.org/2008/11/22/ibm-ts7530-and-dns/#comments</comments>
		<pubDate>Sat, 22 Nov 2008 16:31:50 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Call Home]]></category>

		<category><![CDATA[IBM TS7530]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1263</guid>
		<description><![CDATA[Well, we had our TS7530 delivered in late September, the day after the IBM service guys came by to prep the VTL for our needs (IBM sells the thing as black box). Now, since that day; they fought with the Call Home functionality. The trouble was simply, that the Call Home Service running on the [...]]]></description>
			<content:encoded><![CDATA[<p>Well, we had our TS7530 delivered in late September, the day after the IBM service guys came by to prep the VTL for our needs (IBM sells the thing as black box). Now, since that day; they fought with the Call Home functionality. The trouble was simply, that the Call Home Service running on the Virtualization Engines just didn&#8217;t start.</p>
<p>After about 6 weeks of trial and error (and the IBM service guys popping in every second week), they finally found the cause of the Call Home Service not being able to start. Domain Name Resolution. Neither the IP addresses of the VE&#8217;s nor the VE console were registered in our DNS/or local host files.</p>
<p>After I walked over to the networking department and had them register them IP addresses, everything is honky donkey.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/11/22/ibm-ts7530-and-dns/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Nagios and check_ram yet again</title>
		<link>http://blog.barfoo.org/2008/11/14/nagios-and-check_ram-yet-again/</link>
		<comments>http://blog.barfoo.org/2008/11/14/nagios-and-check_ram-yet-again/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 17:08:30 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[check_ram]]></category>

		<category><![CDATA[Nagios]]></category>

		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1247</guid>
		<description><![CDATA[As some people know, I previously &#8220;created&#8221; (mostly modified the check_swap plug-in to print RAM usage) check_ram in C. Now one of my problems for the past few months was putting the C plug-in as well as &#8220;supported&#8221; environment under the same hat. Today I had another look at the amount of available plug-ins in [...]]]></description>
			<content:encoded><![CDATA[<p>As some people know, I previously &#8220;<em>created</em>&#8221; (mostly modified the check_swap plug-in to print RAM usage) check_ram in C. Now one of my problems for the past few months was putting the C plug-in as well as &#8220;<em>supported</em>&#8221; environment under the same hat. Today I had another look at the amount of available plug-ins in <a href="http://www.nagiosexchange.org/cgi-bin/search.cgi?d=1&amp;query=check_ram&amp;Go=Go">NagiosExchange</a>. There are quite a few plug-ins available, but as I do have some experience with Python, I used the one <a href="http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2450.html;d=1">written in Python</a>.</p>
<p>It was rather easy hacking in support for performance data into it, as the below shows. Someone else already posted a non-unified diff for performance data support, but that ain&#8217;t quite right according to the <a href="http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN203">Nagios plug-in development guidelines</a>.</p>
<p><span id="more-1247"></span></p>

<div class="wp_syntax"><div class="code"><pre class="diff diff" style="font-family:monospace;">--- check_ram.py.orig
<span style="color: #888822;">+++ check_ram.py</span>
<span style="color: #440088;">@@ -<span style="">1</span>,<span style="">6</span> +<span style="">1</span>,<span style="">7</span> @@</span>
 #!/usr/bin/env python
 #
 #   Copyright Hari Sekhon <span style="">2007</span>
<span style="color: #00b000;">+#   Copyright Christian Heim 2008</span>
 #
 #   This program is free software; you can redistribute it and/or modify
 #   it under the terms of the GNU General Public License as published by
<span style="color: #440088;">@@ -<span style="">64</span>,<span style="">27</span> +<span style="">65</span>,<span style="">30</span> @@</span>
     total_used_megs = float<span style="">&#40;</span>memtotal-memfree<span style="">&#41;</span> / <span style="">1024</span>
     total_free_megs = float<span style="">&#40;</span>total_free<span style="">&#41;</span> / <span style="">1024</span>
     memtotal_megs   = float<span style="">&#40;</span>memtotal<span style="">&#41;</span> / <span style="">1024</span>
<span style="color: #00b000;">+    </span>
<span style="color: #00b000;">+    total_warning_threshold_megs = round<span style="">&#40;</span>float<span style="">&#40;</span>memtotal<span style="">&#41;</span> * float<span style="">&#40;</span>warning_threshold<span style="">&#41;</span> / <span style="">100</span> / <span style="">1024</span><span style="">&#41;</span></span>
<span style="color: #00b000;">+    total_critical_threshold_megs = round<span style="">&#40;</span>float<span style="">&#40;</span>memtotal<span style="">&#41;</span> * float<span style="">&#40;</span>critical_threshold<span style="">&#41;</span> / <span style="">100</span> / <span style="">1024</span><span style="">&#41;</span></span>
&nbsp;
     if percent == True:
         percentage_free = int<span style="">&#40;</span> float<span style="">&#40;</span>total_free<span style="">&#41;</span> / float<span style="">&#40;</span>memtotal<span style="">&#41;</span> * <span style="">100</span> <span style="">&#41;</span>
         if percentage_free &lt; critical_threshold:
<span style="color: #991111;">-            print &quot;RAM CRITICAL: %d%% ram free <span style="">&#40;</span>%d/%d MB used<span style="">&#41;</span>&quot; % <span style="">&#40;</span>percentage_free,total_used_megs,memtotal_megs<span style="">&#41;</span></span>
<span style="color: #00b000;">+            print &quot;RAM CRITICAL - %d%% free <span style="">&#40;</span>%d MB out of %d MB<span style="">&#41;</span> |ram=%dMB;%d;%d;0;%d&quot; % <span style="">&#40;</span>percentage_free,total_free_megs,memtotal_megs,total_free_megs,total_warning_threshold_megs,total_critical_threshold_megs,memtotal_megs<span style="">&#41;</span></span>
             return CRITICAL
         elif percentage_free &lt; warning_threshold:
<span style="color: #991111;">-            print &quot;RAM WARNING: %d%% ram free <span style="">&#40;</span>%d/%d MB used<span style="">&#41;</span>&quot; % <span style="">&#40;</span>percentage_free,total_used_megs,memtotal_megs<span style="">&#41;</span></span>
<span style="color: #00b000;">+            print &quot;RAM WARNING - %d%% free <span style="">&#40;</span>%d MB out of %d MB<span style="">&#41;</span> |ram=%dMB;%d;%d;0;%d&quot; % <span style="">&#40;</span>percentage_free,total_free_megs,memtotal_megs,total_free_megs,total_warning_threshold_megs,total_critical_threshold_megs,memtotal_megs<span style="">&#41;</span></span>
             return WARNING
         else:
<span style="color: #991111;">-            print &quot;RAM OK: %d%% ram free&quot; % percentage_free</span>
<span style="color: #00b000;">+            print &quot;RAM OK - %d%% free <span style="">&#40;</span>%d MB out of %d MB<span style="">&#41;</span> |ram=%dMB;%d;%d;0;%d&quot; % <span style="">&#40;</span>percentage_free,total_free_megs,memtotal_megs,total_free_megs,total_warning_threshold_megs,total_critical_threshold_megs,memtotal_megs<span style="">&#41;</span></span>
             return OK
     else:
         if total_free &lt; critical_threshold:
<span style="color: #991111;">-            print &quot;RAM CRITICAL: %dMB ram free <span style="">&#40;</span>%d/%d MB used<span style="">&#41;</span>&quot; % <span style="">&#40;</span>total_free_megs,total_used_megs,memtotal_megs<span style="">&#41;</span></span>
<span style="color: #00b000;">+            print &quot;RAM CRITICAL - %d%% free <span style="">&#40;</span>%d MB out of %d MB<span style="">&#41;</span> |ram=%dMB;%d;%d;0;%d&quot; % <span style="">&#40;</span>percentage_free,total_free_megs,memtotal_megs,total_free_megs,total_warning_threshold_megs,total_critical_threshold_megs,memtotal_megs<span style="">&#41;</span></span>
             return CRITICAL
         if total_free &lt; warning_threshold:
<span style="color: #991111;">-            print &quot;RAM WARNING: %dMB ram free <span style="">&#40;</span>%d/%d MB used<span style="">&#41;</span>&quot; % <span style="">&#40;</span>total_free_megs,total_used_megs,memtotal_megs<span style="">&#41;</span></span>
<span style="color: #00b000;">+            print &quot;RAM WARNING - %d%% free <span style="">&#40;</span>%d MB out of %d MB<span style="">&#41;</span> |ram=%dMB;%d;%d;0;%d&quot; % <span style="">&#40;</span>percentage_free,total_free_megs,memtotal_megs,total_free_megs,total_warning_threshold_megs,total_critical_threshold_megs,memtotal_megs<span style="">&#41;</span></span>
             return WARNING
         else:
<span style="color: #991111;">-            print &quot;RAM OK: %dMB ram free&quot; % <span style="">&#40;</span>total_free_megs<span style="">&#41;</span></span>
<span style="color: #00b000;">+            print &quot;RAM OK - %d%% free <span style="">&#40;</span>%d MB out of %d MB<span style="">&#41;</span> |ram=%dMB;%d;%d;0;%d&quot; % <span style="">&#40;</span>percentage_free,total_free_megs,memtotal_megs,total_free_megs,total_warning_threshold_megs,total_critical_threshold_megs,memtotal_megs<span style="">&#41;</span></span>
&nbsp;
&nbsp;
&nbsp;
             return OK</pre></div></div>

<p>Now, with that simple plug-in I can go ahead and package the thing <a href="http://distributions.barfoo.org/SLES10/noarch/nagios-plugins-ram-0.1-1.0.noarch.rpm">separately</a>, without the need to figure out a way to get them nagios-plugins to install some useful includes &#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/11/14/nagios-and-check_ram-yet-again/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IBM TS7530 engine failover and HBA mode</title>
		<link>http://blog.barfoo.org/2008/10/28/ibm-ts7530-engine-failover-and-hba-mode/</link>
		<comments>http://blog.barfoo.org/2008/10/28/ibm-ts7530-engine-failover-and-hba-mode/#comments</comments>
		<pubDate>Tue, 28 Oct 2008 14:21:06 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Failover]]></category>

		<category><![CDATA[IBM TS7530]]></category>

		<category><![CDATA[Target mode]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1265</guid>
		<description><![CDATA[Well, when they delivered the VTL about four weeks ago, nobody figured this thing would be such a mess. Apparently IBM hasn&#8217;t set up that much VTL&#8217;s with engine failover.
Point being, the VE&#8217;s have eight HBA ports (four inside, four outside the black box). Now, as they configured the VTL, the ports were all in [...]]]></description>
			<content:encoded><![CDATA[<p>Well, when they delivered the VTL about four weeks ago, nobody figured this thing would be such a mess. Apparently IBM hasn&#8217;t set up that much VTL&#8217;s with engine failover.</p>
<p>Point being, the VE&#8217;s have eight HBA ports (four inside, four outside the black box). Now, as they configured the VTL, the ports were all in initiator mode. And we needed the fourth port in target mode as well, as it&#8217;s better to have 4 independent paths to the VTL. The only problem was, the VE console didn&#8217;t think so.</p>
<p>There is no way in hell you can switch the darn HBA port to the target mode. &#8212; Well, IBM just called and told us the solution.</p>
<p>Disolve the Failover group, reconfigure the HBA port and then recreate the Failover group. Tada &#8230;..</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/10/28/ibm-ts7530-engine-failover-and-hba-mode/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IBM TS7530 zoning</title>
		<link>http://blog.barfoo.org/2008/10/27/ibm-ts7530-zoning/</link>
		<comments>http://blog.barfoo.org/2008/10/27/ibm-ts7530-zoning/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 14:41:59 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[IBM TS7530]]></category>

		<category><![CDATA[Zoning]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1267</guid>
		<description><![CDATA[At first, as we prepped the zoning for the VTL, we did it WWN-based. Now the trouble with the HBA&#8217;s of the VTL is simply that it has different WWPN&#8217;s on the same WWN. And WWN-based zoning simply doesn&#8217;t allow access to that.
So off we went and switched to Switchport-based zoning, and see. It just [...]]]></description>
			<content:encoded><![CDATA[<p>At first, as we prepped the zoning for the VTL, we did it WWN-based. Now the trouble with the HBA&#8217;s of the VTL is simply that it has different WWPN&#8217;s on the same WWN. And WWN-based zoning simply doesn&#8217;t allow access to that.</p>
<p>So off we went and switched to Switchport-based zoning, and see. It just works <strong>*shrug*</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/10/27/ibm-ts7530-zoning/feed/</wfw:commentRss>
		</item>
		<item>
		<title>MessPC Ethernetbox 2 and Nagios</title>
		<link>http://blog.barfoo.org/2008/10/24/messpc-ethernetbox-2-and-nagios/</link>
		<comments>http://blog.barfoo.org/2008/10/24/messpc-ethernetbox-2-and-nagios/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 19:12:39 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[check_pcmeasure]]></category>

		<category><![CDATA[Nagios]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=886</guid>
		<description><![CDATA[As I talked to Tobi yesterday, we came to talk about our Ethernet Box thermometer. It&#8217;s a neat device, which works pretty much out of the box. Integrating it with Nagios is a bit of a bummer.
That&#8217;s what the ~300 EUR box looks like. It&#8217;s basically a small black box with a RJ45 jack, and [...]]]></description>
			<content:encoded><![CDATA[<p>As I talked to Tobi yesterday, we came to talk about our Ethernet Box thermometer. It&#8217;s a neat device, which works pretty much out of the box. Integrating it with Nagios is a bit of a bummer.</p>
<div id="attachment_881" class="wp-caption aligncenter" style="width: 244px"><a title="Ethernetbox 2" rel="lightbox2" href="http://blog.barfoo.org/wp-content/uploads/2008/08/img_1524.jpg"><img class="size-medium wp-image-881" title="Ethernetbox 2" src="http://blog.barfoo.org/wp-content/uploads/2008/08/img_1524-500x333.jpg" alt="Ethernetbox 2" width="234" height="156" /></a><p class="wp-caption-text">Ethernet box 2</p></div>
<p>That&#8217;s what the ~300 EUR box looks like. It&#8217;s basically a small black box with a RJ45 jack, and four RJ11 jacks for attached external devices. The box itself only functions as a &#8220;<em>management station</em>&#8221; and doesn&#8217;t come with a sensor.<br />
Normally, you can attach up till four RJ11 sensors to it. But, MessPC also has RJ11 port splitters, which enables you to attach up to eight RJ11 sensors to the MessPC.</p>
<div id="attachment_885" class="wp-caption aligncenter" style="width: 280px"><a href="http://blog.barfoo.org/wp-content/uploads/2008/08/img_1524_rj45_jacks.png"><img class="size-thumbnail wp-image-885" title="Thermometer RJ45 jacks" src="http://blog.barfoo.org/wp-content/uploads/2008/08/img_1524_rj45_jacks-450x232.png" alt="Thermometer RJ45 jacks" width="270" height="139" /></a><p class="wp-caption-text">Thermometer RJ45 jacks</p></div>
<p>As you can see, the box has a RJ45 jack on the other side, which you basically hook up to your network and then configure an IP address (or if you fancy DHCP for those things, it&#8217;s possible too).</p>
<div id="attachment_884" class="wp-caption aligncenter" style="width: 280px"><a href="http://blog.barfoo.org/wp-content/uploads/2008/08/img_1524_rj11_jacks.png"><img class="size-thumbnail wp-image-884" title="Thermometer RJ11 jacks" src="http://blog.barfoo.org/wp-content/uploads/2008/08/img_1524_rj11_jacks-450x232.png" alt="Thermometer RJ11 jacks" width="270" height="139" /></a><p class="wp-caption-text">Thermometer RJ11 jacks</p></div>
<p>On the opposite site, are the RJ11 jacks for the sensors. As you can see, we currently do have 4 splitters attachted to the box, enabling up till 8 sensors to be measured.<br />
Once you have it up and running, you can look at the web interface and you&#8217;ll be able to see the state of the sensors right on the first page.<br />
<span id="more-886"></span><br />
Now, if you have a Nagios installation (like I do), you might want to integrate the Ethernetbox with Nagios.<br />
You do have two choices: either do the checking by means of SNMP but forego graphing by Nagios, or use <em><a href="http://linux.swobspace.net/projects/nagios-en/pcmeasure.html">check_pcmeasure</a></em> and use the full features of your Nagios installation (read: graphing done by <a href="http://www.pnp4nagios.org/">pnp4nagios</a>).<br />
As I recently updated our Nagios installation to 3.0.4, I ran into trouble with the pcmeasure plugin. It simply didn&#8217;t run with the embedded perl (which it should, but apparently became a bit stricter between 2.x and 3.x). So I went ahead and <a href="http://blog.barfoo.org/wp-content/uploads/2008/08/check_pcmeasure.pl">changed it</a>, so it would run with embedded perl, as I was in the mood.<br />
After that was done, I simply dumped it into <em>/usr/lib/nagios/plugins</em> on my nagios box,<br />
created a <em>/etc/nagios/objects/commands/etherbox.cfg</em> containing the necessary command definition:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;"># 'check_ethernetbox' command definition</span>
define <span style="color: #7a0874; font-weight: bold;">command</span><span style="color: #7a0874; font-weight: bold;">&#123;</span>
        command_name    check_ethernetbox
        command_line    <span style="color: #000000; font-weight: bold;">/</span>usr<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>nagios<span style="color: #000000; font-weight: bold;">/</span>plugins<span style="color: #000000; font-weight: bold;">/</span>check_pcmeasure.pl <span style="color: #660033;">-H</span> <span style="color: #007800;">$HOSTADDRESS</span>$ <span style="color: #660033;">-S</span> <span style="color: #007800;">$ARG1</span>$ <span style="color: #660033;">-W</span> <span style="color: #007800;">$ARG2</span>$ <span style="color: #660033;">-C</span> <span style="color: #007800;">$ARG3</span>$
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

<div id="attachment_1235" class="wp-caption aligncenter" style="width: 510px"><a href="http://blog.barfoo.org/wp-content/uploads/2008/10/nagios-service-view.png"><img class="size-medium wp-image-1235" title="Nagios Service Detail" src="http://blog.barfoo.org/wp-content/uploads/2008/10/nagios-service-view-500x31.png" alt="Nagios Service Detail" width="500" height="31" /></a><p class="wp-caption-text">Nagios Service Detail</p></div>
<p>Now we can go ahead and *really* integrate it into Nagios, by simply creating a host utilizing this command definition.</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">define host <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  use                   generic-network
  host_name             ethernetbox
  <span style="color: #7a0874; font-weight: bold;">alias</span>                 ethernetbox.home.barfoo.org
  address               10.0.0.9
  parents               home-0
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
define service <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  use                   generic-service
  host_name             ethernetbox
  service_description   <span style="color: #000000;">1.1</span>: Aussentemperatur
  check_command         check_ethernetbox<span style="color: #000000; font-weight: bold;">!</span>com1.1<span style="color: #000000; font-weight: bold;">!</span><span style="color: #000000;">29.0</span><span style="color: #000000; font-weight: bold;">!</span><span style="color: #000000;">35.0</span><span style="color: #000000; font-weight: bold;">!</span>
  action_url            <span style="color: #000000; font-weight: bold;">/</span>pnp<span style="color: #000000; font-weight: bold;">/</span>index.php?<span style="color: #007800;">host</span>=<span style="color: #007800;">$HOSTNAME</span>$<span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #007800;">srv</span>=<span style="color: #007800;">$SERVICEDESC</span>$
  notes                 View PNP RRD grap
<span style="color: #7a0874; font-weight: bold;">&#125;</span>
&nbsp;
define service <span style="color: #7a0874; font-weight: bold;">&#123;</span>
  use                   generic-service
  host_name             ethernetbox
  service_description   <span style="color: #000000;">1.2</span>: Druckfussboden
  check_command         check_ethernetbox<span style="color: #000000; font-weight: bold;">!</span>com1.2<span style="color: #000000; font-weight: bold;">!</span><span style="color: #000000;">16.0</span><span style="color: #000000; font-weight: bold;">!</span><span style="color: #000000;">19.0</span><span style="color: #000000; font-weight: bold;">!</span>
  action_url            <span style="color: #000000; font-weight: bold;">/</span>pnp<span style="color: #000000; font-weight: bold;">/</span>index.php?<span style="color: #007800;">host</span>=<span style="color: #007800;">$HOSTNAME</span>$<span style="color: #000000; font-weight: bold;">&amp;</span>amp;<span style="color: #007800;">srv</span>=<span style="color: #007800;">$SERVICEDESC</span>$
  notes                 View PNP RRD grap
<span style="color: #7a0874; font-weight: bold;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/10/24/messpc-ethernetbox-2-and-nagios/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Adapter bonding on Linux</title>
		<link>http://blog.barfoo.org/2008/10/16/adapter-bonding-on-linux/</link>
		<comments>http://blog.barfoo.org/2008/10/16/adapter-bonding-on-linux/#comments</comments>
		<pubDate>Thu, 16 Oct 2008 16:47:23 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Adapter Bonding]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[SLES10]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1185</guid>
		<description><![CDATA[Well, today I had a rather weird error. I was testing the adapter bonding on one of the boxen designated as Tivoli Storage Manager Server, when I noticed that the bonding wasn&#8217;t working as expected when simulating an error (that is unplugging one of the TP cables for the bond).
Now, the bond had &#8220;mode=6 miimon=100&#8243; [...]]]></description>
			<content:encoded><![CDATA[<p>Well, today I had a rather weird error. I was testing the adapter bonding on one of the boxen designated as Tivoli Storage Manager Server, when I noticed that the bonding wasn&#8217;t working as expected when simulating an error (that is unplugging one of the TP cables for the bond).<br/><br/></p>
<p>Now, the bond had &#8220;mode=6 miimon=100&#8243; as options. After running &#8220;linux bond debug&#8221; through Google (which turned up nothing useful, besides one document on the Oracle Wiki about IOS/Linux adapter teaming), I figured &#8220;Hey, just lets test switching the arguments.&#8221; And guess what ?<br/><br/></p>
<p>Afterwards, it just works when you unplug one of the cables of the bond, while it didn&#8217;t work before &#8230; *shrug*</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/10/16/adapter-bonding-on-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Windows Server 2003 Terminal services</title>
		<link>http://blog.barfoo.org/2008/10/15/windows-server-2003-terminal-services/</link>
		<comments>http://blog.barfoo.org/2008/10/15/windows-server-2003-terminal-services/#comments</comments>
		<pubDate>Wed, 15 Oct 2008 12:11:18 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Registry]]></category>

		<category><![CDATA[Windows 2003]]></category>

		<category><![CDATA[Windows Terminal Services]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1176</guid>
		<description><![CDATA[Well, once you thought you don&#8217;t have any more problems, another one just pops up. I&#8217;m currently bashing my head against the wall, why the hell the forwarded (or is it redirected ?) drives are not shown in the in the &#8220;My Computer&#8221; explorer view. I pretty sure have an idea why (basically, HKEY_CURRENT_USERS\Software\Classes isn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>Well, once you thought you don&#8217;t have any more problems, another one just pops up. I&#8217;m currently bashing my head against the wall, why the hell the forwarded (or is it redirected ?) drives are not shown in the in the &#8220;My Computer&#8221; explorer view. I pretty sure have an idea why (basically, HKEY_CURRENT_USERS\Software\Classes isn&#8217;t writeable, but that&#8217;s where Windows, or rather the Terminal Services &#8212; or whatever is creating the associations), just don&#8217;t know a clever way around/by it.<br/><br/></p>
<p>It&#8217;s basically a dead end. The user has no access to that particular subkey, and I can&#8217;t change the permissions by changing it in ntuser.dat apparently. Neither do the inherited permissions apply, so I&#8217;m basically stuck.  <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/10/15/windows-server-2003-terminal-services/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linux-HA and Tivoli Storage Manager (Finito!)</title>
		<link>http://blog.barfoo.org/2008/10/05/linux-ha-and-tivoli-storage-manager-finito/</link>
		<comments>http://blog.barfoo.org/2008/10/05/linux-ha-and-tivoli-storage-manager-finito/#comments</comments>
		<pubDate>Sun, 05 Oct 2008 15:40:42 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Linux-HA]]></category>

		<category><![CDATA[OCF]]></category>

		<category><![CDATA[Resource agent]]></category>

		<category><![CDATA[SLES10]]></category>

		<category><![CDATA[syslog-ng]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1047</guid>
		<description><![CDATA[As I previously said, I was writing my own OCF resource agent for IBM&#8217;s Tivoli Storage Manager Server. And I just finished it yesterday evening (it took me about two hours to write this post).
Only took me about four work days (that is roughly four hours each, which weren&#8217;t recorded in that subversion repository) plus [...]]]></description>
			<content:encoded><![CDATA[<p>As I previously said, I was writing <a href="http://blog.barfoo.org/2008/09/26/linux-ha-and-tivoli-storage-manager">my own OCF resource agent</a> for IBM&#8217;s Tivoli Storage Manager Server. And I just finished it yesterday evening (it took me about two hours to write this post).</p>
<div id="attachment_1049" class="wp-caption aligncenter" style="width: 460px"><a href="http://blog.barfoo.org/wp-content/uploads/2008/10/revision_log_dsmserv.png"><img class="size-thumbnail wp-image-1049" title="revision_log_dsmserv" src="http://blog.barfoo.org/wp-content/uploads/2008/10/revision_log_dsmserv-450x190.png" alt="Trac revision log (shortened)" width="450" height="190" /></a><p class="wp-caption-text">Trac revision log (shortened)</p></div>
<p>Only took me about four work days (that is roughly four hours each, which weren&#8217;t recorded in that subversion repository) plus most of this week at home (which is 10 hours a day) and about one hundred subversion revisions. The good part about it is, that it actually just works  <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' />  (I was amazed on how good actually). Now you&#8217;re gonna say, &#8220;but Christian, why didn&#8217;t you use the included Init-Script and just fix it up, so it is actually compilant to the LSB Standard ?&#8221;</p>
<p>The answer is rather simple: Yeah I could have done that, but you also know that wouldn&#8217;t have been fun. Life is all about learning, and learn something I did (even if I hit the head against the wall from time to time <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  during those few days) &#8230;  There&#8217;s still one or two things I might want to add/change in the future (that is maybe next week), like</p>
<ul>
<li>adding support for monitor depth by querying the dsmserv instance via dsmadmc (if you read through the resource agent, I already use it for the shutdown/pre-shutdown stuff)</li>
<li>I still have to properly test it (like Alan Robertson mentioned in his <a href="http://lca2007.linux.org.au/talk/29.html">one hour thirty talk on Linux-HA 2.0</a> and <a href="http://www.slideshare.net/opensource_training/heartbeat">on his slides</a>, Page 100-102) in a pre-production environment</li>
<li>I&#8217;m probably configure the IBM RSA to act as a stonith device (<strong>s</strong>hoot <strong>t</strong>he <strong>o</strong>ther <strong>n</strong>ode <strong>i</strong>n <strong>t</strong>he <strong>h</strong>ead) - just for the case one of them ever gets stuck in a case, where the box is still up, but doesn&#8217;t react to any requests anymore</li>
</ul>
<p><span id="more-1047"></span> So here&#8217;s a small (well the picture is rather big  <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  duuh) screen capture of a grouped resource (basically, IP + Filesystem mounts + dsmserv instance) migrating to a different physical host (both share some shared storage in this example - I used two VM&#8217;s).</p>
<div id="attachment_1065" class="wp-caption aligncenter" style="width: 405px"><a title="Showing the VM configuration" href="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_vmware-configuration.png"><img class="size-thumbnail wp-image-1065" title="Showing the VM configuration for the test boxes" src="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_vmware-configuration-395x450.png" alt="Showing the VM configuration" width="395" height="450" /></a><p class="wp-caption-text">Showing the VM configuration</p></div>
<p>First the VM configuration. It looks a bit messy, as I needed two database volumes for Tivoli, two recovery log volumes for Tivoli, one Active Data storage pool for Tivoli and one volume for the configurations of the Tivoli Storage Manager server itself.  I could have done it with only 5 disks each. But I wanted to test how Linux-HA handles the migration with resources, as well as I wanted to test how Tivoli is handling it.</p>
<p>Now, the first hard disk is where the system (and all the other stuff, like heartbeat &#8230;) is installed. It got two network cards, one for cluster link and the other for the serviceing to the public network.  It also got a second controller, simply due to the nature VMware handles disk sharing. This controller is set to SCSI Bus Sharing = Physical (or <em>scsi?.sharedBus = &#8220;physical&#8221;</em> if you rather want the vmx term), to allow it to share hard disks with other virtual machines.</p>
<p>I then started installing stuff (needed heartbeat-2.1.3, heartbeat-pils-2.1.3 and heartbeat-stonith-2.1.3 - which sadly pulls in GNOME due to &#8220;<em>hb_gui</em>&#8220;), imported the configurations (they are in my <a href="http://blog.barfoo.org/wp-content/uploads/2008/10/resources.xml">earlier post</a> about <a href="http://blog.barfoo.org/2008/10/01/setting-up-linux-ha">Setting up Linux-HA</a>) like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">cibadmin <span style="color: #660033;">-o</span> resources <span style="color: #660033;">-C</span> <span style="color: #660033;">-x</span> resources.xml
cibadmin <span style="color: #660033;">-o</span> constraints <span style="color: #660033;">-C</span> <span style="color: #660033;">-x</span> constraints.xml</pre></div></div>

<div id="attachment_1066" class="wp-caption aligncenter" style="width: 460px"><a title="Showing the initial state of the cluster resources" href="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_initial-state.png"><img class="size-thumbnail wp-image-1066" title="Linux-HA: Initial State" src="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_initial-state-450x220.png" alt="Showing the initial state of the cluster resources" width="450" height="220" /></a><p class="wp-caption-text">Showing the initial state of the cluster resources</p></div>
<p>And that&#8217;s basically it. The cluster is up and running (even if I set the dsmserv to stopped for the time being since I wasn&#8217;t sure whether or not the resource agent would work). Now, after we&#8217;re done with setting up the cluster, it basically looks as showed on the picture.</p>
<p>The good part about the <a href="http://blog.barfoo.org/wp-content/uploads/2008/10/constraints.xml">constraints</a> is though, they are the &#8220;<em>good kind</em>&#8221; of resource constraints. They basically say &#8220;run the resource group <em>tsm1_group</em> on the host <em>tsm1</em>, but if you really have to, starting it on the host <em>tsm2</em> is also ok&#8221;.  If you looked closely at my <a href="http://blog.barfoo.org/wp-content/uploads/2008/10/resources.xml">resources.xml</a>, you might have noticed that I specified <em><strong>name=&#8221;target_role&#8221; value=&#8221;stopped&#8221;</strong></em> for each dsmserv resource.</p>
<p>Well I did this on purpose, since I didn&#8217;t knew whether or not the resource agent is actually gonna work. After I knew (I played with it for a while, remember ?), I started the resource, by issuing this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">cibadmin <span style="color: #660033;">-o</span> resources <span style="color: #660033;">-M</span> <span style="color: #660033;">-X</span> <span style="color: #ff0000;">'&lt;nvpair name=&quot;target_role&quot; 
                                     id=&quot;dsmserv_tsm1_status&quot; 
                                     value=&quot;started&quot;/&gt;'</span>
cibadmin <span style="color: #660033;">-o</span> resources <span style="color: #660033;">-M</span> <span style="color: #660033;">-X</span> <span style="color: #ff0000;">'&lt;nvpair name=&quot;target_role&quot; 
                                     id=&quot;dsmserv_tsm2_status&quot; 
                                     value=&quot;started&quot;/&gt;'</span></pre></div></div>

<p>Now guess, what happens if you start rebooting one box ? Exactly. Linux-HA figures after 30 seconds that the box is dead (which it is, at least from the service&#8217;s point of view) and simply starts it on the still &#8220;<em>living</em>&#8221; cluster node.  Now, lets play with those resource groups. By simply issuing</p>

<div class="wp_syntax"><div class="code"><pre class="bash bash" style="font-family:monospace;">crm_resource <span style="color: #660033;">-M</span> <span style="color: #660033;">-r</span> tsm1_group <span style="color: #660033;">-H</span> tsm2</pre></div></div>

<div id="attachment_1067" class="wp-caption aligncenter" style="width: 460px"><a href="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_crmresource-migrate.png"><img class="size-thumbnail wp-image-1067" title="Linux-HA: crm_resource -M" src="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_crmresource-migrate-450x220.png" alt="Failing over a resource is pretty simple" width="450" height="220" /></a><p class="wp-caption-text">Failing over a resource is pretty simple</p></div>
<p>we&#8217;re gonna tell Linux-HA to migrate the resource group to the second host, and keep it pinned there. As you can see on the left, it actually takes a bit until Linux-HA is starting to enforce the policy, which <em>crm_resource</em> just created for us.</p>
<div id="attachment_1068" class="wp-caption aligncenter" style="width: 460px"><a href="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_group-shutdown.png"><img class="size-thumbnail wp-image-1068" title="Linux-HA: Shutting down the resource (group)" src="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_group-shutdown-450x220.png" alt="Linux-HA really does shut down the resource group in order" width="450" height="220" /></a><p class="wp-caption-text">Linux-HA really does shut down the resource group in order</p></div>
<p>After a brief moment (that is about thirty seconds - due to the ocf resource agent sleeping for 2*5s), the resources are shutting down on the first host.</p>
<p>Now, after thinking about it, I could have done this differently. As you can see, Linux-HA is first shutting down the whole resource group on one host, before it starts bringing any resources (because it treats the resource group as a single resource itself). This implies a longer outage than if I would have done it with before/after constraints. I still might do that, but for now the resource group is ok.</p>
<div id="attachment_1069" class="wp-caption aligncenter" style="width: 460px"><a href="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_group-running-different-host.png"><img class="size-thumbnail wp-image-1069" title="Linux-HA: Resource up an running on different host" src="http://blog.barfoo.org/wp-content/uploads/2008/10/linux-ha_group-running-different-host-450x220.png" alt="After a short break in service availibility the resource is back online" width="450" height="220" /></a><p class="wp-caption-text">After a short break in service availibility the resource is back online</p></div>
<p>As you can see, about fifty seconds after I ordered Linux-HA to migrate the resource group <em>tsm1_group</em> to the second host, it finally enforced policy and the resources are up and running again.  Now, sadly Linux-HA doesn&#8217;t do something like VMotion does (copying the memory map and stuff), which would safe us the trouble of doing the shutdown in the first place. I know openVZ does support that kind of stuff, but I guess that&#8217;s just day-dreaming for now. Would make one hell of a solution  <img src='http://blog.barfoo.org/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>Oh yeah, and if you&#8217;re as much annoyed as me of heartbeat (or rather logd) polluting your messages file, and you are lucky beggar and are running syslog-ng, simple put this into your <em>/etc/syslog-ng/syslog-ng.conf</em> (or rather <em>/etc/syslog-ng/syslog-ng.conf<strong>.in</strong></em> on SLES10 and running <em>SuSEconfig &#8211;module syslog-ng</em>):</p>

<div class="wp_syntax"><div class="code"><pre class="text text" style="font-family:monospace;"># The main filter for all Heartbeat related programs
filter f_ha         { program(&quot;^Filesystem$&quot;)
                      or program(&quot;^IPaddr2$&quot;)
                      or program(&quot;^dsmserv$&quot;)
                      or program(&quot;^attrd$&quot;)
                      or program(&quot;^attrd_updater$&quot;)
                      or program(&quot;^ccm$&quot;)
                      or program(&quot;^ccm_tool$&quot;)
                      or program(&quot;^cib$&quot;)
                      or program(&quot;^cibadmin$&quot;)
                      or program(&quot;^cluster$&quot;)
                      or program(&quot;^cl_status$&quot;)
                      or program(&quot;^crmadmin$&quot;)
                      or program(&quot;^crmd$&quot;)
                      or program(&quot;^crm_attribute$&quot;)
                      or program(&quot;^crm_diff$&quot;)
                      or program(&quot;^crm_failcount$&quot;)
                      or program(&quot;^crm_master$&quot;)
                      or program(&quot;^crm_resource$&quot;)
                      or program(&quot;^crm_standby$&quot;)
                      or program(&quot;^crm_uuid$&quot;)
                      or program(&quot;^crm_verify$&quot;)
                      or program(&quot;^haclient$&quot;)
                      or program(&quot;^heartbeat$&quot;)
                      or program(&quot;^ipfail$&quot;)
                      or program(&quot;^logd$&quot;)
                      or program(&quot;^lrmd$&quot;)
                      or program(&quot;^mgmtd$&quot;)
                      or program(&quot;^pengine$&quot;)
                      or program(&quot;^stonithd$&quot;)
                      or program(&quot;^tengine$&quot;);
                    };
&nbsp;
filter f_ha_debug   { level(debug);     };
filter f_ha_main    { not level(debug); };
&nbsp;
#
# heartbeat messages in separate file:
#
destination ha_main   { file(&quot;/var/log/heartbeat/ha-log&quot;   owner(root) group(root)
                        create_dirs(yes) dir_group(root) dir_owner(root) dir_perm(0700)); };
&nbsp;
destination ha_debug  { file(&quot;/var/log/heartbeat/ha-debug&quot; owner(root) group(root)
                        create_dirs(yes) dir_group(root) dir_owner(root) dir_perm(0700)); };
&nbsp;
log { source(src); filter(f_ha); filter(f_ha_main); destination(ha_main); };
log { source(src); filter(f_ha); filter(f_ha_debug); destination(ha_debug); };</pre></div></div>

<p>That should get you a directory in <em>/var/log</em> named <em>heartbeat</em> with two logfiles, the main log &#8220;<em>ha-log</em>&#8221; which holds the important stuff and the debug log &#8220;<em>ha-debug</em>&#8220;. You also should put a logrotate rule somewhere, as those two files grow big rather fast.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.barfoo.org/2008/10/05/linux-ha-and-tivoli-storage-manager-finito/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setting up Linux-HA</title>
		<link>http://blog.barfoo.org/2008/10/01/setting-up-linux-ha/</link>
		<comments>http://blog.barfoo.org/2008/10/01/setting-up-linux-ha/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 08:17:09 +0000</pubDate>
		<dc:creator>Christian</dc:creator>
		
		<category><![CDATA[Life]]></category>

		<category><![CDATA[Linux-HA]]></category>

		<category><![CDATA[OCF]]></category>

		<category><![CDATA[Tivoli Storage Manager]]></category>

		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://blog.barfoo.org/?p=1004</guid>
		<description><![CDATA[Well, initially I thought writing the OCF resource agent for Tivoli Storage Manager was the hard part. But as it turns out, it really ain&#8217;t. The hard part, is getting the resources into the heartbeat agent (or whatever you wanna call it). The worst part about it, is that the hb_gui is completely worthless if [...]]]></description>
			<content:encoded><![CDATA[<p>Well, initially I thought writing the <a href="http://blog.barfoo.org/2008/09/26/linux-ha-and-tivoli-storage-manager">OCF resource agent for Tivoli Storage Manager</a> was the hard part. But as it turns out, it really ain&#8217;t. The hard part, is getting the resources into the heartbeat agent (or whatever you wanna call it). The worst part about it, is that the hb_gui is completely worthless if you want to do a configuration without quorum.<br/><br/></p>
<p>First of all, we need to setup the main Linux-HA configuration file (<i>/etc/ha.d/ha.cf</i>). Configuring that, is rather simple. For me, as I do have two network devices, over which both nodes see each other (one is an adapter bond of comprising of two simple, plain, old 1G copper ports; the other is the 1G fibre cluster port), the configuration looks like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
</pre></td><td class="code"><pre class="text text" style="font-family:monospace;">udpport 694
autojoin none
crm true
use_logd on
debug false
coredumps false
&nbsp;
auto_failback on
&nbsp;
ucast bond0 10.0.0.10
ucast bond0 10.0.0.20
ucast eth2  10.0.0.29
ucast eth2  10.0.0.30
&nbsp;
node tsm1
node tsm2
&nbsp;
respawn root /usr/lib64/heartbeat/pingd -m 100 -d 5s
ping 10.0.0.1
&nbsp;
respawn root /sbin/evmsd
apiauth evms uid=hacluster,root</pre></td></tr></table></div>

<p>After configuring the service itself is done, one just needs to start the heartbeat daemon on both nodes. Afterwards, we should be able to configure the cluster resources.<br/><br/></p>
<p>I find it particularly easier to just update the corresponding sections with <em>cibadmin</em> (the man-page really has some good examples). So here are my configuration files for two resource groups (<em>crm_mon</em> doesn&#8217;t difference between resources and grouped resources, it&#8217;ll just show you that you configured two resources).<br />
<span id="more-1004"></span><br />
<a href='http://blog.barfoo.org/wp-content/uploads/2008/10/crm_config.xml'>crm_config.xml</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="xml xml" style="font-family:monospace;"><span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;cluster_property_set</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-symmetric-cluster&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;symmetric-cluster&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-no-quorum-policy&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;no-quorum-policy&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;stop&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-default-resource-stickiness&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;default-resource-stickiness&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-default-resource-failure-stickiness&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;default-resource-failure-stickiness&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-stonith-enabled&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;stonith-enabled&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;false&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-stonith-action&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;stonith-action&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;reboot&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-startup-fencing&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;startup-fencing&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-stop-orphan-resources&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;stop-orphan-resources&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-stop-orphan-actions&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;stop-orphan-actions&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-remove-after-stop&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;remove-after-stop&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;false&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-short-resource-names&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;short-resource-names&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-transition-idle-timeout&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;transition-idle-timeout&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;5min&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-default-action-timeout&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;default-action-timeout&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;20s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-is-managed-default&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;is-managed-default&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;true&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-cluster-delay&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cluster-delay&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;60s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-pe-error-series-max&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pe-error-series-max&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;-1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-pe-warn-series-max&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pe-warn-series-max&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;-1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
    <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;cib-bootstrap-options-pe-input-series-max&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;pe-input-series-max&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;-1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
  <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
<span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/cluster_property_set<span style="color: #000000; font-weight: bold;">&gt;</span></span></span></pre></div></div>

<p>This section is created by heartbeat on the first startup, so you don&#8217;t have to mess with it unless you want to tweak it.<br/><br />
<a href='http://blog.barfoo.org/wp-content/uploads/2008/10/resources.xml'>resources.xml</a>:</p>

<div class="wp_syntax"><div class="code"><pre class="xml xml" style="font-family:monospace;">   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;group</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;tsm1_group&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;10.0.0.70&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;IPaddr2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm1_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm1_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm1&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ip&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;10.0.0.70&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm1_bcast&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;broadcast&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;10.0.0.255&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm1_device&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;nic&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;eth0&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm1_netmask&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cidr_netmask&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;24&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm1_label&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;iflabel&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;tsm1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm1_status&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;target_role&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;started&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Filesystem&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm1_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm1_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm1_dev&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;device&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/dev/tsm1_server_dir&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm1_mountpoint&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;directory&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm1_fstype&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fstype&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ext3&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm1_status&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;target_role&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;started&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1/db&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Filesystem&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm1_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm1_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm1_dev&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;device&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/dev/tsm1_db&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm1_mountpoint&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;directory&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1/db&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm1_fstype&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fstype&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ext2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1/db_mirror&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Filesystem&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm1_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm1_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm1_dev&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;device&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/dev/tsm1_db_mirror&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm1_mountpoint&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;directory&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1/db_mirror&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm1_fstype&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fstype&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ext2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1/log&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Filesystem&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_4_tsm1_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_4_tsm1_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_4_tsm1_dev&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;device&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/dev/tsm1_log&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_4_tsm1_mountpoint&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;directory&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1/log&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_4_tsm1_fstype&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fstype&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ext2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1/log_mirror&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Filesystem&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_5_tsm1_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_5_tsm1_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_5_tsm1_dev&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;device&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/dev/tsm1_log_mirror&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_5_tsm1_mountpoint&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;directory&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm/TSM1/log_mirror&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_5_tsm1_fstype&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fstype&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ext2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;TSM1: dsmserv&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;dsmserv&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_status&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;target_role&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;started&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_prefix&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;prefix&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_instance&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;instance&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;TSM1&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_userid&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;id&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ha_client&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_password&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;password&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ha_client&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_tcpaddress&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;TCPAddress&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;10.0.0.70&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;dsmserv_tsm1_tcpport&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;TCPPort&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;1500&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/group<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
   <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;group</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;tsm2_group&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;10.0.0.80&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;IPaddr2&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm2_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm2_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm2&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;ip&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;10.0.0.80&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm2_bcast&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;broadcast&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;10.0.0.255&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm2_device&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;nic&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;eth0&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm2_netmask&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;cidr_netmask&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;24&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm2_label&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;iflabel&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;tsm2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;ip_tsm2_status&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;target_role&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;started&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM2&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Filesystem&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm2_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm2_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm2_dev&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;device&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/dev/tsm2_server_dir&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm2_mountpoint&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;directory&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm/TSM2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm2_fstype&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fstype&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ext3&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_1_tsm2_status&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;target_role&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;started&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM2/db&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Filesystem&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm2_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm2_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm2_dev&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;device&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/dev/tsm2_db&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm2_mountpoint&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;directory&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm/TSM2/db&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_2_tsm2_fstype&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fstype&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ext2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM2/db_mirror&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&quot;Filesystem&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;op</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm2_mon&quot;</span> <span style="color: #000066;">interval</span>=<span style="color: #ff0000;">&quot;5s&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;monitor&quot;</span> <span style="color: #000066;">timeout</span>=<span style="color: #ff0000;">&quot;5s&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/operations<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;instance_attributes</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm2_inst_attr&quot;</span><span style="color: #000000; font-weight: bold;">&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm2_dev&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;device&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/dev/tsm2_db_mirror&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm2_mountpoint&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;directory&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;/tsm/TSM2/db_mirror&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
           <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;nvpair</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;fs_3_tsm2_fstype&quot;</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">&quot;fstype&quot;</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">&quot;ext2&quot;</span><span style="color: #000000; font-weight: bold;">/&gt;</span></span>
         <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
       <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/instance_attributes<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;/primitive<span style="color: #000000; font-weight: bold;">&gt;</span></span></span>
     <span style="color: #009900;"><span style="color: #000000; font-weight: bold;">&lt;primitive</span> <span style="color: #000066;">class</span>=<span style="color: #ff0000;">&quot;ocf&quot;</span> <span style="color: #000066;">id</span>=<span style="color: #ff0000;">&quot;/tsm/TSM2/log&quot;</span> <span style="color: #000066;">provider</span>=<span style="color: #ff0000;">&quot;heartbeat&quot;</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">&q