Sziasztok!

Debian - testing.

Pacemaker, ha -t próbálok összehozni.

Ez alapján csináltam :
 http://www.clusterlabs.org/wiki/Debian_Lenny_HowTo

Elindul rendben, az első node felhúzza a közös IP-t.
De ha ezt lehúzom a netről, akkor a második nem veszi át az IP-t.

crm(live)configure# show
node faxgw3
node faxgw4
primitive failover-ip ocf:heartbeat:IPaddr \
        params ip="10.0.0.128" cidr_netmask="255.255.255.0" nic="eth0" \
        op monitor interval="10s" \
        meta target-role="Started"
property $id="cib-bootstrap-options" \
        dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        stonith-enabled="false"

crm_mon szerint ha megy mindkettő:
Last updated: Tue Aug  7 11:10:53 2012
Last change: Mon Aug  6 15:37:12 2012 via cibadmin on faxgw3
Stack: openais
Current DC: faxgw3 - partition with quorum
Version: 1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Online: [ faxgw4 faxgw3 ]

failover-ip     (ocf::heartbeat:IPaddr):        Started faxgw3

Ha a node1 eltűnik akkor a node2 -n ezt látom:

Last updated: Tue Aug  7 11:12:33 2012
Last change: Mon Aug  6 15:37:12 2012 via cibadmin on faxgw3
Stack: openais
Current DC: faxgw4 - partition WITHOUT quorum
Version: 1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff
2 Nodes configured, 2 expected votes
1 Resources configured.
============

Online: [ faxgw4 ]
OFFLINE: [ faxgw3 ]

A logban meg ezeket:

Aug  7 10:57:12 faxgw4 pengine: [2541]: info: native_print:
failover-ip#011(ocf::heartbeat:IPaddr):#011Stopped
Aug  7 10:57:12 faxgw4 pengine: [2541]: debug: native_assign_node:
Assigning faxgw4 to failover-ip
Aug  7 10:57:12 faxgw4 pengine: [2541]: debug: custom_action:
faxgw4#011failover-ip_start_0 (cancelled : quorum)
Aug  7 10:57:12 faxgw4 pengine: [2541]: debug: custom_action:
faxgw4#011failover-ip_start_0 (cancelled : quorum)
Aug  7 10:57:12 faxgw4 pengine: [2541]: debug: RecurringOp: faxgw4#011
  failover-ip_monitor_10000 (cancelled : start un-runnable)
Aug  7 10:57:12 faxgw4 pengine: [2541]: notice: LogActions: Start
failover-ip#011(faxgw4 - blocked)


Mit nézzek?
--
Üdvözlettel:
Gerendás Zoltán
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz