<div dir="ltr"><div>Hello,</div><div><br></div><div>when you executed `linstor node create C ...` Linstor should have given you a list of supported layers + providers or reasons why layers / providers are not supported. You can recheck that list with</div><div>  linstor node info</div><div>That command should tell you why Linstor thinks that C does not support DRBD.</div><div><br></div><div>Best regards,</div><div>Gabor<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 3, 2021 at 12:29 PM Ferran Alchimia &lt;<a href="mailto:ferran.alchimia@gmail.com">ferran.alchimia@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><font face="monospace">Hi,</font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">I currently have a 2 node (combined) cluster and I want to add an HA linstor-controller. I was following this guide <a href="https://www.linbit.com/drbd-user-guide/linstor-guide-1_0-en/#s-linstor_ha" target="_blank">https://www.linbit.com/drbd-user-guide/linstor-guide-1_0-en/#s-linstor_ha</a></font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">The first step asks for an AutoQuorum capable resource. So I think I have to add a third node to my cluster. This is my starting position:</font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">╭─────────────────────────────────────────────────────╮</font></div><div dir="ltr"><font face="monospace">┊ Node  â”Š NodeType â”Š Addresses  Â  Â  Â  Â  Â  Â  Â â”Š State  â”Š</font></div><div dir="ltr"><font face="monospace">╞═════════════════════════════════════════════════════╡</font></div><div dir="ltr"><font face="monospace">┊ H  Â  Â â”Š COMBINED â”Š <a href="http://10.0.7.106:3366" target="_blank">10.0.7.106:3366</a> (PLAIN) â”Š Online â”Š</font></div><div dir="ltr"><font face="monospace">┊ T  Â  Â â”Š COMBINED â”Š <a href="http://10.0.7.105:3366" target="_blank">10.0.7.105:3366</a> (PLAIN) â”Š Online â”Š</font></div><div dir="ltr"><font face="monospace">╰─────────────────────────────────────────────────────╯</font></div><div dir="ltr"><font face="monospace">╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮</font></div><div dir="ltr"><font face="monospace">┊ StoragePool  Â  Â  Â  Â  â”Š Node  Â  Â  Â â”Š Driver  Â â”Š PoolName  Â  Â  Â  â”Š FreeCapacity â”Š TotalCapacity â”Š CanSnapshots â”Š State â”Š</font></div><div dir="ltr"><font face="monospace">╞══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡</font></div><div dir="ltr"><font face="monospace">┊ DfltDisklessStorPool â”Š H  Â  Â  Â  Â  â”Š DISKLESS â”ŠÂ  Â  Â  Â  Â  Â  Â  Â  Â â”ŠÂ  Â  Â  Â  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â  Â â”Š False  Â  Â  Â  â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">┊ DfltDisklessStorPool â”Š T  Â  Â  Â  Â  â”Š DISKLESS â”ŠÂ  Â  Â  Â  Â  Â  Â  Â  Â â”ŠÂ  Â  Â  Â  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â  Â â”Š False  Â  Â  Â  â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">┊ drbdpool  Â  Â  Â  Â  Â  Â â”Š H  Â  Â  Â  Â  â”Š LVM_THIN â”Š vgthc1/drbdpool â”ŠÂ  Â  Â 3.13 TiB â”ŠÂ  Â  Â  3.49 TiB â”Š True  Â  Â  Â  Â â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">┊ drbdpool  Â  Â  Â  Â  Â  Â â”Š T  Â  Â  Â  Â  â”Š LVM_THIN â”Š vgthc1/drbdpool â”ŠÂ  Â  Â 3.13 TiB â”ŠÂ  Â  Â  3.49 TiB â”Š True  Â  Â  Â  Â â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">Since my third node won&#39;t have any storage devices dedicated to drbd I presumed that I could add a DISKLESS node (I don&#39;t know if this is true), just for quorum and not for replica.</font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">linstor n create --node-type satellite C 10.100.1.3</font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">linstor n l</font></div><div dir="ltr"><font face="monospace">╭───────────────────────────────────────────────────────────╮</font></div><div dir="ltr"><font face="monospace">┊ Node  Â  Â  Â â”Š NodeType  â”Š Addresses  Â  Â  Â  Â  Â  Â  Â â”Š State  â”Š</font></div><div dir="ltr"><font face="monospace">╞═══════════════════════════════════════════════════════════╡</font></div><div dir="ltr"><font face="monospace">┊ C  Â  Â  Â  Â  â”Š SATELLITE â”Š <a href="http://10.100.1.3:3366" target="_blank">10.100.1.3:3366</a> (PLAIN) â”Š Online â”Š</font></div><div dir="ltr"><font face="monospace">┊ H  Â  Â  Â  Â  â”Š COMBINED  â”Š <a href="http://10.0.7.106:3366" target="_blank">10.0.7.106:3366</a> (PLAIN) â”Š Online â”Š</font></div><div dir="ltr"><font face="monospace">┊ T  Â  Â  Â  Â  â”Š COMBINED  â”Š <a href="http://10.0.7.105:3366" target="_blank">10.0.7.105:3366</a> (PLAIN) â”Š Online â”Š</font></div><div dir="ltr"><font face="monospace">╰───────────────────────────────────────────────────────────╯</font></div><div dir="ltr"><font face="monospace">linstor sp create diskless C drbdpool</font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮</font></div><div dir="ltr"><font face="monospace">┊ StoragePool  Â  Â  Â  Â  â”Š Node  Â  Â  Â â”Š Driver  Â â”Š PoolName  Â  Â  Â  â”Š FreeCapacity â”Š TotalCapacity â”Š CanSnapshots â”Š State â”Š</font></div><div dir="ltr"><font face="monospace">╞══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡</font></div><div dir="ltr"><font face="monospace">┊ DfltDisklessStorPool â”Š C  Â  Â  Â  Â  â”Š DISKLESS â”ŠÂ  Â  Â  Â  Â  Â  Â  Â  Â â”ŠÂ  Â  Â  Â  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â  Â â”Š False  Â  Â  Â  â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">┊ DfltDisklessStorPool â”Š H  Â  Â  Â  Â  â”Š DISKLESS â”ŠÂ  Â  Â  Â  Â  Â  Â  Â  Â â”ŠÂ  Â  Â  Â  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â  Â â”Š False  Â  Â  Â  â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">┊ DfltDisklessStorPool â”Š T  Â  Â  Â  Â  â”Š DISKLESS â”ŠÂ  Â  Â  Â  Â  Â  Â  Â  Â â”ŠÂ  Â  Â  Â  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â  Â â”Š False  Â  Â  Â  â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">┊ drbdpool  Â  Â  Â  Â  Â  Â â”Š C  Â  Â  Â  Â  â”Š DISKLESS â”ŠÂ  Â  Â  Â  Â  Â  Â  Â  Â â”ŠÂ  Â  Â  Â  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â  Â â”Š False  Â  Â  Â  â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">┊ drbdpool  Â  Â  Â  Â  Â  Â â”Š H  Â  Â  Â  Â  â”Š LVM_THIN â”Š vgthc1/drbdpool â”ŠÂ  Â  Â 3.13 TiB â”ŠÂ  Â  Â  3.49 TiB â”Š True  Â  Â  Â  Â â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">┊ drbdpool  Â  Â  Â  Â  Â  Â â”Š T  Â  Â  Â  Â  â”Š LVM_THIN â”Š vgthc1/drbdpool â”ŠÂ  Â  Â 3.13 TiB â”ŠÂ  Â  Â  3.49 TiB â”Š True  Â  Â  Â  Â â”Š Ok  Â  â”Š</font></div><div dir="ltr"><font face="monospace">╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯</font></div><div dir="ltr"><font face="monospace"><br></font></div><div><font face="monospace">I add the --diskless-on-remaining flag for the rg definition (I don&#39;t know if this is needed)</font></div><div><font face="monospace">linstor rg m drbdpoolvm --place-count 2 --diskless-on-remaining<br></font></div><div><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace"><div dir="ltr">linstor rg l</div><div dir="ltr">╭──────────────────────────────────────────────────────────────────╮</div><div dir="ltr">┊ ResourceGroup â”Š SelectFilter  Â  Â  Â  Â  Â  Â  â”Š VlmNrs â”Š Description â”Š</div><div dir="ltr">╞══════════════════════════════════════════════════════════════════╡</div><div dir="ltr">┊ DfltRscGrp  Â  â”Š PlaceCount: 2  Â  Â  Â  Â  Â  Â â”ŠÂ  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â â”Š</div><div dir="ltr">╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄╡</div><div dir="ltr">┊ drbdpoolvm  Â  â”Š PlaceCount: 2  Â  Â  Â  Â  Â  Â â”Š 0  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â â”Š</div><div dir="ltr">┊  Â  Â  Â  Â  Â  Â  Â â”Š StoragePool(s): drbdpool  â”ŠÂ  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â â”Š</div><div dir="ltr">┊  Â  Â  Â  Â  Â  Â  Â â”Š DisklessOnRemaining: True â”ŠÂ  Â  Â  Â  â”ŠÂ  Â  Â  Â  Â  Â  Â â”Š</div><div dir="ltr">╰──────────────────────────────────────────────────────────────────╯</div></font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">And then I try to create a test resource</font></div><div dir="ltr"><font face="monospace">linstor resource create T test</font></div><div dir="ltr"><font face="monospace">SUCCESS:(...)</font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">linstor resource create H test</font></div><div dir="ltr"><font face="monospace">WARNING:  Â  Could not find suitable node to automatically create a tie breaking resource for &#39;test&#39;.</font></div><div dir="ltr"><font face="monospace">SUCCESS:(...)</font></div><div dir="ltr"><font face="monospace"><br></font></div><div dir="ltr"><font face="monospace">linstor resource create C test</font></div><div dir="ltr"><font face="monospace">ERROR:Description:  Â  Satellite &#39;C&#39; does not support the following layers: [DRBD]Details:  Â  Node(s): &#39;C&#39;, Resource: &#39;test&#39;Show reports:  Â  linstor error-reports show 603F507D-00000-000005</font></div><div dir="ltr"><font face="monospace"><br></font></div><div><font face="monospace">As you can see the resource creation fails on C node. I have installed drbd on that node just in case, here goes the output:</font></div><div><font face="monospace"><div>drbdadm --version</div><div>DRBDADM_BUILDTAG=GIT-hash:\ a7820b3c14497a34f955ba5ce56cf1bc9d2d353e\ build\ by\ @buildsystem\,\ 2021-02-09\ 09:27:27</div><div>DRBDADM_API_VERSION=1</div><div>DRBD_KERNEL_VERSION_CODE=0x08040b</div><div>DRBDADM_VERSION_CODE=0x091000</div><div>DRBDADM_VERSION=9.16.0</div><div><br></div><div>Overall my C node does not have any &quot;storage&quot; for the drbd cluster, I just want it to be a diskless node in order to achieve HA for the resources. It seems I have misunderstood something but I just don&#39;t know where to look for more info. Any hints/help would be appreciated.</div><div><br></div><div>Regards,</div><div>Ferran</div></font></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
Star us on GITHUB: <a href="https://github.com/LINBIT" rel="noreferrer" target="_blank">https://github.com/LINBIT</a><br>
drbd-user mailing list<br>
<a href="mailto:drbd-user@lists.linbit.com" target="_blank">drbd-user@lists.linbit.com</a><br>
<a href="https://lists.linbit.com/mailman/listinfo/drbd-user" rel="noreferrer" target="_blank">https://lists.linbit.com/mailman/listinfo/drbd-user</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Best regards,<br></div>Gabor Hernadi<br></div></div></div></div>