On 2012-08-07 15:01, Zoltán Gerendás wrote:
> 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?

Pl. syslog, /proc/drbd, stb...

Ellenberger:
- az "ms-drbd0-placement" kicsit feleslegesnek nez ki, raadasul imho 
uti az "ms-drbd0-master-on-faxgw3" location-t
- az "ms-drbd0" mintha kicsit hianyos lenne
- nincs itt semmi szo drbd konfigrol, pedig ottis lehet susnyasba 
vinni.

Probald meg ez alapjan: http://www.rabbitmq.com/pacemaker.html


IroNiQ
p.s.: ha hulyeseget mondanek, sry, nekem active-active drbd konfigom 
van ocfs2vel, szoval nem pont ugyanez
-- 
UNIX/Linux System Administrator
Member of Frugalware Developer Team
_________________________________________________
linux lista      -      linux@mlf.linux.rulez.org
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz