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

    Feature Request

    Scheduled Pinned Locked Moved Xen Orchestra
    11 Posts 3 Posters 669 Views 3 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.
    • olivierlambertO Online
      olivierlambert Vates 🪐 Co-Founder CEO
      last edited by

      Feel free to explain here 🙂

      G 1 Reply Last reply Reply Quote 0
      • G Offline
        guiltykeyboard @olivierlambert
        last edited by

        @olivierlambert I would like the ability to rename physical network interfaces for a host inside of XO.

        To disconnect an interface (put it in a down state) and rename it instead of having to do it via the CLI.

        This would help when trying to join new hosts to a pool that have different interfaces out of the box because the interfaces have to be renamed to be the same across the entire pool.

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

          Can you describe more explicitly or compare with xe commands so we can understand exactly?

          edit: I think I get it but I want to be sure.

          G 1 Reply Last reply Reply Quote 0
          • G Offline
            guiltykeyboard @olivierlambert
            last edited by guiltykeyboard

            @olivierlambert

            This section.

            https://xcp-ng.org/docs/networking.html#renaming-nics

            If we could go into a host and change the network interface status to disconnected and then click on the "device" name and change the interface - and then change the status to connected, that would make it a lot easier for users to rename interfaces on hosts that do not match the rest of the pool.

            58f4478f-f675-417d-bd9a-1c568414cad1-image.png

            In my particular instance, the rest of the servers are using eth4 for the 10gb/s interface but this particular host has that interface as eth2, so it needs to be renamed to eth4 so that this host may be used with the pool without issues.

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

              interface-rename is a local script that is not exposed in XAPI, so we can't command it remotely from any client (xe or XO)

              G 1 Reply Last reply Reply Quote 0
              • G Offline
                guiltykeyboard @olivierlambert
                last edited by guiltykeyboard

                @olivierlambert

                Interesting.

                Does XO connect to each of the servers via SSH to be able to manage the stuff via XAPI etc?

                Couldn't you integrate a bash script via the SSH connection to do this when someone tries to rename an interface via the XO UI?

                Perhaps I can work on one that could just be ran as a standalone for now.

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

                  No, not at all. There's 0 SSH communication, it all goes via the XAPI. And we want to keep it that way 🙂 (in future releases, SSH will be disabled by default)

                  G 1 Reply Last reply Reply Quote 0
                  • G Offline
                    guiltykeyboard @olivierlambert
                    last edited by

                    @olivierlambert Interesting. 🤔

                    When you say SSH disabled by default, are you talking about XCP-NG not supporting SSH connections out of the box? Or XOA?

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

                      XCP-ng. The idea is to make it open via a XAPI call when needed (or automatically when XAPI is down).

                      J 1 Reply Last reply Reply Quote 0
                      • J Offline
                        john.c @olivierlambert
                        last edited by

                        @olivierlambert said in Feature Request:

                        XCP-ng. The idea is to make it open via a XAPI call when needed (or automatically when XAPI is down).

                        @guiltykeyboard A bit similar to how VMware ESXi handles SSH server, it has SSH stopped and/or disabled until requested in its web interface.

                        Unlike possibly VMware ESXi its going to automatically enable and start the SSH server if XAPI is down!

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