ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    BRRABill's Field Report With XenServer

    IT Discussion
    20
    750
    382.5k
    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.
    • scottalanmillerS
      scottalanmiller @BRRABill
      last edited by

      @BRRABill said:

      And, again, in a larger environment, seeing storage space in the GUI here is not really the proper way to manage it, correct?

      Oh I don't know about that, no matter how big the environment is, the virtualization platform administrators are going to need a view into what is going on, at least from their perspective. In a really, REALLY large environment you would be on fully independent shared storage in 99% of cases (think EMC VMAX) with a totally independent storage management team and they would deal with performance, capacity, growth, monitoring, etc. But even then the platform team would need some visibility into what they were using of that storage. So I would expect that XO having that view would remain important, but for slightly curtailed reasons.

      1 Reply Last reply Reply Quote 0
      • DashrenderD
        Dashrender
        last edited by

        How does vSphere manage this without the need to do continuous refreshes?

        Aren't both XO and vSphere are both centralized server systems that they themselves could maintain an updated status, and the users who are accessing the web server would be stressing the web centralized system, not the storage itself.

        scottalanmillerS 1 Reply Last reply Reply Quote 0
        • scottalanmillerS
          scottalanmiller @Dashrender
          last edited by

          @Dashrender said:

          Aren't both XO and vSphere are both centralized server systems that they themselves could maintain an updated status, and the users who are accessing the web server would be stressing the web centralized system, not the storage itself.

          vSphere varies.

          XO might be triggering it via the interface which doesn't make that undoable, just less obvious.

          DashrenderD 1 Reply Last reply Reply Quote 0
          • DashrenderD
            Dashrender @scottalanmiller
            last edited by

            @scottalanmiller said:

            @Dashrender said:

            Aren't both XO and vSphere are both centralized server systems that they themselves could maintain an updated status, and the users who are accessing the web server would be stressing the web centralized system, not the storage itself.

            vSphere varies.

            XO might be triggering it via the interface which doesn't make that undoable, just less obvious.

            varies how?

            scottalanmillerS 1 Reply Last reply Reply Quote 0
            • scottalanmillerS
              scottalanmiller @Dashrender
              last edited by

              @Dashrender said:

              @scottalanmiller said:

              @Dashrender said:

              Aren't both XO and vSphere are both centralized server systems that they themselves could maintain an updated status, and the users who are accessing the web server would be stressing the web centralized system, not the storage itself.

              vSphere varies.

              XO might be triggering it via the interface which doesn't make that undoable, just less obvious.

              varies how?

              The web client does one thing but the local client has to do another.

              DashrenderD 1 Reply Last reply Reply Quote 0
              • DashrenderD
                Dashrender @scottalanmiller
                last edited by

                @scottalanmiller said:

                @Dashrender said:

                @scottalanmiller said:

                @Dashrender said:

                Aren't both XO and vSphere are both centralized server systems that they themselves could maintain an updated status, and the users who are accessing the web server would be stressing the web centralized system, not the storage itself.

                vSphere varies.

                XO might be triggering it via the interface which doesn't make that undoable, just less obvious.

                varies how?

                The web client does one thing but the local client has to do another.

                OK just so we are all on the same page, the vSphere setup I'm talking about is the centralized one that is accessed via web browser, just like XO.

                1 Reply Last reply Reply Quote 0
                • BRRABillB
                  BRRABill @olivier
                  last edited by

                  @olivier said:

                  But you need to define a default SR on any pool you got. Eg: xe pool-param-set uuid=<pool-uuid> default-SR=<sr-uuid> (with the SR UUID of the local storage if you don't have a shared storage).

                  You can also do it with XenCenter or XO (see https://xen-orchestra.com/blog/set-the-xenserver-default-sr/ )

                  I tried through that link. There is no :default disk" option that pops up on any of my SRs. Do I perhaps have to do it manually first?

                  BRRABillB 1 Reply Last reply Reply Quote 0
                  • BRRABillB
                    BRRABill @BRRABill
                    last edited by

                    @BRRABill said:

                    I tried through that link. There is no :default disk" option that pops up on any of my SRs. Do I perhaps have to do it manually first?

                    I was able to just right click in XC and it worked.

                    Now, let's see if this migration will work!

                    1 Reply Last reply Reply Quote 0
                    • olivierO
                      olivier
                      last edited by

                      If it don't, check the xo-server output. This won't lie and tell us what's going on.

                      BRRABillB 1 Reply Last reply Reply Quote 0
                      • BRRABillB
                        BRRABill @olivier
                        last edited by

                        @olivier said:

                        If it don't, check the xo-server output. This won't lie and tell us what's going on.

                        OK.

                        One thing I noticed that when I tried it in the XC wizard, it says:
                        "the vm is incompatible with the cpu features of this host"

                        But I see from my friend Google that XO should overcome this.

                        I will try it and let you know.

                        I have to migrate all these VMs off my new server so hopefully it will work!

                        1 Reply Last reply Reply Quote 0
                        • olivierO
                          olivier
                          last edited by olivier

                          XO will try to force migrate, but from a recent to an older CPU, the result is half of the time a kernel panic (older to recent CPU is less problematic, you'll keep using existing instruction from the old CPU without exploding in flight, contrary to trying a recent CPU instruction which doesn't exist on an older CPU)

                          BRRABillB DashrenderD 2 Replies Last reply Reply Quote 1
                          • BRRABillB
                            BRRABill @olivier
                            last edited by

                            @olivier said:

                            XO will try to force migration, but from a recent to an older CPU, the result is half of the time a kernel panic (older to recent CPU is less problematic, you'll keep using existing instruction from the old CPU without exploding in flight, contrary to trying to use a recent instruction which doesn't exist on an older CPU)

                            So in this scenario, are you thinking it would be best to shut it down, and do an export/import?

                            I wish there was a way to copy from one XS to another. Instead of having to export it to my machine and then import it. As you have mentioned in other threads, it's a pain with larger VMs.

                            1 Reply Last reply Reply Quote 0
                            • olivierO
                              olivier
                              last edited by olivier

                              Our "special" VM copy is doing this:

                              Check the "Copy" button in the VM view, select a destination SR, and you are done.

                              edit: original blog post: https://xen-orchestra.com/blog/vm-streaming-export-in-xenserver/

                              BRRABillB 1 Reply Last reply Reply Quote 2
                              • BRRABillB
                                BRRABill @olivier
                                last edited by

                                @olivier said:

                                Our "special" VM copy is doing this:

                                Ooooh, that's what I am looking for!

                                Can you copy a live VM, or does it have to be shut down? (I ask because the option is there when it is running.) I tried that last night. It looked like it copied but threw up an error.

                                1 Reply Last reply Reply Quote 0
                                • olivierO
                                  olivier
                                  last edited by

                                  If it's up, we are taking a snapshot AND copy it. So it doesn't matter.

                                  BRRABillB 1 Reply Last reply Reply Quote 0
                                  • BRRABillB
                                    BRRABill @olivier
                                    last edited by

                                    @olivier said:

                                    If it's up, we are taking a snapshot AND copy it. So it doesn't matter.

                                    Gotcha. So for stuff with a lot of transaction, not ideal.

                                    But if I shut my VM down first, that would be perfect!

                                    1 Reply Last reply Reply Quote 1
                                    • olivierO
                                      olivier
                                      last edited by olivier

                                      It's always a trade off. At least, it will be a quiesce snapshot if your Windows VM support it.

                                      But ideally, to avoid any risk, shutdown THEN copy is the safest solution.

                                      Depends of risk level (and downtime!) you can accept (eg live migration is still possible, but you could possibly reboot at destination if CPU instructions are not correct)

                                      BRRABillB 2 Replies Last reply Reply Quote 0
                                      • BRRABillB
                                        BRRABill @olivier
                                        last edited by

                                        @olivier said:

                                        Depends of risk level (and downtime!) you can accept (eg live migration is still possible, but you could possibly reboot at destination if CPU instructions are not correct)

                                        I think I'll just do the shutdown route, but out of curiosity what kind of things would happen with mismatched CPU instructions? In the scope of a migration.

                                        1 Reply Last reply Reply Quote 0
                                        • olivierO
                                          olivier
                                          last edited by

                                          Roughly, migration without storage is like this in XenServer:

                                          • a snapshot is created on the origin host
                                          • every new write is now streamed on both hosts (origin and destination)
                                          • disks are copied

                                          When this is done, it's a classical live migration:

                                          • RAM is transfered
                                          • VM is suspended a fraction of time on the origin host
                                          • last RAM transactions are copie on the destination host
                                          • VM is "resumed" (un-suspended) on destination

                                          So your VM will continue its life without knowledge of the new hardware. Let's imagine you have a recent CPU on the origin host, with the "FOOBAR" instruction. Let's also imagine this "FOOBAR" instruction is not on the destination host CPU.

                                          Your VM booted with this "FOOBAR" capable CPU, so for it, that's OK to call it. Imagine what happened when the call happen on the destination host (kernel is crash \o/).

                                          More fun? Migrate a VM from two CPUs vendors (Intel/AMD), while running a Java program inside the VM. If you love fireworks, worth the shot.

                                          travisdh1T 1 Reply Last reply Reply Quote 1
                                          • travisdh1T
                                            travisdh1 @olivier
                                            last edited by

                                            @olivier said:

                                            More fun? Migrate a VM from two CPUs vendors (Intel/AMD), while running a Java program inside the VM. If you love fireworks, worth the shot.

                                            Fireworks he says, more like fireworks going off on the freeway during rush hour 😛

                                            BRRABillB 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 37
                                            • 38
                                            • 1 / 38
                                            • First post
                                              Last post