I'm pretty sure what's going wrong here... Since CSM manages shared storage,
and shared storage cannot safely be managed without ha, it refuses to do
anything is ha isn't loaded. It probably doesn't detect your plug-in and
since ha isn't loaded, it refuses to start.

I'm not very good a C programming but I'll take a quick look in the CSM
plug-in code to see what I could do.

Thanks for the help...

Thomas

> -----Original Message-----
> From: Changju Gao [mailto:[EMAIL PROTECTED]
> Sent: February 6, 2006 16:00
> To: Thomas Guyot-Sionnest
> Subject: RE: [Evms-devel] RE: [Linux-ha-dev] Heartbeat2 Plugin for EVMS
> 
> Hi,
> 
> My pleasure to offer my assistance here. The plugin was working fine for
> you
> according to the logs.
> 
> There isn't much you can do to manage a HB2 cluster from EVMS interfaces.
> However, you can choose a (remote) node to "administer" by selecting the
> "Node Administered" item on the "Settings" menu. Of course, you can  see
> all the members of your cluster here.
> 
> Like the original HA plugin, our plugin has nothing to do with CSM
> directly. To
> test whether a HB2 plugin works, try to bring up multiple instances of
> EVMS
> on different nodes. If the first one succeeds while all the subsequent
> ones
> fail (to manage your shared disks with warning messages), HB2 plugin is
> working for you.
> 
> Please let me know what kind of management you intend to do with CSM. I
> might be able to help you to clear things up here.
> 
> Best regards,
> 
> 
> -Changju
> 
> P.S. I have added the following statements to the README.
> 
> "To test the plugin, you need to start HB2, EVMS daemon (/sbin/evmsd) on
> all
> nodes. After that, try to bring up multiple instances of EVMS on different
> nodes.
> If the first one succeeds while all subsequent attempts fail, the plugin
> is working
> fine.
> 
> If you have any problem starting the daemon, please start it with debug
> flag and inspect the log file (/var/log/evms-daemon.log) for detailed
> information."
> 
> 
> 
> >>> "Thomas Guyot-Sionnest" <[EMAIL PROTECTED]> 2/6/2006 1:28 pm >>>
> Here they are. FYI I removed /lib/evms/2.5.4/ha-1.1.0.so and did a 'make
> install'
> 
> Evmsd is started by heartbeat just like I do with ha (I set debug in
> evms.conf). And in evmsn, I can see the CSM plug-in, but I can't manage
> clusters.
> 
> Thanks for your time checking this :)
> 
> Thomas Guyot-Sionnest,
> Administrateur de systèmes
> Tél: (514) 787-4714
> Fax: (514) 787-4707
> Courriel: [EMAIL PROTECTED]
> > -----Original Message-----
> > From: Changju Gao [mailto:[EMAIL PROTECTED]
> > Sent: February 6, 2006 12:08
> > To: Thomas Guyot-Sionnest
> > Subject: RE: [Evms-devel] RE: [Linux-ha-dev] Heartbeat2 Plugin for EVMS
> >
> > Did you start EVMS daemon? i.e. running "/sbin/evmsd &" on all nodes?
> > If you did, please run the daemon with debug flag, i.e. "/sbin/evmsd -d
> > debug &"
> > and send me the daemon log, normally /var/log/evms-daemon.log.
> >
> > This plugin doesn't replace any cluster containers. It only replaces
> > the
> > HA cluster plugin. In other words, it only acts as the connection
> > between HB2
> > and EVMS, no changing of meta-data on disk of any kind.
> >
> > Best regards,
> >
> > - Changju Gao
> >
> > >>> "Thomas Guyot-Sionnest" <[EMAIL PROTECTED]> 2/6/2006 9:54 am >>>
> > It didn't work. Is this plug-in supposed to replace ha including
> > existing
> > cluster containers?
> >
> > I followed exactly the README plus removed -lglib. The module was
> > loaded,
> > but my existing clusters were showing just like if there was no ha
> > plug-ins
> > loaded. (I had no options, couldn't import, and evms_failover wasn't
> > working
> > either.
> >
> > Thanks,
> >
> > Thomas
> >
> > > -----Original Message-----
> > > From: Changju Gao [mailto:[EMAIL PROTECTED]
> > > Sent: February 6, 2006 10:44
> > > To: Thomas Guyot-Sionnest
> > > Cc: High-Availability Linux Development List; evms-
> > > [EMAIL PROTECTED]
> > > Subject: [Evms-devel] RE: [Linux-ha-dev] Heartbeat2 Plugin for EVMS
> > >
> > > No, neither Glib nor Glib2 is needed for linking. I mistakenly
> > attached
> > > a older Makefile, though it should work.
> > >
> > >
> > > >>> "Thomas Guyot-Sionnest" <[EMAIL PROTECTED]> 2/3/2006 5:39 pm >>>
> > > Is -lglib really needed for linking? Doesn't work if glib-1.2 isn't
> > > present,
> > > and it's the case for one of my servers.
> > >
> > > Or should I use -lglib-2.0 ?
> > >
> > > It linked without errors without it... I'm leaving so I'll only try
> > it
> > >
> > > tomorrow...
> > >
> > > Thanks,
> > >
> > > Thomas Guyot
> > > [EMAIL PROTECTED]
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > [mailto:linux-ha-dev-
> > > > [EMAIL PROTECTED] On Behalf Of Changju Gao
> > > > Sent: February 3, 2006 15:58
> > > > To: [email protected]
> > > > Subject: [Linux-ha-dev] Heartbeat2 Plugin for EVMS
> > > >
> > > > Hi All,
> > > >
> > > > I wrote a simple EVMS plugin for Heartbeat2 a while ago. It is
> > much
> > > > more stable comparing to what's in 2.5.4. In addition, my plugin
> > > also
> > > >
> > > > 1. supports EVMS GUI,
> > > > 2. supports dynamic configuration, ie. adding new node to
> > > Heartbeart2
> > > > without restarting EVMS, and
> > > > 3. works with early EVMS versions.
> > > >
> > > > I posted the plugin on [evms-devel] in December and since revised
> > > the
> > > > code according to comments made by Steve Dobbelstein and others.
> > > > The attached tarball includes a C source file,  a makefile and a
> > > > README. It's very straightforward to build and install the plugin.
> > > > Please see the READE for details.
> > > >
> > > > Your feedback will be highly appreciated.
> > > >
> > > > Best regards,
> > > >
> > > >
> > > > - Changju Gao

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to