[Linux-HA] HA EVMS start at boot
John Lange
john.lange at open-it.ca
Thu Jan 25 12:21:44 MST 2007
On Wed, 2007-01-24 at 14:32 -0700, Robert Wipfel wrote:
> >>> On Wed, Jan 24, 2007 at 2:21 PM, in message
> <904050d50701241321n7d41494ag8786077c67a22f92 at mail.gmail.com>, "Andreas Kurz"
> <andreas.kurz at gmail.com> wrote:
> > On 1/24/07, John Lange <john.lange at open- it.ca> wrote:
> >> I'm trying to get evms volumes to show up at boot time. SLES10 with
> >> heartbeat but I always get the following error:
> >>
> >> Starting EVMSEngine: The plug- in Novell- HA in
> >> module /lib/evms/2.5.5/hb2- 1.0.0.so failed to load. The plug- in's
> >> setup_evms_plugin() function failed with error code 19: No such device.
> >>
> >> Yet, when I run "/etc/init.d/evms start" manually it starts no problem.
> >> I suspect heartbeat needs to be running and stabilized before
> >> evms_activate is called? Or is it a matter of adding evms resources to
> >> heartbeat or something along that line?
> >
> > Are you using the EvmsSCC OCF resource script in your configuration?
> > It's included in heartbeat 2.0.8. It should do exactly what you want:
> > evms_activate
>
> EvmsSCC is needed for making Shared (public) Cluster Containers (SCC)
> visible, as a dependency for hosting an OCFS2 cluster file systems
> over shared cluster segments, since EVMS' Cluster Segment Manager
> (CSM) won't allow them to be activated until the node has joined the
> cluster. If you have logical volumes on local (or shared) disks,
> partitioned using GUID or DOS segment managers, then iirc boot.evms
> (which also calls evms_activate) should scan them in during boot (if
> chkconfig'd on). Changju will know for sure...
Ok, I could not get it to work. First challenge was that 2.0.7 is what
ships with SLES 10 so the resource script didn't exist. I installed
2.0.8 from source by just running "./ConfigureMe install" over top the
existing install. That seems to have worked as the EvmsSCC resource is
now available in the GUI.
I added it as a clone resource and then started it. EVMS was already
running and so it came up green on 3 of the 4 nodes. However, if a node
is rebooted it does not run evms_activate at boot or when heartbeat
runs. Despite that the GUI shows it is running.
Are there some parameters that need to be added to the resource or what
might the problem be?
Does anyone know where a more recent release of the Novell "Conquering
the High Availability Storage Foundation" document (found here:
http://wiki.novell.com/index.php/SUSE_Linux_Enterprise_Server ) might be
obtained? It describes the exact situation we are trying to configure
but unfortunately ends before the parts we are missing.
Regards,
John
More information about the Linux-HA
mailing list