-   Linux - Server (
-   -   linux ha: Illegal directive [pacemaker] in (

eantoranz 10-02-2012 04:28 PM

linux ha: Illegal directive [pacemaker] in

I'd like to give linux ha a test. I'm working on VMs running ubuntu server 10.04. I already have both boxes running in sync and can see the status of the nodes and so on with cl_status.

Now, I want to be able to use pacemaker. I have added this line at the end of


pacemaker respawn
Now, when I try to restart the node (the only one at the moment) where I have made the modification, this is what I get when I try to restart heartbeat:


$ sudo /etc/init.d/heartbeat restart
Stopping High-Availability services: Done.

Waiting to allow resource takeover to complete:Done.

Starting High-Availability services: IPaddr[5170]: INFO:  Resource is stopped
 Heartbeat failure [rc=6]. Failed.

heartbeat: udpport setting must precede media statementsheartbeat[5211]: 2012/10/02_16:57:57 ERROR: Illegal directive [pacemaker] in /etc/ha.d//
heartbeat[5211]: 2012/10/02_16:57:57 ERROR: Heartbeat not started: configuration error.
heartbeat[5211]: 2012/10/02_16:57:57 ERROR: Configuration error, heartbeat not started.

What is the right way to do it then? Thanks in advance.

eantoranz 10-02-2012 04:31 PM

Got it. It's crm respawn in lucid.

All times are GMT -5. The time now is 04:57 PM.