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

    how do you reboot your linux VMs in hyper-v?

    IT Discussion
    hyper-v server 2016 ubuntu 16.04 virtualization help
    10
    57
    9.7k
    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.
    • matteo nunziatiM
      matteo nunziati @dafyre
      last edited by matteo nunziati

      @dafyre said in how do you reboot your linux VMs in hyper-v?:

      @matteo-nunziati said in how do you reboot your linux VMs in hyper-v?:

      latest news: my pc with hyper-v correctly reboots everything! everytime! vene without latest kernel/hyper-v stuff in VM!

      definitively a platform issue. last resort: reinstall all.

      Are you running Server 2016 on your PC?

      It's windows 10, so yes, in theory, it is the same hyper-v stack.
      Honestly the only thing I can think of is issues with ACPI with the cpu. I've even disabled any energy saving but nothing!
      if I keep the VM idling too much it stops and not reboots... any VM.

      1 Reply Last reply Reply Quote 0
      • matteo nunziatiM
        matteo nunziati
        last edited by matteo nunziati

        LATEST NEWS:

        yesterday, after a number of tests VM did freeze at reboot command rather than shutdown. As a last resort I've chosen to format SD/rest bios and restart from scratch.

        My installation procedure did not work anymore... hell 2 times was right the third has failed...

        called HPE this morning, they have asked me to do some tests via Intelligent Provisioning. IP. chrashed with missing linux kernel file (IP is based on linux)

        they will start mobo substitution procedures tomorrow morning.

        F*#@ wasted 15 days.

        15 D.A.Y.S.

        ever seen a failing server MOBO? I've. And I've provisioned just 3 servers in my life!

        dbeatoD 1 Reply Last reply Reply Quote 4
        • dbeatoD
          dbeato @matteo nunziati
          last edited by

          @matteo-nunziati that sounds like a pain. Hopefully the issue is resolved after the changes.

          matteo nunziatiM 1 Reply Last reply Reply Quote 1
          • matteo nunziatiM
            matteo nunziati @dbeato
            last edited by

            @Eltolargo said in how do you reboot your linux VMs in hyper-v?:

            @matteo-nunziati that sounds like a pain. Hopefully the issue is resolved after the changes.

            Hope so :s 😓

            1 Reply Last reply Reply Quote 1
            • matteo nunziatiM
              matteo nunziati
              last edited by matteo nunziati

              OK,

              some news here after full rebuild of server.

              MOBO failure was an extra, still VMs do not reboot.

              well, not exactly...

              we have installed some windows core, some ubuntu bare server, some windows full gui, some ubuntu server with full MATE desktop.

              now the "barebone" VMs do not reboot, they just shutdown.
              The full bloated VMs restart nicely!

              I think this is something to do with the speed of the reboot cycle... but even my reseller tech ignores what to do... HPE is finally thinking to pass me to L2 support.

              project is delayed at least of 1 week wrt deadlines (and I've kept 1 extra week at the time, just in case)

              1 Reply Last reply Reply Quote 1
              • matteo nunziatiM
                matteo nunziati
                last edited by

                BOTTOMLINE: NEVER NEVER NEVER BUY HPE STUFF EVERMORE!!!

                ALSO CHECK FOR LOCAL XEN SHOP: THERE MUST BE ONE!

                (yeah I know, we can have remote management, but company is not ready for this, they want sys admin cell phone and they what to touch sys admin like a sky-alighting divinity)

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

                  @matteo-nunziati said in how do you reboot your linux VMs in hyper-v?:

                  (yeah I know, we can have remote management, but company is not ready for this, they want sys admin cell phone and they what to touch sys admin like a sky-alighting divinity)

                  You can do that with a remote company too. But calling someone's cell phone isn't professional and introduces a single point of failure.

                  matteo nunziatiM 1 Reply Last reply Reply Quote 0
                  • matteo nunziatiM
                    matteo nunziati @scottalanmiller
                    last edited by

                    @scottalanmiller said in how do you reboot your linux VMs in hyper-v?:

                    @matteo-nunziati said in how do you reboot your linux VMs in hyper-v?:

                    (yeah I know, we can have remote management, but company is not ready for this, they want sys admin cell phone and they what to touch sys admin like a sky-alighting divinity)

                    You can do that with a remote company too. But calling someone's cell phone isn't professional and introduces a single point of failure.

                    not my decision. I was going to settle with dell stuff with another reseller, offering help desk with SLA + 24/7 dell onsite. but they (company) wanted the sysadmin to be physical and periodically "visible"

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

                      @matteo-nunziati said in how do you reboot your linux VMs in hyper-v?:

                      @scottalanmiller said in how do you reboot your linux VMs in hyper-v?:

                      @matteo-nunziati said in how do you reboot your linux VMs in hyper-v?:

                      (yeah I know, we can have remote management, but company is not ready for this, they want sys admin cell phone and they what to touch sys admin like a sky-alighting divinity)

                      You can do that with a remote company too. But calling someone's cell phone isn't professional and introduces a single point of failure.

                      not my decision. I was going to settle with dell stuff with another reseller, offering help desk with SLA + 24/7 dell onsite. but they (company) wanted the sysadmin to be physical and periodically "visible"

                      I was only saying that remote companies can provide local resources. There is no connection between where a company is based and where their staff are based or can appear.

                      1 Reply Last reply Reply Quote 0
                      • matteo nunziatiM
                        matteo nunziati
                        last edited by

                        OK, just for the sake of statistics,

                        how many of you run hyper-v server 2016, I mean the Core version, without GUI.
                        how many run on HPE HW?

                        thank you!

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

                          @matteo-nunziati said in how do you reboot your linux VMs in hyper-v?:

                          how many run on HPE HW?

                          Used to, but not any longer. Moved to Dell.

                          1 Reply Last reply Reply Quote 0
                          • stacksofplatesS
                            stacksofplates
                            last edited by

                            We still have a lot of HPE. Starting to get more Dell though.

                            dafyreD 1 Reply Last reply Reply Quote 0
                            • dafyreD
                              dafyre @stacksofplates
                              last edited by

                              @stacksofplates said in how do you reboot your linux VMs in hyper-v?:

                              We still have a lot of HPE. Starting to get more Dell though.

                              We are almost exclusively Dell here... and have been for a while... We still have a couple of PowerEdge 2950s that are in service (but soon to be retired).

                              1 Reply Last reply Reply Quote 0
                              • matteo nunziatiM
                                matteo nunziati
                                last edited by matteo nunziati

                                OK,

                                new poll!

                                how many of you do change the default VM paging location?
                                0_1491378076422_VM_paging.png

                                BTW, what the hell is VM paging and how can be this of any use for linux VM?

                                black3dynamiteB 1 Reply Last reply Reply Quote 0
                                • black3dynamiteB
                                  black3dynamite @matteo nunziati
                                  last edited by

                                  @matteo-nunziati

                                  https://redmondmag.com/articles/2015/04/02/smart-paging-in-hyperv.aspx

                                  matteo nunziatiM 1 Reply Last reply Reply Quote 1
                                  • matteo nunziatiM
                                    matteo nunziati @black3dynamite
                                    last edited by

                                    @black3dynamite said in how do you reboot your linux VMs in hyper-v?:

                                    @matteo-nunziati

                                    https://redmondmag.com/articles/2015/04/02/smart-paging-in-hyperv.aspx

                                    so basically this is hypervisor provided swap, before vm inner swap!

                                    1 Reply Last reply Reply Quote 0
                                    • matteo nunziatiM
                                      matteo nunziati
                                      last edited by matteo nunziati

                                      and after a lot of episodes, I've fixed the thing.

                                      please let me state this again: I HAVE.

                                      I.

                                      Not the HPE support, not the reseller tech support.

                                      I HAVE.

                                      I = An almost idiot ex-embedded sw developer illogically cast into the sysadmin role of a non-sense company!

                                      TL; DR:
                                      there was a mismatch between OS version, bios version, controllers firmware version, controller drivers version. Selecting the right combination has (apprarently) fixed the issue!

                                      how storage controllers affect reboot signals is still a mistery... but actually all was related to the smart paging I mentioned before. Moving it from the default location caused all the issues.
                                      I have discovered the "bug" recreating a new vm with copy-pasted hdd but with hypervisor defaults... 2 twins VM one running one not... only difference: location of the smart paging file. XD

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