[DRBD-user] Suggestions for drbd 0.8 configuration

Achim Stumpf hakim.news at googlemail.com
Fri Apr 4 17:35:37 CEST 2008

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


>> Depends what your drbd setup is and what you want to happen when a
>> node fails. 

I got a simple Heartbeat/drbd setup with apache and mysql on the drbd 
device. The heartbeat configuration works quite well. It is a 
active/passive setup as you can see of drbd.conf.

ok

for example:

pri-on-incon-degr "echo o > /proc/sysrq-trigger ; halt -f";

Does my server halt in such a case ("halt -f"). Actually I don't want 
that really, because then we got on our monitoring software an alarm for 
a dead server. I would reboot the machine, but only if it is not 
possible to shutdown drbd otherwise.

the manual says:

In case a node starts up in degraded mode (degr-wfc-timeout is set) and 
its local replica of the data is inconsistent, it executes the command. 
If the command exits without error, drbddisk  expects  the  DRBD device 
to be in primary state.

If the node starts up i degraded mode, why should I turn it completely 
off? It would not get primary at all.

Doesn't anyone have a similar setup and provide me with a more proofed 
example setup?


Achim



More information about the drbd-user mailing list