<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v = 
"urn:schemas-microsoft-com:vml" xmlns:o = 
"urn:schemas-microsoft-com:office:office" xmlns:w = 
"urn:schemas-microsoft-com:office:word" xmlns:m = 
"http://schemas.microsoft.com/office/2004/12/omml"><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16447">
<STYLE>@font-face {
        font-family: Wingdings;
}
@font-face {
        font-family: Wingdings;
}
@font-face {
        font-family: Calibri;
}
@font-face {
        font-family: Tahoma;
}
@font-face {
        font-family: LiberationMono;
}
@font-face {
        font-family: LiberationMono-Bold;
}
@page WordSection1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt 72.0pt; }
P.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; COLOR: black; FONT-SIZE: 11pt; mso-fareast-language: EN-US
}
LI.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; COLOR: black; FONT-SIZE: 11pt; mso-fareast-language: EN-US
}
DIV.MsoNormal {
        MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; COLOR: black; FONT-SIZE: 11pt; mso-fareast-language: EN-US
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext; mso-style-type: personal
}
SPAN.EmailStyle18 {
        FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal-reply
}
.MsoChpDefault {
        FONT-SIZE: 10pt; mso-style-type: export-only
}
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]--></HEAD>
<BODY lang=EN-SG bgColor=white vLink=purple link=blue>
<DIV><FONT size=2 face=Arial>I'm not certain of your complete 
configuration.  However looking at the entry that you placed in the 
volume_list.  It looks like you listed the VG that is part of your 
cluster's resource group.  However, the volume_lists should actually list 
all the volume groups that are not part of the cluster.  </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The VG's in the volume_list are actually the ones 
that the system needs to bring up.  The volume group that are part of the 
cluster will be brought up by rgmanager, so they should not  be in 
volumes_list.  The reason for the system panic is because the required 
volume groups were not listed in volume_list.  So the kernel could not 
varyon the system VG.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>If I have mistakenly interprettted what you've done 
I'm sorry.  </FONT></DIV>
<BLOCKQUOTE 
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> 
  <A title=shanti.pahari@sierra.sg href="mailto:shanti.pahari@sierra.sg">Shanti 
  Pahari</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=andrewd@sterling.net 
  href="mailto:andrewd@sterling.net">'Andrew Denton'</A> ; <A 
  title=linux-cluster@redhat.com href="mailto:linux-cluster@redhat.com">'linux 
  clustering'</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, October 10, 2012 9:54 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Linux-cluster] cannot run 
  cluster service</DIV>
  <DIV><BR></DIV>
  <DIV class=WordSection1>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">Hi 
  Andrew,<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d">Now I added following in my 
  lvm.conf<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"></SPAN><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">volume_list 
  = [ "vg_pdcpicpl02", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" 
  ]<o:p></o:p></SPAN></P>
  <P style="TEXT-AUTOSPACE: " class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">and<o:p></o:p></SPAN></P>
  <P style="TEXT-AUTOSPACE: " class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG"></SPAN><SPAN 
  style="FONT-FAMILY: LiberationMono; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG"># 
  </SPAN><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG">dracut 
  --hostonly --force /boot/initramfs-$(uname -r).img $(uname 
  -r)<o:p></o:p></SPAN></B></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: LiberationMono; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG"># 
  </SPAN><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG">shutdown 
  -r now "Activating ramdisk LVM changes"<o:p></o:p></SPAN></B></P>
  <P class=MsoNormal><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG"><o:p> </o:p></SPAN></B></P>
  <P class=MsoNormal><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG">After 
  that when the system tries to boot up:<o:p></o:p></SPAN></B></P>
  <P class=MsoNormal><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG">Kernel 
  panic – not syncing: Attempted to kill init!<o:p></o:p></SPAN></B></P>
  <P class=MsoNormal><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG"><o:p> </o:p></SPAN></B></P>
  <P class=MsoNormal><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG">So 
  didn’t have luck </SPAN></B><B><SPAN 
  style="FONT-FAMILY: Wingdings; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG">L</SPAN></B><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG"><o:p></o:p></SPAN></B></P>
  <P class=MsoNormal><B><SPAN 
  style="FONT-FAMILY: LiberationMono-Bold; COLOR: windowtext; FONT-SIZE: 10.5pt; mso-fareast-language: EN-SG"><o:p> </o:p></SPAN></B></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG"><BR>volume_list 
  = [ "vg_pdcpicpl02", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" 
  ]<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">The 
  hostname should be cluster connect name or initial hostname 
  ?<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">My 
  /etc/hosts:<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG"><o:p> </o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">192.168.24.32   
  PDC-PIC-PL-01   PDC-PIC-PL-01.chcs.sg<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">192.168.25.132  
  PDC-PIC-PL-01-PM        
  <o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">192.168.26.13   
  PDC-PIC-PL-CL1<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">192.168.24.33   
  PDC-PIC-PL-02  PDC-PIC-PL-02.chcs.sg<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">192.168.25.133  
  PDC-PIC-PL-02-PM<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">192.168.26.14   
  PDC-PIC-PL-CL2<o:p></o:p></SPAN></P>
  <P class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG"><o:p> </o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
  <P class=MsoNormal><SPAN style="COLOR: #1f497d"><o:p> </o:p></SPAN></P>
  <DIV>
  <DIV 
  style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
  <P class=MsoNormal><B><SPAN 
  style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: windowtext; FONT-SIZE: 10pt; mso-fareast-language: EN-SG" 
  lang=EN-US>From:</SPAN></B><SPAN 
  style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: windowtext; FONT-SIZE: 10pt; mso-fareast-language: EN-SG" 
  lang=EN-US> Andrew Denton [mailto:andrewd@sterling.net] <BR><B>Sent:</B> 
  Wednesday, 10 October, 2012 11:27 PM<BR><B>To:</B> linux 
  clustering<BR><B>Cc:</B> Shanti Pahari<BR><B>Subject:</B> Re: [Linux-cluster] 
  cannot run cluster service<o:p></o:p></SPAN></P></DIV></DIV>
  <P class=MsoNormal><o:p> </o:p></P>
  <DIV>
  <P class=MsoNormal>On 10/10/2012 12:06 AM, Shanti Pahari 
  wrote:<o:p></o:p></P></DIV>
  <BLOCKQUOTE style="MARGIN-TOP: 5pt; MARGIN-BOTTOM: 5pt">
    <P class=MsoNormal><SPAN 
    style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG">I 
    have cluster setup with 2 node and created web cluster service on it but it 
    cannot run. <o:p></o:p></SPAN></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></BLOCKQUOTE>
  <P style="MARGIN-BOTTOM: 12pt" class=MsoNormal><SPAN 
  style="FONT-FAMILY: 'Times New Roman','serif'; FONT-SIZE: 12pt; mso-fareast-language: EN-SG"><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><o:p></o:p></SPAN></P></DIV>
  <P>
  <HR>

  <P></P>-- <BR>Linux-cluster mailing 
  list<BR>Linux-cluster@redhat.com<BR>https://www.redhat.com/mailman/listinfo/linux-cluster</BLOCKQUOTE></BODY></HTML>