On 10/25/2011 02:06 AM, Bob Schatz wrote: > Andreas, > > Thanks for your help! > > Comments below with [BS] > > > ________________________________ > From: Andreas Kurz <[email protected]> > To: [email protected] > Sent: Wednesday, October 19, 2011 3:36 AM > Subject: Re: [Linux-HA] Basic Question about LVM > > Hello, > > On 10/18/2011 11:59 PM, Bob Schatz wrote: >> I am trying to setup a LVM fail over cluster and I must be missing something >> basic. :( >> >> The configuration I want is: >> >> IP address >> | >> File System >> | >> LVM >> >> I am not using DRBD. > > So you are using a shared storage device like a FC disk? > > [BS] Yes. We are using shared disk. > >> >> I am running this on Ubuntu 10.04LS. >> >> Everything works fine and I can migrate the group between two nodes. >> However, if I reboot one node OR STONITH one node it causes the other node >> to stop and then restart all resources. >> >> The problem is that when the node reboots, it activates the LVM volume group >> and then Pacemaker says "native_add_running: Resource ocf::LVM:volume-lvm-p >> appears to be active on 2 nodes." This causes the group to stop and then be >> restarted. >> >> I tried to play with /etc/lvm/lvm.conf filtering but that just prevented the >> disks from being read even by the agent. > > Adopted volume_list Parameter to not activate all vgs? After doing > changes to lvm.conf you also need to recreate initramfs. > > Safest and recommended setup is to use clvmd with dlm and update your vg > to a clustered one (also adopt the locking type in lvm.conf). > > Last step is to integrate dlm/clvmd/lvm in your Pacemaker setup and you > are ready to go. > > [BS] Thanks. I am studying the various docs I have found on setting up > clvmd and it looks pretty straightforward. > One question I have is do I need to configure the o2cb resource? I > do not want a shared file system and therefore I am > not going to use OCFS2. It seemed to me that o2cb only makes sense if you > have OCFS2.
No need for o2cb if you are not using OCFS2. Regards, Andreas -- Need help with Pacemaker? http://www.hastexo.com/now > > > Thanks again, > > Bob > > > Regards, > Andreas >
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
