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

Hyper V cluster from 2008R2 to 2012R2 and disaster

$
0
0

I was upgrading my Hyper V cluster from 2008R2 to 2012R2 and disaster has hit.

History so far

I built my second cluster, with one of a three node cluster and an older server everything went really well up until the point of of "copy cluster roles" from my old cluster to my new cluster.

A couple VMs came over ok but the rest all failed.  I can still have all the VHDs and and the snapshots (checkpoints) so I removed the failed roles and started recreating them all was going fine and then the cluster lost access to the storage although I was able to see it at C:\clusterstorage .

I got the storage back online, it was the virtual switches having dynamic IPs and no DHCP server to hand out an IP ....DOH

However I am still fighting with the other VMs, I have had a few suggestions such as importing the VMs but that that fails. So after alot of trial and error I have used the "New Virtual Machine" in Failover Cluster Manager I am able to get the VMs back this way by pointing to the original VHDs.  I am unable to see any of my snapshots however, I have gone into each VMs settings and changed the checkpoint file location to the snapshot folder, that still does not change anything.  I have read to power down the VMs and they will merge with the snapshots I left them for about 30 mins and nothing happened.

So I now have working VMs but no snap shots (checkpoints) how do I get them back


HyperV Network Adapters causing issues for the guest OS

$
0
0

Intro

I work for a managed IT services company that takes care of a large amount remote sites for a single organisation, each site larger than a certain size gets a Hyper-V Server running Server 2008r2 with one Guest OS running windows server 2008r2, this Server provides File, Print, DC and SCCM Content Distribution services for that site. Whilst we're migrating a new site into our system the Guest OS has two Virtual NICs - one that is connected the new network the other is connected to the old network, this is achieved using VLANs and allows us to move data easily between the Old and the New.

The initial Problem

Recently we installed a new server at a site and migrated it into our system. All has been going fine for the last two weeks but today just as we were doing the final shutdown of the old equipment and moving our gear into the cabinet something happened. The Hypervisor and Guest came up after a shutdown during the move and for some reason the Virtual NICs that were attached to the Guest didn't seem to be working. So, a few things were tried.

These are the steps we've taken so far.

  1. Tried to uninstall/reinstall the NIC on the guest, this resulted in the device manager sitting at the "uninstalling" window for at least an hour, so it was assumed that this step failed
  2. Tried Shutting down the Guest, it sat at "Stopping" for about half an hour, So it was assumed that this step failed
  3. Tried Shutting down the Host, it sat at "Shutting Down Hyper-V Management Services" for about another half an hour, so it was assumed this step failed
  4. Triggered a Hard reset
  5. The Hypervisor comes back up, the Guest OS autoboots, tried shutting down and it stalls again, tried editing the settings but they take.
  6. Repeat of Steps 2-4
  7. The Hypervisor comes back up, the Guest OS autoboots, before trying to shut down the guest change the Guest OS settings so that it will not boot automatically, tried shutting down the guest and it stalls again
  8. Repeat of Steps 2-4
  9. The Hypervisor comes back up, the Guest OS does not autoboot, try removing the NICs and Add back in one
  10. Start the Guest
  11. The Guest OS still has issues with the adapter
  12. Try shutting down the Guest OS and it hangs again
  13. Repeat of Steps 2-4
  14. The Hypervisor comes back up, the Guest OS does not autoboot, Removed the NIC from the Guest
  15. Start the Guest
  16. No issues with the Network and sharing center but also no NICs
  17. Start DevMgr and remove the disconnected devices hoping that it is just them causing the issues
  18. Shut down the Guest OS, it shuts down cleanly
  19. Add in a NIC again
  20. Start the Guest
  21. Guest OS has issues
  22. Repeat of Steps 2-4
  23. The Hypervisor comes back up, the Guest OS does not autoboot, Removed the NICs from the Guest
  24. Repeat of Steps 15-18
  25. Decide to try using a legacy adapter instead of a normal one
  26. Boot Guest
  27. The Guest OS doesn't have any issues
  28. It appears that everything works

The Issue Now (and my questions)

This fix is about as temporary as it gets, Legacy Network Adapters only allow 100mbps and this will cause issues further down the road with this site, its size and how intensively our users use the File sharing Services on the server.

Has there been any recorded occurrences of the Hyper-V adapters causing issues for the Guest OS?
Does anyone have an idea how I could fix this issue?
Is there some kind of patch that will fix this issue?

If all else fails we can rebuild the Guest OS but the amount of effort and pain that would take is quite unattractive....

Mystery AVHD file and no snapshots lists in Hyper-v

$
0
0
Need some serious help here.

I was the victim of the runaway shapshot eating all the availble disk space last year - that was a fun 30 hours to fix.  I still hold the record of having a 400GB snapshot.  Snapshot are evil in production - never to be used again.

Anyway...

I have one virtualized exchange server and in Hyper-V mangare, there is no snapshots listed (this is good, since it is an Exchange server and it is in production).

But, we are running out of diskpace again.  I check the drive and there is a 151GB snapshot (which is active and being used by the Exchange server).  A AVHD file - your basic snapshot differential file. 

So, it looks like this blight of snapshots is not completely gone.  How do I get rid of this snapshot?  

I would like some suggestions before I start working on a production system.



VM Machines not communicating with each other on Hyper-V 2012

$
0
0

In Hyper-V 2012 on Server 2012 I have created two VM's Server 2008 64-bit & Server 2012 64-bit.

The problem is both VM's are not communicating with each other.

Regards

Ganesh Parte

Can a hyper-v VM share z hyper-v host's TPM ?

$
0
0

A two-year-old posting http://social.technet.microsoft.com/Forums/windows/en-US/6636ae2b-ad98-4759-90f0-67ab55462fac/can-i-use-tpm-base-services-in-a-vm?forum=w7itprosecurity&prof=required was never satisfactory answered.  It's two years later and many of us are on Server 2012 R2 for Hyper-V hosts and Clients.  Can a TPM module on the hyper-v host provide security services to a hyper-v client on that host? 

In that two year old thread, the discussion kept going back to using bitlocker with the key on a virtual floppy, which seemed to sidestep the question of the host's TPM module providing services to the client's running on that host.  Have we made any progress towards that in the last two years?

If the TPM (or floppy) used only to decrypt bitlocker on a boot, is it adding anything additional security on a running system?  If the host or client has a dirty shutdown, wouldn't that leave the disks in a decrypted state?

Now that I seem to do live migrations more often, would the TPM keys migrate with the hype-v client VM?


- Michael Faklis

VM Proxy server on Hyper-V performance slow.

$
0
0

I've a physical server ML350Gen8 with broadcom NIC as a window 2012-r2 hyper-v server. The Hyper-v have 2 VM (AD and Proxy). 

The AD VM is installed with win2012 and the proxy VM(win2003) is a VM converted from vmware server. 

First the ping value was high when perform ping to the VM. After disabled the physical and VM's VMQ the ping value low. 

But I encounter after the proxy server converted to hyper-v VM, the client machine that connected to proxy server internet browsing is awfully slow.

It does not have performance issue when its on Vmware server. I setup a new VM as proxy server installed with linux but the performance for the client to browse internet is still slow.

Any Hyper-v setting that could improve the performance? 

what's different between statfulacl and detailedacl

$
0
0

i just confused that what's different between stateful ACL and Detailed ACL in Hyper-V 2012R2, i know stateful ACL will create return traffic automatically

for example:

Add-VMNetworkAdapterExtendedAcl –VMName “ApplicationServer” –Action “Allow” –Direction “Outbound” 80 “TCP” –Weight 100 –Stateful –Timeout 3600

if i delete “-statful” and “timeout", then what‘s will happen,any performance issue or something else?

How to get the VM's recent screenshot via powershell or wmi

$
0
0

Hi guys,

I'm trying to get the recent snapshot (thumbnail) of a vm just how the hyperv v server 2012 R2 does, 

like in the below screenshot, i want the thumbnail of the vm which is circled in red, but i'm unable to find any suitable powershell command here.. (the screenshot is of 2008 r2 server, but i need to get the thumbnail image from windows server 2012 r2)

can any one help me here, wmi code will also work for me...

please help me guys




Hyper-v traffic being routed to perimeter firewall and subsequently blocked.

$
0
0

I have a two node Server 2012 R2 Hyper-v cluster built from SCVMM 2012 R2. I have created a virtual switch that is bound to a LBFO team (8 x 1GB Nics) on each host. Logical Networks are all defined with different VLAN IDs and subnets. I have created different vNics for the parent nodes for different cluster networks as follows:

Management: 10.226.208.128/26 (VLAN 100) - this is the only NIC with a default gateway.
Live-Migration: 172.16.2.128/26 (VLAN660)
Cluster-CSV: 172.16.3.128/26 (VLAN661)

Each of the host vNics that are connected to the virtual switch have VLANID's defined.

However I am seeing some strange behaviour with cluster network traffic being blocked by our perimiter hardware firewall as follows:

100: access-list ACL109 denied tcp DMZ/10.226.208.188(62786) -> LAN/172.16.3.133(3343) hit-cnt 1 first hit [0xba094209, 0x0]

(Here I would expect the TCP 3343 traffic to go from 10.226.208.188 directly to 10.226.208.187 or from 172.16.3.134 to 172.16.3.133).

HYPERVHOST1
vEthernet (Management: 10.226.208.187)
vEthernet (Live-Migration 172.16.2.133)
vEthernet (Cluster-CSV: 172.16.3.133)

HYPERVHOST2
vEthernet (Management: 10.226.208.188)
vEthernet (Live-Migration: 172.16.2.134)
vEthernet (Cluster-CSV: 172.16.3.134)

Any ideas what I am missing here?

 

Microsoft Partner

Nested Virtualization of 64-bit vms

$
0
0
When running a VM within hyper-v and trying to virtualize with VitualBox, the vms will not boot saying that the cpu cannot run 64bit applications on a non 64bit system. Does hyper-v support nested virtualization and hardware virtualization? 

FIXED: VM Internet Issues: Two VM's on Hyper V for Windows 2008 R2 Server (one works fine to the Internet and other doesn't)

$
0
0

I have a hyper V server that uses Windows 2008 R2 and Virtual Network Manager has virtual adapter set to share.

 

1) One VM can get out to the internet and the other on the same hyper-v server cannot.

2) I tried to flip the static IP info between the VMs and it didn't make any difference.

3) Both machines are new installs of Windows Server 2008 R2 Enterprise

4) The virtual connection is being shared with both VMs

5) The connection is set CORRECTLY on both of the settings for the VMs

6) I tried to have Windows Troubleshoot but it didn't know what the problem was.

7) The Virtual NIC is set as External so it can get out to the Internet. 

  

NOTES:

  

    The Network connection adapter on the VM that is not working says "Unidentified Network"

  

    The Network connection adapter on the VM that is working says "my domain" and I can get to the Internet

  

    I have two physical NICs one that goes to the Server and the other is dedicated to share between the VMs.  As I said above the Virtual Network has been created and goes to an actual real NIC that is dedicated for the Virtual Machines and that Virtual Network has a shared adapter. 

 

Any ideas?

******* Update ******

  I fixed the issue.  I pulled out the VM settings and then enabled them again and it worked! 

Thank you everyone!

SharePoint Products Configuration Wizard - Configuration Failed at step 10 of 10

$
0
0

A little background information.  I am simply trying to create a SharePoint Server on my laptop.  I utilized the Microsoft Hyper-V Manager to create a Virtual Machine of which I have Windows Server 2012 R2 running.  I have installed the SharePoint prerequisites via some power shell scripts that all seemed to have worked and I believe i even updated the server with all updates to date.  <o:p></o:p>

<o:p> </o:p>

However, when I run the SharePoint Products Configuration i get a failure at step 10 of 10.  I am a SharePoint developer and power user not an administrator for Windows Server.  Any assistance would be greatly appreciated.    <o:p></o:p>

<o:p> </o:p>

<o:p> </o:p>

SharePoint Products Configuration Wizard<o:p></o:p>

Configuration Failed<o:p></o:p>



<o:p></o:p>

One or more configuration settings failed.  Completed configuration settings will not be rolled back.  Resolve the problem and run this configuration wizard again.  The following contatins detailed information about the failure:<o:p></o:p>

Failed to create sample data.<o:p></o:p>

<o:p> </o:p>

An exception of the type System.ServiceModel.ServerTooBusyException was thrown.  Additional exception information:  The HTTP service located at<o:p></o:p>

http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc is unavailable.  This could be because the service is to busy or because no endpoint was found listening at the specified address.  Please ensure that the address is correct and try accessing the service again later.<o:p></o:p>

<o:p> </o:p>

 Click Finish to close this wizard.<o:p></o:p>


Larry Stupka

vmconnect not running at Windows 8.1

$
0
0

Hi all,

I have issues running vmconnect at one of my Windows 8.1 computers. It suddenly stopped starting.
Unfortunately there is no entries in any log I checked, so it seems the Programm is just not running.
So I Need some more advice how to investigate.

From Windows Features "all" Features at Hyper-V are checked and installed (all 4 items selected).

The Hyper-V Manager can be run, a virtual machine can be configured, a machine can be started. 
Connecting from another machine to my virtual computer using vmconnect from the command line is working, and "connect" to a virtual machine from a remote machine is working, too. If you run  Hyper-V Manager  at my Computer, you can click "connect". Nothing happened. No log entries found.
If you changed to a cmd (run as Administrator) you also can run "vmconnect" from the command line - UAC is asking to run that programm,  after you choose OK noting happened.

After installing that Computer we used vmconnect to install some basic virtual test machine. So at this time it was working.

At that Computer a minimum of software is installed

Windows 8.1
Office 2013
no Anti Virus Software (test lab machine) current Windows Updates received by Internet Update

Can you help me where to start investigation?

Best regards,
Martin

CentOS 7 fast tsc calibration error

$
0
0
Just installed a CentOS 7 VM. Server running 2012 R2 Standard. Getting a fast tsc calibration error with every start up. Otherwise runs fine. Have tried setting clock source to hyperv_clocksource in grub, but error message persists. Apparently this isn't a big issue, according to a number of posts I've read. After the initial error CentOS ends up using hyperv_clocksource, but I'd like to clear out the error message anyhow. Suggestions? Thank you.

Hyper-V 2008 R2 Network Connection Drops on a VM

$
0
0

Hyper-V Host:  Dell PowerEdge R620 Server with 8 NIC, 256GB RAM connected to iSCSI SAN running Windows 2008 R2 SP1

Guest Machine(s): Windows 2008R2 or 2012 servers (total of 8 servers)

Symptom:  Windows 2008 R2 server drops the network connection.  Cannot PING or access the server.  Tried rebooting guest server, but still not able to connect.  So changed the network connection via Hyper-V Management console to another virtual adapter, and the system comes back online immediately.  

Logical thinking: The NIC must be bad.  But the problem continued at random times (like once or twice a week - especially in the morning with heavy network traffic load).  So, I switched the network back to the original Virtual NIC, and the system runs fine.

So it seems that the Hyper-V randomly "kills" the NIC when it is utilizing heavy I/O load.  And only way to fix it at this time is to swap the virtual NIC (5 sec but need to do manually).  Tried add another NIC to provide additional bandwidth, but same problem exists.

Is there some sort of patch available to address this?  Or maybe registry update to IGNORE the heavy I/O on a Guest OS?

I looked into http://support.microsoft.com/kb/2263829/en-us  but this seems to be a different issue as the article states that the machines comes online when rebooted where as that is not the case on my part.


LAN connection missing - 2012R2 - VM

$
0
0

Hello

i have had a strange issue on some 2012R2 VM's (gen2) running on Hyper-V 2012R2, managed via VMM.

The LAN connection inside the VM is suddenly missing, (no the VM has not been migrated)
i can't find anything in the event log on the host or on the VM.

i look like this:


in some cases device manager look's like this:

the issue have occurred on 10-15 vm'es out of 700, and only on 2012R2 not on 2003/2008/2008R2/2012

The VM is still accessible on the network, but the VM itself is not able to reach any resources.

The fix is to uninstall the nic inn device manager, search for new hardware, and reconfigure the IP.

Thank you!


Hyper V on Server 2008 R2 after using Ghost

$
0
0

Hey all...I have a problem I cannot seem to figure out. We are a training center and it is typical for me to build 1 image (lets just say SQL Server 2012. It is build on Server 2008 r2 and the virtuals are of course Hyper V and are prebuilt. I just have to run the import scripts and import them in. All works great. I clone that machine to my ghost server and deploy it out to lets say 15 other machines. This is the problem....the virtuals run just fine. However, if they try to get on the internet from the HOST machine, it takes FOREVER, if it makes it at all. Im assuming it has to do with the virtual switch using the same MAC address from the original machine it was built on, therefore causing a broadcast storm. But if I go into the Hyper V manager and change the MAC address to a static one and put unique numbers in it, nothing changes. I even tried to enable all protocols on the virtual switch, but still no go. Can you guys please tell me what Im doing wrong and how to correct it! Its a huge problem and as of now my only solution is to import the virtuals one by one on each machine, which takes 3 times as long as just ghosting the machine once.

Thanks for your help on this matter!

How to enble VM cluster group replication using powershell

$
0
0

H,

I try to suspend a replication of a VM  in  A cluster using powershell but failed ,do you know how to solve the following powershell commands

VM=Get-ClusterGroup -Cluster HVCLS -Name "SCVMM VMNAME Resources"
Suspend-VMReplication VM


Ramy

Ping and Hyper-V virtual internal switch

$
0
0
Whenever I create a Hyper-V virtual switch (internal), ping binds to the IP address of the internal network switch instead of the IP address assigned to physical adapter. How do I prevent this from happening?

Unable to start VM - Event ID 3030 from source Microsoft-Windows-Hyper-V-Worker cannot be found

$
0
0

Today I carried out a simple shutdown on a vm, 

when I went to start it backup it said "merge in progress" I assume I must of deleted a snapshot several weeks ago.

Once I restarted it

 

Great, looking at the logs:

The description for Event ID 3030 from source Microsoft-Windows-Hyper-V-Worker 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: 

Server Name
BE7F370B-8ACF-46ED-B052-E8DBD19517CD
2048
%%2147943850
0x800705AA

The locale specific resource for the desired message is not present

So, Looking in the hyper v server folder, I have ive got the following files

server.vhd

server_guid.avhd

but wait, I dont have any snap shots??? and it said it had merged?

I've tried reattaching the disk to a new vm but I get the same message.

I've also powered down another vm, and this is having the same issue (this had no snapshots)??? WTF??

I can build new VMs fine.

Unfortunately I dont want to reboot the server as it may screw up my remaining vms that are up and running.

Help...

Thank you

DW

Viewing all 19461 articles
Browse latest View live




Latest Images