[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] cannot run cluster service

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. 
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.
If I have mistakenly interprettted what you've done I'm sorry. 
----- Original Message -----
Sent: Wednesday, October 10, 2012 9:54 PM
Subject: Re: [Linux-cluster] cannot run cluster service

Hi Andrew,


Now I added following in my lvm.conf

volume_list = [ "vg_pdcpicpl02", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" ]


# dracut --hostonly --force /boot/initramfs-$(uname -r).img $(uname -r)

# shutdown -r now "Activating ramdisk LVM changes"


After that when the system tries to boot up:

Kernel panic – not syncing: Attempted to kill init!


So didn’t have luck L


volume_list = [ "vg_pdcpicpl02", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" ]

The hostname should be cluster connect name or initial hostname ?

My /etc/hosts:   PDC-PIC-PL-01   PDC-PIC-PL-01.chcs.sg  PDC-PIC-PL-01-PM   PDC-PIC-PL-CL1   PDC-PIC-PL-02  PDC-PIC-PL-02.chcs.sg  PDC-PIC-PL-02-PM   PDC-PIC-PL-CL2




From: Andrew Denton [mailto:andrewd sterling net]
Sent: Wednesday, 10 October, 2012 11:27 PM
To: linux clustering
Cc: Shanti Pahari
Subject: Re: [Linux-cluster] cannot run cluster service


On 10/10/2012 12:06 AM, Shanti Pahari wrote:

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.

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.
    volume_list = [ "vg_pdcpicpl01", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" ]
on one node and
    volume_list = [ "vg_pdcpicpl02", "@PDC-PIC-PL-CL1", "@PDC-PIC-PL-CL2" ]
on the other. Next it will complain about initrd being older than lvm.conf, so I've been running
# mkinitrd -f /boot/initrd-`uname -r`.img `uname -r`
Not sure if that's the right command but it works for me =)

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
lvchange --addtag PDC-PIC-PL-CL1 vg_pdcpicpl01/lv_root

By the way, to display how things are tagged, you have to do
lvs -o +tags
I wish it displayed them in lvdisplay, but it doesn't.

-- Andrew

Linux-cluster mailing list
Linux-cluster redhat com

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]