Am Mittwoch, 4. November 2009 16:24:41 schrieb Testuser SST:
> Hi,
>
> I´m having some trouble setting up a new clustersystem with drbd.
> I´m using a Cent0S 5.4, heartbeat-2.1.3-3.el5.centos and a
> drbd83-8.3.2-6.el5_3. This is my config
>
> <resources>
>   <master_slave id="ms_drbd_mail">
>     <meta_attributes id="ms_drbd_mail-meta_attributes">
>       <attributes>
>         <nvpair name="notify" value="yes"/>
>         <nvpair name="globally_unique" value="false"/>
>         <nvpair id="ms_drbd_metaattr_clone_max" name="clone_max"
> value="2"/> <nvpair id="ms_drbd_metaattr_clone_node_max"
> name="clone_node_max" value="1"/> <nvpair id="ms_drbd_metaattr_master_max"
> name="master_max" value="1"/> <nvpair id="ms_drbd_metaattr_master_node_max"
> name="master_node_max" value="1"/> </attributes>
>     </meta_attributes>
>     <primitive id="drbd_mail" class="ocf" provider="heartbeat" type="drbd">
>       <instance_attributes id="ms_drbd_mail-instance_attributes">
>         <attributes>
>           <nvpair name="drbd_resource" value="webmail"/>
>         </attributes>
>       </instance_attributes>
>        <operations>
>     <op id="opmonitor_master" name="monitor" interval="59s" timeout="10s"
> role="Master"/> <op id="opmonitor_slave" name="monitor" interval="60s"
> timeout="10s" role="Slave"/> </operations>
>     </primitive>
>   </master_slave>
> </resources>
>
>
> and when I start clusternode, I get this in my logfile:
>
> lrmd[2994]: 2009/11/04_16:09:00 info: rsc:drbd_mail:1: start
> crmd[2997]: 2009/11/04_16:09:00 debug: do_lrm_rsc_op: Recording pending op:
> 7 - drbd_mail:1_start_0 drbd_mail:1:7 drbd[3303]:     2009/11/04_16:09:00
> DEBUG: webmail: Calling drbdadm -c /etc/drbd.conf state webmail drbd[3303]:
>     2009/11/04_16:09:00 DEBUG: webmail: Exit code 0
> drbd[3303]:     2009/11/04_16:09:00 DEBUG: webmail: Command output:
> 'drbdadm state' is deprecated, use 'drbdadm role' instead.
> Secondary/Unknown drbd[3303]:     2009/11/04_16:09:00 DEBUG: webmail:
> Calling drbdadm -c /etc/drbd.conf cstate webmail drbd[3303]:    
> 2009/11/04_16:09:00 DEBUG: webmail: Exit code 0
> drbd[3303]:     2009/11/04_16:09:00 DEBUG: webmail: Command output:
> WFConnection own WFConnection
> drbd[3303]:     2009/11/04_16:09:00 DEBUG: webmail: Calling drbdadm -c
> /etc/drbd.conf up webmail drbd[3303]:     2009/11/04_16:09:00 DEBUG:
> webmail: Exit code 0
> 0 disk /dev/sdb1 /dev/sdb1 internal --set-defaults --create-device
> --on-io-error=detach' terminated with exit code 10 dsetup 20 disk /dev/sdb1
> /dev/sdb1 internal --set-defaults --create-device --on-io-error=detach'
> terminated with exit code 10
>
> drbd[3303]:     2009/11/04_16:09:00 DEBUG: webmail: Calling drbdadm -c
> /etc/drbd.conf state webmail drbd[3303]:     2009/11/04_16:09:01 DEBUG:
> webmail: Exit code 0
> drbd[3303]:     2009/11/04_16:09:01 DEBUG: webmail: Command output:
> 'drbdadm state' is deprecated, use 'drbdadm role' instead.
> Secondary/Unknown drbd[3303]:     2009/11/04_16:09:01 DEBUG: webmail:
> Calling drbdadm -c /etc/drbd.conf cstate webmail drbd[3303]:    
> 2009/11/04_16:09:01 DEBUG: webmail: Exit code 0
> drbd[3303]:     2009/11/04_16:09:01 DEBUG: webmail: Command output:
> WFConnection own WFConnection
> drbd[3303]:     2009/11/04_16:09:01 ERROR: webmail start: not in Secondary
> mode after start. lrmd[2994]: 2009/11/04_16:09:01 WARN: Managed
> drbd_mail:1:start process 3303 exited with return code 1. crmd[2997]:
> 2009/11/04_16:09:01 ERROR: process_lrm_event: LRM operation
> drbd_mail:1_start_0 (call=7, rc=1) Error unknown error
> -f493-459b-b7e2-000011117616)
>
>
> is there maybe a problem about the Command output:
>
> 'drbdadm state' is deprecated, use 'drbdadm role' instead.
> Secondary/Unknown
>
>
> Any Suggestions are welcome.
>
> Kind Regards
>
> SST

DRBD had a new syntax that heartbeat ocf agent does not understand. Please use 
the ocf agent that DRBD provides itself (provider linbit) AND update t oa 
recent version of pacemaker / openais. heartbeat-2.13 is outdated now for over 
three years.

Greetings,

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: [email protected]
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42
_______________________________________________
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