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

Powershell Hyper-V was unable to find a virtual machine with name

$
0
0

Hi,

I try to execute a simple command on my cluster to start each VM hosted on two nodes. I opened a powershell on the first node and execute the command below :

Get-VM -ComputerName (Get-ClusterNode -Cluster MYCLUSTER) | ForEach {Start-VM -Name $_.Name}

Only VM's hosted on the first node are starting, for the VM hosted on the second node I have the message :

Start-VM : Hyper-V was unable to find a virtual machine with name "MYVM10"

With the command below, all VM's are well listed :

Get-VM -ComputerName (Get-ClusterNode -Cluster MYCLUSTER) | Select VMName

Any idea ?

Thank you for your help


Hyper-V 2016 VMs keep automatic reboot - VMs up time is around 6 days

$
0
0

Hi,

We have Hyper-V 2016 Traditional Failover Cluster, most of VMs up time is very low (around 6 days), most of VMs are activated using VMAC (except some VMs that VMAC command shows successful activation, but Server Manager still shows not Active, although all Hyper-V hosts are activated with Windows Server 2016 Datacenter Edition), Applications owner reported that their VMs seems reboot automatically periodically, and some times reboot while they are working on it without any notification.

The only event that can be related is information System Event shown on most of VMs as ["Successfully scheduled Software Protection service for restart: Reason: RulesEngine"], and other events related to [Software Protection Service scheduled to restart in 05-08-2019].

Agents on Server:

  • TrendMicro Antivirus
  • Dell Networker Backup

Any clue?

Regards,

Maged

hyper-v breaks PMTUD?

$
0
0

Hello everybody, 

As allready posted in the "Windows 10 IT Pro  >  Windows 10 Networking" forum:

We're currently investigating some Networking Issues at our workplace.

After countless testing scenarios and network-dumps it seems that the problems we're facing are due to hyper-v breaking path mtu discovery.

System: Win 10 Enterprise Version 1709 (Build 16299.1146) - (We also tested Version 1809 in hopes it would fix this issue)

NW Card: Intel(R) Ethernet Connection I219-LM, Driver Version 12.15.25.6712 (It also happened using different NW-Cards and Driver Versions)

Requirements to reproduce the issue:

Some network service to talk to (e.g. a Webserver etc.)

A Win 10 Machine having hyper-v enabled/installed and PMTU discovery enabled

A network device in between which has a lower mtu size configured than the Client PC (1280 in our case, 1500 on the PC)

Symptoms:

As soon as the PC sends a packet with DF flag set > the configured mtu it gets ICMP responses (Type 3, Code4) telling it should lower the mtu to a given value. So far expected PMTUD behaviour...
However the Win 10 Machine keeps retransmitting the "oversized" packet without ever changing the MTU size until the connection is reset.

Crosscheck:

Uninstall/Deactivate hyper-v. (Also uninstall all created virtual switches!) 

Now try to retrieve the same resource -> Works flawlessly (NW dump shows 1 ICMP Type 3, Code 4 packet. After that packet size to this destination never exceeds the lowest MTU in the path)

Update:

We found out that the problem does not exist on Win 10 v1703 and that it has something to do with the hyper-v standard switch.

Does anyone of you experience the same issue or is able to confirm our findings? Maybe does even know a solution? ;)


Thanks in advance!

Windows 10 Nested Vitualization Mice not captured

$
0
0

Hi ,

I have a windows 10 VM running on a Host ( Windows 2016 )

The VM has integration services installed and works fine , but when I enable the nested virtualization for the VM I am unable to use the mice

The error message is "mice not captured" but the intergration services are there ?

we need the nested V feature to run docker inside the VM

thank you in advance , any help would be appreciated

Production Checkpoint Failure

$
0
0

Hyper-V Host is Server 2016, VM is Server 2016, when attempting a production checkpoint I get the following:

'VM' could not initiate a checkpoint operation: Element not found. (0x80070490). (Virtual machine ID E397EC81-9B8C-435F-95C9-F9950638BF28)

Production Checkpoint for VM 'VM' failed in the guest VSS Integration Component with error Element not found. (0x80070490). If you continue to see this problem please use regular checkpoints instead (Virtual machine ID E397EC81-9B8C-435F-95C9-F9950638BF28)

I have two Server 2016 Hyper-V hosts, and each one Server 2016 VMs, on one host my backup software which requires production checkpoints for application aware processing works just fine, on the other I get this error.

The difference is that prior to installing my backup software, on the host with the error I created a production checkpoint, then deleted the checkpoint subtree.  Even after removing my backup software I still cannot create a production checkpoint, I get the same error, on the host that works just fine, I never did the production checkpoint / subtree delete. 

The production checkpoint / subtree delete seems to be what causes the issue, after testing on test VMs.

All VSS writers on host and VM are stable and not in error, reboot of the VM and/or host do not correct the issue.

How can I find where the image downloaded and stored automatically after I choose the option ' create quick...'

$
0
0
How can I find where the image downloaded  and stored automatically after I choose the option ' create quick...'

Cannot perform shared-nothing live migration from a management VM

$
0
0

Hello.

I have several standalone Hyper-V Server 2016 hosts. All hosts are configured for live migration using constrained delegation and Kerberos (as detailed here https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/deploy/set-up-hosts-for-live-migration-without-failover-clustering).

The problem is despite these settings (LM enabled, LM network set, Kerberos protocol configured, constrained delegation configured), when I initiate the migration using Hyper-V manager or Powershell from a management computer, this fails with the dreaded error (below). However when I initiate migration directly from the source Hyper-V host (using Powershell as there's no GUI), the migration successfully proceeds.

The management server is in the same domain and I'm logged on as domain admin.

The error is:



There are events on the source hosts:

Event 20308, Hyper-V-VMMS: "Failed to authenticate the connection at the source host: no suitable credentials available."

Event 20306, Hyper-V-VMMS: "The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host '<destination_host_FQDN>': No credentials are available in the security package (0x8009030E)."

Event 21024, Hyper-V-VMMS: "Virtual machine migration operation for '<VM_name>' failed at migration source '<source_host_netbios_name>'. (Virtual machine ID 2CF6050E-A08A-4B0C-A321-648AF12517B4)"

Events on the destination host:

Event 22040, Hyper-V-VMMS: "Failed to receive data for a Virtual Machine migration: An existing connection was forcibly closed by the remote host. (0x80072746)."

Event 20402, Hyper-V-VMMS: "The Virtual Machine Management Service failed to authenticate the connection for a Virtual Machine migration at the destination host: An existing connection was forcibly closed by the remote host. (0x80072746)."

Event 20400, Hyper-V-VMMS: "The Virtual Machine Management Service blocked a connection request for a Virtual Machine migration from client address '192.168.30.7': An existing connection was forcibly closed by the remote host. (0x80072746)."

Here's a screenshot of constrained delegation configuration of one of the hosts, the configuration is identical on all hosts, ie. cifs and Microsoft Virtual System Migration Service allowed for all other Hyper-V hosts.

Any help is appreciated.


Hyper-V replication - Successful replication cycles

$
0
0

Hello Microsoft Community,

Anyone may tell me please what is Successful replication cycles?

What does it mean 22 out of 172 (12%)?

If its not 100% does it mean that the replica on the other server is not complete?


unusable RAM memory in windows server 2016

$
0
0
 i have faced problem in windows server 2016 ,the  installed memory RAM is 64.0 GB ,But the usable RAM only 47.7 GB

Issue with installing linux subsystem.

$
0
0

Hi, I was trying to isntall linux subsystem through powershell, and when I tried to use "Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform" command, I get a following error,

Enable-WindowsOptionalFeature : Feature name VirtualMachinePlatform is unknown.

At line:1 char:1

+ Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlat ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [Enable-WindowsOptionalFeature], COMException

    + FullyQualifiedErrorId : Microsoft.Dism.Commands.EnableWindowsOptionalFeatureCommand

Not so sure how to fix this. 

I first posted this on Microsoft Community, and one suggestion was to "Locate the Trusted Installer service, restart it, and set the startup type to automatic," but I wasn't able to locate that as well. How should I go about this issue?

Thanks 

[POWERSHELL] - Configure Network Configuration in a VM

$
0
0

Hi,

I have a Hyper-v host running several VMs ...

I would like to automate the Network configuration on 1 or several VMs via PowerShell. 

When you use the cmdlet Get-VM, there is not the parameter -Name that I can use with the "Get-VM ... | New-NetIPAddress -IPAddress ..."

Do you have an idea please ?

Thank you.

Gap between VM memory demand and Guest OS memory usage

$
0
0

Hi folks.

I've been trying to understand this for some days but it's still not clear to me. Read some articles about hyper-v memory handling but didn't help much on my case.

In a hyper-v Cluster with 4  nodes (Windows Server 2016 Datacenter) I have a VM (let's call it VM1, also with WS 2016 DC) that has 128GB static assigned memory. Note: It was created as Gen1 VM and the memory assigned is not exactly 128GB, but 128000MB (don't ask me why it was created that way, but i thought maybe the info could be relevant)

VM1's Memory Demand (in Hyper-V Manager) is about 111GB (86%) but the guest OS is using less than 50% (RAMMap below, from Guest OS)

Got an error updating the image here. See it here: https://ibb.co/WsH1JD6

I'm not worried about the host memory, since the majority of the VMs are static assigned. My question is because I was using the perf counter "Memory Pressure" to monitor my VM memory usage and see if any of them are close to start paging. But with this case (Memory Pressure is around 86) I'm starting to think that counter might not be the best way.

First and main question: Why memory demand and Guest OS memory usage are so different?

Second: Does it make sense to use Memory Pressure to monitor a VM with static assigned memory?

If I'm misunderstanding any concept here, it would be nice to know.

Thanks!

BIOS / UEFI version upgrade for Hyper-V Virtual Machines

$
0
0

Recently went through a Microsoft RAP (Risk Assessment Program) and they flagged the following:

RECOMMENDATION:

Consider upgrading BIOS Versions that are between 5 and 7 years old.

DETAIL:

Server Name: _____ Release Date: 11/26/2012 12:00:00 AM Days Old: 2437 Manufacturer: [[GetValue Mfg.ReturnValue]] Serial Number: ____-_____-____-____-____-____-__ BIOS Version: Hyper-V UEFI Release v1.0 BIOS Major Version: 2 BIOS Minor Version: 4 

So they are asking for my Hyper-V VM's BIOS/UEFI version to be upgraded.

I can understand how to update my physical devices, but I've never heard of updating this inside the VM.

Can anyone confirm this can be done and perhaps supply a helpful URL?

IIS performance

$
0
0
Hi,

one customer has upgraded hardware (CPU) and has a hyperv virtualized IIS farm.

The CPU and memory configuration remain the same as for virtual machines.

He says he didn't feel any difference in performance.

As the processor is a faster model with more Mhz, he hoped the performance would be visible.

I have the virtual physicist and I can move the VM to the node to test it back to the newest one and compare the performance.

But what type of testing is valid to show that there was a gain from the CPU upgrade?


Thank you.

Cannot access application if Remote Access Server is offline.

$
0
0

Hello Everyone,

I am a beginner in Microsoft forums so please excuse and guide me if i posted this in wrong section of the forum.

Server Configured like this:

1. A physical server named "RGB" and a virtual machine within it named "SON"

2. SON is primary domain controller and RGB is a backup domain controller.

3. SON has Remote access role installed which is working fine as of now.

4. RGB has Tally licence gateway server installed which is an accounting software.

5. RGB IP Address is 192.168.1.101

6. SON IP Address is 192.168.1.102

7. Remote Access Server assigns IP Address to its Internal Adaptor 192.168.1.201 (through DHCP when the VPN server is online)

My Problem is: (finally :p)

RGB has Tally licence gateway server (accounting software) installed which should distribute licence to its clients through its IP Address 192.168.1.101 (in normal scenario)

But in my case the licence is distributed through 192.168.1.201 which is only available if VPN server is online.

I want to correct this scenario and redirect clients to access licence server through its default ip address 192.168.1.101

If anyone has a clue as to why this is happening and can help me out to rectify the same please revert.


How to protect against network outage?

$
0
0

Hi,

In a few weeks we will have major network maintenance. For about 5min we will lose all network connectivity. We tested this scenario in a lab and noticed that the Hyper-V cluster evacuated all hosts one by one and shutdown the VMs. Even though we had quorum disks supplied over FC. How can I protect my Hyper-V clusters from shutting down because of network failure?

Regards

Timesync is not working in Centos 7 as guest OS and Windows 10 as host

$
0
0

I have created a CentOS 7 hyper-v based VM on by windows 10 pro machine. I have installed the LIS 4.3.3 in the guest OS and have restarted both the guest and the host machine.

For the CentOS VM, i have enabled all the integration services. Following are the problem which I am facing

  • When the host time is altered (forward/backward),  the updated time is not propagated to the guest machine
  • On the host machine 'Hyper-V Time Synchronization Service' and few other services are not starting.

Can anyone please assist me on this ?

TIA

P2V of SBE 2016 won't boot

$
0
0

Hi,

I have an SBE 2016 Server running on physical hardware. I am trying to P2V it so that it can be run as a VM
on a 2019 Hyper-V host. I have tried various ways to P2V the SBE 2016 Server using Disk2VHD doing it as a
VHD or VHDX, but when I build a new VM on the Hyper-V host and attach the imaged VHD/VHDX it refuses to boot.

All I get is black screen with a flashing cursor about 4 lines down the screen. If I mount the VHD's in Disk Manager
on a PC I can see the contents of the VHD's fine.

Anybody have any suggestions how to fix this?

Thanks

DB

SDN, vxlan

$
0
0

Hello,

Is it possible create vxlan tunnel beetwen hyper-v hosts? and manage this connection like separated network-adapters (add ipv4 subnet, etc)?

If it possible, can anybody provide example or say correct object in Microsoft.Windows.NetworkController.* ?

p.s. where can i read about all objects Microsoft.Windows.NetworkController.* ? 

Thanks!

Unable to add new 2019 HyperV node to 2012R2 HyperV Cluster

$
0
0

Hi all,

I could really use some help here. I evicted an failed HyperV node from our 2 node cluster, rebuilt it and am trying to re-inject it back to the cluster. 

NOTE: The host was rebuilt using the same node name.

When i try to add the node i get the following error:

'Cluster service on node SERVER2 did not reach the running state. The error code is 0x5b4. For more information check the cluster log and the system event log from node SERVER2. This operation returned because the timeout period expired.'

In the FailoverClustering event log i see:

cxl::ConnectWorker::operator (): HrError(0x00000002)' because of '[SV] Schannel Authentication or Authorization Failed'

mscs_security::SchannelSecurityContext::AuthenticateAndAuthorize: (2)' because of 'Cluster certificate doesn't exist'

I did a search for the above errors however none of the below has worked:

  1. Confirmed i am am able to ping the hosts via the managment, production, clustercommunication and livemigration network interfaces.
  2. Confirmed iSCSI could connect to CSV volumes
  3. Ensured IPV6 is enabled
  4. Ensured the DCHP client service is running
  5. Ensured the system could access the QUORUM witness (able to write to the directory)
  6. Checked 'Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters' to check for 'DisabledComponents'
  7. Did a search in AD for a duplicate computer account hostname matching the the node to be added.
  8. Tried re-adding the node at least 12 times

I am lost of ideas apart from the fact that i am trying to add a 2019 node to a 2012R2 node cluster.

Any advice would be greatly appreciated.

Viewing all 8743 articles
Browse latest View live


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