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

reuse virtual machines after hyper-v server failure

0
0

Hi,

A problem that occured some time ago has left me wishing for a better way for a Hyper-V host to handle Machines...

I had a Server 2012 Datacenter server running about 18 different servers (Windows and Linux) And something happened with the server at patch tuesday and literally killed it, it would not let me log in, and the hyper-Visor did not start, it was dead in the water. So i decided to reinstall with WS2012 R2 and installed the Hypervisor. Now at this Point the Raid partitions is available and all data is intact...... i changed the default path of virtual Machines to what it was Before the crash... Aaaaand there is nothing there... Trying to import Machines will fail.... since no machine was "exported" Before the crash it did not allow me to import them. so i created a new machine and reused the vhd for 2 domaincontrollers and checked the replication between them.... Everything seemed alright, last step Before i could start attaching the rest of the Machines was to add the newly installed Hyper-V Server to the domain (not recommended perhaps but makes my Life a lot easier) But it failed miserably, it did not find the domaincontrollers, it did state in the log that it did indeed identify them correctly, it was no connectivity issues since i could ping them and map network drives etc, all firewalls are down.. It just happened to be when i dug Deep into DNS that GUID´s where showing Little bit everywhere where the actual servernames where supposed to be at, so the servers got lost in translation :-/ !

Thank god for DPM, i ended up with restoring the domaincontrollers to a second hyper-v host, then joined the WS2012R2 to the domain, and installed the dpm client, and restored all the rest of the servers thru DPM..... 

My question here is, Why.... for the love of GOD can´t hyper-v get a database, or a recovery database, integrated within (and that be placed on a raid for example) and have a recovery-mode on Hyper-V which will use that database to recover after a disaster of which i happened to end up in.

I can´t imagine that everyone who uses Hyper-V are using shared storage and live migration-technology, but as single-hosts, Please make our lives easier :)

Thank you for reading this.

/Robert


How to Fix a Corrupted Hyper-V VHD File

Hyper-V on Windows 8.1 is messing with MAC address when sharing my Wifi card

0
0

Hello,

I'm using Hyper-V on Windows 8.1 to build a complete SharePoint Development environment.

All of my VM are following this scheme:

  • a "local" private network shared between the host and all VM, using a static IP address plan (192.168.10.0/24)
  • a RJ45 external network, attached to my physical ethernet card. This network uses DHCP protocol
  • a WIFI external network, attached to my wireless network card. This network also use DHCP protocol

When plugged on the ethernet card, I have no issue. Both the host and the guest OSes are getting a valid IP address.

However, when I try to connect on the wireless card, I get some weird errors. Actually, my guest OS are getting the same IP address than the host. This issue an IP address conflict.

Someone else got the same kind of behavior : Windows 8.1 Hyper-V : IP address conflict on Guest OS

I've checked my MAC address plan, and it seems correct.

Using WireShark (a tool I'm not used to I admit), I can see that all DHCP request of the guest os, are sending the host MAC address, and not the guest' one.

Does anyone have an answer to this weird behavior?

Thanks,

steve


Paying back the community for its help by writing articles :
Have a Nice Day.Net Blog

Hyper-V replication error

0
0

Hi
We are having a problem enabling replication on our VMs.
we have two hyper visors each running 2012r2.
The Hyper-V manager is being run from win8.1

They are not clustered. The ports have been opened in the firewall (and for testing I have turned off the firewall).  both servers are using HTTP  kerberos and have been delegated in the AD.

If i set up a vm on hyper-A then try to enable replication to hyper-B i get the following error:
hyper-v failed to enable replication for virtual machine. The server name or address could not be resolved (0x00002EE7)
If I set up a vm on hyper-B and try to enable replication to hyper-A it works fine.
I can ping both servers from each other
I have tied the "fix" suggested here

Does any one else have a suggestion to try?

Rob

Gen 2 VM on Server 2012 R1 host

0
0

Hi Guys

Are Gen 2 VMs (Server 2012 R2 VM) supported on a Hyper-V Server 2012 (R1) host (Physical)?

Having some weird backup (Shadow Copy) issues and i suspect this may be the reason

Spud


Spudney

Can I install a Server 2012 R2 VM on a Server 2012 Hyper-V Host?

0
0

Hi all,

I'm just wondering if there are any implications of installing a Server 2012 R2 VM on a Server 2012 Hyper-V Host?

I currently have 3 VM's on this host. 2 are Server 2012 and the other is Server 2012 R2. The biggest problem I'm having is when I run my backup (Altaro). The Server 2012 VM's completes the backup without a hitch, when it gets to the Server 2012 R2 VM it basically freezes the backup until the backup is complete. Altaro support have recommended untickingthe 'Volume Snapshot' Backup option from Integrated Services, but this seems to pause the VM for a few seconds before it proceeds with the backup. This is an RDS Server, so all the clients gets disconnected at this stage and they have to log back in.

Any help on this would be much appreciated.


 

Hyper-V over SMB 3.0 poor performance on 1GB NIC's without RDMA

0
0

This is a bit of a repost as the last time I tried to troubleshoot this my question got hijacked by people spamming alternative solutions (starwind) 

For my own reasons I am currently evaluating Hyper-V over SMB with a view to designing our new production cluster based on this technology.  Given our budget and resources a SoFS makes perfect sense.

The problem I have is that in all my testing, as soon as I host a VM's files on a SMB 3.0 server (SoFS or standalone) I am not getting the performance I should over the network.  

My testing so far:

  • 4 different decent spec machines with 4-8gb ram, dual/quad core cpu's, 
  • Test machines are mostly Server 2012 R2 with one Windows 8.1 hyper-v host thrown in for extra measure.
  • Storage is a variety of HD and SSD and are easily capable of handling >100MB/s of traffic and 5k+ IOPS
  • Have tested storage configurations as standalone, storage spaces (mirrored, spanned and with tiering)
  • All storage is performing as expected in each configuration.
  • Multiple 1GB NIC's from broadcom, intel and atheros.  The broadcoms are server grade dual port adapters.
  • Switching has been a combination of HP E5400zl, HP 2810 and even direct connect with crossover cables.
  • Have tried stand alone NIC's, teamed NIC's and even storage through hyper-v extensible switch.
  • File copies between machines will easily max out 1GB in any direction.
  • VM's hosted locally show internal benchmark performance in line with roughly 90% of underlying storage performance.
  • Tested with dynamic and fixed vhdx's
  • NIC's have been used in combinations of RSS and TCP offload enabled/disabled.

Whenever I host VM files on a different server from where it is running, I observe the following:

  • Write speeds within the VM to any attached vhd's are severely effected and run at around 30-50% of 1GB
  • Read Speeds are not as badly effected but just about manager to hit 70% of 1GB
  • Random IOPS are not noticeably affected.
  • Running multiple tests at the same time over the same 1GB links results in the same total through put.
  • The same results are observed no matter which machine hosts the vm or the vhdx files. 
  • Any host involved in a test will show a healthy amount of cpu time allocated to hardware interupts.  On a 6 core 3.8Ghz cpu this is around 5% of total.  On the slowest machine (dual core 2.4Ghz) this is roughly 30% of cpu load.

Things I have yet to test:

  • Gen 1 VM's
  • VM's running anything other than server 2012 r2
  • Running the tests on actual server hardware. (hard as most of ours are in production use)

Is there a default QoS or IOPS limit when SMB detects hyper-v traffic?  I just can't wrap my head around how all the tests are seeing an identical bottleneck as soon as the storage traffic goes over smb.

What else should I be looking for? There must be something obvious that I am overlooking!

 


VMs have no network connectivity after reboot

0
0

Hello,

We've recently had a problem appear across our Hyper-V 2008 R2 and 2012 clusters. When a virtual machine is rebooted, some of its virtual network cards will have no network connection. The VMs run 2008 R2 and 2012, both of which are affected.

Some VMs have 4 virtual NICs and different ones will lose connection randomly, it can take 4 reboots before all of them are working. The problem happens as soon as the VM comes up after a reboot, the network shows as connected in Windows, yet no traffic will pass through it. Running an ipconfig on the affected VM will show 2 IP addresses for each NIC with no connection - the normal static address and an autoconfiguration 169 address.

The hosts and VMs are all up-to-date with the latest patches, integration services have been updated on all the VMs and there are no errors showing in the event logs. I've tried reinstalling the virtual NICs, created a new virtual switch, disabling offloading and disabling VMQ but nothing has helped. Once all the virtual NICs are connected, they don't have any more problems until the next reboot.

I'm really stuck with this one now.  Any advice would be appreciated.


PFsense in Hyper-V r2

0
0

I am thinking to setup Pfsense in my network as firewall. but i have already setup my virtual network and don't want to change. but Pfsense needsLegacy network adapter in that case what should i do. is it good option to remove TMG2010 and putPFSENSE as firewall as its much smaller an


Akshay Pate

Hyper V 2012 R2 Standalone Local Admin Password Recovery

0
0

Hi,

I have the Hyper V 2012 R2 standalone edition running with two Windows 2012 VM running on one physical machine.   The hyper-v is not joined to the domain but both the VMs are.   I have no problem with the VMs.   I do not seems to be able to login via the administrator (via keyboard attached to the machine) to the hyper-v via the password that I setup earlier during the installation.

What is the best way to reset the local administrator password?  Any help would be appreciated. Thanks.

Regards,


Slow I/O using Excel 2013

0
0

I have written a VBA program that extracts data from a number of small (80K) Excel worksheets. The problem that I am having is with the I/O on these worksheets. Using Excel 2010, I am able to average processing of 3.7 worksheets per second, but when I run the same program on the same computer and the same database using Excel 2013, the the throughput drops to 1.5 worksheets per second.
The slowdown does not seem to be processor related as in a separate test program with no I/O run on the same computer, Excel 2013 is about 15% more efficient than Excel 2010. I suspect that the actual problem is not the I/O time itself, but instead the time that it is taking to display the retrieved workbook that is slowing down the process.
Do you have any ideas on what is causing this slowdown in Excel 2013 and what I can do to speed things up?

Gen 2 Server 2012 VMs fail to start after December Windows Updates

0
0

I've been able to reproduce this on two separate hosts (both Win 8.1 Pro) running Gen 2 Windows Server 2012 VMs. I believe it is after the December 2012 round of updates (and I'm trying to confirm which specific one), the VMs fail to boot, indicating that applying a patch failed and it is reverting the changes -- it enters a reboot loop which I'm unable to get out of.

Has anyone else experienced this with Gen 2 Server 2012 VMs?


Trevor Seward, MCC

Follow or contact me at...
&nbsp&nbsp

This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Cannot apply Hyper v Replica ip failover. [RESOLVED]

0
0

Hello,

I'm using Hyper with replica server. I have two hosts in Windows Server 2012 with hyper v installed and last integration installed both sides on each VM.

I have set up the failover ip on each side, and when I try to failoer a machine evryhting work good execpt the ip failover... I have this error : 

« xxxx» n’a pas pu appliquer les paramètres IP à l’adaptateur « {6f71b925-f7d3-4f7a-b987-ca787eca5643} » : Erreur non spécifiée (0x80004005). (ID d’ordinateur virtuel 3B423647-943C-444C-9E2A-E8C24973B643)

English : « xxxx»cannot apply ip settings to the adaptor« {6f71b925-f7d3-4f7a-b987-ca787eca5643} » : non specified error (0x80004005). (ID d’ordinateur virtuel 3B423647-943C-444C-9E2A-E8C24973B643)...

+System
-Provider
[ Name]Microsoft-Windows-Hyper-V-Integration-KvpExchange
[ Guid]{82D60869-5ADA-4D49-B76A-309B09666584}
EventID4132
Version0
Level2
Task0
Opcode0
Keywords0x8000000000000000
-TimeCreated
[ SystemTime]2013-12-14T15:02:24.884325200Z
EventRecordID359
Correlation
-Execution
[ ProcessID]4192
[ ThreadID]1368
ChannelMicrosoft-Windows-Hyper-V-Integration-Admin
Computerxxxx
-Security
[ UserID]S-1-5-83-1-994195015-1145869372-3269995166-1136030537
-UserData
-VmlEventLog
VmNamexxxServer
VmId3B423647-943C-444C-9E2A-E8C24973B643
String{6f71b925-f7d3-4f7a-b987-ca787eca5643}
ErrorCodeString%%2147500037
ErrorCode

0x80004005

Is someone can help me, I'm stucked for one week now and cannot find any solutions... Thank you very much...



Server 2012R2 Hyper-V allocated a large amount of RAM to the host server.

0
0

We have a test environment and have encountered an issue with the ProLiant DL380 G5 servers with 10GB RAM, running Server 2012R2 Datacentre. We do not use dynamic memory (only startup/fixed memory) and NUMA spanning is on.
This is the current Hyper-V VM setup with the corresponding allocated RAM amounts:

  1. Windows 7 -                       512MB
  2. 2008R2 server DC -           1024MB
  3. 2008R2 SharePoint 2010 -  2048MB
  4. 2008R2 TMG 2010 -           2048MB

When all of these VMs are powered on, the resource monitor on the host shows the following memory info:

  • Hardware reserved -                3MB
  • In Use -                             6635MB
  • Modified -                              13MB
  • Standby -                           1357MB
  • Free -                                 2234MB

The problem is that our Exchange 2010 server with 2048MB of allocated RAM cannot be powered on; error:

Questions:

  • What does the standby memory do?
  • Why am I unable to start another VM, even though there seems to be enough free memory on the physical host

Many thanks!


Marco S



Hyper-V hangs when accessing a Cluster Shared Volume

0
0

Hi,

We have 2 windows server 2012 Datacenter member of windows cluster, servers are running hyper-v. the 2 nodes hang once we try to access CSV volume (c:\clusterstorage\volume1) when i tried to do live migration from node1 for virtual servers and move it to node2 it fails. also when i restart node1 the server keep on "Please wait for the System Event Notification Service"

cluster events:

1- Cluster resource 'Virtual Machine' (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 'Virtual Machine' 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.

2- 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

3- Cluster resource 'Virtual Machine Configuration' of type 'Virtual Machine Configuration' in clustered role  failed.

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

4- Cluster Shared Volume 'Volume1' ('Cluster Disk 2') is no longer accessible from this cluster node because of error 'ERROR_TIMEOUT(1460)'. Please troubleshoot this node's connectivity to the storage device and network connectivity.

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



Hyper V 2012 Download

0
0
Where can I download Hyper V 2012 Core? Also is this already the version that can be used in production? Or still in Beta?

Unknown devices on Windows 2003 Virtual Machines

0
0

We have recently setup a Windows Server 2012 R2 environment, Hyper-V and Clustering.

Our existing environment is Windows server 2008 R2 / Hyper-V and Clustering.

We are experimenting with migrating VM’s from the old cluster to the new cluster, either using the cluster migration wizard or simply exporting VM’s / re importing VM’s

We are experiencing issues with Windows Server 2003 R2 virtual machines, we always end up with 2 unknown device drivers in the device manager, both are stating they are on the Hyper-V Virtual Machine bus, we have installed  the integration services on the VM’s, we have even on the existing ones removed any mention of the Integration servers from the registry and completing a fresh install but they still show up as unknown.  The strange thing is the device status is working properly, the VM functions correctly but I’m not happy going forward into production with unknown device drivers.

Windows 2008 guests are fine it’s only Windows 2003 guests, we still need to run a number of these legacy servers so upgrading the VM’s not an option.

Has anyone else come across the issue / fixed this issue?

Any advice?

Access Device Manager in Hyper-V 2012

0
0

When I try accessing Hyper-V Server 2012's Device Manager via MMC I get "Make Sure that this computer is on the network, has remote administration enabled, and is running the "Plug and Play" and "Remote registry" services.

The Error Was: "The machine selected for remote communication is not available at this time.

I disabled the Hyper-V Firewall and followed the steps outlined here for "Allow remote access to the Plug and Play interface":
http://mikefrobbins.com/2010/12/02/enabling-remote-access-to-device-manager-on-server-core/

Any ideas?

The Hyper-V Manager works as-well-as the Policy Editor, just not Device Manager.

VM windows 2008 Cluster on Hyperv 2012 Server FC Disk error after Live Migration of the active VM Cluster Node

0
0

Deployed a 2 nodes Windows 2008 R2 SP1 Failover Cluster on a HyperV 2012 Server cluster deployed on IBM HS23 blade.

Disk susbsystem is IBM Storwize V7000. MPIO driver installed plus IBM DDSM.

 

Lun presented to the VM are connected with Virtual FC Adapter and everything works fine in the cluster until we start a live migration of the VM which hold the cluster disks online.

After migration complete positively, at the moment the MPIO of the migrated VM goes crazy with a lot of errors (source: mpio eventID 16 ) and warnings (source: mpio EventID: 17) in the system event log. After that the disks becomes unavailable.

Consequently everything hangs until power off the migrated vm, so the services on the cluster switchs on the second node.

I try to set the registry key HKLM\CurrentControlSet\Services\Disk\TimeOutValue to 190 as i found on various articles but nothing seems to change....

Any idea?

vannig

How to get a bootable vhd for a Linux on Hyper-V with two disks ?

0
0

Hi folks,

I am running a custom linux on my Hyper-V in Windows Server 2008 R2. I initially configured one disk(4GB) and then I added one more hard disk of higher capacity (8GB). Now I got two vhd files with different sizes.

If I want to create a new linux VM (with two hard disks as original), with an existing vhd file, which one can I use?
I tried the first one, but it is not working as expected.

Is there any other way to get a bootable vhd file for a linux VM with two hard disks? 

Any tools to make it?

Thanks in advance,

Saleem


Viewing all 19461 articles
Browse latest View live




Latest Images