<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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>Comments for Loon(y) Juice</title>
	<atom:link href="http://www.loonjuice.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loonjuice.com</link>
	<description>&#34;This is Madness!&#34;</description>
	<lastBuildDate>Fri, 15 Apr 2011 10:42:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>Comment on &#8220;Family is spending $38,200/yr&#8230; by rich</title>
		<link>http://www.loonjuice.com/2011/04/15/family-is-spending-38200yr/comment-page-1/#comment-331</link>
		<dc:creator>rich</dc:creator>
		<pubDate>Fri, 15 Apr 2011 10:42:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/2011/04/15/family-is-spending-38200yr/#comment-331</guid>
		<description>This quote is from http://blogs.law.harvard.edu/philg/2011/04/10/understanding-congresss-solution-to-the-federal-deficit-problem/

#justsayin</description>
		<content:encoded><![CDATA[<p>This quote is from <a href="http://blogs.law.harvard.edu/philg/2011/04/10/understanding-congresss-solution-to-the-federal-deficit-problem/" rel="nofollow">http://blogs.law.harvard.edu/philg/2011/04/10/understanding-congresss-solution-to-the-federal-deficit-problem/</a></p>
<p>#justsayin</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Working with students training&#8230; by rich</title>
		<link>http://www.loonjuice.com/2011/02/03/working-with-students-training/comment-page-1/#comment-323</link>
		<dc:creator>rich</dc:creator>
		<pubDate>Sat, 12 Feb 2011 00:29:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/2011/02/03/working-with-students-training/#comment-323</guid>
		<description>More on this is that I heard this week that a good, trained &amp; skilled Sysadmin with a year of experience (yes, only a year, I know.. ;)) working as a Linux Admin, was asked back for 3 interviews at a mid-sized non-IT business (&gt; 50 but &lt; 100 staff) and was unsuccessful in getting what&#039;s still an entry-level Sysadmin job. 

He was told that even at the 3rd level of Interviews, that there were other more experienced Sysadmins willing to accept the same salary level (~$60k, nothing out of the ordinary).

Another person I know was working as a L1 IT Helpdesk Support role, applied externally for a L2 IT Helpdesk role &amp; had to complete against over 10 applicants, even was asked to do an &quot;Aptitude Test&quot; (took an hour of his time) &amp; was rejected!

Let me state it again &amp; more clearly - there is NO IT SKILLS SHORTAGE in Australia!

Don&#039;t believe anyone who tells you that there is, because even skilled, trained &amp; experienced entry-level Sysadmins (Linux and Windows) can&#039;t change jobs without a massive competitive employer-centric process that&#039;s driving down salaries still in Australia.

The ACS &amp; other heavily-vested interests have a lot to answer for..</description>
		<content:encoded><![CDATA[<p>More on this is that I heard this week that a good, trained &#038; skilled Sysadmin with a year of experience (yes, only a year, I know.. <img src='http://www.loonjuice.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ) working as a Linux Admin, was asked back for 3 interviews at a mid-sized non-IT business (> 50 but < 100 staff) and was unsuccessful in getting what&#8217;s still an entry-level Sysadmin job. </p>
<p>He was told that even at the 3rd level of Interviews, that there were other more experienced Sysadmins willing to accept the same salary level (~$60k, nothing out of the ordinary).</p>
<p>Another person I know was working as a L1 IT Helpdesk Support role, applied externally for a L2 IT Helpdesk role &#038; had to complete against over 10 applicants, even was asked to do an &#8220;Aptitude Test&#8221; (took an hour of his time) &#038; was rejected!</p>
<p>Let me state it again &#038; more clearly &#8211; there is NO IT SKILLS SHORTAGE in Australia!</p>
<p>Don&#8217;t believe anyone who tells you that there is, because even skilled, trained &#038; experienced entry-level Sysadmins (Linux and Windows) can&#8217;t change jobs without a massive competitive employer-centric process that&#8217;s driving down salaries still in Australia.</p>
<p>The ACS &#038; other heavily-vested interests have a lot to answer for..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remus-fu by rshriram</title>
		<link>http://www.loonjuice.com/2010/06/06/remus-fu/comment-page-1/#comment-318</link>
		<dc:creator>rshriram</dc:creator>
		<pubDate>Tue, 30 Nov 2010 08:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/?p=1125#comment-318</guid>
		<description>You said &quot;The Cyle is Complete&quot; . That is technically incorrect. When you live migrate back, only the memory is synced. The re-instated primary is now running with latest copy of memory but a stale copy of disk (a copy that existed at time of primary crash). 
 And now, if you start remus again, on the primary machine, you ll end up having diverging disks on primary &amp; secondary. 

The only (currently) proper way to restart the remus HA is to 
 shutdown the guest on secondary
 resync the disk (good old dd) completely and then start remus from secondary/primary.</description>
		<content:encoded><![CDATA[<p>You said &#8220;The Cyle is Complete&#8221; . That is technically incorrect. When you live migrate back, only the memory is synced. The re-instated primary is now running with latest copy of memory but a stale copy of disk (a copy that existed at time of primary crash).<br />
 And now, if you start remus again, on the primary machine, you ll end up having diverging disks on primary &amp; secondary. </p>
<p>The only (currently) proper way to restart the remus HA is to<br />
 shutdown the guest on secondary<br />
 resync the disk (good old dd) completely and then start remus from secondary/primary.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remus-fu by rich</title>
		<link>http://www.loonjuice.com/2010/06/06/remus-fu/comment-page-1/#comment-316</link>
		<dc:creator>rich</dc:creator>
		<pubDate>Wed, 03 Nov 2010 09:33:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/?p=1125#comment-316</guid>
		<description>I&#039;ve had that error when I was running partial remus installs ie: mis-match of Xen python script versions, but there&#039;s lots of other ways to cause that.

Please check your xend logfile in /var/log/xen/xend.log for more ideas or for clues as to what&#039;s causing that error.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve had that error when I was running partial remus installs ie: mis-match of Xen python script versions, but there&#8217;s lots of other ways to cause that.</p>
<p>Please check your xend logfile in /var/log/xen/xend.log for more ideas or for clues as to what&#8217;s causing that error.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remus-fu by proy</title>
		<link>http://www.loonjuice.com/2010/06/06/remus-fu/comment-page-1/#comment-315</link>
		<dc:creator>proy</dc:creator>
		<pubDate>Tue, 02 Nov 2010 20:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/?p=1125#comment-315</guid>
		<description>I am getting the below mentioned error when do xm create 

snomdom0A:/etc/xen# xm create hvmguest.cfg
Using config file &quot;./hvmguest.cfg&quot;.
Error: Domain &#039;hvmguest&#039; does not exist.</description>
		<content:encoded><![CDATA[<p>I am getting the below mentioned error when do xm create </p>
<p>snomdom0A:/etc/xen# xm create hvmguest.cfg<br />
Using config file &#8220;./hvmguest.cfg&#8221;.<br />
Error: Domain &#8216;hvmguest&#8217; does not exist.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remus-fu by proy</title>
		<link>http://www.loonjuice.com/2010/06/06/remus-fu/comment-page-1/#comment-314</link>
		<dc:creator>proy</dc:creator>
		<pubDate>Tue, 02 Nov 2010 20:00:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/?p=1125#comment-314</guid>
		<description>Can you elaborate on the steps you followed to create the domU guest ?</description>
		<content:encoded><![CDATA[<p>Can you elaborate on the steps you followed to create the domU guest ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Debian 5.04 better than CentOS&#8230; by rich</title>
		<link>http://www.loonjuice.com/2010/03/07/debian-5-04-better-than-centos/comment-page-1/#comment-313</link>
		<dc:creator>rich</dc:creator>
		<pubDate>Tue, 02 Nov 2010 01:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/2010/03/07/debian-5-04-better-than-centos/#comment-313</guid>
		<description>I was just a kludge to stop the &quot;make world&quot; at the point where it&#039;s configuring the kernel so you can set any custom kernel config or options.

An easier way may be to let the &quot;make world&quot; finish (letting it build its kernel with the default kernel .config file that it gets from the Kernel GIT Repo), then editting the .config file after the make world finishes &amp; re-doing all the build with &quot;make dist&quot; after setting what you&#039;d like in the kernel&#039;s .config file.

The &quot;make dist&quot; will do a kernel &quot;make menuconfig&quot; anyway &amp; you get to apply or set any kernel custom settings you may want.</description>
		<content:encoded><![CDATA[<p>I was just a kludge to stop the &#8220;make world&#8221; at the point where it&#8217;s configuring the kernel so you can set any custom kernel config or options.</p>
<p>An easier way may be to let the &#8220;make world&#8221; finish (letting it build its kernel with the default kernel .config file that it gets from the Kernel GIT Repo), then editting the .config file after the make world finishes &#038; re-doing all the build with &#8220;make dist&#8221; after setting what you&#8217;d like in the kernel&#8217;s .config file.</p>
<p>The &#8220;make dist&#8221; will do a kernel &#8220;make menuconfig&#8221; anyway &#038; you get to apply or set any kernel custom settings you may want.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Debian 5.04 better than CentOS&#8230; by proy</title>
		<link>http://www.loonjuice.com/2010/03/07/debian-5-04-better-than-centos/comment-page-1/#comment-310</link>
		<dc:creator>proy</dc:creator>
		<pubDate>Mon, 01 Nov 2010 12:22:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/2010/03/07/debian-5-04-better-than-centos/#comment-310</guid>
		<description>Hi,

I did not understand the line you mentioned

When “make world” stops to configure kernel, CTRL-C the make menuconfig within the kernel’s build dirs!</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I did not understand the line you mentioned</p>
<p>When “make world” stops to configure kernel, CTRL-C the make menuconfig within the kernel’s build dirs!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Remus-fu with DRBD, GFS2 &amp; Redhat Cluster on Debian by rich</title>
		<link>http://www.loonjuice.com/2010/06/13/remus-fu-with-drbd-gfs2-redhat-clustering-on-debian/comment-page-1/#comment-297</link>
		<dc:creator>rich</dc:creator>
		<pubDate>Sat, 12 Jun 2010 13:12:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/?p=1159#comment-297</guid>
		<description>This doesn&#039;t use CLVM either, using &quot;image files&quot; for VMs instantiated on each Hypervisor..</description>
		<content:encoded><![CDATA[<p>This doesn&#8217;t use CLVM either, using &#8220;image files&#8221; for VMs instantiated on each Hypervisor..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Blogging updates to that Debia&#8230; by rich</title>
		<link>http://www.loonjuice.com/2010/03/07/blogging-updates-to-that-debia/comment-page-1/#comment-290</link>
		<dc:creator>rich</dc:creator>
		<pubDate>Thu, 06 May 2010 12:15:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.loonjuice.com/2010/03/07/blogging-updates-to-that-debia/#comment-290</guid>
		<description>Further update is that I&#039;ve got PV guests migrating live via Remus AOK, as long as their disk= line is a file: image on a GFS2 DRBD-backed filesystem, which is mounted on each hypervisor and each hypervisor is a &#039;primary&#039; on the DRBD device. ie: &quot;dual primary&quot; or ro:Primary/Primary in your /proc/drbd

This means you need all the Redhat Cluster relevant packages installed (relevant to Debian Lenny in my context here) as well as GFS2 in the kernel.
re: &quot;GFS2 in the kernel&quot;, some of the .config flags relevant to that are:
CONFIG_GFS2_FS=y
CONFIG_GFS2_FS_LOCKING_DLM=y
CONFIG_CONFIGFS_FS=y

Perse CLVM is NOT req&#039;d!  (I make a GFS2 filesystem directly on /dev/drbd0)

Packages with their pre-req&#039;s to be installed via &#039;apt-get install&#039; include:
gfs2-tools
cman

DRBD is installed from source via drbd.org &amp; a make command like:
cd /usr/local/src/drbd-X.Y.Z
make KDIR=/lib/modules/`uname -r`/build clean
make KDIR=/lib/modules/`uname -r`/build
make KDIR=/lib/modules/`uname -r`/build install

Then &#039;modprobe drbd&#039; or such to load that DRBD module.

/etc/drbd.conf (or /usr/local/etc/drbd.conf if built from source) looks something like the following &amp; needs to be the same on both DRBD nodes/hosts:
where remus1 is on IP 192.168.1.1 &amp; remus2 is on 192.168.1.2

global {
        minor-count 10;
}

resource drbdr1 {
        protocol C;
        meta-disk       internal;
        device          /dev/drbd0;
        disk          /dev/mapper/VG-LV_name;

        startup {
                wfc-timeout 30;
                degr-wfc-timeout 30;
                become-primary-on both;
        }

        disk {
                on-io-error detach;
        }

        syncer {
                rate 90M; # Note: &#039;M&#039; is MegaBytes, not MegaBits
        }

        net {
                allow-two-primaries;
                after-sb-0pri discard-younger-primary;
                after-sb-1pri discard-secondary;
                after-sb-2pri call-pri-lost-after-sb;
        }

        on remus1 {
                address         192.168.1.1:7789;
        }

        on remus2 {
                address         192.168.1.2:7789;
        }

}

Get that DRBD device to be UpToDate on both primary nodes before trying to get a domU/guest migrated!

/etc/cluster/cluster.conf needs to be the same on both/all hypervisors.

A generic cluster.conf is:
(where the hostnames &#039;remus1&#039; &amp; &#039;remus2&#039; are defined in /etc/hosts on both hosts)
(note the &#039;two_node=&quot;1&quot;&#039; for &quot;dual primary&quot; assistance)

&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;cluster name=&quot;xencluster1&quot; config_version=&quot;1&quot;&gt;
&lt;cman two_node=&quot;1&quot; expected_votes=&quot;1&quot;&gt;
&lt;/cman&gt;
&lt;logging debug=&quot;on&quot;/&gt;
&lt;clusternodes&gt;
&lt;clusternode name=&quot;debremus1&quot; votes=&quot;1&quot; nodeid=&quot;1&quot;&gt;
        &lt;fence&gt;
                &lt;method name=&quot;single&quot;&gt;
                  &lt;device name=&quot;human&quot; nodename=&quot;debremus1&quot;/&gt;
                &lt;/method&gt;
        &lt;/fence&gt;
&lt;/clusternode&gt;
&lt;clusternode name=&quot;remus2&quot; votes=&quot;1&quot; nodeid=&quot;2&quot;&gt;
        &lt;fence&gt;
                &lt;method name=&quot;single&quot;&gt;
                  &lt;device name=&quot;human&quot; nodename=&quot;remus2&quot;/&gt;
                &lt;/method&gt;
        &lt;/fence&gt;
&lt;/clusternode&gt;
&lt;/clusternodes&gt;
&lt;fencedevices&gt;
        &lt;fencedevice name=&quot;human&quot; agent=&quot;fence_manual&quot;/&gt;
&lt;/fencedevices&gt;
&lt;/cluster&gt;


Then ensure /etc/init.d/cman start   succeeds on both hosts &amp; &#039;cman_tool status&#039; yields something like:

...
Cluster Member: Yes
Membership state: Cluster-Member
Nodes: 2
Expected votes: 1
Total votes: 2
Node votes: 1
Quorum: 1  
...

With all that you can then make a GFS2 filesystem on /dev/drbd0 with:

mkfs.gfs2 -t cluster1:drbd0gfs -p lock_dlm -j 2 /dev/drbd0

Where:
-t cluster1 is the cluster name from the cluster.conf file
drbd0gfs is any arbitary text you&#039;d like for this filesystem on the cluster!

Then you can mount that filesystem on both the &#039;remus1&#039; &amp; &#039;remus2&#039; hosts with:

mount -t gfs2 /dev/drbd0 /mntpoint

Put your Xen guest&#039;s img on /mntpoint &amp; run it on one of the hypervisors with a disk=[&#039;file:/mntpoint/vm.img,.....] entry &amp; then migrate it manually (xm migrate --live guestname remote-hypervisor-IP-addr) or via Remus with &#039;remus guestname remote-hypervisor-IP-addr&#039;

Solid braindump there, enjoy!</description>
		<content:encoded><![CDATA[<p>Further update is that I&#8217;ve got PV guests migrating live via Remus AOK, as long as their disk= line is a file: image on a GFS2 DRBD-backed filesystem, which is mounted on each hypervisor and each hypervisor is a &#8216;primary&#8217; on the DRBD device. ie: &#8220;dual primary&#8221; or ro:Primary/Primary in your /proc/drbd</p>
<p>This means you need all the Redhat Cluster relevant packages installed (relevant to Debian Lenny in my context here) as well as GFS2 in the kernel.<br />
re: &#8220;GFS2 in the kernel&#8221;, some of the .config flags relevant to that are:<br />
CONFIG_GFS2_FS=y<br />
CONFIG_GFS2_FS_LOCKING_DLM=y<br />
CONFIG_CONFIGFS_FS=y</p>
<p>Perse CLVM is NOT req&#8217;d!  (I make a GFS2 filesystem directly on /dev/drbd0)</p>
<p>Packages with their pre-req&#8217;s to be installed via &#8216;apt-get install&#8217; include:<br />
gfs2-tools<br />
cman</p>
<p>DRBD is installed from source via drbd.org &amp; a make command like:<br />
cd /usr/local/src/drbd-X.Y.Z<br />
make KDIR=/lib/modules/`uname -r`/build clean<br />
make KDIR=/lib/modules/`uname -r`/build<br />
make KDIR=/lib/modules/`uname -r`/build install</p>
<p>Then &#8216;modprobe drbd&#8217; or such to load that DRBD module.</p>
<p>/etc/drbd.conf (or /usr/local/etc/drbd.conf if built from source) looks something like the following &amp; needs to be the same on both DRBD nodes/hosts:<br />
where remus1 is on IP 192.168.1.1 &amp; remus2 is on 192.168.1.2</p>
<p>global {<br />
        minor-count 10;<br />
}</p>
<p>resource drbdr1 {<br />
        protocol C;<br />
        meta-disk       internal;<br />
        device          /dev/drbd0;<br />
        disk          /dev/mapper/VG-LV_name;</p>
<p>        startup {<br />
                wfc-timeout 30;<br />
                degr-wfc-timeout 30;<br />
                become-primary-on both;<br />
        }</p>
<p>        disk {<br />
                on-io-error detach;<br />
        }</p>
<p>        syncer {<br />
                rate 90M; # Note: &#8216;M&#8217; is MegaBytes, not MegaBits<br />
        }</p>
<p>        net {<br />
                allow-two-primaries;<br />
                after-sb-0pri discard-younger-primary;<br />
                after-sb-1pri discard-secondary;<br />
                after-sb-2pri call-pri-lost-after-sb;<br />
        }</p>
<p>        on remus1 {<br />
                address         192.168.1.1:7789;<br />
        }</p>
<p>        on remus2 {<br />
                address         192.168.1.2:7789;<br />
        }</p>
<p>}</p>
<p>Get that DRBD device to be UpToDate on both primary nodes before trying to get a domU/guest migrated!</p>
<p>/etc/cluster/cluster.conf needs to be the same on both/all hypervisors.</p>
<p>A generic cluster.conf is:<br />
(where the hostnames &#8216;remus1&#8242; &amp; &#8216;remus2&#8242; are defined in /etc/hosts on both hosts)<br />
(note the &#8216;two_node=&#8221;1&#8243;&#8216; for &#8220;dual primary&#8221; assistance)</p>
<p>< ?xml version="1.0"?><br />
<cluster name="xencluster1" config_version="1"><br />
<cman two_node="1" expected_votes="1"><br />
</cman><br />
<logging debug="on"/><br />
<clusternodes><br />
<clusternode name="debremus1" votes="1" nodeid="1"><br />
        <fence><br />
                <method name="single"><br />
                  <device name="human" nodename="debremus1"/><br />
                </method><br />
        </fence><br />
</clusternode><br />
<clusternode name="remus2" votes="1" nodeid="2"><br />
        <fence><br />
                <method name="single"><br />
                  <device name="human" nodename="remus2"/><br />
                </method><br />
        </fence><br />
</clusternode><br />
</clusternodes><br />
<fencedevices><br />
        <fencedevice name="human" agent="fence_manual"/><br />
</fencedevices><br />
</cluster></p>
<p>Then ensure /etc/init.d/cman start   succeeds on both hosts &amp; &#8216;cman_tool status&#8217; yields something like:</p>
<p>&#8230;<br />
Cluster Member: Yes<br />
Membership state: Cluster-Member<br />
Nodes: 2<br />
Expected votes: 1<br />
Total votes: 2<br />
Node votes: 1<br />
Quorum: 1<br />
&#8230;</p>
<p>With all that you can then make a GFS2 filesystem on /dev/drbd0 with:</p>
<p>mkfs.gfs2 -t cluster1:drbd0gfs -p lock_dlm -j 2 /dev/drbd0</p>
<p>Where:<br />
-t cluster1 is the cluster name from the cluster.conf file<br />
drbd0gfs is any arbitary text you&#8217;d like for this filesystem on the cluster!</p>
<p>Then you can mount that filesystem on both the &#8216;remus1&#8242; &amp; &#8216;remus2&#8242; hosts with:</p>
<p>mount -t gfs2 /dev/drbd0 /mntpoint</p>
<p>Put your Xen guest&#8217;s img on /mntpoint &amp; run it on one of the hypervisors with a disk=['file:/mntpoint/vm.img,.....] entry &amp; then migrate it manually (xm migrate &#8211;live guestname remote-hypervisor-IP-addr) or via Remus with &#8216;remus guestname remote-hypervisor-IP-addr&#8217;</p>
<p>Solid braindump there, enjoy!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

