[Pacemaker] Install the Pacemaker on Red hat enterprise 5

George Gomes geounipe at gmail.com
Thu May 28 17:18:12 UTC 2009


Hi Andrew,

 Before sending this email, I read the Configuration_Explained.pdf,
Crm_cli.pdf and I modified the script file according to LSB (Appendix: Is
This init Script LSB Compatible?, pg 71).

  After changing the link from symbolic to hard I could verify that crm
resource start and stop works fine, that is, when I run "crm resource start
myScript" and then "crm resource status" it shows "Started status". And when
I run "crm resource stop myScript" and then "crm resource status" it shows
"Stopped status".  However myScript did not run.

I attached kernel messages and hb_report logs.


thanks in advance,
George Gomes


On Thu, May 28, 2009 at 11:09 AM, Andrew Beekhof <andrew at beekhof.net> wrote:

> On Thu, May 28, 2009 at 3:05 PM, George Gomes <geounipe at gmail.com> wrote:
> > Hi all,
> >
> > I read the Pacemaker information/installation guide on site
> > http://clusterlabs.org/wiki/Main_Page and I installed it (Pacemaker) on
> Red
> > Hat EL5 with all rpm files bellow:
> >
> > heartbeat-2.99.2-8.1.i386.rpm
> > heartbeat-common-2.99.2-8.1.i386.rpm
> > heartbeat-resources-2.99.2-8.1.i386.rpm
> > libheartbeat2-2.99.2-8.1.i386.rpm
> > libopenais2-0.80.5-13.1.i386.rpm
> > libpacemaker3-1.0.3-2.2.i386.rpm
> > openais-0.80.5-13.1.i386.rpm
> > pacemaker-1.0.3-2.2.i386.rpm
> >
> > I configured the failover-IP according to CRM CLI command but I could not
> > configure any resource using CRM CLI.
> > When I performed the command "crm resource status", the CRM CLI shows the
> > script is started but it was not started.
>
> Possibly the script is broken.
> Did you check it for LSB compliance?
> There is a series of tests listed in the configuration explained pdf
> that you can perform to verify the script is compliant.
>
> > Could someone help me?
>
> Not without logs etc.
>
> > Bellow is the command that I used to create the primitive resource:
> >
> > # crm configure primitive myScript lsb::myScript.sh op monitor
> interval=10s
> >
> > I created the symbolic link of myScript.sh on /etc/init.d, is it correct?
> if
> > not, how could I do it?
>
> You may need to create a hardlink (ln with no -s option).
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090528/478ba024/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hb_report.log.tar.bz2
Type: application/x-bzip2
Size: 36852 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090528/478ba024/attachment-0002.bz2>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kernel-messages.log
Type: application/octet-stream
Size: 11001 bytes
Desc: not available
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20090528/478ba024/attachment-0002.obj>


More information about the Pacemaker mailing list