hi!
I'm trying to configure drbd with heartbeat. My configuration are as
follows:
*****drbd.conf******
global { usage-count no; }
resource postgres {
protocol C;
startup { wfc-timeout 0; degr-wfc-timeout 120; }
disk { on-io-error detach; } # or panic, ...
net { cram-hmac-alg "sha1"; shared-secret "Nuxe0"; }
syncer { rate 10M; }
on dmcstest1.domain.com {
device /dev/drbd0;
disk /dev/hda3;
address 10.110.10.3:7788;
meta-disk internal;
}
on dmcstest2.domain.com {
device /dev/drbd0;
disk /dev/hda2;
address 10.110.10.4:7788;
meta-disk internal;
}
}
******ha.cf*******
debugfile /var/log/ha-debug
logfile /var/log/ha-log
logfacility local0
keepalive 2
deadtime 120
initdead 120
baud 9600
nice_failback on
udpport 694
udp eth2
node dmcstest1.domain.com
node dmcstest2.domain.com
crm on
****authkeys***** (set to mode 600)
auth1
1 sha1 mypassword
also crm_mon results:
Last updated: Thu Oct 14 11:38:07 2010
Current DC: dmcstest2.domain.com (9ce258dd-f3cd-4e6b-a078-560d12166421)
2 Nodes configured.
0 Resources configured.
============
Node: dmcstest2.domain.com (9ce258dd-f3cd-4e6b-a078-560d12166421): online
Node: dmcstest1.domain.com (4765356c-45e7-43b6-ada2-71762642f562): online
Any thoughts?
Oliver
****haresources*****
dmcstest1.pia.gov.ph IPaddr::10.110.10.250
dmcstest1.pia.gov.ph drbddisk::postgres Filesystem::/dev/drbd0::/mnt::ext3
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems