[prev in list] [next in list] [prev in thread] [next in thread] 

List:       evms-devel
Subject:    [Evms-devel] Re: [Evms-cluster] unsuccessful install attempt: ha-1.0.4.so fails to load
From:       Steve Dobbelstein <steved () us ! ibm ! com>
Date:       2003-12-09 15:58:23
[Download RAW message or body]


Shashi Rao wrote:
> Hi
>
> I am trying to set up a clustered filesystem on EVMS on a SAN
> connected to two RH9 linux boxes on a LAN.
>
> I have EVMS 2.2.0 (tarball) and Linux-HA 1.0.4 (rpm). As a last
> ditch effort, I also tried Linux-HA 1.1.3 (rpm).
>
> Here's an activity log:
>
> 1. Install heartbeat rpms
>
> rpm -qa | grep heartbeat :
>
> heartbeat-pils-1.1.3-1.rh.9
> heartbeat-1.1.3-1.rh.9
> heartbeat-stonith-1.1.3-1.rh.9
>
> 2. Configure /etc/ha.d files
>
> ha.cf, haresources, authkeys
>
> summary: ucast to other's IP address, use crc, respawn ccm and evmsd
>
> 3. Start heartbeat
>
> ps aux | grep heartbeat:
>
> root      1229  0.0  0.2  2600 2600 ?        SL   00:54   0:00 heartbeat:
heartbeat: > master control process
> nobody    1247  0.0  0.2  2440 2440 ?        SL   00:54   0:00 heartbeat:
heartbeat: > FIFO reader
> nobody    1248  0.0  0.2  2412 2412 ?        SL   00:54   0:00 heartbeat:
heartbeat: > write: ucast eth0
> nobody    1249  0.0  0.2  2412 2412 ?        SL   00:54   0:00 heartbeat:
heartbeat: > read: ucast eth0
> 501       1394  0.0  0.0  2116  872 ?        S    00:56   0:00
/usr/lib/heartbeat/ccm
>
> 4. Configure, build, and install evms
>
> config.log indicates a successful build of (among other things):
> csm, and plugins/ha/*
>
> 5. Fire up the evms UI. It responds with:
>
> Engine: The plug-in linuxha in module /lib/evms/ha-1.0.4.so failed
> to load.  The plug-in's setup_evms_plugin() function failed with
> error code 19: No such device
>
> What does this mean?
>
> It appears that plugins/ha/ece.c:ece_init() flakes because it's
> trying to talk to a "master". If this master is evmsd, it is indeed
> running:
>
> ps aux | grep evmsd
>
> root      1395  0.0  0.1  2572  988 ?        S    00:56   0:00
/sbin/evmsd
>
> Needless to say, I am unable to do the "Actions -> Create ->
> Container -> Clustered ..." suggested in the user manual, because
> the "Clustered" option is non-existent.
>
> I must be missing something obvious to the experienced eye. Google
> and RTFM have helped thus far, but I am now stumped. Any further
> help would be greatly appreciated. I'm eager to provide more
> information to anybody that asks.

I know that one not so obvious setup task is to make sure the HA queues are
created.  From a previous post to this mailing list by Jeremy Jackson on
2003 Nov 17:
---------
One other problem that I've had is that you have to create the FIFOs
manually that allow evmsd to communicate with heartbeat:

# ls -l /var/lib/heartbeat/api

should have

p-w-------    1 hacluste haclient        0 Jun 17 20:49 ccm.req
prw-------    1 hacluste haclient        0 Jun 17 22:45 ccm.rsp
pr--------    1 root     root            0 Jun 17 22:44 evms.req
prw-------    1 root     root            0 Jun 17 22:45 evms.rsp
p-w-------    1 hacluste haclient        0 Jun 14 22:41 ipfail.req
prw-------    1 hacluste haclient        0 Jun 14 22:41 ipfail.rsp
pr--------    1 root     root            0 Jun 14 22:43 ping.req
prw-------    1 root     root            0 Jun 14 22:43 ping.rsp

If the evms.* pipes are missing, you use mkfifo command if I recall.

You should be able to run /usr/lib/heartbeat/ccm_testclient and get some
diagnostics.
Also, /usr/lib/heartbeat/api_test should give some output.
---------

Also, make sure the evms queues are owned by root or it won't work.

Hope this helps.  Feel free to post again if it doesn't.

Steve D.



-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Evms-devel mailing list
Evms-devel@lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic