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

VM performance suffers after migrate to Hyper-V

$
0
0

Windows Server 2012 R2

we started with all our Windows 2008 R2 servers implemented in an Oracle VM environment. this OVM environment only have 1Gb network ports, however, but the performance though not fast, is acceptable in our production.

when we implemented Hyper-V (using IBM servers; with 10Gb network ports), we migrated several VMs from OVM to Hyper-V. what we found is that the VMs in Hyper-V only have a transfer rate of around 2000KB/sec compared to the VMs in OVM that have 8000KB/sec at least.

with Hyper-V having 10Gb/sec ports, why is this network performance issue?


Hyper-V lost iSCSI LUN during storage firmware update

$
0
0

Hi All,

Thanks in advance for anyone who can shed a light on this issue.

We have an EMC storage that hosts ESXi and Hyper-V. During firmware update (VAAI related), ESXi hosts had no issue but Hyper-V host lost all LUNs except one. We have Hyper-V cluster managed by failover cluster manager. On one of the Hyper-V host, B01, only one LUN was there. After B01 was restarted manually, all VMs were back up running. 

Storage support people advised that all upgrade was clean per their logs. Also ESXi hosts were running fine. Now that the Hyper-V Hosts are running ok, but still I like to know what happened. My guess is maybe BL01 locked LUNs for some reason and BL01 can't provide service either in the mean time. Any comment or idea on this? Thanks.

B01 system log:

10:21 am

The description for Event ID 37 from source mpio cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

\Device\MPIODisk2

Microsoft DSM

The resource loader failed to find MUI file

10:30:42 am

Event ID: 70

Initiator failed to connect to the target. Target IP address and TCP Port number are given in dump data.

10:42:54 am

Event ID: 5120

Cluster Shared Volume 'Volume5' ('Cluster Disk 4') is no longer available on this node because of 'STATUS_VOLUME_DISMOUNTED(c000026e)'. All I/O will temporarily be queued until a path to the volume is reestablished.

10:43:06 am

Event ID: 20

Connection to the target was lost. The initiator will attempt to retry the connection.

11:46:32 am

Event ID: 113

Failed to allocate VMQ for NIC 4B8980C7-7EAC-449D-B614-5B0B00993C8D--449703B5-1D3A-4F4D-86F4-AD1147583C35 (Friendly Name: VFILE) on switch 6813D4F6-D891-4A4C-8037-CDF2B5DF5219 (Friendly Name: Villa Cluster Logical Switch). Reason - Maximum number of VMQs supported on the Protocol NIC is exceeded. Status = Insufficient system resources exist to complete the API.

12:24:45 pm

Event ID:5120

Cluster Shared Volume 'Volume3' ('Cluster Disk 5') is no longer available on this node because of 'STATUS_MEDIA_WRITE_PROTECTED(c00000a2)'. All I/O will temporarily be queued until a path to the volume is reestablished.

12:27:36 pm

Event ID: 39

Initiator sent a task management command to reset the target. The target name is given in the dump data.

12:28:24 PM

Event ID: 153

The IO operation at logical block address 0xed8c5b50 for Disk 3 was retried.

12:28:24 pm

Event ID: 140

The system failed to flush data to the transaction log. Corruption may occur in VolumeId: LUN3, DeviceName: \Device\HarddiskVolume586.

(STATUS_DEVICE_NOT_CONNECTED)

12:28:24 pm

Event ID: 15

The device, \Device\Harddisk4\DR4, is not ready for access yet.

12:28:24 pm

Event ID: 5120

Cluster Shared Volume 'Volume4' ('Cluster Disk 6') is no longer available on this node because of 'STATUS_DEVICE_NOT_CONNECTED(c000009d)'. All I/O will temporarily be queued until a path to the volume is reestablished.

12:28:24 pm

Event ID: 5121

Cluster Shared Volume 'Volume5' ('Cluster Disk 4') is no longer directly accessible from this cluster node. I/O access will be redirected to the storage device over the network to the node that owns the volume. If this results in degraded performance, please troubleshoot this node's connectivity to the storage device and I/O will resume to a healthy state once connectivity to the storage device is reestablished.

12:28:24 PM

Event ID: 140

The system failed to flush data to the transaction log. Corruption may occur in VolumeId: LUN3, DeviceName: \Device\HarddiskVolume586.

(A device which does not exist was specified.)

12:30:16 pm

Event ID: 1230

Cluster resource 'SCVMM TSR1' (resource type 'Virtual Machine', DLL 'vmclusres.dll') did not respond to a request in a timely fashion. Cluster health detection will attempt to automatically recover by terminating the Resource Hosting Subsystem (RHS) process running this resource. This may affect other resources hosted in the same RHS process. The resources will then be restarted.

The suspect resource 'SCVMM TSR1' will be marked to run in an isolated RHS process to avoid impacting multiple resources in the event that this resource failure occurs again. Please ensure services, applications, or underlying infrastructure (such as storage or networking) associated with the suspect resource is functioning properly.

12:30:16

Event ID: 1146

The cluster Resource Hosting Subsystem (RHS) stopped unexpectedly. An attempt will be made to restart it. This is usually associated with recovery of a crashed or deadlocked resource.  Please determine which resource and resource DLL is causing the issue and verify it is functioning properly.

12:42:19 pm

Event ID: 21502

SCVMM TSR1 Configuration' failed to unregister the virtual machine configuration during the initialization of the resource: The wait operation timed out. (0x00000102).

1:28:51 pm

Event ID: 1074

The process Explorer.EXE has initiated the restart of computer BL01 on behalf of user COMPANYABC\Pepole1 for the following reason: Other (Unplanned)

 Reason Code: 0x5000000

 Shutdown Type: restart

 Comment:

1:58:56 pm

Event ID: 6008

The previous system shutdown at 1:51:55 PM on ‎26/‎11/‎2015 was unexpected.

1:58:23 pm

Event ID: 41

The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.


NIC Team won't work with HyperV Switch

$
0
0

Hi Everyone,

I have a server setup in my test lab with Windows Server 2012R2.  I have successfully created a switch independent NIC team with 3 of my 4 available network cards.  This team gets a DHCP address no problem.  The 4th network port I have by itself as a management port so I can gain access to the Host.  I have also installed HyperV and created one Windows Server 2012 VM.  When I go in to the HyperV virtual switch manager and create the Virtual Switch, I bind it to the Microsoft Multiplexor blah blah adapter (AKA the NIC Team).  As soon as I connect it to the NIC Team I lose network access to the Team and the Virtual Switch.  To complicate matters even more, I can connect the virtual switch to my management port and the switch works fine and the Team comes back up as well.  I have no clue what I'm doing wrong, but someone please help.  I know both my NIC Team and Virtual Switch work correctly independently, but they won't work together.

The way the Virtual Switch and NIC Team are configured:

  1. Virtual switch is set as external and I have tried both creating it in powershell or GUI and allowing the host OS and not allowing the host OS.
  2. The NIC team is set up as Switch Independent and I have tried Dynamic, Address Hash, and Hyper-V Port load balancing modes.

Thanks for any help or insights!

Not enough memory to run VM but there is plenty of available memory

$
0
0

I hope someone can help with this, recently i setup home lab running Windows Server 2012 R2 on the physical machine,

I have 2 VMs both are not starting and i'm getting this error:
'Not enough memory in the system to start virtual machine {name}'

Synthetic SCSI Controller (instance ID ...) Failed to Power on with Error 'Ran out of memory'

I've been searching for a solution for a while now but can't find anything similar to the situation i have.

When i check memory usage there is 29.8 GB available

and on the disk where the virtual drives are hosted i have 465 GB free and 232 GB free on the system drive.

This is the first time i'm having this issue, VMs worked perfectly before and I didn't change anything on the host or the VMs. I tried to change the Startup RAM and made sure it's enough, one of the VMs is configured to power up when the physical one start, so changing memory settings in the VM and restarting the physical machine all didn't help.

[Update]
When I try to add a new VM i get this error: "The storage where the virtual hard disk located does not support virtual hard disk sharing."

and I removed the hard disk from one of the VMs then when i try to add new hard disk or point to the existing one i get the same error.

Failed to remove replication

$
0
0
I have 2 failover cluster in different hosts and i try to enable replica. But there is few VMs are not able to enable replica. Therefore I try to check Hyper-V manager and find out those VMs are enable replication last time. When I try to remove replication, It's shows "failed to remove replication for the virtual machines". Is there any solution that able to remove the replication without turn off the VMs if necessary.  

Multiple Logon Failure Event ID 4625 on Hyper-V Host

$
0
0

Hi,

Here's my setup

1 x Windows Server 2008 R2 Enterprise SP1 with the Hyper-V server Role installed. This is in a workgroup.

3 x Windows Server 2008 R2 Standard SP1 Guest VM's on the above host. These are all members of a domain.

The security log on the Hyper-V server is registering this failed logon event from all three of the servers every few minutes. See below for an example (Replacements are shown in square brackets):

"An account failed to log on.

Subject:
Security ID: NULL SID
Account Name: -
Account Domain:-
Logon ID: 0x0

Logon Type:3

Account For Which Logon Failed:
Security ID: NULL SID
Account Name: <COMPUTER_NAME>$
Account Domain:<DOMAIN_NAME>

Failure Information:
Failure Reason:Unknown user name or bad password.
Status: 0xc000006d
Sub Status: 0xc0000064

Process Information:
Caller Process ID:0x0
Caller Process Name:-

Network Information:
Workstation Name:<GUEST_VM_NAME>
Source Network Address:fe80::1c28:2c67:af3f:407c
Source Port: 52039

Detailed Authentication Information:
Logon Process:NtLmSsp 
Authentication Package:NTLM
Transited Services:-
Package Name (NTLM only):-
Key Length: 0

This event is generated when a logon request fails. It is generated on the computer where access was attempted.

The Subject fields indicate the account on the local system which requested the logon. This is most commonly a service such as the Server service, or a local process such as Winlogon.exe or Services.exe.

The Logon Type field indicates the kind of logon that was requested. The most common types are 2 (interactive) and 3 (network).

The Process Information fields indicate which account and process on the system requested the logon.

The Network Information fields indicate where a remote logon request originated. Workstation name is not always available and may be left blank in some cases.

The authentication information fields provide detailed information about this specific logon request.
- Transited services indicate which intermediate services have participated in this logon request.
- Package name indicates which sub-protocol was used among the NTLM protocols.
- Key length indicates the length of the generated session key. This will be 0 if no session key was requested."

I've tried running process monitor to see what network traffic is going from each guest to the host but the only traffic I can see is Link Local Name resolution traffic. Could this be the problem? If so, how do I stop these logon failures from occurring?

Thanks in advance

Greg

Hyper-V replication on VM with ISCSI SAN connected

$
0
0

Hi All,

I have VM  running with windows 2012, and configured with ISCSI Initiator. and the ISCSI Disks were attached to Failover clustering, Is it possible to use Hyper-V replication feature to replicate this VM to new VM which not connected to SAN? but the data on ISCSI Disk is include on the replications.

Thanks

Hyper-v Server 2012 R2 install - cannot detect hard drives

$
0
0

I am attempting to install Hyper-v Server 2012 R2 on a brand-new Dell Poweredge R430. This server has a raid controller with 4 virtual disks of 1.8TB each and a 5th virtual drive at 670GB.

I have properly extracted the .iso onto a usb drive.  it boots fine and starts the install, but when it gets to the point at which to choose the install location, only the bootable USB drive is in the list.  I can't see any of the RAID drives.

help!


Creating custom Add-Ins and or Option for Hyper-V

$
0
0

All

I am interested to know how to create some custom add-ins or option for Hyper-V.

Is there a SDK that covers that..?

Many thanks,

Phil Cox

Disk Queue Lenth from PerfMon

$
0
0

Hi,

 Can you please explain this picture?


Tuan

Issue with VM on Hyper-V 2012 R2 after upgrading MDT to latest version

$
0
0

Hello everyone,

We recently upgraded MDT 2013 to MDT 2013 Update 1. We are working on Windows 7 essentially but we did the upgrade because we also want to think about Windows 10 right now.

We are using Hyper-V 2012 R2 to make our golden image.

The problem we got right now is we can't make our golden image (W7) with Hyper-V anymore.

More details below (we use PXE boot) :

1. With a VM of generation 1 : We are stucked on windows logo when trying to boot on the .wim we generated from MDT and put on our WDS server.

2. With a VM of generation 2 : We can boot on the .wim we generated from MDT and put on our WDS server, we can initialize the task sequence but right after first reboot we are stucked with "Windows is starting" message without Windows logo. (this exact problem is described here http://wibier.me/uefi-generation-2-vm-windows-7-sp1-and-hyper-v-server-2012-r2-or-windows-8-1/).

Deployment on a physical machine is working great though. But to make our golden image we have to do it with a VM and right now this is not possible anymore...

Before we pushed the latest version of MDT, we were able to make our reference image with a VM of generation 1 without any trouble.

Thank you in advance for your help.



Checkpoint issue

$
0
0

Guys,

i have a hyper-v 2012 R2 core, i have some server 2008 r2 vms on it. I created a checkpoint, now i want to extend the d drive on that vm, it won't let me edit the drive because i have checkpoint. i deleted the checkpoint but i'm stll having the same message.

is there a way to completely delete the checkpoin?

Thanks


FD

Large Amount of Hardware Reserved Memory in guest OS

$
0
0

I'm using my desktop with 64 bit Windows 10 Pro (activated) to run a few VMs in hyper-v. One of my VMs is a Windows 10 pro 64 bit OS, which has 4GB of RAM available to it. I have allocated 4GB to it on startup, and it has dynamic memory allocation (512MB-4096MB). This is a generation 1 VM because I had an extra Windows 7 product key, and I upgraded the guest OS from Windows 7 to 10. The issue I'm experiencing is that my guest OS has 4GB of RAM available to it upon login, but after roughly 3 minutes, that number drops from "4GB" to "4GB (2.2GB Usable)." The longer I let the guest OS run, the lower the number goes; I've seen it go as low as 1.5GB usable before I decided to power down the VM. At first, I thought this issue might be related to graphics, so I added a remoteFX video card to the VM with 1GB reserved of my graphics card's VRAM (The card has 4GB total VRAM). This did not affect the issue. I've tried searching online, but I didn't come across anything beneficial to my situation; everything I came across involved actual hardware, not virtual hardware. Currently, the VM is running and the guest OS indicates its using 1.1GB of RAM, with 1.5GB available to it. Hyper-V on the host OS indicates that the VM is using 1524MB of RAM. When I check resource monitor on the guest OS, I see:

2573MB Hardware Reserved, 776MB In Use, 364MB Modified, 339MB Standby, and 44MB Free.

Any help that you can provide would be greatly appreciated, thank you.

edit: the guest OS was idling since boot in all the tests I've done, all I did was log in to it. It has Google Chrome installed, and I set Chrome to not run in the background. I don't believe I installed any additional software on the guest OS.

Need help in restoring the VM to checkpoint

$
0
0

Hello Guys,

I have build SCOM server and unexpectedly it stopped working. Tried to fix but couldn't, luckily I have checkpoint taken for the server when it was functioning properly. I applied it and it was working wonders.

But, when I restart the server it takes me back to same old problematic state.

Could you please help me out in fixing this because I can't build the SCOM again.

Thanks,

Sirish Oggu 

Communication between 2 Virtual Private Switches

$
0
0

Dear Hyper V Expert,

May I know whether is it possible for 2 Virtual Private Switches in to communicate to each other? I am trying to simulate the environment whereby HQ is connecting to remote sites, so I will be assigning 2 different subnets and to check the replications whether can work. The reason why I am using private switch is because I am trying to avoid the communication from the test environment to accidentally access the production environment. So, I think the safest is to use virtual private switches and connect those VMs to those switches.

Please help to advise.

Thanks.

Regards,

H


copy files to Hyper-v 2012 R2 server

$
0
0

Hi all,

this sounds like a silly question to me but I can't figure it out:

I am using export/import to move a vm from a Windows 2008 hyper-v install to our brand-spankin' new Hyper-v 2012 R2 host.  Every guide I have read talks about doing the following:

1. export function to save all the files to a local drive on the 2008 server

2. copy the files to a local drive on the hyper-v 2012 server

3. import them.

I am stumped on step 2.  I can't find an available file share on the hyper-v server.  what the what? 

do i need to do something silly like copy the files to a usb drive, plug it into the hyper-v server, then use the available command line to copy the files?

USB redirection possible with Windows 8.1 Pro Hyper-V?

$
0
0

Hi, I've been searching on this topic for a while and I seem to see conflicting information everywhere, so I'm not sure where to turn now.

I've got a USB scanner on the host machine that I need to give access to the VM.  I've set up the enhanced session on the VM and have even tried RDPing into the VM as some have suggested, and set up access to all local PNP devices (though the scanner is never listed) in both instances, but the scanner is not listed in the device manager nor is found by the program which is supposed to use it.

This following link seems to suggested that maybe I need Windows 8.1 Enterprise on the VM (and maybe even the HM) in order for the USB ports to be recognized:

http://blogs.msdn.com/b/rds/archive/2012/11/26/remotefx-features-for-windows-8-and-windows-server-2012.aspx

Any thoughts on this?

Hyper-V + NIC Team + VLAN + cluster

$
0
0

I was reading various posts about subject and got pretty much confused by now.

Could somebody clear few questions for me, please?

 

General configuration:

Physical switch port is configured forstatic VLAN (i.e. no any dynamic VLAN port assignments) and carries multiple VLAN IDs - 802.1Q trunk

 

Configuration without Hyper-V

--------------------------------

A0.

One physical NIC (pNIC) (Intel/Broadcom)

For each VLAN ID a virtual NIC (vNIC) is created and bound to thepNIC

 

B0.

Two or more pNICs (Intel/Broadcom)

A team is created (802.3ad)

For each VLAN ID a vNIC is created and bound to theteam.

 

With Hyper-V installed:

--------------------------------

A1:

pNIC is bound to vSwitch.

Parent partition vNIC can be bound to one VLAN ID only from GUI

 

Parent partition vNIC (multi vNIC - mvNIC) can be bound to multiple VLAN ID using WMI?

And then what? I need to create few VNICs bound to the mvNIC, one per each VLAN ID, right?

 

http://blogs.msdn.com/virtual_pc_guy/archive/2008/03/10/vlan-settings-and-hyper-v.aspx

It is also possible to configure a virtual network adapter so that it can receive network traffic from multiple VLANs, however this is not exposed through the user interface and you need to make such a configuration using the WMI interfaces.

 

 

B1.

Two or more physicals NIC (pNIC) (Intel/Broadcom)

One team is created (802.3ad)

 

I would think the process is the same as A1, except vSwitch is bound to the team, but it’s not:

http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01663264/c01663264.pdf

 

According to HP (100% trusted source ;-)

I will need to do:

For each VLAN ID a vNIC is created and bound to the team.

Bind vSwitch to each vNIC, and get vvNIC (virtual virtual NIC ;-) on parent.

 

 

Could somebody explain, please:

1. Why it’s not possible to bind to vSwitch to team?

2. How to present more than one VLAN to parent partition?

3. HP article said: install Hyper-V first, than install teaming – it won’t work otherwise. Why it is so important?

 

Cluster

--------------------------------

On Hyper-V host all I need is a management VLAN and quick/live migration VLANs.

The later are on separate NICs and not connected to vSwitch.

Management VLAN is, most likely, in the same boat… I meant, on the same team, as child ones are.

 

I.e. I usually don’t need to access to child VLANs from parent partition – so I would prefer to disable child related vNICs on parent, if I have any.

However, on cluster configuration I do need to monitor those VLANs and perform migration in case in case connectivity is lost.

(Besides of different failures, connectivity can be lost because of wrong VLAN configuration is applied to physical switch port and it doesn’t carry expected VLAN ID anymore ;-)

So same question again – how do I monitor child VLANs from host – what is the right way of doing it?

Is there a way a child can send a message to host about lost connectivity?

 

Sorry guys, so many questions for are a quite simple setup…

I’ll really appreciate your help. ;-)

 

 


Hyper V guest saving and restoring every hour - disconnects users!

$
0
0

Hi,

I have 1 Hyper-V Server 2012 R2 host with 1 VM (also running Server 2012 R2). From today, the VM saves and restores every hour which results in users being disconnected. During this time I am unable to RDP or ping the VM. Once the restoring process has completed in Hyper V Manager, I (and users) can then connect to the VM. The VM doesn't restart during this time, as my desktop loads up as it was before.

Any ideas whats going on? I've checked through the logs but can't find anything mentioning what it's actually doing. 

Thanks in advance.


How to quickly delete \ recreate the replica VM between clusters?

$
0
0

Colleagues, I have two cluster machines are replicated between both sides, about 10 on the one hand, and the same on the other. Sometimes replication breaks (eg over the place on the storage system), and have to do the following handles:

  • Disable replication of each VM in the cluster 1 (failover cluster snap-in)
  • Remove replication (role) of each virtual machine in the cluster 2 (failover cluster snap-in)
  • Remove each virtual machine from the console hyper-v, and you can easily make a mistake in this, and not to remove
  • Search drives each VM and delete them manually, you will need to compare the GUID of virtual machines and VHD, because When you delete a VM - VHD is not deleted

In all this is very time consuming, why it seems to me that there should be a more appropriate procedure, for example:
In cluster 1 Press to remove replication, and thus, from the cluster 2, delete unnecessary role, along with the VM and VHD. Maybe I'm wrong, but I want to believe the best

Viewing all 19461 articles
Browse latest View live




Latest Images