<?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 on: openais: an alternative to clvm with cman</title>
	<atom:link href="http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/</link>
	<description>random bits for your terminal</description>
	<lastBuildDate>Thu, 17 Jun 2010 08:37:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Olly</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-7873</link>
		<dc:creator>Olly</dc:creator>
		<pubDate>Thu, 17 Jun 2010 08:37:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-7873</guid>
		<description>Hi

thx for your howto, but i have a problem to compile the clvm package. I got this error message

make[3]: Leaving directory `/usr/src/lvm2-2.02.39/debian/build/build-deb/daemons/clvmd&#039;
make[3]: Entering directory `/usr/src/lvm2-2.02.39/debian/build/build-deb/daemons/clvmd&#039;
gcc -c -I../../include -I/usr/src/lvm2-2.02.39/debian/build/build-deb//include -DUSE_OPENAIS -D_REENTRANT -DHAVE_CONFIG_H -g -O2 -g -O2 -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security  -g -O2 -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security  -fno-strict-aliasing -g -O2 -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security  clvmd-command.c -o clvmd-command.o
In file included from clvmd-command.c:74:
clvmd-comms.h:79:29: error: openais/saAis.h: No such file or directory
clvmd-comms.h:80:35: error: openais/totem/totem.h: No such file or directory
In file included from clvmd-command.c:76:
clvmd.h:32: error: ‘SA_MAX_NAME_LENGTH’ undeclared here (not in a function)
make[3]: *** [clvmd-command.o] Error 1
make[3]: Leaving directory `/usr/src/lvm2-2.02.39/debian/build/build-deb/daemons/clvmd&#039;
make[2]: *** [clvmd] Error 2
make[2]: Leaving directory `/usr/src/lvm2-2.02.39/debian/build/build-deb/daemons&#039;
make[1]: *** [daemons] Error 2
make[1]: Leaving directory `/usr/src/lvm2-2.02.39/debian/build/build-deb&#039;
make: *** [debian/stamps/build-deb] Error 2
dpkg-buildpackage: failure: debian/rules build gave error exit status 2

Any ideas about that?
regards
olly</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>thx for your howto, but i have a problem to compile the clvm package. I got this error message</p>
<p>make[3]: Leaving directory `/usr/src/lvm2-2.02.39/debian/build/build-deb/daemons/clvmd&#8217;<br />
make[3]: Entering directory `/usr/src/lvm2-2.02.39/debian/build/build-deb/daemons/clvmd&#8217;<br />
gcc -c -I../../include -I/usr/src/lvm2-2.02.39/debian/build/build-deb//include -DUSE_OPENAIS -D_REENTRANT -DHAVE_CONFIG_H -g -O2 -g -O2 -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security  -g -O2 -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security  -fno-strict-aliasing -g -O2 -fPIC -Wall -Wundef -Wshadow -Wcast-align -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline -Wmissing-noreturn -Wformat-security  clvmd-command.c -o clvmd-command.o<br />
In file included from clvmd-command.c:74:<br />
clvmd-comms.h:79:29: error: openais/saAis.h: No such file or directory<br />
clvmd-comms.h:80:35: error: openais/totem/totem.h: No such file or directory<br />
In file included from clvmd-command.c:76:<br />
clvmd.h:32: error: ‘SA_MAX_NAME_LENGTH’ undeclared here (not in a function)<br />
make[3]: *** [clvmd-command.o] Error 1<br />
make[3]: Leaving directory `/usr/src/lvm2-2.02.39/debian/build/build-deb/daemons/clvmd&#8217;<br />
make[2]: *** [clvmd] Error 2<br />
make[2]: Leaving directory `/usr/src/lvm2-2.02.39/debian/build/build-deb/daemons&#8217;<br />
make[1]: *** [daemons] Error 2<br />
make[1]: Leaving directory `/usr/src/lvm2-2.02.39/debian/build/build-deb&#8217;<br />
make: *** [debian/stamps/build-deb] Error 2<br />
dpkg-buildpackage: failure: debian/rules build gave error exit status 2</p>
<p>Any ideas about that?<br />
regards<br />
olly</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rico</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-7261</link>
		<dc:creator>Rico</dc:creator>
		<pubDate>Fri, 09 Apr 2010 21:01:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-7261</guid>
		<description>I compiled your how-to and the cluster works fine. But there is a problem with clvmd... Look at this log when I launch it in debug mode :

# clvmd -d 1
CLVMD[3e5cd770]: Apr  9 13:56:41 CLVMD started
CLVMD[3e5cd770]: Apr  9 13:56:41 Our local node id is -1062714761
CLVMD[3e5cd770]: Apr  9 13:56:41 Add_internal_client, fd = 7
CLVMD[3e5cd770]: Apr  9 13:56:41 Connected to OpenAIS
CLVMD[3e5cd770]: Apr  9 13:56:41 Cluster ready, doing some more initialisation
CLVMD[3e5cd770]: Apr  9 13:56:41 starting LVM thread
CLVMD[40800950]: Apr  9 13:56:41 LVM thread function started
CLVMD[3e5cd770]: Apr  9 13:56:41 clvmd ready for work
CLVMD[3e5cd770]: Apr  9 13:56:41 Using timeout of 60 seconds
CLVMD[3e5cd770]: Apr  9 13:56:41 confchg callback. 1 joined, 0 left, 2 members
File descriptor 4 left open
File descriptor 5 left open
File descriptor 6 left open
  WARNING: Locking disabled. Be careful! This could corrupt your metadata.
CLVMD[40800950]: Apr  9 13:56:41 LVM thread waiting for work

Did you see the WARNING ? The locking does not work, and I have no idea why ! my /etc/lvm/lvm.conf is modified to use internal locking, I can see lock/unlock requests in openais logs, but clvmd just doesn&#039;t care about that !!!

Any help will be appreciated :)</description>
		<content:encoded><![CDATA[<p>I compiled your how-to and the cluster works fine. But there is a problem with clvmd&#8230; Look at this log when I launch it in debug mode :</p>
<p># clvmd -d 1<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 CLVMD started<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 Our local node id is -1062714761<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 Add_internal_client, fd = 7<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 Connected to OpenAIS<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 Cluster ready, doing some more initialisation<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 starting LVM thread<br />
CLVMD[40800950]: Apr  9 13:56:41 LVM thread function started<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 clvmd ready for work<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 Using timeout of 60 seconds<br />
CLVMD[3e5cd770]: Apr  9 13:56:41 confchg callback. 1 joined, 0 left, 2 members<br />
File descriptor 4 left open<br />
File descriptor 5 left open<br />
File descriptor 6 left open<br />
  WARNING: Locking disabled. Be careful! This could corrupt your metadata.<br />
CLVMD[40800950]: Apr  9 13:56:41 LVM thread waiting for work</p>
<p>Did you see the WARNING ? The locking does not work, and I have no idea why ! my /etc/lvm/lvm.conf is modified to use internal locking, I can see lock/unlock requests in openais logs, but clvmd just doesn&#8217;t care about that !!!</p>
<p>Any help will be appreciated :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xen Fan</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-6834</link>
		<dc:creator>Xen Fan</dc:creator>
		<pubDate>Wed, 10 Mar 2010 19:30:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-6834</guid>
		<description>Regardless of userid or the use of fakeroot, the dpkg-buildpackage gives a rules error.

With fakeroot as root:

fakeroot debian/rules clean
/usr/bin/fakeroot: line 164: debian/rules: Permission denied
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 126

Without fakeroot as root:

debian/rules clean
Can&#039;t exec &quot;debian/rules&quot;: Permission denied at /usr/bin/dpkg-buildpackage line 475.
dpkg-buildpackage: failure: debian/rules clean failed with unknown exit code -1

With fakeroot as regular user:
 fakeroot debian/rules clean
/usr/bin/fakeroot: line 164: debian/rules: Permission denied
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 126

I appreciate your help and apologize for the annoyance, but not being a debian package guy I&#039;ve been banging my head on this for a while.  I can&#039;t even figure out what it&#039;s trying to do.</description>
		<content:encoded><![CDATA[<p>Regardless of userid or the use of fakeroot, the dpkg-buildpackage gives a rules error.</p>
<p>With fakeroot as root:</p>
<p>fakeroot debian/rules clean<br />
/usr/bin/fakeroot: line 164: debian/rules: Permission denied<br />
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 126</p>
<p>Without fakeroot as root:</p>
<p>debian/rules clean<br />
Can&#8217;t exec &#8220;debian/rules&#8221;: Permission denied at /usr/bin/dpkg-buildpackage line 475.<br />
dpkg-buildpackage: failure: debian/rules clean failed with unknown exit code -1</p>
<p>With fakeroot as regular user:<br />
 fakeroot debian/rules clean<br />
/usr/bin/fakeroot: line 164: debian/rules: Permission denied<br />
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 126</p>
<p>I appreciate your help and apologize for the annoyance, but not being a debian package guy I&#8217;ve been banging my head on this for a while.  I can&#8217;t even figure out what it&#8217;s trying to do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcl</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-6833</link>
		<dc:creator>jcl</dc:creator>
		<pubDate>Wed, 10 Mar 2010 19:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-6833</guid>
		<description>Xen Fan,

If you are already root, you dont need to use -rfakeroot at all.</description>
		<content:encoded><![CDATA[<p>Xen Fan,</p>
<p>If you are already root, you dont need to use -rfakeroot at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xen Fan</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-6831</link>
		<dc:creator>Xen Fan</dc:creator>
		<pubDate>Wed, 10 Mar 2010 19:14:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-6831</guid>
		<description>Yeah, I was confused because you did the same thing above:

root@host:/usr/src/lm2-2.02.39# dpkg-buildpackage -rfakeroot -uc -b

I&#039;m not clear on where I need to become another user.  A regular user won&#039;t be able to create the build dir in /usr/src.</description>
		<content:encoded><![CDATA[<p>Yeah, I was confused because you did the same thing above:</p>
<p>root@host:/usr/src/lm2-2.02.39# dpkg-buildpackage -rfakeroot -uc -b</p>
<p>I&#8217;m not clear on where I need to become another user.  A regular user won&#8217;t be able to create the build dir in /usr/src.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcl</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-6830</link>
		<dc:creator>jcl</dc:creator>
		<pubDate>Wed, 10 Mar 2010 18:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-6830</guid>
		<description>Xen Fan,

Looks like youre trying to use fakeroot when youre already root.</description>
		<content:encoded><![CDATA[<p>Xen Fan,</p>
<p>Looks like youre trying to use fakeroot when youre already root.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xen Fan</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-6829</link>
		<dc:creator>Xen Fan</dc:creator>
		<pubDate>Wed, 10 Mar 2010 18:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-6829</guid>
		<description>Thanks for the great writeup, however I&#039;m having difficulty building this on lenny.  At the dpkg-buildpackage stage I get this error.

/usr/src/lvm2-2.02.39# dpkg-buildpackage -rfakeroot -uc -b
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value: 
dpkg-buildpackage: set LDFLAGS to default value: 
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package lvm2
dpkg-buildpackage: source version 2.02.39-7.3
dpkg-buildpackage: source changed by root 
dpkg-buildpackage: host architecture amd64
 fakeroot debian/rules clean
/usr/bin/fakeroot: line 164: debian/rules: Permission denied
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 126

Any ideas?  Do you have a package anywhere for download?  If I could get clvm going without all the other nonsense it would be amazing.  Thanks!</description>
		<content:encoded><![CDATA[<p>Thanks for the great writeup, however I&#8217;m having difficulty building this on lenny.  At the dpkg-buildpackage stage I get this error.</p>
<p>/usr/src/lvm2-2.02.39# dpkg-buildpackage -rfakeroot -uc -b<br />
dpkg-buildpackage: warning: using a gain-root-command while being root<br />
dpkg-buildpackage: set CFLAGS to default value: -g -O2<br />
dpkg-buildpackage: set CPPFLAGS to default value:<br />
dpkg-buildpackage: set LDFLAGS to default value:<br />
dpkg-buildpackage: set FFLAGS to default value: -g -O2<br />
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2<br />
dpkg-buildpackage: source package lvm2<br />
dpkg-buildpackage: source version 2.02.39-7.3<br />
dpkg-buildpackage: source changed by root<br />
dpkg-buildpackage: host architecture amd64<br />
 fakeroot debian/rules clean<br />
/usr/bin/fakeroot: line 164: debian/rules: Permission denied<br />
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 126</p>
<p>Any ideas?  Do you have a package anywhere for download?  If I could get clvm going without all the other nonsense it would be amazing.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: /root.eu &#187; Klastrowy LVM i Xen</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-4881</link>
		<dc:creator>/root.eu &#187; Klastrowy LVM i Xen</dc:creator>
		<pubDate>Mon, 23 Nov 2009 19:19:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-4881</guid>
		<description>[...] już chyba temat na odrębny wpis. Ku czemu innemu zmierzam. Mianowicie bardzo zainteresował mnie ten wpis. Okazuje się, że jest możliwe zmuszenie CLVM do działania bez skonfigurowanego RHCS! [...]</description>
		<content:encoded><![CDATA[<p>[...] już chyba temat na odrębny wpis. Ku czemu innemu zmierzam. Mianowicie bardzo zainteresował mnie ten wpis. Okazuje się, że jest możliwe zmuszenie CLVM do działania bez skonfigurowanego RHCS! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jcl</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-4412</link>
		<dc:creator>jcl</dc:creator>
		<pubDate>Fri, 23 Oct 2009 11:42:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-4412</guid>
		<description>ezio,

/var/log/openais is indeed empty on my installations. im not sure if you have to enable logging somehow in openais or not.

there might be some way to configure openais/clvm timeout periods... i havent looked into that. its also possible that clvm assumes certain things about cman that arent true about openais and that is causing the problem. perhaps there have been improvements in the latest source code for both packages.

another thing you could try, though its dangerous if you do modifications to the cluster lvm metadata from different nodes at the same time, would be to put each openais instance into its own ring. that would trick clvm into thinking it had a quorate cluster since each node is, in effect, the only node in the cluster.

- jcl</description>
		<content:encoded><![CDATA[<p>ezio,</p>
<p>/var/log/openais is indeed empty on my installations. im not sure if you have to enable logging somehow in openais or not.</p>
<p>there might be some way to configure openais/clvm timeout periods&#8230; i havent looked into that. its also possible that clvm assumes certain things about cman that arent true about openais and that is causing the problem. perhaps there have been improvements in the latest source code for both packages.</p>
<p>another thing you could try, though its dangerous if you do modifications to the cluster lvm metadata from different nodes at the same time, would be to put each openais instance into its own ring. that would trick clvm into thinking it had a quorate cluster since each node is, in effect, the only node in the cluster.</p>
<p>- jcl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ezio</title>
		<link>http://www.pixelchaos.net/2009/04/23/openais-an-alternative-to-clvm-with-cman/comment-page-1/#comment-4411</link>
		<dc:creator>ezio</dc:creator>
		<pubDate>Fri, 23 Oct 2009 10:31:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.pixelchaos.net/?p=106#comment-4411</guid>
		<description>Hi jcl,

my SAN is not in a stable status. I could not configure the multipath service against my active-passive controllers yet, since I am waiting for a multipath compatible firmware upgrade. so my logs are full of errors because the nodes try to connect through FC connections to redundant devices which are not actually reachable. The fall of performance could by huge. Nevertheless I decided to test your environment, because I felt that your solution was excellent for our aims.

Since the problem described is more frequent in my case, and my nodes are quite full of syslog errors due to the problems above, this could mean that the problem is related to timeout problems, performance of the SAN and ways to configure timeouts in the clvm and openais packages. 

Is /var/log/openais empty In your installation too ?

I ordered 2 little AoE&#039;s  too and am studying your article about it.

Thanks.
ezio</description>
		<content:encoded><![CDATA[<p>Hi jcl,</p>
<p>my SAN is not in a stable status. I could not configure the multipath service against my active-passive controllers yet, since I am waiting for a multipath compatible firmware upgrade. so my logs are full of errors because the nodes try to connect through FC connections to redundant devices which are not actually reachable. The fall of performance could by huge. Nevertheless I decided to test your environment, because I felt that your solution was excellent for our aims.</p>
<p>Since the problem described is more frequent in my case, and my nodes are quite full of syslog errors due to the problems above, this could mean that the problem is related to timeout problems, performance of the SAN and ways to configure timeouts in the clvm and openais packages. </p>
<p>Is /var/log/openais empty In your installation too ?</p>
<p>I ordered 2 little AoE&#8217;s  too and am studying your article about it.</p>
<p>Thanks.<br />
ezio</p>
]]></content:encoded>
	</item>
</channel>
</rss>
