I think I found how to configure. I change eth0 to xenbr0, because I
modified the networ/interface (ifconfig)
# cat ha.cf
logfacility daemon
keepalive 2
deadtime 10
warntime 5
initdead 120
udpport 694
ucast xenbr0 192.168.188.8
auto_failback on
node cloud10
node cloud8
use_logd yes
crm respawn

Now my command crm_mon -1 display it:
# crm_mon -1
============
Last updated: Sat Jan  1 00:45:27 2005
Last change: Tue Dec  4 17:48:49 2012 via crmd on cloud8
Stack: Heartbeat
Current DC: cloud8 (949237ab-9f7d-47d1-b4ad-39e4583d8f0d) - partition with
quorum
Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
2 Nodes configured, unknown expected votes
0 Resources configured.
============

Online: [ cloud8 cloud10 ]

The two nodes =) But now I need to learn how to configure crm to failover
xendomains scrpts.
Does anyone know?

Thanks
Felipe

On Tue, Dec 4, 2012 at 4:26 PM, Felipe Gutierrez <
[email protected]> wrote:

> Hi everyone,
>
> I configured DRBD + Xen + heartbeat on two machines to lpay with failover.
> When I turn off the master machine, the secondary machine receive the VM
> by live migration. But when I pull out the cable from first machine,
> nothing happens.
> I already look at /etc/var/ha-debug and /etc/var/ha-log, there is no
> messages there about lost connection.
>
> I search at google and I think I have to use pacemaker. Does any ony know
> how to configure it?
>
> My ha.cf :
> root@cloud10:/etc/ha.d# cat ha.cf
> logfacility daemon
> keepalive 2
> deadtime 10
> warntime 5
> initdead 120
> udpport 694
> ucast eth0 192.168.188.8
> auto_failback on
> node cloud10
> node cloud8
> use_logd yes
> crm respawn
>
> My crm_mon see only one node. It should see cloud8 too. Does anyone know
> why?
>
> root@cloud10:/etc/ha.d# crm_mon -1
> ============
> Last updated: Fri Dec 31 23:19:11 2004
> Last change: Fri Dec 31 22:53:37 2004 via crmd on cloud10
> Stack: Heartbeat
> Current DC: cloud10 (6f2a6b44-00c1-4ef2-b936-534a21f3dc45) - partition
> with quorum
> Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
> 1 Nodes configured, unknown expected votes
> 0 Resources configured.
> ============
>
> Online: [ cloud10 ]
>
> Thanks,
> Felipe
>
> --
> *--
> -- Felipe Oliveira Gutierrez
> -- [email protected]
> -- https://sites.google.com/site/lipe82/Home/diaadia*
>



-- 
*--
-- Felipe Oliveira Gutierrez
-- [email protected]
-- https://sites.google.com/site/lipe82/Home/diaadia*
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to