<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 10/10/2012 12:06 AM, Shanti Pahari
wrote:<br>
</div>
<blockquote cite="mid:a2202e87.00001f6c.00000065@sierra-A66"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">I have cluster setup with 2 node and
created web cluster service on it but it cannot run.<o:p></o:p>
<p class="MsoNormal">I have not listed anything in lvm.conf
volume_list because once I add anything in volume_list and
reboot the system then I cannot mount and even cannot read the
lv which I created for my web . It throws error as <o:p></o:p></p>
<p class="MsoNormal">error message "not activating volume group
lv does not pass activation filter"<o:p></o:p></p>
<p class="MsoNormal">Therefore I didn’t add anything in lvm.conf
. Then I try to start my cluster servers for web server but
the service failed.<o:p></o:p></p>
</div>
</blockquote>
<br>
I've seen this failure too when building my cluster. You either need
to add the system's volume groups to volume_list, or tag the
system's vgs with the @hostname so it can still activate them. <br>
e.g.<br>
volume_list = [ "vg_pdcpicpl01", "@PDC-PIC-PL-CL1",
"@PDC-PIC-PL-CL2" ]<br>
on one node and<br>
volume_list = [ "vg_pdcpicpl02", "@PDC-PIC-PL-CL1",
"@PDC-PIC-PL-CL2" ]<br>
on the other. Next it will complain about initrd being older than
lvm.conf, so I've been running<br>
# mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`<br>
Not sure if that's the right command but it works for me =)<br>
<br>
One of these days I'm going to tag the system's vgs properly so I
can use the same lvm.conf across the nodes. I think it's something
like<br>
lvchange --addtag PDC-PIC-PL-CL1 vg_pdcpicpl01/lv_root <br>
etc...<br>
<br>
By the way, to display how things are tagged, you have to do<br>
lvs -o +tags<br>
I wish it displayed them in lvdisplay, but it doesn't.<br>
<br>
-- Andrew<br>
<br>
<br>
<br>
</body>
</html>