[DRBD-user] Automatic Primary

2012-08-13 Thread J.R. Lillard
I have a three node setup all running Ubuntu 12.04 and DRBD 8.3.11. I have the drbd service configured to not startup automatically. Instead I launch it with post-up commands in /etc/network/interfaces via modprobe drbd followed by drbdadm up all. This works fine. All three nodes startup and re

Re: [DRBD-user] Automatic Primary

2012-08-14 Thread Csurai Akos
Hi, Just an idea: Last time when I see such a situation, someone suggested to print out the env ... and there I could see that the script was running in a wrong path. NFS was temporary unavailable and that caused the script "hanging" Akos On 08/13/12 23:34, J.R. Lillard wrote: I have a three

Re: [DRBD-user] Automatic Primary

2012-08-14 Thread Csurai Akos
Hi, Just an idea: Last time when I see such a situation, someone suggested to print out the env ... and there I could see that the script was running in a wrong path. NFS was temporary unavailable and that caused the script "hanging" Akos On 08/13/12 23:34, J.R. Lillard wrote: I have a three

Re: [DRBD-user] Automatic Primary

2012-08-14 Thread J.R. Lillard
The only difference between the machine booting normally and hanging while starting the network is this line in /etc/network/interfaces. post-up drbdadm primary all So for some reason attempting to become the primary so quickly results in a delay of some sort. I also tried adding become-primary-