<div dir="ltr"><div><p class="gmail-p1" style="margin:0px;font:12px Times"><span class="gmail-s1" style="font-kerning:none">Hi Team,</span></p><p class="gmail-p2" style="margin:0px;font:12px Times;min-height:14px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p1" style="margin:0px;font:12px Times"><span class="gmail-s1" style="font-kerning:none">I have installed DRBD with the following version and other details.<span class="gmail-Apple-converted-space"> </span></span></p><p class="gmail-p2" style="margin:0px;font:12px Times;min-height:14px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">Scenario:</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">Two VMWARE VMs with Ubuntu 20.4 version.<br>
Installed DRBD utils on both the vms.</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">After create md and restart the drbd service i am able to see the devices are ins sync</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">My query and problem is when I restart the primary vm DRBD is not working and data in disk are unable to see in the mounted disks.</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">How to get connected the disks again and sync back the same.</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">What are the Failover and Failback tests can be done on DRBD.</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">How can I achieve the setup back, when Primary is rebooted or secondary is rebooted.</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">Version of DRBD is below:</span></p><p class="gmail-p2" style="margin:0px;font:12px Times;min-height:14px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">DRBDADM_BUILDTAG=GIT-hash:\ 63092751e76e1fba397e53df4be5c1161b83a223\ reproducible\ build\,\ 2020-03-21\ 12:27:02</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">DRBDADM_API_VERSION=1</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">DRBD_KERNEL_VERSION_CODE=0x08040b</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">DRBDADM_VERSION_CODE=0x090b00</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">DRBDADM_VERSION=9.11.0</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">drbd.conf<br>
#################################################</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"># You can find an example in /usr/share/doc/drbd.../drbd.conf.example</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">#include "drbd.d/global_common.conf";</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">#include "drbd.d/*.res";</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">global {</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> usage-count no;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">}</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">common {</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> net {</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> protocol C;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> }</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">}</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">resource r0 {</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> on hostname1 {</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> device /dev/drbd0;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> disk /dev/sdd;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> address hostname1IP:7788;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> meta-disk internal;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> }</span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> on hostname2 {</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> device /dev/drbd0;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> disk /dev/sdd;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> address hostname2IP:7788;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> meta-disk internal;</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none"> }</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">} <br>
############################################<br>
</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">Lsblk:<br>
</span></p><p class="gmail-p3" style="margin:0px;font:11px Menlo"><span class="gmail-s1" style="font-kerning:none">sdd 8:48 0 10G 0 disk </span></p><p class="gmail-p4" style="margin:0px;font:11px Menlo;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p><p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space">
</span></span></p><p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-kerning:none">└─drbd0 147:0 0 10G 1 disk <br>
<br>
</span></p><p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-kerning:none">Looking for help</span></p><p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-kerning:none">Thanks in advance</span></p><p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-kerning:none">Regards,</span></p><p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span class="gmail-s1" style="font-kerning:none">Rizwan</span></p></div></div>