Quantcast
Channel: Hyper-V forum
Viewing all 19461 articles
Browse latest View live

Impossible to live-migrate VMs with .vhdx

$
0
0

Hello everyone,

I have a Windows Server 2012 R2 and a new server with Server 2019.

I'm trying to live migrate VMs' from Server 2012 R2 to Server 2019 and noticed that VMs with .vhdx fail to be live migrated on the new host. The migration starts and progress until the end (or close to then end ?) of the process and then fail.

- On the 2012 R2 host, I can see the following error in the eventvwr: "Event 21026 Hyper-V-VMMS - Virtual machine migration operation for SERVER_NAME failed at migration destination SERVER_DST. (Virtual machine ID VM_ID)".

- On the 2019 host, I can see the following error in the eventvwr: "The absolute path 'C:\Windows\system32\vmguest.iso' is valid for the " ISO Disk Image pool, but references a file that does not exist.

FYI: The guest OS that we are trying to move are 2008 R2 and 2012 Servers.

Live migration is enabled on both host and I tried to do it via CredSSP.

Migration of .vhd is working fine.

Does anyone have an idea on why this is happening ?

Thank you very much by advance for the help you can provide.

Cheers.


Should I create Records A for Hyper-V cluster nodes?

$
0
0

Hi

I created two node Hyper-V cluster using Microsoft Hyper-V Server 2016 OS. There is a external switch with access to corporate LAN.

I've got a problem with this switch. When I set option "Register This Connections Address" for virtual network adapters (vEthernet (VS-E1)) for this switch on these two nodes, this settings change value to False. So after some time records for this network adapters are removed by DNS server because cluster doesn't refresh this option.

Is it default Settings for cluster?

Hostname InterfaceAlias           RegisterThisConnectionsAddress      UseSuffixWhenRegistering

HVC1N1 vEthernet (VS-E1)        False                                              False

HVC1N2 vEthernet (VS-E1)        False                                              False


Kind Regards Tomasz

hyper-v replication

$
0
0
does it mean that the hosts should in domain when enabling vm replication in server 2019?

Hyper-V encountered an error trying to access an object on computer

$
0
0

Hello,

I was taking on online course for learning MS Server 2012 R2. The course had me install vmware which the eval license expired before I could complete the course. So I thought I would follow along using Hyper-v, but when I tried to open it I got the error below. This is on a computer that I am running MS Server 2012 R2 and it has worked before on this machine. Can anyone please help me get past this?

Thank you,


JohnB

unable to create hyperv replica

$
0
0

Hi all,

Windows 2012 datacenter servers

I tried to enable VM1 replication on host 1 to host2.  But I am unable to.  I enabled replication on the replica server host2 and it did not work and then I enabled replication on both hosts.

here are errors about time out and no firewall between two sites and windows firewall allows all connections (for test) and ping time is 2 ms with 100 Mbps connection.


Event ID: 29230
Hyper-V cannot connect to the specified Replica server 'host2'. Error: The operation timed out (0x00002EE2). Verify that the specified server is enabled as a Replica server, allows inbound connection on port '80', and supports the same authentication scheme.

Event ID: 32000

Hyper-V failed to enable replication for virtual machine 'VM1': The operation timed out (0x00002EE2). (Virtual Machine ID 1208DF9C-767F-4688-9AA2-B231A52DE339)

Any idea to solve this issue?

Thank you very much!

Fix a WiFi Hyper-V Switch

$
0
0

I am getting a "Failed while adding Virtual Ethernet switch connections"  when trying to establish a virtual switch over a WiFi connection which I had previously used.  The details say "Ethernet port {GUID} bind failed.  The requested resource is in use. (0x800700AA).  "

Uninstalling and reinstalling the WiFi adapter changed the value of the GUID but still same error message.

There is no vEthernet adapter showing in the adapter properties window. My assumption is that the adapter is hidden from view in the window and / or there is some binding stored in some xml files or registry keys someplace linked to the Virtual Switch that needs to be manually cleaned.  However, I have not yet found where these are. 

Has anyone figured out a good way to resolve this issue?

HyperV Cluster Replica Broker error - "object could not be found" from Enable-VMReplication Powershell

$
0
0

Ok I admit it. This one is driving me crazy ;)

1) I have two Server2016 (Standard) HyperV Clusters - Source01 and DR01. Both part of same forest/domain.

2) Both Source01 and DR01 clusters have a HyperV Replica Broker installed and replication settings configured for Kerberos, Port80 and allow from any server.

3) I can initiate VM Replica successfully in both directions using the FailoverClusterManager UI. It creates the replica, transfers the initial data and everything appears to work.

However....

I need to create the replica using Powershell, but when I try to do it using the Enable-VMReplication powershell command it fails with:

I must be doing something wrong as the UI works. Perhaps some remote permissions not enabled? Remote WMI? something? hopefully some rookie mistake...

1) I've turned the firewall of DR01 off (just in case, just until figure out this issue)

2) The hyperV virtual machine management service is running correctly on both Source01 and DR01

3) the HyperV console on Source01 can correctly connect to DR01 and view/manage the VMs in the console - and vice versa.

Anyone got any ideas? Or seen this behaviour before?

thanks

Joe.

Hyper-V Host Server treating direct logins as "Remote" Logins after RDS Role installed.

$
0
0

Hello All.

I'm busy with an installation for a clien using "Server 2019" as the Hyper-V Host Server.

On the host I am running two (2) Hyper-V OSEs, also Server 2019 Standard. One acts as the AD Domain Controller, the other is acting as an APP Server for their Financial software on which they need remote access. Everything runs fine through the entire configuration right up to the point after I added the Remote Desktop Services Role. From there on the whole thing goes bonkers. 

When I log back in after a restart, the profiles under C:\Users are all messed up. "domain\Administrator" is gone and there are folders like "Administrator.000", a file that looks like a VHD, I'm guessing this is a Remote Desktop User Profile.

Sometimes it would all of a sudden block my login attempts saying: "To sign in remotely, you need the right to sign in through Remote Desktop Services. By default.... blah blah bla." So I am physically logging into that server "on" Hyper-V, but it is treating the login as a "Remote" login.

I thought it might be a bug in Server 2019, so I installed 2016, and it is doing exactly the same. I am doing the RDS configuration to the letter as per Microsoft, I am just not using the RD Gateway. 

Could someone "pleaaaase" tell me why this is happening? I have to deliver the server to site in two days.

Kind Regards and thank you in advance.

Hentie


Windows 2012 R2- Hyper-V server migration to Windows 2016- Hyper-V server

$
0
0
I have one stand alone 2012 R2 Hyper-V server which runs 6 VMs on it. No cluster No replication enabled even don't have shared storage. I need to upgrade this server to 2016 server and enable replication with another 2016 hyper-V server. I plan to copy existing VHDX files and create new VMs with old VHDX files that I copied on a new server 2016 Hyper-V. So my question, Will my existing VHDX files will be supported to the VMs that I'm going to create on server 2016 Hyper-V and Did I miss anything? 

Hyper-V automatic failover

$
0
0

Hi guys,

What is the best way to achieve automatic failover between DR and HQ cluster? Can't seem to get a way to achieve this.

Full screen on dual monitor does not restore correctly

$
0
0

I hope this is clear enough, if not then let me know and I'll try to share a list of pics or something.

I have a host machine running Windows 10 1903, with a guest VM also running 1903.

The host has two monitors, 1080p and 1440p.

When I run the VM in full screen mode, it maximize the enhanced session window and it fills the 2 monitors correctly, but if I minimize that enhanced session window and try to restore it again, the session only maximizes on a single host window, which is a problem since it should maximize on both monitors, not just one.

The only workaround I found is to close the session and reopen a new one, that takes a lot of time specially I need to login to the VM every time I need to do that.

How can I restore the session to full screen on both monitors without the need to close it first?


Noorish


Display resolution for guest

$
0
0

Coming from a VMware solution I am having some issues with Hyper-V which are not working as expected, faulty or in an annnoying manner and I hope there are solutions for it.

Now currently I am having a Problem with Windows 8.1 guests and their Display Resolution. Resolution is set to 1920x1080. Logging into the Win8.1 guest via Basic session makes everything look fine. Screen Resolution is as expected.

However when connecting via enhanced session, the Desktop Resolution Looks fine (bit scaled though) but the start screen is completely off. The tile sizes are huge and those apps cannot be opened ("This app can’t open. The screen resolution is too low for this app to run "). So it is not only an Impression it is a fact that for some reason, the start screen has a differen screen resolution. Screen Settings however reports 1920 x 1080. I verified this behavior with 2 differen 8.1 guests and both Show the same thing.

As said in a Basic session screen Resolution is fine for both Desktop and start screen and apps open fine.

Resize vxhd's with Powershell

$
0
0

I need to resize all the vxhd's in a RDS UserProfileDisk environment. Now I know how to do it one disk at a time I really want to do it globally for all existing disks. This would be done out-of-hours so no-one will be logged in and using the disks when this is run.

My script is as follows, can anyone see any fault in it?

$vxhdlist=Get-ChildItem"E:\UserProfileDisks"-Recurse|%{$_.FullName}|Get-VHD-ErrorActionSilentlyContinue

foreach ($vxhdin$vxhdlist)

{

resize-vhd-path$vxhd-SizeBytes10GB

$MaxSize=Get-PartitionSupportedSize

Resize-Partition-Size$MaxSize.SizeMax }

Generation 2 VM boot order multiple entries

$
0
0
I deployed a number of machines on SCVMM 2012 R2 and they boot via an attached ISO which then stream a Citrix PVS vDisk. When the machines are deployed, the don't have an entry in this format: File > bootmgfw.efi. After the first boot this entry is added to the machine and is put as first in the list. I noticed lately that now some machines have 3-4 entries like this, most probably generated after I updated the Citrix vDisk. My question is what trigger SCVMM or Hyper-V to add these entries ? What can i do to avoid having them, because it seems the number grows and then at some stage I need to clean this up. And also every time a new one is added is always at the top of the list. And also where this is list is maintained ? Is in SCVMM itsellf or is in the Diskc (C drive) ?

Hyper-V 2016 VMs stuck 'Creating checkpoint 9%' while starting backups

$
0
0

We have a two clustered W2016 Hyper-V hosts, every couple of days one of the hosts gets stuck when the backup kicks off. In Hyper-V manager the VMs all say 'Creating checkpoint 9%' It's always the same percentage 9%. You can't cancel the operation and the VMMS service refuses to stop, the only way to get out of the mess is to shutdown the VMs, and hard reset the effected node. The backup works for a few days then it all starts again.

The only events I can see on the effected node is:

Event ID: 19060 source: Hyper-V-VMMS

'VMName' failed to perform the 'Creating Checkpoint' operation. The virtual machine is currently performing the following operation: 'Creating Checkpoint'.

Can anybody help please? Cluster validation is clean. Hosts and guests are patched up.


Can a virtual machine on Hyper-V use the same MAC address as a host machine's MAC address?

$
0
0

Hello,
Can a virtual machine on Hyper-V use the same MAC address as a host machine's MAC address?
Due to our internal network restrictions, the virtual machine mac address can not be registered in the network white list. I am examining whether this limitation can be solved by using the mac address of the host physical machine in a virtual machine.
If this works, could you let me know how to setup the Hyper-V network and virtual machine settings?

Best regards,

Gokigen

Hyper-V Cluster Resource Hosting Subsystem (RHS) Questions

$
0
0

I have responsibility for multiple large-ish Hyper-V failover clusters. I very occasionally see an issue where the 'ISALIVE:0' check will fail for a virtual machine (via the vmclusres.dll library) and the Resource Hosting Subsystem will terminate, bringing down multiple machines with it.

There are multiple pieces of contradictory information on the internet about what is actually happening here. Some sources suggest that fail-over clustering will attempt to isolate the resource which first failed the health check into its own process (suggesting this protects the other resources running under the same RHS).

This categorically does not happen on a fully patched Windows 2016 Hyper-V cluster. What appears to happen is that the failing RHS is terminated, killing any and all compute that is running under the same process. The logs make mention of the offending virtual machine resource being isolated, but I can actually see no evidence of this occurring (in the properties of that resource), but even if this does happen, the default config has still resulted in one resource effectively causing an outage.

I can sort of add credence to this summary of behavior but forcing the resource to run in their own separate monitors myself. If I do this on a lab I've stood up:

Get-ClusterResource -Name "*Virtual Machine blah*"

foreach ($resource in $cluster_resources) {$resource.SeparateMonitor}

... I can see they are all using the default setting, which is to not run in a separate monitor. Fine.

If i set them all to run in their own monitor:

foreach ($resource in $cluster_resources) {$resource.SeparateMonitor = 1}

...and count the RHS processes there is no difference. As you would kinda expect, if I now restart the machines I suddenly have lots of RHS processes popping up, one for each VM.

So this suggests that resource cannot magically flip between RHS parent processes while they are running\switched on, so the out-of-the-box configuration can indeed bring down a whole node when there is a problem with a single resource. Could anybody anywhere tell me if I am right here?

Also, trying to go back to the why behind the original problem. Does anyone know where I can get information about what the ISALIVE check for the vmclusres.dll library is actually doing? There is no information anywhere about what kind of check failed, if it is a VM state check, some kind of IC communication check etc The VM didn't dump inside the guest, it just 'failed' and caused an outage, which is kinda scary. I know from some research that the ISALIVE check is the five-minute check which is supposed to be the more in-depth check of the two that are run, but I can find no documentation saying what it is actually checking, therefore I have no way of working backward.

Thank you.

Windows Server 2019 Hyper-V Guest on Windows Server 2019 Hyper-V Host

$
0
0

Hi,

Short version: Hyper-V role installed on Windows 2019 with gen2 Win 2019 VM. File share created on that Win 2019 VM. File open (200Mb) or copy from share with Win 10 client machine is realy slow.

Please check detailed issue description: https://social.msdn.microsoft.com/Forums/en-US/3248a691-d32f-4ac6-9175-94524afc35ba/windows-server-2019-hyperv-guest-on-windows-server-2019-hyperv-host-networking-performance-error?forum=servervirtualization .  

I guess we have posted it on the wrong place..


problem with NAT

$
0
0

hi I need to create NAT network on Windows Server 2019 Hyper-V.

I following powershell  steps from here:

https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/user-guide/setup-nat-network

1. New-VMSwitch -SwitchName "SwitchName" -SwitchType Internal

2. PS C:\> Get-NetAdapter

New-NetIPAddress -IPAddress192.168.0.1 -PrefixLength24 -InterfaceIndex24

* I insert correct InterfaceIndex from Get-NetAdapter

3. on this command I get the error and don't know what to do.  Please help.

I understand that I have to assign static IP in VM without Default Gateway (?). But what the error means? What duplicate name it refers to?

New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix192.168.0.0/24

My output:

PS C:\Users\Administrator> New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix 192.168.0.0/24
New-NetNat : You were not connected because a duplicate name exists on the network. If joining a domain, go to System
in Control Panel to change the computer name and try again. If joining a workgroup, choose another workgroup name.
At line:1 char:1
+ New-NetNat -Name MyNATnetwork -InternalIPInterfaceAddressPrefix 192.1 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (MSFT_NetNat:root/StandardCimv2/MSFT_NetNat) [New-NetNat], CimException
    + FullyQualifiedErrorId : Windows System Error 52,New-NetNat


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

Maximum Virtual Memory Support in VM of Win2K16 Hyper-v

$
0
0
What is the maximum virtual memory support available in W2K16 per VM?
Viewing all 19461 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>