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

    Live migration - Same pool, multiple SR´s

    Scheduled Pinned Locked Moved Compute
    15 Posts 4 Posters 2.8k Views 1 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 Away
      iLix
      last edited by

      Live migration of a VM to one of the other hosts in the same pool puts all VM-disks on the default SR, can I avoid this somehow? I can turn off the VM and boot it on one of the other hosts, but thats not what i want 🙂

      1 Reply Last reply Reply Quote 0
      • jedimarcusJ Offline
        jedimarcus
        last edited by

        Is your SR shared yes?

        This is not normal, I'm moving VMs all the time... they don't move SRs

        I 1 Reply Last reply Reply Quote 0
        • I Away
          iLix @jedimarcus
          last edited by

          @jedimarcus

          The SR-s are shared, FC and NFS. So a mix of thick and thin. Running the latest 8.1, XOA from sources and it was updated this weekend.

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

            Your problem is unclear. Can you explain the steps you are doing, and the result vs the expected result.

            1 Reply Last reply Reply Quote 0
            • I Away
              iLix
              last edited by iLix

              Migrate to a host in the same pool:
              Step 1.png
              After: The VM disks have been moved to the default SR
              Step 2.png
              Expected result: VM should be moved to the other host, but disks should stay on the NFS shares.

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

                That's weird. In theory, if the disks are shared, there's no move. Can you show us how do you fill the migration pop up?

                1 Reply Last reply Reply Quote 0
                • jedimarcusJ Offline
                  jedimarcus @iLix
                  last edited by

                  @ilix Can you show what your "Migrate" popup looks like? Does it show VDI switch options?

                  1 Reply Last reply Reply Quote 0
                  • I Away
                    iLix
                    last edited by

                    Skjermbilde 2020-11-23 kl. 12.32.41.png

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mavoff
                      last edited by

                      I wonder if this is somehow related to the issue I reported here

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

                        And what about migrating the VM with xe CLI and compare the result? If it's different, then it's clearly a wrong XO behavior.

                        I 1 Reply Last reply Reply Quote 0
                        • I Away
                          iLix @olivierlambert
                          last edited by

                          @olivierlambert

                           xe vm-migrate vm="Debian Demo" host=IBM-02 live=true
                          

                          This gives the expected outcome 🙂

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

                            Okay great! So it's an XO problem. Can you open an issue explaining the problem? There's already a template: https://github.com/vatesfr/xen-orchestra/issues/new

                            I 1 Reply Last reply Reply Quote 0
                            • I Away
                              iLix @olivierlambert
                              last edited by

                              @olivierlambert

                              With the newest XO build from sources:

                              • a776eaf61
                              • xo-server 5.70.0
                              • xo-web 5.74.0

                              Hosts are running latest 8.1

                              It is now working, from XO and cli 🙂

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

                                What was your previous XO version? An old one?

                                I 1 Reply Last reply Reply Quote 0
                                • I Away
                                  iLix @olivierlambert
                                  last edited by

                                  @olivierlambert

                                  /opt/xo/xo-builds/xen-orchestra-202025111215
                                  /opt/xo/xo-builds/xen-orchestra-202026112158

                                  Thats when I ran the builder before the currently installed one.

                                  1 Reply Last reply Reply Quote 0

                                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                  With your input, this post could be even better 💗

                                  Register Login
                                  • First post
                                    Last post