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

Virtual switch has no TCP/IP bindings. How will VMs communicate outside?

$
0
0

OK so I am trying to understand this.

If it is recommended to have a separate NIC for management, how do VMs communicate with external networks (outside Hyper-V)?

I have built and managed many Hyper-V clusters over the years but always have used virtual switches which are shared with management partition....remember that option while creating a Hyper-V switch "Allow management operating system to share this network adapter”?
Right

This time, I am trying to go with the "best practice".

  • I have one dedicated NIC for host management.(I believe I do NOT need to create a virtual switch for this traffic)
  • I have another NIC which I want to use for VM traffic going outside to the world.

For the second one, I should create a virtual switch and eventually my VMs would be able to communicate outside the host.

THAT is where I am stuck. I see no way to do that, yet. If I create a virtual switch with the checkbox checked for "Allow management operating system to share this network adapter” I do get a vNIC created and TCP/IP is there. (but isn't that what I am NOT supposed to do?). If I uncheck that, TCP/IP is removed from the switch. So no external network communication is possible by the VMs assigned to that switch.

What am I missing?


-Rajeev rajdude.com


Server 2019 VDI on Hyper-V cluster

$
0
0

Hi,

I'm not sure what to put this under but I am having an issue with creating a Microsoft VDI collection on to a Hyper-V cluster.

I have 3 Hyper-V hosts in a cluster and the Connection Broker is a VM on this cluster.  I am trying to deploy to the same cluster.

From this connection broker I can create the collection fine if I select to store the VM on the virtualization host at a specific folder but if I choose to store on a cluster shared volume then the setup fails with the following (original VM names and ID replaced):

Failed to export virtual machine "VMTemplate". Can not merge Automatic VHD chain for 'C:\ClusterStorage\Volume1\VDI\VMTeplate_1833A97A-5803-480E-8659-E44C01D950DA.avhdx'

I did notice that the Connection Broker creates a folder "C:\ClusterStorage\Volume1\VDI\Win10" on itself (Win10 is the collection name I was giving it).

Any help would be greatly appreciated.

Cluster node - Event 252 - cluster service crashed

$
0
0

We have a 4 node Windows Server 2016 Hyper-V Cluster.  Over the weekend, one node of the cluster reported this in the System event log:

"Memory allocated for packets in a vRss queue (on CPU 14) on switch 620355C8-4D29-4D91-BE80-B840921EDC4A (Friendly Name: Team_Trunked) due to low resource on the physical NIC has increased to 256MB. Packets will be dropped once queue size reaches 512MB."

Seven seconds later it reported that it had increased to 512MB, then two seconds later the LiveMigration NIC reported it had begun resetting, then a few seconds later a reset was issued to \device\raidport1 (source: ql2300).  After two minutes of this and a few other repeats, I started getting warnings of CSVs no longer being able to access this cluster node and then the Cluster service shut down on this node and all VMs are shut down and migrated to other nodes in the Cluster.  

Our weekly DPM backups of the VMs had started about 1.5 hours before this occurred so there was some additional strain on the NICs at this time, though that should have gone through the NIC the OS is running on so I don't know why that would have affected the other NICs where the VMs general data was going through (Team_Trunked) and the LM NIC.

Does it make sense that the first warning about Event 252 would have caused all this or is there more to this?  


Problems with HyperV writers during VM backup (from host).

$
0
0

We are using Veritas Backup Exec and recently one of our VMs has stopped backing up and for the life of me I cannot get the blasted thing to work.

Lots of error in the event logs, on the host we have:

Log Name:      Application
Source:        VSS
Date:          12/08/2019 12:09:03
Event ID:      8229
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      
Description:
A VSS writer has rejected an event with error 0x800423f4, The writer experienced a non-transient error.  If the backup process is retried,
the error is likely to reoccur.
. Changes that the writer made to the writer components while handling the event will not be available to the requester. Check the event log for related events from the application hosting the VSS writer. 
Operation:
   PrepareForSnapshot Event
Context:
   Execution Context: Writer
   Writer Class Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
   Writer Name: Microsoft Hyper-V VSS Writer
   Writer Instance ID: {80e6791b-1b9c-4064-a146-eb4a27a724b2}
   Command Line: C:\Windows\system32\vmms.exe
   Process ID: 2156
Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="VSS" /><EventID Qualifiers="0">8229</EventID><Level>3</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime="2019-08-12T11:09:03.000000000Z" /><EventRecordID>88259</EventRecordID><Channel>Application</Channel><Security /></System><EventData><Data>0x800423f4, The writer experienced a non-transient error.  If the backup process is retried,
the error is likely to reoccur.</Data><Data>
Operation:
   PrepareForSnapshot Event
Context:
   Execution Context: Writer
   Writer Class Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
   Writer Name: Microsoft Hyper-V VSS Writer
   Writer Instance ID: {80e6791b-1b9c-4064-a146-eb4a27a724b2}
   Command Line: C:\Windows\system32\vmms.exe
   Process ID: 2156</Data><Binary>2D20436F64653A20575254575254494330303030353334372D2043616C6C3A20575254575254494330303030323934392D205049443A202030303030323135362D205449443A202030303030363736382D20434D443A2020433A5C57696E646F77735C73797374656D33325C766D6D732E657865202020202D20557365723A204E616D653A204E5420415554484F524954595C53595354454D2C205349443A532D312D352D313820</Binary></EventData></Event>

Have tried all maner of reset s and reboots and still struggling - can anyone help?

Moving .VHDX and Retaining NTFS and Share permissions

$
0
0

Hi,

I have a server that has a .VHDX we will be moving to another server. This volume is 9TB so I want to avoid copying it if at all possible.

Does detaching it from one VM and re-attaching to another retain the NTFS and Share permissions of the volume? If not is there a way that I can do it that it would?

Thanks!

Disk management takes forever to open and it gives me a prompt to initialize the disks which were already initialized.

$
0
0
When trying to access Disk management, i am getting a prompt to initialize the disks which are already initialized, i am not able to access Diskpart as well via command prompt.
First, disk management takes forever to open and it gives me a prompt to initialize the disks which were already initialized.

Internal Switches and DHCP

$
0
0
New to Hyper_v and running on Windows 10 1809 and 1903. I have setup some VMs with the 'Default Switch' which is of type Internal. The VMs seem to be getting DHCP from this switch and using it as gateway and DNS. The virtual adapter then acts as a NAT gateway out to the network. Is this as expected? Can't find any good documentation on this. 

Mac Address Spoofing broken in Hyper-V 2019

$
0
0

I believe we have come accross a bug in Windows Server 2019 Hyper-V.
Does anyone in here know how to report this to Microsoft?

To make some virtual network appliances work, we need to activate the function "Mac Address Spoofing" on the vNIC of the VM's internal interface.

This is needed for VPLS setup and for a VPN concentrator setup.

The function is working, but with highly reduced performance, especially upload goes from 800 Mbit/s to 30 Mbit/s, and ping latency from 1-2 ms to 5-8 ms.

We have tried Mikrotik routers, pfSense, SoftEther on Windows, and we even set up a Windows Server as a router, and the issue is present i all cases.

It only appears then the VM acts as a router, that is traffic coming in through one interface and out through another, and only when Mac Address Spoofing is activated.

We have tried similar setup on VMware where the similar setup requires something called "promiscuous mode", and it works fne with the same VM's.

To make the test complete, we also tested with a Server 2016 Hyper-V, and that works as well.

So Mac Address Spoofing Works in Windows server Hyper-V 2016, but not in Windows server Hyper-V 2019.


Best regards, Ulrich - novaram


Failover Cluster Host Crashes when live migrating VMs

$
0
0

EVENT-ID: 1230, 1146 & 1069 

Server 2016 3 Node Cluster. Validation wizard passes. 

When live migrating VMs between host a VM will hang up in a "re-starting" or "processing" mode. The VM does belong to either host and cannot be removed from the Failover Cluster Manger, and doesn't show on the HyperV manager. The Failover Cluster Events then cycle the EVENT-ID: 1230, 1146 & 1069 events. All VM on the host become completely unresponsive. 

The only way to correct the cluster is hard shutdown the host server experiencing the Event-IDs. Then import the original VM which began the issues.  


Undo "Revert" of VM on Hyper-V Possible?

$
0
0

Hello guys, is there anyway I can recover my Hyper-V VM after accidentally Reverted? I dont have snaps nor backups... I noke a few years ago it was not possible but maybe now there is a way around I have WServer 2016.

Thanks!

Hyper-V is not in a state to accept replication on the Replica server for virtual machine 'Servername'

$
0
0

Hi,

Server Name : TrustHost: i have 5 VMs, Host window is win 2016

Server Name : TrustHostRep:  host window is win 2012 R2

i had replicated 3 Vms from host to Replica. working perfectly fine that are on Hyper V config 5.0. 

now i'm trying to add another vm on replica that is also on 5.0 config. But i'm facing subjected error.

Any help ? 

Thanks

Hyper-V 2019 2 node cluster - intermittent host / cluster issue when restarting a VM

$
0
0

Hi all,

Hoping someone may have ideas on how to resolve this one!  We have a 2-node cluster (HPE ProLiant DL360 Gen10) built on Windows 2019 Standard GUI, iSCSI to Nimble storage.  All validation tests pass with flying colors!  When we were testing, i.e. with very little load we had one instance of a 2019 VM (vm version 9) which got stuck in a 'stopping-critical' state when rebooting.  At this point, the host has gone 'awol' with cluster functions, from then on any cluster operation failed until the host is rebooted (draining would never finish, any other live migration times out and fails).  We found that we had a switch down so put it down to that (even though redundant paths were AOK).  Since then it has been working beautifully as expected, I've done plenty of migrations, draining of hosts without issue, until yesterday.  The client decided to patch a Window 7 VM, it rebooted and got stuck in the same fashion, Stopping-Critical.  I have tried the trick of killing the VM process, this does not work in this scenario.  There is nothing we can do except cold boot the server, forcing failover to the other host.  Obviously a bit of an issue as the 30 servers now running on there restart on the other host, interrupting file / print services etc.

I've read about disabling VMQ but I really don't want to go disabling the advanced performance features unless we absolutely have to.  I am using Dynamic memory on most of the machines, otherwise pretty standard configurations.

No issues with resource we are using under half memory on both hosts.

Any ideas?

Thanks,
Simon


install on new 2019 server - post installation tasks fails: HTTP status 503: Service Unavailable

$
0
0

I have a 2019 server (new clean install) and am trying to install wsus from the server manager gui.

All goes well until post installation tasks and I get: "Fatal Error: Failed to start and configure the WSUS service"

When I look at the log I see (amongst other things):

2019-08-16 09:47:33  CreateDefaultSubscription failed. Exception: System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.
   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
   at Microsoft.UpdateServices.Internal.ApiRemoting.GetServerVersion()
   at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
   at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
   at Microsoft.UpdateServices.Setup.StartServer.StartServer.CreateDefaultSubscription()
2019-08-16 09:47:33  StartServer encountered errors. Exception=The request failed with HTTP status 503: Service Unavailable.
2019-08-16 09:47:33  Microsoft.UpdateServices.Administration.CommandException: Failed to start and configure the WSUS service

Any ideas?

regards

roga

Merge-VHD gets to 99% then stops or hangs

$
0
0

Hello,

Im having trouble merging an AVHDX into the parent VHDX.  The AVHDX is only 21MB but after running the Merge-VHD command in powershell it gets to 99% and just stops or hangs there.  The IO on the CSV drops to nothing and it never actually finishes merging into the VHDX.

Is there anything else I should try here?  This is the last AVHDX file I needed to merge to recover the VM.  If I cancel the Merge-VHD powershell it locks the file and I have to reboot the node in order to try again.

Could another node in the cluster still be holding a lock on one of the files that is preventing the merge from finishing?

2012 R2 server Hyper-V vm's are automatically shutdown.

$
0
0

2012 R2 server Hyper-V vm's are automatically  shutdown. verified the event logs found below examples.

All the events are failover cluster events. Failover Clustering Events: 21502,1155,1069,1205,1146,1230

Hyper-V 2012 Live migration fails with event ID 21502.

Please someone help me out.

Thanks,

Rvs


Get-SCHostNetworkAdapter command is not fetching IP address of host machines

$
0
0

Hi,

IP address is set on Hyper-V host machine. When I try to query it using the following SCVMM command, IPAddress field in the adapters is empty.

 Get-SCHostNetworkAdapter -VMHost $vmRef.VMHost 

Has anyone faced this issue earlier? Is there any way to fix this issue? 

Thanks,

Priya


Priya

Partial checkpoint - unable to merge, unable to take new checkpoints

$
0
0

Hello,

Our backup team is reporting issues backing up two servers.  When checking the servers I am unable to take new checkpoints from either HyperV manager or SCVMM.  From HyperV manager if I go to settings and change the checkpoint type from Production to Standard I am able to take checkpoints, however the backups are still failing.

I'm fairly certain that the issue is related to the fact that even though the VM does not appear to have a checkpoint if I look at the properties of VM it appears that the first disk does not have a checkpoint while the other two do:

Is there a way to force these checkpoints to merge?


Hyper-V core 2019 and AMD Epyc... Working?

$
0
0

I am planning to test install the latest Hyper-V core on a DELL R6415

( 17763.557.190612-0019.rs5_release_svc_refresh_SERVERHYPERCORE_OEM_x64FRE_en-us ) 

I do notice that there is a known issue mentioned with recent DELL EPYC servers, to wit :

"

To install Windows Server 2016 RTM using the operating system (OS) installation media:
  1. Press F2 during the POST to access System Settings and disable Virtualization Technology in the Processor settings.
  2. Install Windows Server 2016 with the OS installation media.
  3. Apply the latest Update Rollup via Windows Update. Windows Server 2016 RTM requires a hotfix (available on June 2017 Update Rollup and later) for a known AMD IOMMU issue. Deployments after Windows Server version 1709 no longer need this hotfix.
  4. Go to System Settings (F2 during the POST) and enable Virtualization Technology in the Processor settings.

"

Is it safe to assume that this is already fixed in 17763.557.190612-0019.rs5_release ??

Has anybody here successfully  installed Hyper-V2019 on an EPYC server?

TIA!

hyperv slow? or win server 2016 slow?

$
0
0

Hi,

I have a new server : supermicro, 16 cores xeon, 64Gb ram, hardware raid-10 ssd disks, 1Gbps nic's.

On it I installed win server 2016 std: one for AD+DNS, one for exchange, file sharing, small database (sybase) and rdp.

Problems:

* installing win updates is very slow (installing cumulative update 08/2019 (cumulative 07/2019 xas already installed) is running for 1 hour now. Any hint to speed this? No bottleneck found in task manager.

* I work in rdp and often rdp connection is frozen for 10 seconds. However, task manager shows network nearly not used, cpu use <10% on host, other computers work fine (no problem with internet connection), ... Any hint?

* from client side, it seems very fast.

Any hint?


Alain Bourgeois



What is causing this slowness

$
0
0

We have Hyper-V running on a 4 server cluster (using Failover Cluster Manager).   Lately we have had a weird problem where one of the virtual machines will start DRAGGING.

If we move the virtual machine to one of the other cluster hosts, the VM will immediately have improved performance.

Note that it doesn't matter which cluster machine we move the VM to.  In fact, we can move it to another cluster host, then move it back, and the performance remains high.  Which tells me, the problem isNOT with the cluster host.  

Suggestions?

Viewing all 8743 articles
Browse latest View live


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