<div dir="ltr"><div dir="ltr"><div>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.<br></div><div><br></div><div>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).</div><div><br></div><div>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?<br></div><div><br></div><div>in /etc/drdb.d I have:<br></div><div>file global_common.conf:<br>global {<br> usage-count no;<br>}<br>common {<br> net {<br> protocol C;<br> }<br>}<br>
</div><div><br></div><div>file drbd0.res:<br>resource drbd0 {<br> device /dev/drbd0;<br> meta-disk internal;<br> net {<br> cram-hmac-alg sha256;<br> shared-secret "ThisIsSecret1";<br> }<br> on vmh1 {<br> node-id 1;<br> address <a href="http://10.13.119.15:7789">10.13.119.15:7789</a>;<br> disk /dev/sdb;<br> }<br>}<br><br>file drbd1.res:<br>resource drbd1 {<br> device /dev/drbd1;<br> meta-disk internal;<br> net {<br> cram-hmac-alg sha256;<br> shared-secret "ThisIsSecret2";<br> }<br> on vmh1 {<br> node-id 1;<br> address <a href="http://10.13.119.15:7789">10.13.119.15:7789</a>;<br> disk /dev/sdc;<br> }<br>}<br><br></div><div>Thank you!<br></div></div></div>