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

Un-Virtualizing a Hyper-V VM

$
0
0
Hi folks,
We recently deployed  Windows Server Standard 2012 running a VM of Windows Server 2012 Essentials through Hyper-V. Our client is running 10 workstations through the Server essentials VM
We would like to know if it is possible to restore the Server Essentials VM to the Host machine, and have it act as the "unvirtualized"(if that is a proper expression), OS on the Server box.

Thanks!

Kevin Kaswinkle



Server 2012 R2 VM networking connection momentary dropped

$
0
0

We have a production server Intel SC2600CP motherboard, with a core Server 2012R2 standard, setup with 3 Hyper-V VMs all with Server 2012R2. One is AD the other two are; one Sybase 12 application server and the other is SQL 2008 application server. This is a small office 15 Users, the Sybase is their main application product. we have NIC #1 tied to the management Server, NIC 2 is setup as a virtual switch shared between the three VM servers. The clients will get a SQL ODBC connection lost error, sometimes up to 10 times a day, they have to close and reopen the application, the event log on that Application server shows the below error. The two other VM's do not have this error in the event logs. I have a ping running from the AD to the Sybase Server  IPV6 and when the even was recorded the ping timed out for 6 tries, then came back so TCP\IPV 4 and 6 dropped.

Network drivers are up to date as is the firmware, Server 2012 is to the latest updates.

Any body else having or solved this problem

Thanks 

Log Name:      System
Source:        Microsoft-Windows-Hyper-V-Netvsc
Date:          9/24/2014 12:56:47 PM
Event ID:      14
Task Category: (1003)
Level:         Information
Keywords:     
User:          N/A
Computer:      DV-2012.
Description:
Miniport NIC 'Microsoft Hyper-V Network Adapter #2' network has changed
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-Netvsc" Guid="{152FBE4B-C7AD-4F68-BADA-A4FCC1464F6C}" />
    <EventID>14</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>1003</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2014-09-24T16:56:47.970324600Z" />
    <EventRecordID>12354</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>System</Channel>
    <Computer>DV-2012.</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="MiniportNameLen">36</Data>
    <Data Name="MiniportName">Microsoft Hyper-V Network Adapter #2</Data>
  </EventData>
</Event>

failed to start worker process: Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569

$
0
0

We just rebuilt our machine with server 2012, and it was working flawlessly and then randomly it started giving me this error if i would try to start up a machine. At first this was just an annoyance but now it is worrying me greatly. I have tried everything from logging on as the domain admin account to the actual server administrator account. Nothing seems to start these machines up, and I need them to start.

'Computer1' failed to start worker process: Logon failure: the user has not been granted the requested logon type at this computer. (0x80070569). 

Hyper-V Console access with FreeRDP

$
0
0

I managed to connect to Hyper-V consoles via FreeRDP, which means that now it's possible to connect to Hyper-V from Linux, Mac OS X and Windows (including Server Core / Hyper-V server), without needing vmconnect / RSAT.

In order to ease thing up I also added a Powershell cmdlet. Here's the blog post about it:  

http://www.cloudbase.it/using-freerdp-to-connect-to-the-hyper-v-console/

It would be great if somebody could help in testing it and providing feedback! :-)

Thanks!

Hyper-V Replication stops working (General Access Denied)

$
0
0

For a customer we have a MAIN/DR solution based on Hyper-V and Replicas.

Main is equipped with 2 x Windows 2012 in a cluster, DR has one host standalone with Hyper-V.

The whole shebang is managed via SCVMM 2012 and we have replication enabled for around 4 VM's going from MAIN to DR.

Everything is working ok for a while and then all of a sudden we're getting events in our NOC about the fact that the replication has stopped. Upon further investigation we found a couple of events stating:

"Hyper-V failed to open the file 'C:\ClusterStorage\Volume1\VP-SCSQL01\VP-SCSQL01_E.vhdx' for replication in primary server for virtual machine 'VP-SCSQL01': General access denied error (0x80070005). (Virtual Machine ID B7020EE9-A781-4F50-B387-E781FC7F2315)"

When we recreate the replication (so really deleting everything and setting the VM replication up from scratch) it starts and works fine. Resuming replication does not work.

procedure for shutdown hyper v cluster 2008

$
0
0

I have two physical servers ( hyper V 2008 R2) , 2 node, 45 VM's and I would like to perform maintenance, what is the best procedure for shutdown the whole cluster and rebooting all the cluster back online !

Regards,

 

Virtual Machine Not Starting

$
0
0

Hi All,

After creating my virtual machine, and I click start, I get the following errors:

An error occurred while attempting to start the selected virtual machines. 'Test Server' could not initialize.

I have already enabled the VT of the processor and Execute Disable Bit in the BIOS but each time I get the same problem. I have even removed the Hyper-V role and added it again, but no luck. Note that the environment is Windows Server 2008.

Can someone please tell me what I am missing?

Thanks

Windows Server 2008 R2 SP1 Hyper-V Role Slow login

$
0
0

Hello,

We have a Windows Server 2008 R2 Service Pack 1 with Hyper-V role, it seems that every time we reboot the server, and after CTRL-ALT-DELETE and login, it takes longer and longer to show the desktop. This is on the Windows Server 2008 R2 Service Pack 1 Hyper-v physical host. Any reason why? I thought maybe applying this updatehttp://support.microsoft.com/kb/982210 but it does not show for service pack 1. Can anyone help why is it slow, we have 4 hyper-v vms? Thank you 



Load testing of iSCSI shared storage for Hyper-V 2012 R2 environment

$
0
0

I have a brand new datacenter environment that consists of 4 physical servers and an iSCSI storage array (plus switches, etc). The 4 servers are destined to become Hyper-V 2012 R2 hosts and will host a variety of virtualised server workloads (no VDI) that are due to be migrated from a VMware cluster.

I need to benchmark the storage before putting it in production. I'll probably use IOmeter but will consider other recommendations. I've found a couple of good resources such as this MSDN blog post detailing IO profiles for IOmeter, but I need some guidance around the specifics of how to actually put together a worthwhile test plan. My questions are:

  1. How long should each test run for?
  2. Should I test all 4 hosts concurrently (and somehow aggregate or average the results), or test each host one by one?
  3. Should I run IOmeter on the physical host, or from from within a VM (against a virtual disk)?
  4. How do I create a write test that will saturate all levels of caching, thus revealing the actual disk performance (the array controller has a cache and I believe Hyper-V automatically caches writes)?

Thanks in advance!

Data Exchange Integration Services - High CPU Usage Penalty Per VM.

$
0
0

This issue was found because of this issue: "http://social.technet.microsoft.com/Forums/windowsserver/en-US/2aa0b53d-fb3d-4e63-ab76-58e72462fb1a/wmi-high-cpu-usage-on-hyperv-vms-related-to-data-exchange-integration-service?forum=winserverhyperv"

The fix didn't seem to work for me. Anyway here is my main issue.

Please see: http://i.imgur.com/w1poacd.png


Is anyone else experiencing this?

Is 5% CPU usage from the Data Exchange service just to tell the OS Type and IP address acceptable?

5% from a single VM might not seem like a lot but you do that over 50 VM's on a Host and it adds up quickly.

It seems rather aggressive.

Any feedback would be greatly appreciated.

Background info:

This is a Gen 2 2012 R2 U1 fully patched VM on a 2012 R2 U1 Fully Patched Hyper-V Host.


Vhd and Vhdx corrupted

$
0
0

Hello, I have two servers Hyper-V 2012R2 connected to a new SAN (powervaul NX3200). I started to move my virtualmachines to the new SAN. I have now ten virtual machines on the SAN (about 40% of my virutelles machines) others arelocally on the servers. The purpose is to transfer everything to the SAN. But for some time I had problems with my virtualmachines on the SAN. I have two machines that have disappeared. The folder and the vhdx file are no longer there. I havethree machines corrupt. The vhdx files are 0 KB. I'm connected to the iSCSI SAN. On each of my two servers, I have a NICdedicated to the SAN. They are on a different network. My network internet 192.168.10.xx and the network of SAN192.168.5.xx Yesterday I have this message on my iSCSI drives: Offline Scan and Repair Needed. I made the repair. So, i need some help.

Microsoft Hyper-V Server 2012 R2 installed to boot from USB, Is that supported by Microsoft for production ?

$
0
0

Hi,

I know that it's possible to install Microsoft Hyper-V Server 2012 R2 on USB to boot from it.

This is a similar install as VMware is proposing except that you need to install first in a VHDX file.

I'm wondering if installing and booting from USB Drive for Microsoft Hyper-V Server 2012 R2 supported by Microsoft for production environment ?

Regards

;)

Antoine

Hyper-V 2012R2 FO Cluster with synthetic Fibre Channel guests - Quick Migrate ok, Live mostly not

$
0
0

Hi,

another post with more or less the same issue as numerous other posts, for example:

http://social.technet.microsoft.com/Forums/en-US/a09e56fc-f952-427d-8dc5-53fbd1c3ca38/live-migration-failed-while-quick-migration-is-ok?forum=winserverhyperv

http://social.technet.microsoft.com/Forums/sharepoint/en-US/822bb097-e7ff-47ac-ad83-c40174e7b441/live-migration-failed-while-quick-migration-is-okvirtual-machine-with-synthetic-fc-hba-?forum=winserverhyperv

http://social.technet.microsoft.com/Forums/scriptcenter/en-US/51ddfc57-4250-4553-9592-1702ad87c12a/live-migration-failed-using-virtual-hbas-and-guest-clustering?forum=winserverhyperv

Mentioned post were of no heklp though. In this setup I have 2 2012R2 Hyper-V boxes in a Failover Cluster and a HP MSA2040 SAN. Within this cluster I have 2 2012R2 guests that are also clustered. They have 2 Synthetic Fibre Channel Adapters, each one connected to another physical port on the host. Quick Migration works any time, Live Migration only once in a while. I get messages like:

'<GuestOS>' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 8AABB243-7333-4729-A060-120EF8E993A7)

Facts:

  • Basic stuff like NPIV support is ofcourse enabled and all HBA's and switches support this;
  • MPIO is setup accordingly to HP recommendations;
  • The hosts have 2 fibre ports each connected to a seperate fibre switch;
  • Guest VM's have 2 Fibre Adapters, each connected to a seperate Virtual SAN;
  • Initially I had all WWPN's defined in one host on the SAN, as per a recemondation in one of the mentioned threads I split that up and made a seperate host on the switch for each WWPN set. As the switch only cares about WWPN / WWNN's rather than the aliases they are 'bound' to this did not help;
  • Virtual SAN's are equally setup on the hosts, and each matching Virtual SAN is connected to the same Fibre Switch so physical pathing should be ok;
  • Zoning is correct; all 4 wwpn's are added to zoning and can access the luns (if not it would not work 'sometimes');
  • When I start the live migration, the 'not-active-WWPN-set' is immediately presented at the switches and the switches see the respective WWPN's as active. At that point all 4 WWPN's of the guest are active according to my switches. The switches also recognize these WWPN's as 'NPIV' WWPN's;
  • When I stop the guest, and manually switch the addresses of set A and B over and start again, I see all my storage. This again to make sure zoning is ok and all storage is available on all 4 WWPN's;

Now the point of interest: The MSA2040 seems to be rather slow to recognize or 'discover' as HP calls it presented WWPN's. This is the same for physical hosts as well as virtual hosts. Sometimes it takes up to a minute or two before a host is actually discovered by the SAN. Then it presents the configured LUNs to it and that step again takes a while. I think this is the base issue here. When I do a live migration all 4 WWPN's are available but the storage only discovered 2 of them. At the sporadic times Live Migration DOES work, the SAN (ofcourse) discovered the WWPN's and as soon as the LUN's are presented to them, the migration immediately continues as expected.

The same happens when starting a guest with Synthetic Fibre Channel Adapters: Starting such VM immediately presents the WWPN's at switchlevel, then 'stalls' at 10% for about a minute and then continues booting. Sometimes the SAN discovers the WWPN's faster, and as soon as the LUN's are presented the booting continues and everything is ok. However most of the times the SAN is 'too slow' and after a timeout of a minute or so the VM continues booting. This results in the storage not being available in this guest until the SAN discovered the WWPN's.

The same happens with Quick Migration. With Quick Migration there is no requirement for the LUN's to be active and therefore it works. And again when the SAN is quick enough the storage is there immediately when the migration is done, when it's too slow the storage is not available after migration, until the SAN discovered the WWPN's again.

With Live Migration ofcourse there is a requirement that the LUNs are available to all 4 ports at time of migration. Unlike a quick-migration, Live Mgration will not continue when LUN's aren't available.

So I have 2 options here that I think would fix my issue:

  • Have the SAN to pickup new presented hosts faster;
  • Have Hyper-V to wait longer before a live migration times out.

The first is not an option, HP does not have any settings for this in the MSA2040 (and neither in the P2000 G3 which we have as backup as well in this setup).

So maybe we can increase the Hyper-V live-migration-wait-for-lun-timeout?

The concrete question:

Is there a regkey or something for increasing the 'waiting for storage' timeout on live-migration?

Ofcourse any other 'magical' solution to this issue is welcome :)


Who knows such a beautiful wallpaper? (Windows 2012 R2 - HYPER-V)

$
0
0

Hi,

Does anyoneknowthiseffectwhenyourestart ofaVM?

This effect is  guest  OS independed (guest OS are: Windows 2008, Windows 2008 R2, Windows 7, Windows 8, Windows 2012 a.s.o.)

ItalwaysoccurswhenwerebootthemachineE.g.forupdates.TheVMshutsdowncleanly,thensheshould benewstartbutInstead ofthethisimage.

Only we can do a "Power Off" for this VM and "Power On" . Then,theVMstartsagainnormally.

What can we do?


Danke und liebe Grüße Oliver Richter

Error - The request could not be performed due to an error from the I/O device

$
0
0

Hello, 

I have a Hyper-V server with a few virtual machines. 

The host runs Windows Server 2012 R2 with Hyper-V. 

VMs are Windows Server 2012R2 Generation 2 and Windows Server 2003 Generation 1. 

All VMs running on VHDX on local host disks, no raid, no storage. Most VMs run on dedicated disks. 

I am having the following error when I demand large amount of I/O on VMs:. "The request could not be performed due to an error from the I/O device" 

This error happens when I run robocopy which requires large amount of writing, or on a SQL 2014 VM which also requires many reads and writes. 

Whenever this error occurs, the replicas of the VMs require resynchronization and the MSSQL service stops. 

Analyzing the events of the Host, I find the following warning multiple times: "The IO operation at logical block address 0x31fd01 for Disc 4 (PDO name: \ Device \ 0000005d) was retried." Disc 4 is where SQL runs. 

Is there any special configuration that must be done to avoid these errors? 

Thank you! 
Rafael



Hyper-V Settings open too late

$
0
0

Hello, 

We have a Hyper-V cluster servers on Windows Server 2012 R2. I use SAN and it connects with fiber channel. We use Windows MPIO.

If i try to open Hyper-V setting for any VM, I wait too much. It opens too late. Also, the disk management brings disk information too late on hosts.

 

Un-Virtualizing a Hyper-V VM

$
0
0
Hi folks,
We recently deployed  Windows Server Standard 2012 running a VM of Windows Server 2012 Essentials through Hyper-V. Our client is running 10 workstations through the Server essentials VM
We would like to know if it is possible to restore the Server Essentials VM to the Host machine, and have it act as the "unvirtualized"(if that is a proper expression), OS on the Server box.

Thanks!

Kevin Kaswinkle


Hyper-V snapshots sometimes comes without mounted ISO

$
0
0

Hello, all.

We are running an automated tests with Microsoft Test Manager and SCVMM virtual environments. Recently we started to mount ISO images with file collections on VMs (we used to copy them to VMs from a network share, but it was too slow and caused timeouts and network share access problems).

ISO images is being mounted via WMI Hyper-V Provider. The images are located in host's local folders (C:\ISO), which are also network shares being synced with "primary" share with DFS.

The problem is: sometimes (I'd say in 1 case from 100) a virtual machine doesn't "see" mounted drive like it's ejected. But Hyper-V Manager shows correct "image file" in the VM's settings. Changing it to "None" and back to the same image file fixes the problem. 

Is it a bug in Hyper-V? We even inserted an additional check: after calling WMI we also run dir D:\ to ensure the image is mounted. And it's there. And then it doesn't...

Any suggestions other than re-mount an image every time it's needed :-) ?

Hyper-V Server 2012 R2 hangs

$
0
0

Hi!

I'm running Windows Hyper-V Server 2012 R2. In one beautiful day the server stopped responding partly. I mean all quest machines are still running and I can see event viewer and ping it, but server shares or remote desktop or Hyper-V manager are not accessible any more.

In system log I see following errors:

  • 10010 - The server {8BC3F05E-D86B-11D0-A075-00C04FB68820} did not register with DCOM within the required timeout. - after every 30 seconds, in the end this is the only error!

  • 7011 - A timeout (30000 milliseconds) was reached while waiting for a transaction response from the Winmgmt service. - everything starts with this error.

After I restart the server it works for some hours or maybe a day and the problems start again.

Any ideas what can be wrong or how to troubleshoot?

Thanks in advance!


UV

Virtual Switch on Windows 8.1 host

$
0
0

I have a Windows 8.1 machine with the Hyper-V role enabled. I have a wireless network using a Linksys E6500 router with the Guest network enabled. I also have a Verizon Jet-Pack hotspot for when I travel. The subnets for each network is as follows:

Main192.168.1.0

Guest192.168.3.0

JetPack192.168.10.0

With the host machine connected to the main wireless network, and I have the virtual switch enabled in the Hyper-V manager, the host machine looses internet access. I have previously created a VM using the virtual switch, and obviously...it does not have internet access either. But here is the wired part...

If I change my connection to either the Guest network on my router, or to the Verizon Jet-Pack, the host has internet access. Also the VM has internet access. As soon as I change the connection back to the main wireless network, all internet access is gone.

I have tried deleting and re-creating the Virtual Switch multiple times. I have disabled and re-enabled the virtual adapters in the Network Connections area of the Control Panel.

Can anybody explain why the host looses internet access when connected to my main wireless network, but not when connected to other networks? And how do I fix this?

Viewing all 19461 articles
Browse latest View live




Latest Images