Quantcast
Channel: Hyper-V forum

Windows 1709 HyperV replication to Windows 2016 is getting failed

$
0
0

Hello Team,

Windows 1709 HyperV VM replication to Windows 2016 HyperV is getting failed. Giving below error

Please suggest...

Regards

Kedar


Import VMs Exported from Hyper-V 2019 to Hyper-V 2012 R2

$
0
0

Hi,

We have a situation that we have to do the following:

  1. Move (Export/Import) VMs from Hyper-V 2012 R2 (Old Site) to new Hyper-V 2019 (new site)
  2. Add some VHDX to the moved VMs at Hyper-V 2019, and do some upgrade with the custom applications inside VMs
  3. Will keep Hyper-V 2012 R2 (old site) (that host other Apps/VMs) as a disaster recovery platform, so they will keep exporting VMs from Hyper-V 2019 (new site), and import it at Hyper-V 2012 R2 (old site)

Questions are:

  • Is it supported to move (Export/Import) VMs from Hyper-V 2019 to Hyper-V 2012 R2?
  • What  we need to consider when creating/attaching new Virtual Disks at Hyper-V 2019 (new site) to VMs that maybe later imported at Hyper-V 2012 (old site) in case of disaster?
  • Any other points that need to be considered in this scenario?

To share more thought related to this scenario:

  • We have to keep all VMs at Hyper-V 2019 (new site) as G1 including any new VM this to avoid any issue when move it back to Hyper-V 2012 R2 (old site).

Any other points related to disk type, whatever configuration, supportability….? knowing that this will be temp scenario till they build Hyper-V 2019 at old site.

Regards,

Maged

    Two Hyper-V Host connect VM's on internal network?

    $
    0
    0
    Working on limited budget and need to expand my lab. So thinking to add another Hyper-V host.

    But i dont want the VM's on the private network. How do i link the to Hyper-V Host so the VM's under them can see each other?


    #LnQ¯\_(ツ)_/¯


    Windows 2012r2 Hyper-V Generation 2 firmware boot order No boot entries are configure

    $
    0
    0

    I have 2 host HyperV which configure in cluster. Inside the host there are multiple virtual machine. When I try to create new virtual machine usung Generation 2, its firmware boot order shows " No boot entries are configure". How to solve this issues without break the failover cluster configuration? For your information, all virtual machine inside the host are production.



    sha

    Windows Admin Center cannot connect to hyper v core 2019

    $
    0
    0

    I need help connecting to Windows server core 2019, I currently have Hyper-v core 2019 installed on a dell server, then install the windows admin center tool on another computer, using Windows 10 , when running the windows admin center application to connect to hyper-v core, the following error message

    "WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet.

    Thanks for your support

    Cannot enable the Promiscuous mode at Virtual switch for spanning port

    $
    0
    0

    Hello,

    How to enable Promiscuous mode at Virtual machines (Hyper-V) windows 2019 server

    What the power shell command and version to run this command please?

    Thanks,

    Bilal

    Failure to Boot on Red Hat Enterprise Linux (RHEL) or CentOS 8 using Hyper-V 2016

    $
    0
    0

    When using RHEL 8 or CentOS 8 as the guest operating system on a virtual machine (VM) running on a Microsoft Hyper-V Server 2016 host, the VM in some cases fails to boot and returns to the GRUB boot menu. It sometimes takes up to 20 attempts before the vm starts (VM therefore stays stopped after 5 retries to boot kernel with grub)

    It seems that it's this bug: https://access.redhat.com/solutions/4796261

    The following error is logged in the Hyper-V event log:

    The guest operating system reported that it failed with the following error code: 0x1E

    We are increasingly seeing this problem occurring on sone clusters and on others not

    Any Ideas, Workarrounds, Fixes? For example is it possible to increase the retries of 5 somewhere? Concerning Red Hat the Problem will be solved in Hyper-V 2019, but as we have 200+ physical nodes it takes a lot of time to upgrade and we need some workarrounds

    Windows 2019 Hyper-V Host Static or Dynamic ram allocation

    $
    0
    0

    We are setting up a Windows 2019 Hyper-V VM running on a Physical Windows 2019 Server with 64GB of Ram. The Physical server will be running a few lightweight apps and also the Hyper V roles. I have been reading up on Dynamic V's Static memory allocation for the Hyper-V server and cannot decide which option is better. As I see it I have 2 ways I could go -

    1. Allot 32GB of static ram to the Windows 2019 Hyper-V VM

    2. Enable Dymanic Ram Set 8GB of Ram as a minimum Value, Set the Max Ram to 32GB with a 20% Memory buffer

    We are planning to use the Hyper V for lightweight Remote desktop use.

    What I am wondering is, does having Dynamic Memory instead of static cause speed issues for the VM when the amount of RAM required has to be increased or is this so fast that it is not noticeable.

    Any thoughts would be appreciated 




    Hyper-V Virtual Machine Management Service doesn't respond, cannot stop/restart

    $
    0
    0

    Hello, I've been running a functioning virtualization set on a small Server 2016 install, running a half dozen VMs. Everything was working fine for months, but I let Windows update last night and when it rebooted suddenly none of the VMs would startup. When I attempted to check them with the management tool it tells me it's connecting to the Hyper-V Virtual Machine Management Service, and it never stops saying that except to sometimes say it cannot be reached. This is all locally on the server, not remotely. This has not happened in the past. When I attempt to stop or restart the Hyper-V Virtual Machine Management Service it takes a long time and then ends with Error 1503 saying that it cannot stop the service as it took too long to respond.

    I tried rolling back the update, and that changed nothing unfortunately. This is pretty disastrous for me, hopefully someone can help me out!

    Edit: As far as I can tell none of the VMs boot, none appear to be on the network switch, and I cannot access them through any means.

    The Get-VM command hands powershell, and whether the service is stopped or not (which is does eventually stop after 10+ minutes) the network switch information in the Hyper-V configuration area for switches never becomes available.

    Can I rename .mrt and .rct files?

    $
    0
    0

    I would like to rename the Virtual Disk file on some of our VMs ... we are using Nakivo for backups, so the .rct and .mrt files are present for each .vhd(x) disk file on the VMs that we are backing up.

    I know how to rename a .vhd(x) file ... by shutting down the VM, physically renaming the file, reassigning the VM's disk to the new filename, then restarting the VM.

    My question is -- what do I do about the .mrt and .rct file that accompany the .vhd(x) file?   Do I just manually rename those as well?  Or do I have to delete them somehow before renaming the disk file?  Or is there a utility that takes care of all this?

    I could not find documentation anywhere that talks about this. If there is doc I would appreciate a pointer to it ... otherwise if there is a best practice for doing this then please explain :)

    Thanks.  John

    What do you like most in your life?

    $
    0
    0
    What do you like most in your life? You will ask why this is to be a human

    Use cmdlet to live migrate VM changing the vNetwork.

    $
    0
    0

    Good morning.

    I have to live migrate VMs from “Hyper-v on Server 2012” to “Hyper-v Server 2012 R2”.
    Well, at the same time I have to migrate all the storage (Config, Snapshots, Pagingfiles and VHDs).
    Up to here everything is ok. 
    At the same time without loose the VMs connectivity I have to change the vNetwork because the vNetworks on the new Hosts are different.

    I will use Move-VM powershell cmdlet, example:

    Move-VM $VM remoteServer –VirtualMachinePath $Path1 –SnapshotFilePath $Path1 –SmartPagingFilePath $Path1 –IncludeStorage –VHDs @(@{"SourceFilePath" = $OldVHDPath1; "DestinationFilePath" = $NewVHDPath1}, @{"SourceFilePath" = $OldVHDPath2;"DestinationFilePath" = $NewVHDPath2}) 

    When I do it manually through the Hyper-v Console, it ask me to change it:


    How can I change vSwitch at the same time that I Move the VM using a cmdlet without loosing connection?

    Thanks in advance and have a nice week,
    Angel Biurrun.

     

    Hyper-V 2019 - Guest VM's shutdown unexpectedly

    $
    0
    0

    Hi,

    Since upgrading my Hyper-V servers to Windows Server 2019, including KB4471332 from last night, my guest VM's do not power down on restart of the 2019 host.

    I can confirm integration components are as up to date as possible, and each guest is configured to shutdown when the host restarts.

    Each guest gets the "Why did I shutdown unexpectedly message".

    The even viewer yields the following all within 30 seconds of restarting the host:

    Shut down physical computer. Stopping/saving all virtual machines...

    'ADFS' failed to perform the 'Shutting Down' operation. The virtual machine is currently performing the following operation: 'Shutting Down'. (Virtual machine ID 0CFDF648-EE9D-4141-9EBD-9A6D911C3442)
    'ADFS' failed to shut down. (Virtual machine ID 0CFDF648-EE9D-4141-9EBD-9A6D911C3442)

    The Update Orchestrator Service service terminated with the following error:
    This operation returned because the timeout period expired.

    Failed to restore configuration for port 59229EE2-C880-4BF2-9849-89A21EC17772 (Friendly Name: ) on switch 300C0E17-E123-4182-BE62-AAD1860BE841 (Friendly Name: ), status = Object Name not found..

    Everything is configured as it was on the 2016 Hyper-V host.

    The message ADFS failed to shut down because it is shutting down seems terribly odd to me.  Of course its shutting down, just need the host to wait. (Yes the registry is set to 120 as the default time for the host....)

    Fairly simple to recreate....just spin up a 2019 server, install Hyper-V role, throw in a VM and test.

    Any help would be appreciated, but my money is on it being another bug.

    SNMP Service Tabs (Agent,Traps,Security) Does not apper

    $
    0
    0

    I install snmp on hyper-v 2016 via command line according to 

    https://www.thomasmaurer.ch/2011/10/install-snmp-on-hyper-v-r2-core-server/ with 

    Dism/online/enable-feature/featurename:SNMP

    command but I cant see Agent, Traps and security tab of snmp service

    Regards,

    Hyper-v freeze but vms working fine

    $
    0
    0

    I’m facing small issue with few of our Hyperv-2012, 

     

    It’s getting freeze after running for continuous 12-24 hours, we can’t ping neither console its full black screen, but VM hosted on it is working fine, we can ping and RDP into it,

     

    Appreciate if some can help


    Why is my vhdx taking up so much space?

    $
    0
    0

    I have built a CentOs 7 guest VM in Hyper-V as Gen1 with two drives, both dynamically expanding drives.

    I have loaded about 170 GB of data into one of the drives, but on disk on the host, it is taking up 410 GB. What is going on?

    This is in the guest:

    $ df -h | grep 'sdb1\|Used'
    Filesystem                     Size  Used Avail Use% Mounted on
    /dev/sdb1                      504G  168G  311G  36% /var/lib/data

    This is from the host:

        Directory: D:\VHDs


    Mode                LastWriteTime         Length Name
    ----                -------------         ------ ----
    -a----       22/01/2019     08:35   420541890560 Lupin-Data.vhdx


    Virtual Machine Generation 2 Boot Issue!!! (Windows Repair Bootloop! ) Hyper-V 2012 R2

    $
    0
    0

    Hello people, I'm having the following with the GEN 2 in Hyper-V 2012 R2.

    Issue: After bouncing my GEN2  Hyper-V VM I get this.

    Then I get the Windows Repair and nothing happens after this point!  

    Does someone have experience this issue ?

    The bad thing with it is as it's production there's no checkpoints and I cannot recover it!

    Note: this doesn't happens with GEN1 VM's.

    Any help will be really appreciated


    REFS for a Hyper-V CSV Volume

    $
    0
    0

    I am currently running a 4 node Server 2016 Hyper-V cluster storage is provided by a DELL MD3200 SAN normal concepts for CSV volume on NTFS are in place as previously nodes where 2012R2 and 2008R2 prior. My main question is I am going to be adding another SAN DELL MD3420 and I have been wondering whether to use REFS for the file system for VM's situated on this SAN.

    I came across a Veeam article advising moving to this scenario however I would like to get the opinion of you all.

    Regards

    Chris


    MCP, MCTS, MCITP, MCITPVA, MCSA 2012, MCSE Private Cloud, MCSE Server Infrastructure

    Failover Cluster - Cluster Storage permissions

    $
    0
    0

    Hi everyone, I have next scenario. In our company we are using powerhell to provision new virtual machines, we also using service user which doesn't have admin rights on Hyper-V hosts, this user excecutes scripts remotly on our Hypers.

    Sometimes we have problems, because that user can't delete old folders of virtual machines from location C:\ClusterStorage\Volume1.

    This user already have full ClusterRights. I want to give that user FULL rights on C:\ClusterStorage\Volume1, \Volume2 folder and so on.

    Can you give me some advice, because i didn't find anything helpful on internet regarding to this. Current owner of ClusterStorage\Volume1 is System. Should I change ntfs permissions directly on ntfs volume or?

    Thank you

    External Ethernet Adapter is already bound to the microsoft virtual switch protocol

    $
    0
    0

    Hi,

    I have a Virtual Switch that already bound to a Physical Adapter, and I would like to create another Virtual Switch to be bound to the same Physical Adapater, but I'm getting an error: "External Ethernet Adapter is already bound to the microsoft virtual switch protocol" Any help?





    Latest Images