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

Hyper-V 2012 - Guest Virtual Machines Comms at Layer 2 - High TCP Retramissions

0
0

Hi All,

Currently have 10 Hyper-V Hosts, all running on Cisco C220-M3 server.  Virtual Machines running Server 2008R2/2012 on traditional layer 2 network are having high TCP retransmission rates between VMs across the hosts. (Keep in mind their is no Layer 3 involved here).   Switching fabric is a Nexus 7k, each host having 2 x 10G uplinks for VM traffic, and 2 x 10Gbps for SMB traffic.   We are currently experiencing excessive TCP retransmission at the VM Guest layer, Most testing has been around the Server 2008R2 SP1 VM's.    vSwitch is configured for switch independent mode.   Things to note is, that its not related to high throughput on the interface, in fact its quite low approx. 10Mbps average.

Wondering if anyone else is having any experience like this in their environment around TCP retransmissions.  Adapters do have Absolute Bandwidth control with upper level set to 1Gbps.


Get up to Speed and down to Business with Hyper-V

0
0

Hello everybody,

My name is Wilsterman Fernandes, I am an expert on Hyper-V and System Center Operations Manager.

I am starting this topic to offer me to help you to leverage your virtual environment using Microsoft Hyper-V.

I can help in the following directions:

  • Hardware architecture;
  • Storage Architecture;
  • Best practices,
  • Migration;
  • Disaster recovery environments;
  • High Availability.

I currently live in Dublin - Ireland.

In Brazil I was responsible for large physical server consolidation projects to virtual. With a vast knowledge on the product, I received the title of Top 30 expert Hyper-V from Microsoft.

I would like to help everyone to leverage their projects with Microsoft Hyper-V, System Center, Active Directory, the entire network infrastructure.

Throughout my carreer, I won some Microsoft titles.

If you have any questions, contact me via email: wilstermanfernandes@outlook.com

I am available to help everyone.

Thank you!


Wilsterman Fernandes

Copy Cluster Roles

0
0

Hello everyone,

Using the "Copy Cluster Roles"-Wizard I'd like to migrate some VMs from one cluster to the other.
I did that quite often, but here comes the question:

Is it possible to use that wizard to migrate VMs from a cluster in domain A to a cluster in domain B, without having a trust relationship?

Best Regards,
Jens


jensit.wordpress.com

Server 2012 Virtual Machine BSOD after hardware crash - 4 times

0
0

I have now had 4 Server 2012 VMs fail to boot after a hardware failure in the cluster, requiring the servers to be rebuilt. This has happened in a span of 2 months since we started deploying this configuration and using Server 2012.

This has happened at 3 different locations, meaning it is NOT tied to a specific SAN, switch, or server.
-The first and second failures was when the Hyper-v servers both BSOD at the same time, causing the guests to die. BSOD was due to a network driver issue, and both systems receiving the same bad packet.
-The third failure was in our lab as we were building the cluster prior to production deployment. We had a power outage that killed the SAN, but left the storage and switch running.
-The fourth failure was when we had the switch doing iSCSI reboot on us. None of the Server 2008 machines were effected, but 1 of our 2012 Domain Controllers BSOD and needed to be rebuilt from scratch.

Here's the hardware setup for each location. I have this setup in 15+ locations, the problem has happened in different locations, so it is not specific to one location's hardware.

-2 Cisco UCS servers running Server 2012 Datacenter with Hyper-V in a cluster.
-Nimble storage array for iSCSI volumes.
-HP switch for iSCSI backbone.
-All hardware and drivers are being updated at the time of the build.

The dead systems all share these things:
-Running Server 2012 standard
-Domain controller
-created from the same template VHDX file

At this point I have no faith that any VM will survive any sort of hardware crash or power outage. I can see it occasionally causing a VM to not boot after a crash, but we've had 5 system crashes, and of those 5, 4 of them have caused me to rebuild a Server 2012 guest VM. That's an 80% failure rate.

Anyone else experiencing this level of failure?

I've been doing iSCSI VMs on VMware for 6+ years, seen countless crashes, and never had to rebuild a VM because of it. This is my first go at hyper-v. I'm not trying to bash it and say VMware is better, I'm just amazed at what I'm seeing, as it's not expected.

I've followed all the guidelines of MS and the storage vendor for iSCSI configuration. The problem doesn't appear to be storage related though. The VM will boot, so the VHDx file is not corrupt,it just seems that Server 2012 as a VM is not very crash resilient.

I have some systems in the lab now getting ready to ship, I am going to see if I can BSOD a Server 2012 guest running on local storage.

Retaining processorid after a live migration

0
0

Dear all,

I have some legacy software with a license that is tied to a combination of network MAC Address and ProcessorID on the physical hardware. The current server requires urgent replacement and the software vendor is no longer in existence, thus I cannot get a regenerated license key. I have been able to set the VMhost's MAC address to that of the old server with a spoofed MAC address.

I want to be able to spoof the output of a CPUID request from within a Hyper-V host such that it returns the value of the old hosts processor serial number. I've experimented with using Processor Compatibility mode but this only masks some processor feature sets, but not the actual serial number.

ie. a 'wmic cpu get processorid' does not change when Hyper-V processor Compatibility mode is utilised.

Googling this issue, I can see that there is a way to spoof the CPUID in VMWare as follows:

http://vknowledge.net/2014/04/17/how-to-fake-a-vms-guest-os-cpuid/

Can anyone enlighten me on how I might achieve a similar result in Hyper-V?

Thanks in advance,

Mike Squirrell

Dynamic Memory is not working all the time

0
0

We are in the process off moving our 2008R2 VM's from the 2008R2 HyperV servers to new Server 2012R2 Hosts.

We shut down the VM's copy the files and VHD's to the new CSV's en import the VM in the Hyperv Manager. Then we make them high available in the Failover Cluster Manager (Configure role - Virtual machine). We mount the integration tools and update the VM to version 6.3.9600.16384

For a specific type of VM (mostly RDS Host servers) we always had Dynamic Memory configured (when they were hosted on de 2008R2 platform), so we are using the same settings on the 2012r2 platform. The memory settings were;

Startup memory: 1024 MB

Minimum memory: 1024 MB

Maximum memory: 12288 MB

These VM's reboot every morning, this is done for specific reasons. But now once in a while (once per week/2 weeks) we notice that the VM's are not using more memory then 1024 MB while the demand is much higher. Rebooting the server helps most of the times, live migrating to another host also helps. In the VM we see that memory usage in the taskmanager is 99-100%, and after the move it immediately starts using more than the minimum configured amount.

Until the failover the memory usage was 1024 MB and it did not get any higher.

This happened several times. Last week we changed the Memory configuration to:

Startup memory : 2048 MB

Minimum memory: 2048 MB

Maximum memory: 12288 MB

But this morning we had a call about the performance of one of the VM's, We saw that it was only using 2 GB memory while the demand was much higher. After live migrating it to another host it started using more memory immediately.

The 2012R2 hosts are not overcommited, there is a lot of memory still available for the VM's. Those VM's never had this problem on the 2008R2 Hyperv platform.

Any idea why this happens?

Peter Camps


Node x.x.com holds the SCSI PR on Test Disk 4 and brought the disk online, but failed in its attempt to write file data to partition table entry 1. The disk structure is corrupted and unreadable

0
0

i have the following windows 2012 r2 setup:

Hv1 - hyper-v installed with failover clustering on SAS- hosting virtual DC on SAN

hv2 - Hyper-v installed with FC + DC on sas

hv3 Hyper v + FC on SAS

When running the failover clustering wizard i get the following on each node:

"Node x.x.com holds the SCSI PR on Test Disk 4 and brought the disk online, but failed in its attempt to write file data to partition table entry 1. The disk structure is corrupted and unreadable."

Any ideas please?

Add storage to a cluster for Hyper-V guest

0
0

Hi,

I am in the process of studying for the 70-417 exam and I am trying to work my way through the labs but I have come across a stumbling block and could do with some help if possible?

I have a Windows 2012 Server running Hyper-V and I am running all my labs on Guest VM's hosted on this server.

I have set up a few DC's and a couple of nodes for a two node cluster but I cannot work out how to make storage available to my cluster. I have tried adding extrad disks to my cluster nodes but still cannot get them to be seen when I run failove clustering.

What am I doing wrong? Will this not work with this setup?

Thanks,

Anthony


he service principal names (SPNs) of x.x.com could not be determined because of this error: The specified domain either does not exist or could not be contacted

0
0

Hi i have the following windows 2012 r2 setup

Hv1 - hyper-v installed with failover clustering on SAS- hosting virtual DC on SAN

hv2 - Hyper-v installed with FC + DC on sas hv3 Hyper v + FC on SAS

When running the failover validation wizard i get the following message for all 3 nodes HV1 , Hv2 , hv3?

"The service principal names (SPNs) of x.x.com could not be determined because of this error: The specified domain either does not exist or could not be contacted"

Any help appreciated as always

Many Thanks

Can I connect my VMs to shares on local subnet with an internal switch?

0
0

Hi,

I have a windows 8.1 PC on a server 2008 R2 domain (all real/physical machines)

I'm trying to set up a "test lab" on my PC and I've created an internal network switch and a few VMs including a 2008 R2 Server Domain Controller with DHCP, DNS and “Active Directory Domain Services” with a new test domain.

I created an internal virtual network switch as I was worried if I choose external then the virtual DC could mess things up for my real domain (e.g. DNS or DHCP)

However I would now like my VMs to be able to access resources e.g. network shares on the physical domain. Internet would also be nice but not essential.

Is this possible with an internal switch?

If not i.e. I need to use external switch are there any gotchas I need to be aware of?

E.g. one problem I had initially was internet access on my real windows 8.1 machine stopped working. I found that it was trying to use the DNS from the virtual network (from vEthernet (Internal)). I fixed this by manually editing TCP/IP props to set DNS 8.8.8.8 and 8.8.4.4.

Thanks

Hyper V - Windows 2012 - Integration Services Version Numbers

0
0
Please can anyone confirm if there is online resource available detailing the version numbers and compatibility etc of all iterations of the Hyper V Integration Services components?

Management NIC Team Issues on Startup

0
0

Hello,

since quite some time I got an issue with one of our 2012 R2 Hyper-V Hosts.

Once the server restarts, the management nic shows up as unidentified insteaddomain.com, which leaves me unable to connect via RDP.
In order to resolve, I need to connect locally and disable/enable the management nic.

Connectivity to Domain Controllers is given. My guess would be that it's a bug in 2012 R2.

Any ideas how to resolve that?

Thanks,
Jens


jensit.wordpress.com

Hyper-V 2012 R2 new VM with ISO in DVD boot failed - default SCSI not IDE

0
0

Hi, have created some VMs fine on 2008R2 and 2012 Hyper-V but now onto 2012 R2, am using the Gen 2 VM and hitting install error when booting them from the 2012R2 RTM .ISO (downloaded straight from Technet) loaded into virtual DVD:


I see from http://social.technet.microsoft.com/Forums/windowsserver/en-US/53f901e4-5bd0-4e13-80a2-bca2f57b15e9/hyperv-unable-to-boot-from-cd-or-iso-in-vm-machine?forum=winserverhyperv that Hyper-V seems unable to boot from a synthetic SCSI until guest OS actually installed - so Catch-22! But I can't add an IDE Controller because it's not on the list:

I tried the Integration Services and it seems fine on the Settings (including ticking the only one unticked - Guest Services) although if you need to run them from the DVD, it has the same problem - you can see them loaded (or the Win2012R2 ISO) in the DVD Media but you can't make them run through booting on SCSI!

The physical drives are SATA not SCSI but presumably no matter as Hyper-V runs SCSI virtually, but why does Hyper-V default to SCSI and how do I get the DVD to run off an IDE instead if that is the way to install a base OS from .ISO? Or is there an easier way than all this?

TIA, Phil.

Unable to see previous VM name in DPM Protection Group in Online State.

0
0
Hi,

Suppose i am having the VM named as VM_XYZ hosted on Hyper-V. I took the backup of .vhd file related to XYZ machine into the external drive and then i created the new VM into the same Hyper-V named asVM_XYZ-NEW with the same configuration and setting, after that i used to attached the .vhd file of  previous (VM_XYZ) vm to new name(VM_XYZ-NEW) vm.

In between i deleted the previous VM (VM_XYZ)from Hyper-V because it does not have it .vhd file.

Now in our environment  DPM (Data Protection Manager ) is responsible to take the backup of all the VM to Tape Library. In Past
we created the Protection Group and added all the machines into it.Previously DPM is taking the backup of  all the virtual machines includingVM_XYZ  smoothly . we added this new VM into VM_XYZ-NEW into that protection group and DPM is taking the backup smoothly.

But i need to change the VM name as its previous one (i.e VM_XYZ), when i m going to do this DPM does not showing my virtual machine  in protection group intoONLINE state, it is showing in OFFLINE state. It too important to change the name of my VM from previous to new one (i.e VM_XYZ-NEW to VM_XYZ).

What will i do to eradicate this issue.??? Please suggest.


 

Hyper V server can not be accessed via RDP directly

0
0

Our Hyper V server is not accessible via RDP from the domain admin credentials. But i was able to have RDP access when i tried with LOCAL ADMIN credentials. Here are the observations.

1. We had to face an unexpected power failure and the hyper V server went  down. We are experiencing this issue after that incident.

2. Hyper-V server is in the domain without any problem.

3. I have checked the RDP allowed user list. (Domain admin group is available)

4. Previously it was working without any problem.

It would be great if someone can guide me to troubleshoot this issue.


Failed to get the disk information

0
0

Hello,

I'm getting the following error message on a Hyper-V server:


Log: Microsoft-Windows-Hyper-V-VMMS-Admin
Type: Error
Event: 15268
Agent Time: 2014-06-06 09:51:01Z
Event Time: 07:50:19 AM 6-Jun-2014 UTC
Source: Microsoft-Windows-Hyper-V-VMMS
Category: None
Username: SYSTEM
Computer: SERVER.domain.lan
Description: Failed to get the disk information.

I can't find any information regarding this error message/ID. Is there anyone who received the same error message once?

Kind regards,

Rense Hartog

DPC_Watchdog_Violation - Transferring files through Hyper-V switch on Host Server (NOT Teamed)

0
0

I've recently replaced a PERC H310 RAID controller with a PERC H710p RAID controller on a Dell PowerEdge R820 running Windows Server 2012 R2 and started experiencing this problem. Everything I've investigated so far doesn't point to this being the issue, but wanted to mention it in case someone encountered something similar.

We were having terrible disk performance until the RAID card was swapped out, and as a precaution I moved all existing VMs off of this Hyper-V host server. Once everything was back up and running, I began a live migration back to the affected host server and it blue screened. Tried again and same result. I then tried copying the VM images manually through a UNC share and hit the same problem. It doesn't always happen at the same time during the copy. I've had blue screens happen 4-5 GB into a transfer, and 200 GB into a transfer.

I've updated the RAID controller driver and firmware to the latest available from Dell, and have installed the latest BIOS and chipset driver. The server has Broadcom 5720 series NICs, updated with the latest drivers and firmware provided by Dell. All Windows/Microsoft updates have been applied.

After all these firmware/driver updates the blue screens still kept occurring during network transfers. All the minidumps show a 0x133 DPC_watchdog_violation error, where the DPC time allotment is 500 ticks and the blue screens happening at 501 ticks. Running the minidumps through Windows Debugger pointed to tcpip.sys, netio.sys, and vmswitch.sys initially. Since tcpip.sys and netio.sys aren't typically the issue, I looked around for anything related to vmswitch.sys being the problem.

I disabled the Hyper-V vSwitch in the OS and did a transfer 100% successfully, with the traffic running through the same NIC the vSwitch was configured to use. Once I re-enabled the vSwitch and transferred more files......the blue screen came back.

In researching, I found reports of this issue when a Hyper-V host was using NIC Teaming. We don't have any of the NICs on this server teamed, but I figured it wouldn't hurt to apply the latest hotfix that addressed the issue.3031598 - even after applying it I was getting more bluescreens. I couldn't find a way to use the updated vmswitch.sys that came with the hotfix (6.3.9600.17714); I tried deleting and recreating the vSwitch, but the old driver (6.3.9600.16384) is what gets applied and searching the OS for an updated driver doesn't turn up anything. I also can't find any info online about manually updating the driver after applying a hotfix.

I'm fairly certain vmswitch.sys is the issue, but I don't know where to go from here. Are there any NIC or vSwitch settings I can adjust to help with this? Has anyone encountered a similar issue? Can anyone lend a hand in diagnosing this issue? I found some good resources on debugging and troubleshooting this issue further (2 URLs below), but this has gone from "this is a good learning experience" to "this needs to get done" in the few weeks I've been troubleshooting.

http://blogs.msdn.com/b/ntdebugging/archive/2012/12/07/determining-the-source-of-bug-check-0x133-dpc-watchdog-violation-errors-on-windows-server-2012.aspx

http://blogs.msdn.com/b/ntdebugging/archive/2009/12/11/test.aspx

All the minidump's from every time this has happened can be viewed here: http://1drv.ms/1R6CfAO.

Here are all the suspects from those minidumps:

Probably caused by : vmswitch.sys ( vmswitch!VmsPlcApplyPolicy+26d )
Probably caused by : vmswitch.sys ( vmswitch!VmsPlcApplyPolicy+1da )
Probably caused by : NETIO.SYS ( NETIO!ProcessCallout+772 )
Probably caused by : tcpip.sys ( tcpip!TcpTcbReceive+d9 )
Probably caused by : vmswitch.sys ( vmswitch!VmsRouterForwardPackets+27a )
Probably caused by : NETIO.SYS ( NETIO!NetioAllocateAndReferenceCopyNetBufferListEx+4c )
Probably caused by : tcpip.sys ( tcpip!TcpValidateReceive+14 )
Probably caused by : klim6.sys ( klim6+3013 )
Probably caused by : vmswitch.sys ( vmswitch!VmsPtNicPvtPacketRouted+cf )
Probably caused by : NETIO.SYS ( NETIO!NetioAllocateAndReferenceCopyNetBufferListEx+7 )
Probably caused by : vmswitch.sys ( vmswitch!VmsMpNicPvtPacketForward+184 )
Probably caused by : tcpip.sys ( tcpip!Ipv4pFragmentPacketHelper+6d1 )
Probably caused by : ntkrnlmp.exe ( nt! ?? ::FNODOBFM::`string'+ad68 )
Probably caused by : ntkrnlmp.exe ( nt! ?? ::FNODOBFM::`string'+ad68 )
Probably caused by : tcpip.sys ( tcpip!InetInspectReceiveTcpDatagram+b0 )
Probably caused by : vmswitch.sys ( vmswitch!VmsRouterForwardPackets+1f3 )
Probably caused by : tcpip.sys ( tcpip!TcpTcbFastDatagram+1150 )





Hyper-v host backup

0
0

Hi,

We are having 4 Hyper-V Servers with Windows 2012 Datacenter. Taking weekly backup's of VM on a remote server through Veeam Backup & Replication.

Is there any way to backup Hyper-V host configuration which later can be used in case of server failure, re-installation or RAID controller failure.

Changing MTU with HV 2012 R2 VMs

0
0

Hi 

We changed the MTU from 1500 to 1472 with HV VMs. We doubt whether need to change the MTU with HV host server NICs as well. If needed please help on the steps that we need to follow on interface as well on team 

Thanks in advance


LMS

Passing credentials to VMConnect?

0
0

All,

I am tasked with developing a solution for a test automation solution on a Hyper-V platform.  The automated tests require the ability to to run tests that interact with the desktop of the VM.  These tests will run as part of the nightly build and deployment and as such there will not be individuals present to unlock/tend to the VM's.  My intent is to establish a VMConnect 'host' that will run some type of script on startup to launch VMConnect sessions to X number of VM's, login to a domain account and be ready to run these UI based automated tests.

Does anyone know this if this is possible with VMConnect or is this something that would need to be implemented via group policy on the VM's?  

Also, slightly off topic but I am having difficulties making a VMConnect connection when running via command line, running the app manually works great but when I run via command line I get this:

Hyper-V cannot find a virtual machine with the name '<machinename>'.  Verify that your user account has permission to access virtual machines.  Or use Run as Administrator and try again.

I've tried running from an administrator command prompt and using the runas command with the same results.

Any ideas?

Viewing all 19461 articles
Browse latest View live




Latest Images