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; }'
Anyway drbd and heartbeat are working
Can somebody explain me these errors?
Thanks,
Daniele
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems