In the message dated: Thu, 11 Oct 2012 11:02:11 +0800, The pithy ruminations from "Shanti Pahari" on <Re: cannot run cluster service> were: => Thanks! => => I updated the fencing method in each of the nodes. But after I added => volume_list = [ "vg_pdcpicpl02", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" ] => and => # dracut --hostonly --force /boot/initramfs-$(uname -r).img $(uname -r) Note that the lvm.conf data that is stored within the initrd.img is not an exact copy of /etc/lvm/lvm.conf, but it is a filtered version, created by "lvm dumpconfig". Previous bugs have meant that the embedded version was not alway bootable...perhaps you're having a similar problem. => # shutdown -r now "Activating ramdisk LVM changes" => => After that when the system tries to boot up: => Kernel panic â?? not syncing: Attempted to kill init! I don't recall information from you about what OS distribution you are using, but this problem sounds similar to: https://bugzilla.redhat.com/show_bug.cgi?id=517868 Before giving up on LVM and and moving all filesystem management out of RHCS control, I had several problems with the the embedded copy of /etc/lvm.conf that's stored within the initrd image. I ended up with a procedure where I would replace the embedded version (produced with "lvm dumpconfig" by the mkinitrd process) inside the initrd image with the full working version. This procedure was necessary after any kernel or lvm.conf change. An abbreviated set of steps (ommitting all error checking, etc) is: gunzip < $initrdfile > /tmp/initrd.unzipped.img cpio -i --make-directories < /tmp/initrd.unzipped.img cd /tmp/initrd.$$/etc/lvm cp /etc/lvm/lvm.conf . cd /tmp/initrd.$$ find ./ | cpio -H newc -o > /tmp/initrd.unzipped.img gzip < /tmp/initrd.unzipped.img > /tmp/initrd.zipped.img mv /tmp/initrd.zipped.img $initrdfile I do not recommend this as a standard procedure, but it might be worth doing once, in order to see whether the embedded version of the lvm.conf file used in the initrd.img is causing your problem. Mark => => So didnâ??t have luck ï?? => => Can you help me pls! => => -----Original Message----- => From: Digimer [mailto:lists@xxxxxxxxxx] => Sent: Wednesday, 10 October, 2012 11:51 PM => To: linux clustering => Cc: Shanti Pahari => Subject: Re: cannot run cluster service => => Your fencing is not setup properly. You define the fence devices, but do not => use them as <method>'s under each node definition. You should be able to => 'fence_node <target>' and watch it get rebooted. Until then, your cluster => will hang (by design) the first time there is a problem. => => Assuming you want to use clustered LVM, you need to change locking_type to => '3' and, I advise, change 'falllback_to_local_locking' to '0'. This also => requires that the 'clvmd' daemon is running, which in turn needs cman to be => running first. => => What is your backing device for the LVM PV? => => digimer => => On 10/10/2012 03:06 AM, Shanti Pahari wrote: => > Dear all, => > => > I have cluster setup with 2 node and created web cluster service on it => > but it cannot run. => > => > 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 => > => > error message "not activating volume group lv does not pass activation => > filter" => > => > Therefore I didnâ??t add anything in lvm.conf . Then I try to start my => > cluster servers for web server but the service failed. => > => > Please help me so that I can solve this out. => > => > I have attached my cluster.conf , lvdisplay , /var/log/messages and => > lvm.conf and my /etc/hosts. => > => > I will be greatful if anyone can help me! => > => > Thanks => > => > And my clustat: => > => > Cluster Status for PDC-PIC-PL-CL @ Wed Oct 10 14:58:05 2012 => > => > Member Status: Quorate => > => > Member Name ID => > Status => > => > ------ ---- ---- ------ => > => > PDC-PIC-PL-CL1 1 => > Online, Local, rgmanager => > => > PDC-PIC-PL-CL2 2 => > Online, rgmanager => > => > Service Name Owner => > (Last) State => > => > ------- ---- ----- => > ------ ----- => > => > service:ha-web-service => > (PDC-PIC-PL-CL1) failed => > => > => > => => => -- => Digimer => Papers and Projects: https://alteeve.ca/w/ "Hydrogen is just a colourless, => odorless gas which, if left alone in sufficient quantities for long periods => of time, begins to think about itself." => => -- => Linux-cluster mailing list => Linux-cluster@xxxxxxxxxx => https://www.redhat.com/mailman/listinfo/linux-cluster =>
-- Linux-cluster mailing list Linux-cluster@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/linux-cluster