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

Slow Guest IO in 2008 R2 Hyper-V

0
0

We have recently virtualized 2 Server 2003 machines onto a Server 2008 R2 Hyper-V installation.  The first one runs pretty well.  It's a terminal server with about 20 users logged in.  Performance is adequate although I wish it were faster.  Users claim it is slower than their old box even though that one was nearing 10 years old.  The second box is the domain controller that also handles Exchange and their database.  It runs HORRIFICALLY slow.  I think I've narrowed it down to the disk IO.

I know disk IO is the weak spot for VMs but what I'm seeing is beyond the pale.  On the Terminal server we get roughly ~22MB/s of transfer speed copying a 1GB file from/to the same disk.  Not very quick but it gets the job done.  (It's probably also why users feel it's slower)  On the DC it gets ~4MB/s.  I've checked everything I can think of.  The IDE channels are in DMA Mode 2 on both Vms.  I'd expect it higher but it's not as if it is in PIO mode.  When copying files I can see the Disk Queue Length spike up to around 30 (which seems a bit excessive).  The MSDN library shows to use the Performance Monirot and check \Logical Disk\Avg Sec\Read and \Logical Disk\Avg Sec\Write.  1ms-15ms should be healthy.  I show a maximum of under 1 so that's fine.  I've defragged (because it was heavily fragmented) and although it did help in accessing existing files (moving the needle from impossible to horrible), copying and creating are still the same.  Integration services are installed.  Device Manager shows no issues.  There are 2 VHDs connected.  Each is a fixed size.  No errors in the event log.  Chkdsk is clean.

It also doesn't matter if I shut down either VM.  It doesn't speed the other one up.  In fact, I can do all-out 10GB copies inside of the each VM at the same time and still copy files in the host at over 200MB/s both read and write while that is going on.  These are 4 drives in RAID 6 that top out at over 300MB/s in both read and write in the host.

Any advice would be great.  Thanks!


Hyper-V 2012 R2 VM CPU utilization

0
0

So I had a couple of VM's on a Windows Server 2012 R2 Datacenter machine and one of them is a Remote Desktop Session Host server with a few users using various programs.

I ran into an issue were the RDSH server's CPU usage would jump to 99% for no apparent reason. As I started to investigate the problem it appeared to be related to a process under one of the users sessions. I killed the process such as Internet Explorer and the problem would go away for a while then it would happen again. I started to wonder if it was a website that was trying to exploit Internet Explorer but it didn't appear to be the case. I then started to look at everything from the VM to the Hyper-V server and it turned out to be some type of CPU resource contention occurring between a process running on the Hyper-V OS and a Internet Explorer CPU hungry session on the VM.

I ended up moving the process to a different server and I no longer have the problem but I wanted to post it just in case anyone else experiences this.

Multiple TAP Adapters, what's creating them?

0
0

I have 2 Hyper-V hosts running Server 2012 R2 Datacenter.

On each VM I'm noticing multiple TAP adapters ranging from 1 to as many as 7.
I'm having difficulty figuring out what is creating these adapters. Can anyone point me in the right direction?


Firewall rules on laptop apparently can't allow Xdebug (TCP port 9000)

0
0

I have a Linux webserver in a local Hyper-V VM with xdebug enabled, which uses TCP port 9000 to connect to Eclipse on the Hyper-V host,  for PHP debugging. The VM connects through a Hyper-v internal switch and I am sharing my host network with this switch. Thus, the VM connects from a unknown or public network.

I can only get a connection from the VM on port 9000 to the Hyper-V host, when the Windows firewall is disabled. I tried creating a firewall rule to allow this specific port, or one which allows all traffic, it didn't help. My firewall rules for Ping and SMB network shares work fine between these two for example.

This issue only occurs on my laptop and my PC using the same configuration works fine.




hyper-v 2012 with system center 2012

0
0

We are going to set-up data center design and we are thinking of using Hyper-v as a solution for high availability and disaster recovery set-up. We want to use the hyper-2012 and system center 2012 to set-up data center design. Could anyone please help or suggest or anyone has any design ready with them that would be very beneficial.

thanks,

Steve

Hyper-V encountered an error during the import operation (Hyper-V 2012 R2)

0
0

I'm trying to import Hyper-V 2008 (without R2) VM to Hyper-V 2012 R2 host.

This error occured:

"Hyper-V encountered an error during the import operation.

'VM' failed to realize.

Failed to upgrade the VM version of the virtual machine 'VM'.

The VM version is not supported"

P-2-V HyperV 2012 R2

0
0

Not sure if this is a VMM 2012 R2 or Hyper V 2012 R2 post but here goes.

We want to P-2-V a number of servers to a new Hyper V 2012 R2 Cluster (with VMM 2012 R2 looking after it all). We all know that Microsoft (in their wisdom) have removed the P-2-V feature in the R2 version of VMM (well done! - not). Their official workaround is to use the 2012 version and then migrate that to 2012 R2! But VMM 2012 will only 'talk' to Hyper V 2012, so you have to create a whole environment to do this! Mad...

Has anyone dealt with this in their environment? Does anyone have any recommendations for inexpensive tools to achieve this? I should say that this needs to be completed in live environment so that we can then just flick over from the physical source to the virtual 'clone' one evening with no real downtime.

Thanks for any feedback.


Phil

SAN Storage Migration with Hyper-V 2008 R2 CSV

0
0

Dears

Our customer has configured 2 node Hyper-V Cluster with CSV   connected to an Old SAN Storage The Host Operating System is Windows 2008 R2.

We are planning to migrate the data from the old storage to the new storage. ( Both Storage boxes are connected via Fiber)

With regard to the Migration can we do  the below if so please provide some guidelines related to the Hyper-V queries.

(We are trying to avoid the Storage based migration)

- Connect the new storage   to the servers

- Create the LUN same as in the old storage and assign it to the servers

- Create a new CSV  and point it to the new luns in the Failover Cluster Manager

- Use the export/import function to move the VM's from the new storage to the old storage

- Once all the vm's are moved create a new LUN for the quorum and re-configure the cluster to use the new quorum

Are the above steps will perform a error-free migration if so

- Can we delete the old CSV and dismount the old storage at this stage.

Also these VM's (Exchange and SQL) has seperate LUN's assigned for the Exchange and SQL data , Does these data will be exported when we use the export/import feature of the Hyper-V to migrate the virtual machine

Your Valuable response in this regard is highly appreciated.

Regards

Muralee


Large VHD being detected as 136.8GB in VM

0
0
I created a 600GB dynamic VHD and am using clonezilla to migrate my data to it.  In clonezilla it only sees the VHD as 136.8GB so I cannot restore my data to it.  Is this just a limitation of dynamic VHDs?

Virtual Machine Management service isn't running - Unknown Error

0
0

Hello , i am dealing this problem .

When i click start service i get this error message 

Previously i was able to start a windows phone emulator.

I just deactivated hyper-v so i could run vmware and then reactivated it and this error occured.

Hyper-V 2012 - Installed a 2012 Machine - Crashes every hour

0
0

Hi,

Server 2012 in Hyper-v 2012 is crashing each hour.

  1. expanded memory and CPU's.
  2. Did not find anything in event log.

Any suggestions.

Thanks

Hyper-V 2012 Breaks Ubuntu 10 and 11

0
0

Hi All,

With Hyper-V 2008 R2 installing Ubuntu 10.10, 11.04 and 11.10 used to work with no issues. The synthetic network driver worked and was stable.

However, we recently upgraded to a Hyper-V 2012 environment. Upon moving the exsting Ubuntu VMs (versions above) all kernel panic if the Synthetic NIC is loaded. If the legacy NIC is loaded the performance is appalling (pinging local gateway at over 2000ms).

A fresh install of those OSs also fails, with a kernel panic as soon as you include the synthetic network adapter in the VM profile. The legacy network adapter misbehaves on all of them and is not usable in production.

Note that Ubuntu 12 and 13 both work 100% fine on both Hyper-V 2008 R2 and Hyper-V 2012.

Ubuntu 10.10, 11.04, 11.10 work 100% fine on Hyper-V 2008 R2, but not on Hyper-V 2012.

We have some clients who need to run Ubuntu 10 or 11 and we have no way of continuing to provide them services using Hyper-V. Does anyone have a solution for this (please only answer if you have a tested solution, we run hundreds of VMs across many operating systems in clustered and non-clustered environments, so we know what we are doing)?

Thanks,

- Will

Restore the VM from DPM Backup

0
0

Dear All,

i have a scenario here, we have widnows server 2008 r2 with HYPER Role enabled. the server configured via RAID 5, suddenly two HDD faileda and we are gonna replace. we have backup of VM (DPM 2010), Please guide me how to restore the virtual machines from Backup.. Please let me know ASAP its its production environment.


Thanks, Venkatesh. "Hardwork Never Fails"

Hyper-V 0x00002EFE error workaround in Certificate based replication

0
0

Situation: 2 servers as standalone Hyper-V hosts (workgroup, not domain joined). One is Windows Server 2012, the other Windows Server 2012 R2. Both Datacenter edition. Successfully established Hyper-V Replication using Certificate authentication on Port 443. Had to build a PKI infrastructure, itself a useful learning process. Replication works fine for existing VMs.

Problem: Whenever I tried to enable replication for a new VM, I continually got the dreaded 0x00002EFE error: "Hyper-V failed to enable replication for virtual machine ' VM Name': The connection with the server was terminated abnormally (0x00002EFE)." Was using the GUI most of the time.

Existing machines continue to replicate just fine. Failover test worked on one of them. Just couldn't replicate the new VM, which was the last one to do before upgrading the old 2012 server to R2.

Diagnosis: Read all articles so far. Double check all settings, certificates, CRL distribution points, Event Logs. Nothing found. Capture network traffic with Network Monitor 3.4. Found one packet where the 2012 R2 replica server was sending a TCP RESET in response to SSL Client Hello for SSL handshake for new replica request.

Analysis: Started to get suspicious about the server certificates when I noticed the GUI was always converting the server hostname to a FQDN by adding a domain name. Both servers were registered in an internal AD based DNS server even though they are not domain joined. Checked the certificates again and confirmed they both only had single level names (I thought I had generated SAN certificates, but not so). The GUI would not let me use a single level name any more, although it used it to set the earlier replicas up.

Solution: Used PowerShell and specified a single level server name that was on the certificate. Sequence is:

cd cert:\localmachine\my
dir | FL
<manually copy Thumbrint data 97531ABCDEF2468DE7434767DDEEFF22567C521E

Enable-VMReplication <VMName> -ReplicaServerName ReplicaR2 -AuthenticationType Certificate -CertificateThumbprint 97531ABCDEF2468DE7434767DDEEFF22567C521E -ReplicaServerPort 443
Start-VMInitialReplication <VMName>

TIPS:

1: Hyper-V Certificate Replication REQUIRES access to a CDP for any internally generated certificates. Simply omitting one in the certificate generation process is not enough, you have to supply a reachable CDP.

2: Include all names that your servers can have in the certificates you generate, both single level and fqdn. I was using http://blogs.technet.com/b/virtualization/archive/2012/07/02/requesting-certificates-for-hyper-v-replica-from-cas.aspx as a guide and trying to modify it to generate a SAN certificate using a dedicated Microsoft CA machine. Still got to get that bit right.


 

Cannot connect to the RPC service on computer 'Computer Name'. Make sure your RPC service is running.

0
0

Hello,

So I just configured and set up a new physical server that is running Windows Server 2008 R2 and is joined to a domain.  When I try connecting to the server on Hyper-V Manager from another server I receive the error above.  I am able to connect to other servers from Hyper-V Manager on that new server and I'm also able to remote desktop connect to the new server.  I've seen a plethora of different approaches to resolve this issue but maybe I can pinpoint my exact issue more precisely over this thread.  Any assistance on this issue would be greatly appreciated!

Thank you very much!


The process cannot access the file because it is being used by another process

0
0

Hi ,

I found the below warning in the event log for Hyper-V

'xxx' cannot delete file D:\Hyper-V\xxx_A74D9626-E1C5-4040-B2FB-68D68Bxd5C.hrl: The process cannot access the file because it is being used by another process. (0x80070020).

XXX : is the virtual machine. This log was found in the primary server.

Is this affecting the replication in any way?


Exporting/Importing VM, How to match network?

0
0

I'm planning to migrate a VM this week but notice from the instructions i'm using that it mentions to "Make sure the same Virtual Network is defined on the import host as on the export host. This means it will connect the imported VM to the correct network on the target host. Without doing this, you will receive an error when attempting to import the VM"

I noticed that on my original VM host, the one doing the exporting, that the Network name = External. Then on the receiving host, the one doing the importing, there exists no network of the same name.

How should I configure this so that I don't run into any problems?

Thanks

Move Virtual Machine Storage stuck "Loading" CSVs

0
0
As I understand it the "Move Virtual Machine Storage" screen is supposed to enumerate the CSVs available to the cluster in the bottom left portion of the window.  It seems to be stuck on a "Loading..." status and never shows the CSVs.  Also, when I try the "Add Share" button and type in a share to use it doesn't do anything.  Thoughts?

Routing of Network Traffic Between VLANs on a Hyper-V Virtual Switch

0
0

I am trying to discover how network traffic generated by reads and writes to RDVH User Profile Disks is routed through my network.  I have a pool of Hyper-V desktop vm’s in their own VLAN (vlan1) with their own NIC bound to a Hyper-V Virtual Switch. On the same server I have another management NIC for the OS on a different VLAN (vlan2) and finally on another server I have a virtual machine which hosts the User Profile Disks. The VM that hosts the User Profile Disks is on the same VLAN as the management NIC for the OS (vlan2).

When tracing the flow of network traffic to and from the User Profile Disk VM it all comes through the vlan2 NIC on the server where the virtual desktop VMs reside and nothing comes through the vlan1 NIC on this server.  I would have expected the traffic to the virtual desktop VMs to come in  through the desktop VMs VLAN NIC (vlan1).

This leads me to two possibilities as to how the desktop vm’s on vlan1 get their  data to and from the User Pofile Disk vm on vlan2 without routing.

  1. The desktop vm’s Hyper-V Virtual Switch automatically routes the User Profile Disk traffic from vlan1 to vlan2 internally using a virtual switch learning algorithm
  2. Hyper-V itself handles all reads and writes to the User Profile Disks and since that is using the management NIC for the OS it is already on vlan2 and so the network traffic never leaves vlan2.

Any comments on the reason for traffic taking the path it does (as outlined above) as opposed to being layer-3 routed from VLAN1 to VLAN2?



Backup practice for HyperV Host or Individual virtual Machines

0
0

Hello,

Current Strategy: We have 5 physical virtual host servers (windows server 2008 & 2008 R2) with 5-6 virtual instances/machines on each. Currently we are using Microsoft DPM 2007 to backup individual virtual machines and not backing up the host. DPM 2007 isn't doing the job for us anymore due to Tape drive compatibility issues and it's just old software with limited functionality.

Question: What is the best way to backup each virtual machine or host (do I need to?) AND easily restore machines or data?

Goal: In case we have a virtual host crash and we need to rebuild new box or use another host, I would like grab a backup and restore the entire virtual machine as it was night before onto another host including data and Machine settings (plug a& play). 

Also, in case we have a single virtual instance/machine corrupt or crash, I would like to use the full back and restore everything like it was (including all VM settings and data). 

I am open to all options including new software, hardware or 3rd party software. As long as solution is rock solid and reliable, i am good.

Thanks for you help!

Viewing all 19461 articles
Browse latest View live




Latest Images