On 2007-07-09T11:11:19, Daniele Ciarelli <[EMAIL PROTECTED]> wrote:

> Hello everybody
> I have a problem configuring Heartbeat with drbd, my server
> configuration is this:
> 
> This is my drbd.conf
> resource db {
>         protocol C;
>         startup { wfc-timeout 0; degr-wfc-timeout 120; }
>         disk { on-io-error detach; }
>         syncer { rate 50M; }
> 
>         on server1 {
>                 device /dev/drbd0;
>                 disk /dev/md3;
>                 address 192.168.0.1:7789;
>                 meta-disk /dev/md0 [0];
>         }
> 
>         on server2 {
>                 device /dev/drbd0;
>                 disk /dev/md0;
>                 address 192.168.0.2:7789;
>                 meta-disk /dev/md2 [0];
>         }
> }
> 
> When starting HeartBeat i receive the following error:
> 
> [EMAIL PROTECTED] ~]# /etc/init.d/heartbeat restart
> Stopping High-Availability services:
>                                                            [  OK  ]
> Waiting to allow resource takeover to complete:
>                                                            [  OK  ]
> Starting High-Availability services:
> /etc/drbd.conf: line 1: resource: command not found
> /etc/drbd.conf: line 2: protocol: command not found
> /etc/drbd.conf: line 3: syntax error near unexpected token `}'
> /etc/drbd.conf: line 3: `       startup { wfc-timeout 0;
> degr-wfc-timeout 120; }'

What does your haresources look like?

Which versions of drbd and heartbeat?


Regards,
    Lars

-- 
Teamlead Kernel, SuSE Labs, Research and Development
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde

_______________________________________________
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