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

    BRRABill's Field Report With XenServer

    IT Discussion
    20
    750
    382.8k
    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.
    • olivierO
      olivier @Dashrender
      last edited by

      @Dashrender said in BRRABill's Field Report With XenServer:

      @BRRABill said in BRRABill's Field Report With XenServer:

      Question:

      I migrated my VM from one XS to another. When the new VM came up, it ran a check disk, and then the networking was off.

      If this is an export/import, why should any of that happened?

      Well the disk was copied while it was running, so when you boot the disk on the new host, that system sees it's boot as if it crashed/shutdown improperly. As for the networking, I'm guess it's because the system is set to boot up while the original is still running. Disabling the network prevents the same server on two devices at once. It's not a real V-Motion solution as you used it.

      I like when someone answer better on XO than I would! 🙂

      That's indeed 100% correct:

      • you probably made a copy (not a migrate because it seems you had to boot it)
      • make a copy of a running VM relies on a snapshot
      • booting an exact copy with the same IP setting explains why the network didn't came up (OS tried to start it but seen a conflict)
      1 Reply Last reply Reply Quote 1
      • DashrenderD
        Dashrender @olivier
        last edited by

        @olivier said in BRRABill's Field Report With XenServer:

        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)

        I do understand this. Is the expectation that one would ever only try to live migration from and to nearly identical hardware? (or at minimum the same CPU?)

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

          @Dashrender Citrix always explain that pools should have homogeneous CPUs/hardware

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

            @olivier gave me this link
            http://support.citrix.com/article/CTX127059

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

              To circle back and answer some questions...

              1. It was a Server 2003 VM.
              2. I did a full shutdown and export/import.
              3. I was expecting it to just come right back up, because the disk should have been the same. Same with the networking.
              4. The VM had a static IP address. When I tried to assign this address to the adapter it was given, it said there was a hidden adapter with the same IP. I understand why that happens, but again since it was a full shutdown and copy, I didn't think those things would happen.

              Not a huge deal, just trying to learn more. 🙂

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

                @BRRABill said in BRRABill's Field Report With XenServer:

                To circle back and answer some questions...

                1. It was a Server 2003 VM.
                2. I did a full shutdown and export/import.
                3. I was expecting it to just come right back up, because the disk should have been the same. Same with the networking.
                4. The VM had a static IP address. When I tried to assign this address to the adapter it was given, it said there was a hidden adapter with the same IP. I understand why that happens, but again since it was a full shutdown and copy, I didn't think those things would happen.

                Not a huge deal, just trying to learn more. 🙂

                wait.. something happened... you didn't get the same hardware profile on the new machine, hence the hidden adapter. What caused that?

                So you shutdown the VM, then did an export to a file, then imported that file on the new server and started it?

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

                  @Dashrender said

                  So you shutdown the VM, then did an export to a file, then imported that file on the new server and started it?

                  Correct.

                  The only thing I can think of is that the machine I exported from has more NICs activated.

                  But that still doesn't explain the checkdisk, unless that is totally normally. I was just ASSUMING (I know, I know) it would just boot up.

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

                    huh, Well @olivier did say that exports are based on snapshots, though I don't know why a snapshot would be needed on a non running VM.

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

                      @Dashrender said in BRRABill's Field Report With XenServer:

                      huh, Well @olivier did say that exports are based on snapshots, though I don't know why a snapshot would be needed on a non running VM.

                      Right, that makes no sense.

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

                        I said snapshots are used for exporting Running VMs. If your VM is halted, no need to create a snapshot.

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

                          @olivier said in BRRABill's Field Report With XenServer:

                          I said snapshots are used for exporting Running VMs. If your VM is halted, no need to create a snapshot.

                          Ok that makes more sense... so I wonder why his VM when booted on the new imported host acted like it had an improper shutdown?

                          Could it be related to a different CPU vendor? Why would the NICs be different too? Do the paravirtualized NICs actually show up as the real hardware instead of a virtualized NIC?

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

                            1. No reason come in my mind. Maybe guest/Windows reasons?
                            2. If any hardware change for the guest OS, maybe it's related?
                            3. NIC are different probably because they got a new MAC address (again guest OS behavior)
                            1 Reply Last reply Reply Quote 0
                            • BRRABillB
                              BRRABill
                              last edited by

                              Starting to feel a Hyper-V install in my future.

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

                                @BRRABill said in BRRABill's Field Report With XenServer:

                                Starting to feel a Hyper-V install in my future.

                                I feel a second XS install in mine so I can test these results.

                                1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch
                                  last edited by

                                  The problem here is bad understanding on @BRRABill's part.

                                  He said he did an export/import. I would expect that process to present new hardware. Who would want to export a machine and have it come back up with the same MAC?

                                  If he was doing a migration, that would be different.

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

                                    @JaredBusch said in BRRABill's Field Report With XenServer:

                                    The problem here is bad understanding on @BRRABill's part.

                                    He said he did an export/import. I would expect that process to present new hardware. Who would want to export a machine and have it come back up with the same MAC?

                                    If he was doing a migration, that would be different.

                                    It very well could be, which is why I asked.

                                    On a straight restore, I could see the system seeing the VD as new, since the blocks are all different. But since I exported the VD as-is, I didn't think it would need to run scandisk.

                                    As I said, I was just more curious as to the mechanics of why.

                                    I agree with you on the MAC. I was not thinking that the IP is tied to the adapter. I guess there are so many scenarios, you couldn't copy over the IP.

                                    But in the same token, why would it just grab an IP? That could mess stuff up, too.

                                    Maybe in the future the better thing it to do NO networking, and then fix it before first boot.

                                    Again, this is why I asked the question.

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

                                      @BRRABill said in BRRABill's Field Report With XenServer:

                                      @JaredBusch said in BRRABill's Field Report With XenServer:

                                      The problem here is bad understanding on @BRRABill's part.

                                      He said he did an export/import. I would expect that process to present new hardware. Who would want to export a machine and have it come back up with the same MAC?

                                      If he was doing a migration, that would be different.

                                      It very well could be, which is why I asked.

                                      On a straight restore, I could see the system seeing the VD as new, since the blocks are all different. But since I exported the VD as-is, I didn't think it would need to run scandisk.

                                      As I said, I was just more curious as to the mechanics of why.

                                      I agree with you on the MAC. I was not thinking that the IP is tied to the adapter. I guess there are so many scenarios, you couldn't copy over the IP.

                                      But in the same token, why would it just grab an IP? That could mess stuff up, too.

                                      Maybe in the future the better thing it to do NO networking, and then fix it before first boot.

                                      Again, this is why I asked the question.

                                      Do you even understand what you are saying here?

                                      This is one of the points of virtualization. That it does all of this to make this portable and abstracted.

                                      A restore should never change anything. You are now bringing up a third scenario. Export/Import, Migrate, Backup/Restore. These are all different processes.

                                      1 Reply Last reply Reply Quote 1
                                      • DustinB3403D
                                        DustinB3403
                                        last edited by

                                        I can confirm, exporting from XO (or even XenCenter) will create new MAC addresses once the import is done. I was a bit surprised at first and then realized why.

                                        JaredBuschJ 1 Reply Last reply Reply Quote 1
                                        • JaredBuschJ
                                          JaredBusch @DustinB3403
                                          last edited by

                                          @DustinB3403 said in BRRABill's Field Report With XenServer:

                                          I can confirm, exporting from XO (or even XenCenter) will create new MAC addresses once the import is done. I was a bit surprised at first and then realized why.

                                          Because you have the VM set to automatically assign the MAC I would assume. I am not familiar enough with XS to know the setting, with Hyper-V and VMWare, this is the same. In the latter two, though, you can optionally specify the MAC if desired and it will not change during all of those processes.

                                          coliverC DustinB3403D BRRABillB 3 Replies Last reply Reply Quote 0
                                          • coliverC
                                            coliver @JaredBusch
                                            last edited by

                                            @JaredBusch said in BRRABill's Field Report With XenServer:

                                            @DustinB3403 said in BRRABill's Field Report With XenServer:

                                            I can confirm, exporting from XO (or even XenCenter) will create new MAC addresses once the import is done. I was a bit surprised at first and then realized why.

                                            Because you have the VM set to automatically assign the MAC I would assume. I am not familiar enough with XS to know the setting, with Hyper-V and VMWare, this is the same. In the latter two, though, you can optionally specify the MAC if desired and it will not change during all of those processes.

                                            You can do the same in XS.

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 7
                                            • 8
                                            • 9
                                            • 10
                                            • 11
                                            • 37
                                            • 38
                                            • 9 / 38
                                            • First post
                                              Last post