I followed these instructions precisely (I've done this from scratch using 11.04 and 11.10 with the same results using AMI's )
(using 11.04) Community AMI: ami-e016ca89 https://help.ubuntu.com/11.04/serverguide/C/drbd.html and (using 11.10) Community AMI: ami-baba68d3 https://help.ubuntu.com/11.10/serverguide/C/drbd.html
I am getting the following error when starting the process:
root@drbd01:~# sudo /etc/init.d/drbd start
* Starting DRBD resources Can not load the drbd module.
Created a volume (on both versions) 250gb Volume, attached as /dev/xvdm
Here is my config file:
global { usage-count no; }
common { syncer { rate 100M; } }
resource r0 {
protocol C;
startup {
wfc-timeout 15;
degr-wfc-timeout 60;
}
net {
cram-hmac-alg sha1;
shared-secret "secret";
}
on drbd01 {
device /dev/drbd0;
disk xvdm;
address -MY AWS PUBLIC ELASTIC IP WAS HERE-:7788;
meta-disk internal;
}
on drbd02 {
device /dev/drbd0;
disk /dev/xvdm;
address -MY AWS PUBLIC ELASTIC IP WAS HERE-:7788;
meta-disk internal;
}
}
With cyberx86's help, I did a search and found this, which works.
Cite: http://www.mail-archive.com/[email protected]/msg00588.html