ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login
    1. Topics
    2. matteo nunziati
    3. Posts
    • Profile
    • Following 0
    • Followers 1
    • Topics 29
    • Posts 871
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: how do you reboot your linux VMs in hyper-v?

      OK now I've eliminated some drifting in RCT <- yes RCT. I've monitored both gen1 and gen2 vm for something like 12 hours. no drift in 12 hours of VM idling.

      this doesn't solve the thing: issued a reboot. got a shutdown! but at least without timing integration services now clocks seems logic in the VMs. I think even @JaredBusch got issues with timing and constant time reassignments...

      I've also rebooted the server from the closet, nothing strange in the reboot sequence: all ok with the hypervisor. I've a new win update. let's apply this. also let's check the "latest" HPE service pack from october 2016, maybe some driver is apparently ok, but requires update...

      bah. I'm going to think it's me. I'm cursed w/ hpe stuff.

      A last thing remains: enter bios disable power savings and CPU c-states and let's see... then I'll STONITH my self ๐Ÿ˜•

      f#@*$%!

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: Weekend Plans

      Entire sat morning at park w daughter: wife worked.
      Part of afternoon still at park. Then ate swities w family.
      Watching now and then the f*** hypervisor.
      Tomorrow is raining ๐Ÿ˜ž nothing planned.
      This evening... Sleep?!

      posted in Water Closet
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      Disabled hyperv time services and forced linux rtc to utc. Now monitoring drifts ( never say never). but win2012r2... Don't know..

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      @JaredBusch yes... Err... what conf? The vm conf (always the same) or the hypervisor itself?

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      @Eltolargo no just a windows defender update pending. server has been restarted after last update batch.

      looking now at ubuntu VM in the last reboot I see this:

      reboot   system boot  4.8.0-41-generic Sat Mar 25 18:21   still running
      reboot   system boot  4.8.0-41-generic Sat Mar 25 18:48   still running
      reboot   system boot  4.8.0-41-generic Sat Mar 25 15:15   still running
      reboot   system boot  4.8.0-41-generic Sat Mar 25 15:11 - 15:14  (00:03)
      reboot   system boot  4.8.0-41-generic Sat Mar 25 15:10 - 15:11  (00:00)
      reboot   system boot  4.4.0-66-generic Sat Mar 25 15:00 - 15:11  (00:10)
      

      3 sessions still running! bah this is for sure something broken...

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      @black3dynamite @Eltolargo @Tim_G latest kernel and tools are installed from the HWE stack. this doesn't help. just tried again from a VPN to my office. Also hell win2012r2 doesn't reboot in hyper-v 2016.
      monday I'll reboot the server from within the server room, with a monitor attached. let see if something strange happens even at hw level...

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

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

      So just the fact that you are running it as a VM makes all the difference?

      If you run it on hardware, can you reboot normally?

      you mean linux or windows? well yes never got issues on HW. but don't know on THIS HW!

      Is it just with Hyper-V? Have you tried it on other hypervisors?

      same linux machines on kvm run perfectly and autoreboot at every update

      What happens if you install the latest actual LIS drivers from Microsoft?:
      https://www.microsoft.com/en-us/download/details.aspx?id=51612

      ubuntu has them built in. windows vms don't need...

      More info:
      https://technet.microsoft.com/windows-server-docs/compute/hyper-v/supported-linux-and-freebsd-virtual-machines-for-hyper-v-on-windows

      I was thinking about reboot my win10 machine with hyperv and test there...

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      ok, just got that Restart-VM does an hard restart (removes the plug). just forget it!
      still missing an answer...

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      even tested a gen1 VM: not different.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      mmm... got this:

      Restart-VM -Name zi-erp-as
      
      Confirm
      Are you sure you want to restart virtual machine "zi-erp-as"?
      [Y] Yes  [A] Yes to All  [H] Halt Command  [?] Guida (il valore predefinito รจ "Y"):
      Restart-VM : 'zi-erp-as' failed to change state.
          + CategoryInfo          : NotSpecified: (:) [Restart-VM], VirtualizationException
          + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.RestartVM
      

      And the machine just stops.

      Now performed a sequence of start-restart with no idle, just waiting in VM Manager to see the CPU go down and then fire the restart. So far so good... really weird. Let's the VM stay idle for a while and retry!

      Yep! if the machine stays idle for a few tens of seconds everything go nuts:

      Restart-VM -Name zi-erp-as
      
      Confirm
      Are you sure you want to restart virtual machine "zi-erp-as"?
      [Y] Yes  [A] Yes to All  [N] No  [L] No to All  [?] Guida (il valore predefinito รจ "Y"):
      Restart-VM : 'zi-erp-as' failed to change state.
          + CategoryInfo          : NotSpecified: (:) [Restart-VM], VirtualizationException
          + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.RestartVM
      

      Not this specific error but when people get this "change state" suggestions are to rebuild the machine ๐Ÿ˜• but those are all brand new.

      Apparently this is not the case with:

      Stop-VM -Name zi-erp-as; Start-VM -Name zi-erp-as
      

      But this is a no go for remote administration from within the VM. Need to sort this out ๐Ÿ˜ž

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

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

      I've not heard of anyone having this issue. You might have something unique here.

      yes. until it was ubuntu I was thinking about something strange in the vUEFI. but even win over win...

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      @DustinB3403 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?:

      HPE DL380G9

      According to the HPE HCL the hardware is fully supported...

      Is anyone else experiencing the same results?

      found anything on the web, going to call HPE support... but I'm a bit in a hurry. hoped for a fast solution on-line ๐Ÿ˜•

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

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

      So if you did issue a reboot from the management interface, the VM just shuts down. Rather than actually rebooting.

      Seems like a huge failure there if that's true. What hardware is hyper-v installed on?

      HPE DL380G9

      I suppose something is broken in my setup: it is not possible people did notice this basic item!

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

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

      Or why aren't you able to reboot via the Hyper-V management interface?

      what's this? I just have the "shutdown" button on the hyper-v GUI (win 10).
      also if I enter a remote session in powershell and issue:

      Restart-VM -Name VM-NAME-HERE
      

      the machine shuts down it doesn't restart!

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      @DustinB3403 because the machine shuts down but then it doesn't boot! it is like if you issue shutdown without -r.
      This is the same with reboot or so. Also because all this commands are symlinks to systemctl.

      there is something broken in the way hyper-v vUEFI is managed on ALL my VM.

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      ok, just installed a win server core 2012R2 VM. even this doesn't reboot ๐Ÿ˜•

      I'm surely doing something wrong but I really really don't know what and where to start searching for...

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      nothing new... reboot/shutdown -r just shuts down the machine.
      [this is the SAM curse :P]

      edit...

      no it is not the SAM curse: even centos7 doesn't not reboot when asked...

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      ok, at least ubuntu records the reboots:

      user@zi-erp-as:~$ last reboot
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:43   still running
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:42 - 09:43  (00:00)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:41 - 09:43  (00:01)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:37 - 09:43  (00:05)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:37 - 09:43  (00:06)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:35 - 09:43  (00:08)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:31 - 09:35  (00:03)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:28 - 09:35  (00:06)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:27 - 09:28  (00:00)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:26 - 09:27  (00:00)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 09:21 - 09:27  (00:06)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 08:59 - 09:20  (00:20)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 08:59 - 09:20  (00:20)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 08:59 - 08:59  (00:00)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 08:58 - 08:59  (00:00)
      reboot   system boot  4.4.0-66-generic Fri Mar 24 08:57 - 08:58  (00:00)
      reboot   system boot  4.4.0-66-generic Thu Mar 23 16:11 - 16:11  (00:00)
      reboot   system boot  4.4.0-66-generic Thu Mar 23 16:10 - 16:11  (00:01)
      reboot   system boot  4.4.0-66-generic Thu Mar 23 15:47 - 16:11  (00:24)
      reboot   system boot  4.4.0-66-generic Thu Mar 23 15:39 - 16:11  (00:32)
      reboot   system boot  4.4.0-66-generic Thu Mar 23 15:33 - 16:11  (00:38)
      reboot   system boot  4.4.0-66-generic Thu Mar 23 15:11 - 16:11  (01:00)
      reboot   system boot  4.4.0-66-generic Thu Mar 23 14:35 - 15:10  (00:35)
      
      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • RE: how do you reboot your linux VMs in hyper-v?

      edited

      posted in IT Discussion
      matteo nunziatiM
      matteo nunziati
    • 1
    • 2
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 39 / 44