[DRBD-user] Adding additional 'node' to DRBD
Shawn Southern
shawn at southernfamily.ca
Wed Jan 16 15:47:05 CET 2019
I'm very new to DRBD, so please bear with me if my terminology is wrong (or
if I've completely done everything wrong, please let me know!). I've not
had much luck with finding this scenario in the documentation.
Initially, I only had a single system I could configure. The other
identical system was running Hyper-V, so I had to get a system up with
CentOS, KVM & DRBD then migrate the workloads, then reformat the Hyper-V
box as CentOS, KVM & DRBD).
System 1 (vmh1) is 10.13.119.15, System 2 (vmh2) that I have to add is
10.13.119.16. I've got the workload migrated to 'vmh1' and 'vmh2' is now
reinstalled with CentOS, KVM & DRBD. What I need to know is how do I
safely add the sdb & sdc in vmh2 to the existing single node DRBD so that
it safely replicates the data and I don't lose my workload?
in /etc/drdb.d I have:
file global_common.conf:
global {
usage-count no;
}
common {
net {
protocol C;
}
}
file drbd0.res:
resource drbd0 {
device /dev/drbd0;
meta-disk internal;
net {
cram-hmac-alg sha256;
shared-secret "ThisIsSecret1";
}
on vmh1 {
node-id 1;
address 10.13.119.15:7789;
disk /dev/sdb;
}
}
file drbd1.res:
resource drbd1 {
device /dev/drbd1;
meta-disk internal;
net {
cram-hmac-alg sha256;
shared-secret "ThisIsSecret2";
}
on vmh1 {
node-id 1;
address 10.13.119.15:7789;
disk /dev/sdc;
}
}
Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20190116/3b054f7f/attachment.htm>
More information about the drbd-user
mailing list