[Linux-HA] Linux-HA Service Monitoring
Thomas Glanzmann
thomas at glanzmann.de
Fri Jan 4 05:34:15 MST 2008
Heoo Jayaprakash,
> I execute these commands in both the machines in the stop state of
> heartbeat
> One more doubt please, i have to just copy the squid ocf file to
> /usr/lib/ocf/resource.d/heartbeat/squid alone or have to append the
> squid init script file and the ocf script file to
> /usr/lib/ocf/resource.d/heartbeat/squid?
What you did was the right thing todo.
> Jan 4 16:45:25 test1 crmd: [5488]: ERROR: process_lrm_event: LRM operation
> IPaddr_192_168_1_100_start_0 (call=5, rc=1) Error unknown error
we have a look at that later. First lets get that ocf agent of yours
running.
Which Linux Distribution do you use?
I attached a new version of the ocf squid agent which is a lot more
verbose. Please copy the attached agent over to
/usr/lib/ocf/resource.d/heartbeat/squid
, make it executable:
chmod +x /usr/lib/ocf/resource.d/heartbeat/squid
and do the thing from the previous e-mail again:
/usr/lib/ocf/resource.d/heartbeat/squid start && echo Succeeded || echo Failed
/usr/lib/ocf/resource.d/heartbeat/squid start && echo Succeeded || echo Failed
/usr/lib/ocf/resource.d/heartbeat/squid monitor && echo Succeeded || echo Failed
/usr/lib/ocf/resource.d/heartbeat/squid stop && echo Succeeded || echo Failed
/usr/lib/ocf/resource.d/heartbeat/squid stop && echo Succeeded || echo Failed
and send me the output. For some reason the ocf squid resource agent is unable
to perform standard operations on the init script. My best guess is that the
path is wrong, but we checked that. So lets have a closer look.
Thomas
More information about the Linux-HA
mailing list