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

    Hyper-V as a service

    IT Discussion
    hyper-v
    6
    67
    12.1k
    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.
    • DashrenderD
      Dashrender
      last edited by

      Anyone know what state a Windows Server is left in when you uninstall Hyper-V when it's installed as a service?

      Another question - can you reboot Dom 0 ( for lack of a better term) when Hyper-V is installed as a service without rebooting the other VMs?

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

        @Dashrender said:

        Anyone know what state a Windows Server is left in when you uninstall Hyper-V when it's installed as a service?

        It changes the boot pointer and the OS boots normally as if Hyper-V was never there.

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

          @Dashrender said:

          Another question - can you reboot Dom 0 ( for lack of a better term) when Hyper-V is installed as a service without rebooting the other VMs?

          No, you cannot.

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

            @scottalanmiller said:

            @Dashrender said:

            Another question - can you reboot Dom 0 ( for lack of a better term) when Hyper-V is installed as a service without rebooting the other VMs?

            No, you cannot.

            Awesome, thanks.

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

              @scottalanmiller said:

              @Dashrender said:

              Anyone know what state a Windows Server is left in when you uninstall Hyper-V when it's installed as a service?

              It changes the boot pointer and the OS boots normally as if Hyper-V was never there.

              So when you install the Hyper-V service, the underlying disk partitions are changed (shrank) to allow a new partition to be created for Hyper-V to run from?

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

                @Dashrender said:

                @scottalanmiller said:

                @Dashrender said:

                Anyone know what state a Windows Server is left in when you uninstall Hyper-V when it's installed as a service?

                It changes the boot pointer and the OS boots normally as if Hyper-V was never there.

                So when you install the Hyper-V service, the underlying disk partitions are changed (shrank) to allow a new partition to be created for Hyper-V to run from?

                If you have Server2012R2 or Windows 8.1/10 and enabled the Hyper-V role there is no visible change to anything from within Windows. You just now have the ability to make VMs.

                DashrenderD 2 Replies Last reply Reply Quote 0
                • DashrenderD
                  Dashrender @JaredBusch
                  last edited by

                  @JaredBusch said:

                  @Dashrender said:

                  @scottalanmiller said:

                  @Dashrender said:

                  Anyone know what state a Windows Server is left in when you uninstall Hyper-V when it's installed as a service?

                  It changes the boot pointer and the OS boots normally as if Hyper-V was never there.

                  So when you install the Hyper-V service, the underlying disk partitions are changed (shrank) to allow a new partition to be created for Hyper-V to run from?

                  If you have Server2012R2 or Windows 8.1/10 and enabled the Hyper-V role there is no visible change to anything from within Windows. You just now have the ability to make VMs.

                  I wonder then, how does this work fundamentally? The underlying system is suppose to be booting from Hyper-V, not Windows server. Is it just changing from booting from ntkernal to something else then?

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

                    @JaredBusch said:

                    @Dashrender said:

                    @scottalanmiller said:

                    @Dashrender said:

                    Anyone know what state a Windows Server is left in when you uninstall Hyper-V when it's installed as a service?

                    It changes the boot pointer and the OS boots normally as if Hyper-V was never there.

                    So when you install the Hyper-V service, the underlying disk partitions are changed (shrank) to allow a new partition to be created for Hyper-V to run from?

                    If you have Server2012R2 or Windows 8.1/10 and enabled the Hyper-V role there is no visible change to anything from within Windows. You just now have the ability to make VMs.

                    And assuming this is true, I'm guessing you can't migrate this VM to another host.

                    Consider the following scenario. Two servers, both installed bare metal Server 2012. One has AD, the other Exchange.

                    Assuming no other hardware exists, how would you virtualize this?

                    I think I found my answer while typing this - first we need some assumptions, both hardware hosts have enough storage/CPU/RAM to host both servers work loads, even if at reduced capacity (i.e. 4 GB RAM instead of 8, etc).

                    Install Hyper-V service on server1
                    perform P2V of server2 to server1
                    format server2 install Hyper-V Server on bare metal
                    migrate previously P2V'ed server to server2
                    uninstall Hyper-V service on server1
                    perform P2V of server1 to server2
                    format server1, install Hyper-V Server on bare metal
                    Migrate VM of server1 back to hardware of server1

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

                      The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                      DashrenderD coliverC scottalanmillerS 3 Replies Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch @Dashrender
                        last edited by

                        @Dashrender said:

                        @JaredBusch said:

                        @Dashrender said:

                        @scottalanmiller said:

                        @Dashrender said:

                        Anyone know what state a Windows Server is left in when you uninstall Hyper-V when it's installed as a service?

                        It changes the boot pointer and the OS boots normally as if Hyper-V was never there.

                        So when you install the Hyper-V service, the underlying disk partitions are changed (shrank) to allow a new partition to be created for Hyper-V to run from?

                        If you have Server2012R2 or Windows 8.1/10 and enabled the Hyper-V role there is no visible change to anything from within Windows. You just now have the ability to make VMs.

                        And assuming this is true, I'm guessing you can't migrate this VM to another host.

                        Consider the following scenario. Two servers, both installed bare metal Server 2012. One has AD, the other Exchange.

                        Assuming no other hardware exists, how would you virtualize this?

                        I think I found my answer while typing this - first we need some assumptions, both hardware hosts have enough storage/CPU/RAM to host both servers work loads, even if at reduced capacity (i.e. 4 GB RAM instead of 8, etc).

                        Install Hyper-V service on server1
                        perform P2V of server2 to server1
                        format server2 install Hyper-V Server on bare metal
                        migrate previously P2V'ed server to server2
                        uninstall Hyper-V service on server1
                        perform P2V of server1 to server2
                        format server1, install Hyper-V Server on bare metal
                        Migrate VM of server1 back to hardware of server1

                        Correct.

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

                          @JaredBusch said:

                          The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                          Because Scott has claimed differently for darn near ever. that enabling the Hyper-V service installs Hyper-V under the current OS, making that OS the first VM on the system.

                          1 Reply Last reply Reply Quote 0
                          • coliverC
                            coliver @JaredBusch
                            last edited by

                            @JaredBusch said:

                            The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                            dom0 is a VM, just a privileged one with drivers to interact with the underlying hardware that the hypervisor passes through.

                            JaredBuschJ DashrenderD 2 Replies Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch @coliver
                              last edited by

                              @coliver said:

                              @JaredBusch said:

                              The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                              dom0 is a VM, just a privileged one with drivers to interact with the underlying hardware that the hypervisor passes through.

                              @Dashrender said:

                              @JaredBusch said:

                              The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                              Because Scott has claimed differently for darn near ever. that enabling the Hyper-V service installs Hyper-V under the current OS, making that OS the first VM on the system.

                              Dom0 may technically be a VM, but it is not a guest VM that can be interacted with in any fashion.

                              coliverC JaredBuschJ scottalanmillerS 3 Replies Last reply Reply Quote 0
                              • DashrenderD
                                Dashrender @coliver
                                last edited by

                                @coliver said:

                                @JaredBusch said:

                                The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                                dom0 is a VM, just a privileged one with drivers to interact with the underlying hardware that the hypervisor passes through.

                                This was my understanding as well. But I'm equally willing to be wrong on this point 😉

                                1 Reply Last reply Reply Quote 0
                                • coliverC
                                  coliver @JaredBusch
                                  last edited by

                                  @JaredBusch said:

                                  @coliver said:

                                  @JaredBusch said:

                                  The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                                  dom0 is a VM, just a privileged one with drivers to interact with the underlying hardware that the hypervisor passes through.

                                  @Dashrender said:

                                  @JaredBusch said:

                                  The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                                  Because Scott has claimed differently for darn near ever. that enabling the Hyper-V service installs Hyper-V under the current OS, making that OS the first VM on the system.

                                  Dom0 may technically be a VM, but it is not a guest VM that can be interacted with in any fashion.

                                  It can't? You generally do access it on a number of occasions. Dom0 in Xen runs the management tool stack and the management interface. XenServer's Dom0 is accessed via the CLI and XenCenter. Hyper-V Server's Dom0 is a special version of Windows Core that you access either by ps-remoting or RDP. Dom0 is just another VM with special drivers and a special kernel to interact with the underlying hypervisor and hardware.

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

                                    @JaredBusch said:

                                    Dom0 may technically be a VM, but it is not a guest VM that can be interacted with in any fashion.

                                    To continue on that point, while it is good to know what dom0 actually is for some people, there is no need for most to even have to think about it because of this. There is nothing that you can do to dom0 like you do with a guest VM.
                                    You interact with dom0 as if it was the OS, because that is how it is designed to be interacted with.

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

                                      @coliver said:

                                      @JaredBusch said:

                                      @coliver said:

                                      @JaredBusch said:

                                      The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                                      dom0 is a VM, just a privileged one with drivers to interact with the underlying hardware that the hypervisor passes through.

                                      @Dashrender said:

                                      @JaredBusch said:

                                      The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                                      Because Scott has claimed differently for darn near ever. that enabling the Hyper-V service installs Hyper-V under the current OS, making that OS the first VM on the system.

                                      Dom0 may technically be a VM, but it is not a guest VM that can be interacted with in any fashion.

                                      It can't? You generally do access it on a number of occasions. Dom0 in Xen runs the management tool stack and the management interface. XenServer's Dom0 is accessed via the CLI and XenCenter. Hyper-V Server's Dom0 is a special version of Windows Core that you access either by ps-remoting or RDP. Dom0 is just another VM with special drivers and a special kernel to interact with the underlying hypervisor and hardware.

                                      It cannot be interacted with as a guest VM

                                      coliverC 1 Reply Last reply Reply Quote 1
                                      • coliverC
                                        coliver @JaredBusch
                                        last edited by

                                        @JaredBusch said:

                                        @coliver said:

                                        @JaredBusch said:

                                        @coliver said:

                                        @JaredBusch said:

                                        The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                                        dom0 is a VM, just a privileged one with drivers to interact with the underlying hardware that the hypervisor passes through.

                                        @Dashrender said:

                                        @JaredBusch said:

                                        The dom0 is not a VM on any Hypervisor. Why would this be different for Hyper-V?

                                        Because Scott has claimed differently for darn near ever. that enabling the Hyper-V service installs Hyper-V under the current OS, making that OS the first VM on the system.

                                        Dom0 may technically be a VM, but it is not a guest VM that can be interacted with in any fashion.

                                        It can't? You generally do access it on a number of occasions. Dom0 in Xen runs the management tool stack and the management interface. XenServer's Dom0 is accessed via the CLI and XenCenter. Hyper-V Server's Dom0 is a special version of Windows Core that you access either by ps-remoting or RDP. Dom0 is just another VM with special drivers and a special kernel to interact with the underlying hypervisor and hardware.

                                        It cannot be interacted with as a guest VM

                                        It is a guest VM... Just one that is required for the operation of specific hypervisors. I don't understand the distinction.

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

                                          @JaredBusch said:

                                          en have to think about it because of this. There is nothing that you can do to dom0 like you do with a guest VM.

                                          I think what JB is saying is that you can't move it to another VM Host like you can any other guest VM. It's tied to the hardware. If you did move it, the whole server would just die.

                                          coliverC scottalanmillerS 2 Replies Last reply Reply Quote 0
                                          • coliverC
                                            coliver @Dashrender
                                            last edited by

                                            @Dashrender said:

                                            @JaredBusch said:

                                            en have to think about it because of this. There is nothing that you can do to dom0 like you do with a guest VM.

                                            I think what JB is saying is that you can't move it to another VM Host like you can any other guest VM. It's tied to the hardware. If you did move it, the whole server would just die.

                                            Ah, that would make sense. Sorry I supposed I was being unintentionally obtuse.

                                            DashrenderD 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 1 / 4
                                            • First post
                                              Last post