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

    RPM package vmfs6-tools missing for local migration procedure

    Scheduled Pinned Locked Moved Migrate to XCP-ng
    16 Posts 5 Posters 101 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 Offline
      olivierlambert Vates πŸͺ Co-Founder CEO
      last edited by

      Hmm indeed the package is not there anymore. We'll have to find it and host it somewhere πŸ€”

      GuillaumeHullinG 1 Reply Last reply Reply Quote 0
      • GuillaumeHullinG Offline
        GuillaumeHullin @olivierlambert
        last edited by GuillaumeHullin

        What about using XOA VM as it is Debian-based and the packages are already part of Debian repo.
        Here is an idea:

        • Install XCP-ng on a separate drive (like in the procedure).
        • Deploy or migrate XOA on the host.
        • Expose the VMFS devices to XOA (as passthrough) with something like:
        mkdir /srv/vmfs 
        ln -s /dev/disk/by-id/<DISK_ID> /srv/vmfs`
        xe sr-create name-label=VMFS type=udev content-type=disk device-config:location= /srv/vmfs host-uuid=<HOST UUID>`
        
        • Attach the new SR to XOA.
        • Mount the VMFS within XOA VM.
        • Use XOA to convert and send the vhd to an SR via the API.

        The part of sending the VHD to an SR is what XO does already... but I'm really not familiar with how it work internally.

        This can be done manually or could (if someone want to code it) be integrated in XOA web interface to provide super fast VMware conversion.

        1 Reply Last reply Reply Quote 0
        • olivierlambertO Offline
          olivierlambert Vates πŸͺ Co-Founder CEO
          last edited by

          We'll rebuild a package for XCP-ng. The perk on converting in-line is to avoid any network transfer to make it faster.

          1 Reply Last reply Reply Quote 1
          • GuillaumeHullinG Offline
            GuillaumeHullin
            last edited by

            You're right. It's certainly easier that way πŸ‘

            1 Reply Last reply Reply Quote 0
            • AtaxyaNetworkA Offline
              AtaxyaNetwork Ambassador @GuillaumeHullin
              last edited by

              @GuillaumeHullin Hi !

              I rebuild (with an assist, I admit) an RPM based on a src.rpm I found

              If you want to test it, you can find it here: https://nextcloud.ataxya.net/index.php/s/Jb7Cg57gPHRjfSk

              No guaranties that will work, I don't have any vmfs to test the package

              Let me know if you can test it !

              GuillaumeHullinG 1 Reply Last reply Reply Quote 0
              • GuillaumeHullinG Offline
                GuillaumeHullin @AtaxyaNetwork
                last edited by

                @AtaxyaNetwork Sure I can test and I'll report back if it was successful.
                Thanks a lot.

                1 Reply Last reply Reply Quote 1
                • GuillaumeHullinG Offline
                  GuillaumeHullin
                  last edited by

                  @AtaxyaNetwork seems to work fine. I can mount my VMFS6 and the conversion is in progress.
                  Do you need specific test?
                  Note: did it on a fresh install of XCP-ng and after a yum update.

                  1 Reply Last reply Reply Quote 0
                  • olivierlambertO Offline
                    olivierlambert Vates πŸͺ Co-Founder CEO
                    last edited by olivierlambert

                    If the conversion works, then it works πŸ™‚ Ideally, we'll need to see if it yields to the end of the conversion, and if you can actually boot the VM after that.

                    1 Reply Last reply Reply Quote 0
                    • GuillaumeHullinG Offline
                      GuillaumeHullin
                      last edited by

                      No problem I’ll update when it’s done and working.

                      1 Reply Last reply Reply Quote 1
                      • olivierlambertO Offline
                        olivierlambert Vates πŸͺ Co-Founder CEO
                        last edited by

                        Thanks! We'll update the doc after that to point with the right package (and maybe even add the package in XCP-ng reps directly)

                        1 Reply Last reply Reply Quote 0
                        • GuillaumeHullinG Offline
                          GuillaumeHullin
                          last edited by

                          @olivierlambert
                          Happy to report that it worked perfectly. VM booted without an issue.

                          @AtaxyaNetwork
                          Thanks for such quick compile.

                          AtaxyaNetworkA 1 Reply Last reply Reply Quote 1
                          • olivierlambertO Offline
                            olivierlambert Vates πŸͺ Co-Founder CEO
                            last edited by

                            Excellent! So we need to get the package available easily and update our doc.

                            @Team-OS-Platform-Release please have a look on this, thanks!

                            1 Reply Last reply Reply Quote 1
                            • AtaxyaNetworkA Offline
                              AtaxyaNetwork Ambassador @GuillaumeHullin
                              last edited by

                              @GuillaumeHullin You're welcome !

                              I hope the XCP-ng team can integrate the package easily ! πŸ˜„

                              1 Reply Last reply Reply Quote 1
                              • gduperreyG Offline
                                gduperrey Vates πŸͺ XCP-ng Team
                                last edited by

                                Hello,

                                We've added a card to our backlog to investigate this topic.

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