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

    Add Management Interface

    Scheduled Pinned Locked Moved Solved Management
    25 Posts 6 Posters 6.2k Views 5 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.
    • K Offline
      KPS Top contributor
      last edited by

      Hi!

      I need to add two management interfaces for iSCSI (MPIO) and change the "main" management interface to a bond.

      Is there any possibility to do this in XOA? I did not find that possibility and nothing in the docs - only an old post:
      https://xcp-ng.org/forum/topic/4671/change-management-network-interface
      --> But it does not handle "adding" management interfaces...

      Thank you for your help
      KPS

      K 1 Reply Last reply Reply Quote 0
      • K Offline
        KPS Top contributor
        last edited by

        Hi!

        I was now able to solve both issues (thank you @olivierlambert):

        • Adding additional Management Interface:
          --> XOA - Host - Network - Change Type to "static"

        • Moving Management Interface to Bond:
          --> XOA - Pool - Network - Create Bond with "old" single-Interface and another interface
          ----> IP is automatically reassigned to Bond

        1 Reply Last reply Reply Quote 2
        • K Offline
          KPS Top contributor @KPS
          last edited by

          Hi!

          Is there really no possibility to do this in XOA?
          How do you setup e.g. iSCSI, if you need an additional management interface?

          KPS

          1 Reply Last reply Reply Quote 0
          • planedropP Offline
            planedrop Top contributor
            last edited by

            Wish I had an answer here, following this thread because I too am curious.

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

              Ping @fohdeesha

              K 1 Reply Last reply Reply Quote 0
              • K Offline
                KPS Top contributor @olivierlambert
                last edited by

                @olivierlambert
                I did now add the additional management interfaces via XCP-ng-center to bring the cluster in production, but I hope to get this feature for the future (where XCP-ng-center is perhaps no more option)

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

                  Please share the screenshots so we can see how, that might be helpful to us 🙂

                  K 1 Reply Last reply Reply Quote 0
                  • K Offline
                    KPS Top contributor @olivierlambert
                    last edited by

                    @olivierlambert
                    Sure!
                    0b216012-03ea-4850-9903-628d5a536a49-image.png

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

                      So this replace the previous mgmt interface?

                      K 1 Reply Last reply Reply Quote 0
                      • K Offline
                        KPS Top contributor @olivierlambert
                        last edited by

                        @olivierlambert
                        Yes and no...
                        There are two points:

                        • Moving primary management to bond (--> Management)
                        • Adding two additional management interfaces for iSCSI (-> iSCSI1811 and iSCSI1812)

                        Both was/is critical for me to setup an HA-environment with MPIO-iSCSI and I did not yet find and possibility to add a second/third management interface with XOA

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          Andrew Top contributor @KPS
                          last edited by

                          @KPS The two tools are a little different. You actually only have ONE management interface for XCP. The other 'management' interfaces shown are just extra ones that have IP addresses assigned in XCP verses an interface without an IP used for VMs.

                          In XO you can just assign a static IP to the other ethernet interfaces (or VLAN interfaces) and then use them for iSCSI/NFS. As long as your new interface on the XCP host and iSCSI target are on the same IP network then that's what will be used.

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

                            I have to admit that's a bit confusing to me 🤔 (but I'm busy doing other stuff in parallel). If there's something missing in XO with a precise spec/steps, I'll be happy to consider to add it 🙂

                            K D 2 Replies Last reply Reply Quote 0
                            • K Offline
                              KPS Top contributor @olivierlambert
                              last edited by

                              @olivierlambert
                              What is confising?

                              • Having Management on a bond --> is best-practice for HA
                              • Having an additional Management Interface --> is mandatory for MPIO which is best-practice for HA

                              Currently, I have no idea on how I could set this up in a "world without XCP-ng-center" 🙂
                              At least, I was not able to do this with XOA

                              1 Reply Last reply Reply Quote 0
                              • D Offline
                                dredknight @olivierlambert
                                last edited by

                                @olivierlambert the additional IP is used when one have a dedicated network for ISCSI network traffic. Here are some examples;

                                Case 1
                                imagine you have host 3 interfaces:

                                • eth0 is xcp management - 10.10.10.10
                                • eth1 is trunk for vlans - <trunk>
                                • eth2 is free and you want to use its bandwidth to attach your new ISCSI Storage. This way you can get the maximum bandwidth possible as eth2 is not overlapping with eth0. ISCSI configuration requires assigned IP on the interface but does not require it to be of type management (as eth0).

                                Case 2
                                Same as the previous one except the user decides to setup the ISCSI network ip on management interface.

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

                                  But you can already add an IP to an interface in Xen Orchestra 🤔 I'm sure I'm missing something obvious 🤔

                                  D K 2 Replies Last reply Reply Quote 0
                                  • D Offline
                                    dredknight @olivierlambert
                                    last edited by

                                    @olivierlambert I was just trying to describe it better. If that is the case then all is good.

                                    1 Reply Last reply Reply Quote 0
                                    • K Offline
                                      KPS Top contributor @olivierlambert
                                      last edited by

                                      @olivierlambert said in Add Management Interface:

                                      But you can already add an IP to an interface in Xen Orchestra I'm sure I'm missing something obvious

                                      That is exactly my problem: I do not find a possibility to add an ip address to an interface. I can only change the IP of a management interface, that is already there...

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

                                        1. In the host view, Network tab, in each row you have eth0, eth1 etc.
                                        2. Click on the "None" in the row "Mode".
                                        3. Profit.
                                        K 1 Reply Last reply Reply Quote 0
                                        • K Offline
                                          KPS Top contributor @olivierlambert
                                          last edited by

                                          @olivierlambert
                                          Thank you very much! I just did not bring that option to my demand...

                                          Sorry for the confusion!

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

                                            No worries, the UI isn't clear at all and we are aware of it.

                                            So what's left that you don't have in XCP-ng Center after this?

                                            1 Reply Last reply Reply Quote 0
                                            • K Offline
                                              KPS Top contributor
                                              last edited by

                                              Hi!

                                              I was now able to solve both issues (thank you @olivierlambert):

                                              • Adding additional Management Interface:
                                                --> XOA - Host - Network - Change Type to "static"

                                              • Moving Management Interface to Bond:
                                                --> XOA - Pool - Network - Create Bond with "old" single-Interface and another interface
                                                ----> IP is automatically reassigned to Bond

                                              1 Reply Last reply Reply Quote 2
                                              • olivierlambertO olivierlambert marked this topic as a question on
                                              • olivierlambertO olivierlambert has marked this topic as solved on
                                              • First post
                                                Last post