My server configuration is this: Operating system Centos 4.5 Kernel 2.6.9-55.ELsmp Heartbeat 2.0.7-1 drbd 0.7.23-1
My haresources server1 drbddisk::db Filesystem::/dev/drbd0::/drbd::ext3 mysql IPaddr::10.1.2.221/16/eth0 I get error when i change the drbd file path DEFAULTFILE="/etc/default/drbd" to correct path DEFAULTFILE="/etc/drbd.conf" Thanks in advance, Daniele -----Messaggio originale----- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Lars Marowsky-Bree Inviato: lunedì 9 luglio 2007 14.09 A: General Linux-HA mailing list Oggetto: Re: [Linux-HA] heartbeat and drbddisk 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 _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
