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

Poor IO on fixed VHDX disks 2012 R2

$
0
0

I have a 7 node 2012 R2 Hyper-V cluster (failover cluster) with SCVMM.  The backend storage is a Netapp 2040-2, cluster-mode, and I'm using SMB 3.0 for my storage protocol.  The hosts each have 4 1Gb bonded NICs using LACP and TransportPorts.

When I first setup the cluster, I did some testing from the guests and found that I could write to the storage at or near the speed of the network, 4Gb/s (512MB/s).  This last week, applications started performing slowly and I found that I could now write to the storage at only about 30MB/s.

I checked the storage, network, found no problems or bottlenecks.

Finally, I created a VM directly on the hyper-v host which is has not been added as a resource to the failover cluster and was not created via SCVMM.  This VM can write to the same storage (same volume, share, spindles, etc) at almost 4Gb/s.  I can test simultaneously with any VM on any one of my 7 hyper-v hosts and it continues to have excellent IO performance and the VMs inside the cluster continue to have poor IO performance.

I have run packet traces to try to determine if anything could be wrong with the conversation between hyper-v and the storage, but found no issues.



Slow 10gb 2012 R2 Hyper-V Live Migration

$
0
0

Hello everyone!

I have an issue that I can't figure out and I'm hoping someone can get a new idea or set of eyes on this problem. I'm going to try and be as detailed as possible... but please ask any questions if I left anything out. 

Basically I'm having an issue where i'm not getting the full 10gb transfers (or even close) when doing a Hyper-v move between hosts using 10gb nics. I get 2.5gbps if i'm lucky. These servers are not in production yet and are just being used to test a setup before being rolled out.

I have two similar but not identical Dell Poweredge R910 servers. 

The two hosts have 2012 R2 Datacenter with only the Hyper-V Role installed. All updates, firmware and manufactures drivers applied, down to the bios, nics and raid cards as well.

I have installed one Intel X540-T1 10gbe card in each server in a x8 slot. I have these two cards connected via a straight  RJ45 Cat6 patch cable (no switch, no crossover). The cable is 3ft long. I have hyper-v setup to use this as a live migration network by adding the nics ip's in each host under live migrations. 

Storage is local between each server a mix of 10K Raid10 and Enterprise class SSD disks. When doing disk to disk (same server) transfers of large file I see up to 900MBps on SSD's so i don't think the storage is a bottleneck. 

When I do a live migration move between hosts I get between 2-2.5gbps transfer speeds using this link. 

I ran iperf between the two servers and consistently get between 6-6.5gbps so I know these cards are at least working close to their rated speed. I would have thought these tests should be closer to 10gbps though. 

Not sure how to troubleshoot this. I have changed the nic setting to enable/disable VMQ, I have enabled/disabled jumbo packets as well as a bunch of other nic settings in an attempt to narrow this down. Nothing really seems to speed this connection up. I have also disabled the c states and c1e in the bios and set everything to maximum performance with no change in speed. 

I have tried 3 different patch cables including a non supported 5e patch cable (just to see if the speed degraded) and the speeds stayed the same.

Any help or suggestions would be greatly appreciated.

Thanks!


Is there a way to update all snapshots in a tree?

$
0
0

Hi all,

I'm running Server 2012 R2 and have a VM with about a dozen snapshots under the main "clean" snapshot.  The problem I'm running into is that when I do a monthly check of updates, I have to update each individual snapshot with the new updates.  With a dozen snapshots its annoying more than a real problem, but I'm about to add several more VMs each with the same amount of snapshots and once I do it would go from annoying to intolerable, it would be just to time consuming.

Is there a way to update the base image and have changes to the base image populate down to all the snapshots in the tree below it? 

Thanks!!

Basic Query on Hyper-V Configuration

$
0
0

Hello Friends,

                    I'm new to Hyper-V Concepts. I have one physical Server where I have installed Windows Server 2012 DC OS, now i need to enable the Hyper-V role and I have  a task to install 05 VM's on the hyper-V.

                    Can Someone please help me with the step by step concept of configuring Hyper-V and configuring Network for the Hyper-V and VM etc.

Note: I have 04 Network adapter on the Physical machine. I need internet access for 02 of the 05 VM. Rest of the 03 i need only communication other VM and Physical Host

Windows server not connecting on lan in same subnet

$
0
0

I have one Server having Windows Server 2008 SP1 - Operating System and having hypervisor roles where two virtual machine exist on same machine.

Suddenly it's not connecting over the LAN but existing virtual machines are communicating well on same VLAN network.

I have disable firewall and check all the services but it not coming over the lan again.

need help to comeback this machine on lan.

failed to start worker process: server execution failed

$
0
0

I've been trying to get windows phone 8 emulator working with no luck. This lead me to find out that it's not emulator problem, but hyper-v itself. I installed new VM and when starting it, I'm getting the following error after it attempting to start for about 5 minutes:
"Name" failed to start worker process: Server execution failed (0x80080005)
I've checked cpuid for compatibility with virtualization (vmplayer works ok)

I don't see anything in windows event log, but Hper-V-Worker/Admin log has the following entry:
The Virtual Machine Worker Process has lost its connection to the root\virtualization WMI namespace: General access denied error (0x80070005). As a result, some WMI operations may not function correctly. To correct the problem, try restarting the Windows Management Instrumentation service.

and Hyper-V-VMMS has the same message as above about worker process not starting.

I've tried re-reinstalling hyper-V with no success.

Thanks for any help.

Missing remotefx 3D adapter in Hyper-v Server 2012 R2

$
0
0

I have installed Hyper-V Server 2012 R2 and have installed all the available roles as can be seen in pic2.

I have also installed GPU ATI HD7750 and installed its drivers to the HOST as you can see also in the pic2 below.

Now the problem is that I can't seem to add RemoteFX 3D adapter to my Win 8.1 ENT evaluation VM.

Could someone please guide me in the right direction?

Pic1

http://social.technet.microsoft.com/Forums/getfile/436927

Pic2

http://social.technet.microsoft.com/Forums/getfile/436928


Exporting snapshotted VMs and dynamic memory

$
0
0

We have a production VM which uses dynamic memory. Unfortunately, someone decided to snapshot this machine and now we cannot export the VM using the hyper-v "Export" facility.

Export gives a warning message indicating that VMs and snapshots cannot be imported into Server 2008R2 and that dynamic memory must be turned off prior to exporting. Here's the message:

I can turn off dynamic memory in the main VM but each snapshot has its own setting for dynamic memory. I can see the setting, dynamic memory is on but it is grayed out.

As a backup, I want to export the VM prior to merging the snapshots. How can I do this?

Thanks,

Alan

asmac@outlook.com


Alan MacKenzie asmac@outlook.com


Server 2012r2 - Trunk from virtual Switch to VM

$
0
0

Hello Everyone,

I have the following on a Ws2012r2 Hyper-V host
- Private Virtual Switch
- Ws2012r2 VM with a network adapter configured as Access with VLAN 10
- Ws2012r2 VM with a network adapter configured as Trunk with VLAN 10 and Native VLAN 2

I want the second VM to be able to take the trunk, split its VLANs and communicate with the first one through VLAN 10.

I've verified that using the second VM's NIC as access with VLAN 10, I can communicate (Which means the first VM is configured OK)
But I can't make the Trunk work.

Bellow is the NIC configuration:

In the Hyper-V host:

> Get-VMNetworkAdapterVlan -VMName "TestRouterGen1"
VMName         VMNetworkAdapterName Mode     VlanList
------                 --------------------         ----     --------
TestRouterGen1 Trunk Clientes              Trunk    2,10


I've also tried enabling the (NIC teaming) option in the adapter properties of the VM.

In the Guest VM:

I've created a NIC teaming with the Network Adapter, and then added a secondary interface to the team and specified to use VLAN 10.
But both show up as "Network cable unplugged"

Am I missing something here?
Any help would be greatly appreciated.

Thanks
Ed

HYPER V 2012 R2

$
0
0

I have installed hyper v 2012 R2 on a dell r720XD, When my laptop is connected to the same router I can manage everything. I have a static IP connected to it.

But when I am at home or somewhere, I want to connect to it and manage it. I am simulating a situation since we are sending it to a colo location. NO VPN just a public IP.

At home I can not access disk management and the hyper v manager from my windows 8.

I can do RDP, access services, use mmc for firewall but not disk management and hyper v manager.

I modified the host to list the IP address of the server and the name.

I did the cmdkey, server, name, password

I did the

set-item wsman:\localhost\Client\TrustedHosts -value * -concatenate -force

I did the edit limits allow anonymous logon,

i did these

netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes
 netsh advfirewall firewall set rule group=”File and Printer Sharing” new enable=yes
 netsh advfirewall firewall set rule group=”Remote Service Management” new enable=yes
 netsh advfirewall firewall set rule group=”Performance Logs and Alerts” new enable=yes
Netsh advfirewall firewall set rule group=”Remote Event Log Management” new enable=yes
 Netsh advfirewall firewall set rule group=”Remote Scheduled Tasks Management” new enable=yes
 netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes
 netsh advfirewall firewall set rule group=”Remote Desktop” new enable=yes
 netsh advfirewall firewall set rule group=”Windows Firewall Remote Management” new enable =yes
 netsh advfirewall firewall set rule group=”windows management instrumentation (wmi)” new enable =yes
 net start vds

Is there a setting I missed so I can fully manage my server from another location?


why is copying between host and hyper-v vm so slow - Win 2012 R2?

$
0
0

Hello,

I have a poweredge T610 with a 1GB Cache controller in RAID 50 with 6 fast drives.  I have the cache policy turned on.   If I copy a VHD file on the host from the same volume to the same volume on the host, it copies with an average speed of 700MB/s (starting out around 800 and finishing around 500 keeping at around 750 most of the way).

If I try to copy from the host to a share on a VM (fixed drive 500 GB on the partition - hosted on the same volume that the I got 750MB/s copying from host to the same host) - I get about 75MB/s.     If I try to copy from the VM to the host I also get about 75MB/s average.    If I turn off the windows firewall (I'm not using any other software firewall on the server) I get about 105MB/s on average.       I have the nics on the host and VM in a trunk and I got about the same speed when the Nics were set up as single nics so that didn't change performance much.    I tried turning off IPv4 large send offload - no difference.  I tried just about every single option in the hyperv nic settings - no significant difference.

The host server and the VM are on the same subnet, on the same switch.    It is after hours and there is no backup or any user activity on the network.   I've tried Broadcom and intel server nics with the latest firmware and drivers.

Is there some trick to getting better performance/throughput on the VMs?


Hyper-V cluster: Unable to fail VM over to secondary host

$
0
0

I am working on a Server 2012 Hyper-V Cluster. I am unable to fail my VMs from one node to the other using either LIVE or Quick migration.

A force shutdown of VMHost01 will force a migration to VMHost02. And once we are on VMHost02 we can migrate back to VMHost01, but once that is done we can't move the VMs back to VMHost02 without a force shutdown.

The following error pops up:

Event ID: 21502 The Virtual Machine Management Service failed to establish a connection for a Virtual machine migration with host.... The connection attempt failed because the connected party did not properly respond after a period of time, or the established connection failed because connected host has failed to respond (0X8007274C)

Here's what I noticed:

VMMS.exe is running on VMHost02 however it is not listening on Port 6600. Confirmed this after a reboot by running netstat -a. We have tried setting this service to a delayed start.

I have checked Firewall rules and Anti-Virus exclusions, and they are correct. I have not run the cluster validation test yet, because I'll need to schedule a period of downtime to do so.

We can start/stop the VMMS.exe service just fine and without errors, but I am puzzled as to why it will not listen on Port 6600 anywhere. Anyone have any suggestions on how to troubleshoot this particular issue? 

Thanks,

Tho H. Le


Virtual Machine Loses Network when Unchecking 'Enable Virtual Machine Queue'

$
0
0
Hi all, interesting situation I discovered today. I built a three node 2012 R2 hyper-v cluster and set up a teamed nic and enabled virtual machine queue on the nics. After that, I set up the base and maxprocessors on the teamed nics just like you're supposed to that allow the virtual machine queues to be assigned to the different processors. I set up about 10 virtual machines after that and everything is working just like it should. Then I remembered that there is a limited number of virtual machine queues and each virtual machine has the virtual machine queue option set to enabled by default.  So I shut off a virtual machine, brought up settings, opened up the Hardware Acceleration options under the Network adapter and unchecked "Enable Virtual Machine Queue" and restarted the virtual machine. I no longer had network connectivity. As soon as I 'Enabled Virtual Machine Queue' in settings, the network connectivity would come back.  It's not supposed to work like this, is it? It does this for every virtual machine I have. Anybody know why this is?  Any feedback appreciated.

Adjusting chunk size for virtual harddisks

$
0
0

My data partition with VHD images is constantly run out of space. So I decided to repartition the drive in the next days. While doing that, I will redo most or all images files to sparsify the data inside the guest. There is one issue:

To reduce the amount of space needed on the host I want to reduce the "allocation chunk size" for (dynamically expanding/ sparse) virtual harddisks. Its my understanding that if a guest is writing to a filesystem block the host does actually allocate more than the "guest block size". For example, if a guest ext3 filesystem has blocksize 4K and it writes to block #123, the host will not just allocate space for this singe 4K block at offset #123. It may allocate a much larger chunk in case the guest attempts also to write ti #124. And so on.

A few months ago I read somewhere that this "allocation chunk size" can be adjusted. Either when the VHD image is created, or globally for all images. It was done with some powershell cmd AFAIK.

For my purpose I want to reduce it to a minimum, even if it comes with some performance cost.

How can this property be adjusted?

Thanks.

Olaf

What software i need for creating a virtual image using Hyper-V

$
0
0

<label class="description" id="description1">I have MSDN license. What software i need to download to make a virtual image using Hyper-V?</label>

<label class="description" id="description1">Microsoft Hyper-V Server 2012 R2 (x64)</label>

<label class="description" id="description1"></label>

<label class="description" id="description1">i installed virtual images on Hyper-V in the past. But never made a virtual image.</label>

<label class="description" id="description1">How i make a virtual image using Hyper-V?</label>

<label class="description" id="description1">Hyper-V and VMWare are same tool from different vendor?</label>


Virtual Image

$
0
0

I need to to make a virtual image.

Virtual image should have Windows 7, Visual Studio 2010 and SQL Server 2008.

What software i should use?. Hyper-V or VMWare? Which is easy?

Can you please post step on, how to make virtual image using Hyper-V or VMWare.

Thanks


Hyper-V Replica: seperating HRL and VHDX Files to different harddisks

$
0
0

Is it somehow possible on Windows 2012 R2 Hyper-V Replica to seperate VHDX Files and HRL Files to seperate harddisks? As far as I can see, with Hyper-V replica write i/o is duplicated. It would be beneficial to split this to seperate physical harddisks to avoid the penalty.

Regards,

Martin

How do I get RDP Access to Hyper-V host when DC and DHCP server is down and is a VM on that host.

$
0
0

My host machine is a Windows Server 2012 running SBS 2008 as a VM.

How can I configure a Hyper-V environment to allow me to RDP into the Hyper-V host in order to start individual VM's.

It seems that without the DC running (which happens to be a VM on the same host) the host does not have an IP address that I can RDP to. I also cannot assign it a static IP.

With the VM DC running I can RDP into that and then RDP from that to the Hyper-V host but I would like to be able to have the ability to access all VM's and be able to start and stop them as required, remotely.

backup disk image file

$
0
0

i have backup disk image file.

Can i create a virtual image from backup disk image file?

backup disk image file

backup disk image file


HyperV Replication

$
0
0

I have a 2 server cluster, FiberChannel DAS.  Less than 3 TB total data on CSV, so NOT a huge shop.  2 HyperV hosts with 8 total VM's, 4 running on each server.  HyperV host at remote site for VM replication.  No known issues with setup or configuration.  I am at this time only replicating 3 VM's.  We had to remove the replica host from the datacenter because the cost of data overages was going to get me fired.  We were seeing almost 3 TB data a month.  Opened TechNet support ticket and were not able to find any issues to explain the inordinate SIZE of data being moved.

I know that from time to time the VM's are resynchronizing instead of simply replicating, but I don't know why this is happening and I don't think it explains everything.  At this point i'm wondering how many people are using HyperV to replicate to an off-site server??

With the bare minimum 3 servers I am currently replicating I see 40 to 80 GB of data a day.  Over the course of the last 2 weeks the average amount of data pushed to this server is 58 GB per day, which runs in the neighborhood of 1.8 TB per month.

Industry software package with SQL backend and front end server.  FE have very little config and rarely changes.  The main db is roughly 300 GB in size.

The 3rd VM being replicated is a sharepoint server, again, small shop with about 70 employees, this server changes very little.

As I mentioned, the MS HyperV support team crawled all over my servers and declared my configuration to be correct.

Anyone else see this kind of volume on replication traffic?

Viewing all 19461 articles
Browse latest View live




Latest Images