[DRBD-user] next try using sencond nic

Martin mlc42 at gmx.de
Fri Jul 30 19:46:51 CEST 2021


Hi,

now i´ve a second nic even in the third (diskless) node.
But linstor again creates wrong assignments in res file.

First nic for main network connected to router, switch etc.

node1 192.168.2.245

node2 192.168.2.246

node3 192.168.2.253


Second nic should only be used by drbd. All three nics are connected to
a dedicated switch,
which has no connection to the main network.

node1 192.168.3.1

node2 192.168.3.2

node3 192.168.3.3

This settings i´ve used (only on node 1)


|      linstor node interface create ||proxmoxn1||data 1||92.168.3.1|

||      linstor node interface create ||proxmoxn||2||data 1||92.168.3.2|||
       linstor node interface create ||proxmoxn||3||data 1||92.168.3.3|
||||

|||linstor storage-pool set-property p||roxmoxn1||drbdpool PrefNic data|
|||linstor storage-pool set-property p||roxmoxn||2||drbdpool PrefNic data|
|||linstor storage-pool set-property proxmoxn3 DfltDisklessStorPool
PrefNic data|

   connection
     {
         host proxmoxn1 address ipv4 192.168.3.1:7003;
         host proxmoxn2 address ipv4 192.168.2.246:7003;
     }

     connection
     {
         host proxmoxn1 address ipv4 192.168.3.1:7003;
         host proxmoxn3 address ipv4 192.168.2.253:7003;
     }

on node 2


  connection
     {
         host proxmoxn2 address ipv4 192.168.3.2:7003;
         host proxmoxn1 address ipv4 192.168.2.245:7003;
     }

     connection
     {
         host proxmoxn2 address ipv4 192.168.3.2:7003;
         host proxmoxn3 address ipv4 192.168.2.253:7003;
     }

on node 3

     connection
     {
         host proxmoxn3 address ipv4 192.168.3.3:7003;
         host proxmoxn1 address ipv4 192.168.2.245:7003;
     }

     connection
     {
         host proxmoxn3 address ipv4 192.168.3.3:7003;
         host proxmoxn2 address ipv4 192.168.2.246:7003;
     }

without the second nics all works fine even HA with drbd-reactor.
Prefnic seems to be the last challenge
in get my cluster running.

Any help on this ? Maybe i´ve overseen something.


Best regards

Martin




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20210730/b751f609/attachment.htm>


More information about the drbd-user mailing list