XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to ensure Disk replication uses 10 Gb network in XCP-ng XOSTOR cluster?

    Scheduled Pinned Locked Moved XOSTOR
    6 Posts 4 Posters 35 Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I Offline
      iamsumeshks
      last edited by

      I am creating a 3-node XCP-ng cluster using XOSTOR for shared storage replication. The replication factor is 3. Each node has two network interfaces:

      1 Gb management network (host management, pool communication, XOA access only)

      • Node1: 192.168.200.161
      • Node2: 192.168.200.162
      • Node3: 192.168.200.163

      10 Gb storage network (intended exclusively for storage replication)

      • Node1: 192.168.212.11
      • Node2: 192.168.212.12
      • Node3: 192.168.212.13

      How to ensure that all replication traffic goes to the 10G network. Node 2 is acting as master. linstor commands output is given below ( as an image ).

      Screenshot from 2026-01-18 22-34-09.png Screenshot from 2026-01-18 22-31-21.png

      P ronan-aR 2 Replies Last reply Reply Quote 0
      • P Offline
        Pilow @iamsumeshks
        last edited by

        @iamsumeshks as said on reddit, it seems that you are good to go
        monitor your nics bandwidth in hosts stats to ensure it goes on the good pif.

        PREFNIC is the one where DRBD works i guess

        1 Reply Last reply Reply Quote 1
        • olivierlambertO Online
          olivierlambert Vates 🪐 Co-Founder CEO
          last edited by

          Adding @Team-Storage for a quick review 🙂

          1 Reply Last reply Reply Quote 0
          • ronan-aR Offline
            ronan-a Vates 🪐 XCP-ng Team @iamsumeshks
            last edited by

            @iamsumeshks You can confirm that using netstat -nlapute | grep :7.

            Explanation: The DRBD ports are in the range 7000:8000. With this command, you should see the IPs of your PrefNic interface and not the default one, if everything is configured correctly.

            I 1 Reply Last reply Reply Quote 1
            • I Offline
              iamsumeshks @ronan-a
              last edited by iamsumeshks

              @ronan-a
              Most of the ports ( 7000 to 8000 ) is using 10G network IPs ( 192.168.212.x ). Please find the output from each node below

              34665ff4-66e3-4e78-8117-34115d6e0de6-image.png

              0f1df5f0-1257-4873-9bb2-6455d62354d4-image.png

              d9ff218a-ad4f-4b59-a567-3c7a4b64d366-image.png

              ronan-aR 1 Reply Last reply Reply Quote 0
              • ronan-aR Offline
                ronan-a Vates 🪐 XCP-ng Team @iamsumeshks
                last edited by

                @iamsumeshks So I guess you have two resources in your LINSTOR and they are using your 10Gb network. 🙂

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post