Helló!

Ez előző akadály leküzdve, IP átvétele megy.

Most meg a drbd nem akar menni :(.

A drbd magában jó, szinkronizál meg minden....

Csak pacemaker estén nem lesz primary egyik sem.

Több leírás alapján is próbáltam.
Most ez alapján menne : http://www.clusterlabs.org/wiki/DRBD_HowTo_1.0

crm configure show
node faxgw3
node faxgw4
primitive drbd0 ocf:heartbeat:drbd \
        params drbd_resource="drbd0" \
        op monitor interval="59s" role="Master" timeout="30s" \
        op monitor interval="60s" role="Slave" timeout="30s"
primitive failover-ip ocf:heartbeat:IPaddr2 \
        params ip="10.0.0.128" cidr_netmask="255.255.255.0" nic="eth0" \
        op monitor interval="10s" \
        meta target-role="Started"
primitive fs0 ocf:heartbeat:Filesystem \
        params fstype="ext3" directory="/mnt/" device="/dev/drbd0" \
        meta target-role="Started"
ms ms-drbd0 drbd0 \
        meta clone-max="2" notify="true" globally-unique="false"
target-role="Started"
location ms-drbd0-master-on-faxgw3 ms-drbd0 \
        rule $id="ms-drbd0-master-on-faxgw3-rule" $role="master" 100:
#uname eq faxgw3
location ms-drbd0-placement ms-drbd0 \
        rule $id="ms-drbd0-placement-rule" -inf: #uname ne faxgw3 and
#uname ne faxgw4
colocation fs0-on-ms-drbd0 inf: fs0 ms-drbd0:Master
order ms-drbd0-before-fs0 inf: ms-drbd0:promote fs0:start
property $id="cib-bootstrap-options" \
        dc-version="1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        no-quorum-policy="ignore" \
        stonith-enabled="false"

A crm_mon szerint

Stack: openais
Current DC: faxgw3 - partition with quorum
Version: 1.1.7-ee0730e13d124c3d58f00016c3376a1de5323cff
2 Nodes configured, 2 expected votes
4 Resources configured.
============

Online: [ faxgw4 faxgw3 ]

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

Failed actions:
    drbd0:1_start_0 (node=faxgw3, call=6, rc=1, status=complete): unknown error
    drbd0:0_start_0 (node=faxgw4, call=4, rc=1, status=complete): unknown error


Merre keressek tovább?

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

válasz