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

Virtual Machine Start Up Connectivity Issue

$
0
0

I have 2 VMs each on 2 Hyper V 2012 R2 Hosts. The hosts are completely identical in hardware with 2 x 4-port 1Gb BroadCom NetXtreme adapters on which I disabled VMQ about 2 months ago when the Forefront VM was inexplicably and randomly losing connectivity.

Each host has a Windows Server 2012 R2 DC VM and a Windows Server 2008 SP2 member server VM (One member server VM is running Exchange 2010 SP3 and the other Forefront TMG 2010 SP2). The Exchange member server in particular has me puzzled since about a week now. Every time the Hyper-V host is restarted and this VM is started up too, either automatically or manually, it will lack true connectivity. To be sure, it shows its connection as connected but it will not be reachable or be able to reach any other system. Furthermore, any attempt to make changes to its settings will stall for a few minutes and eventually fail. Any attempt to run any program or management tool in it will lead to nothing; even TaskManager will not load.

Also, it will not shutdown or power off by Hyper-V Manager or PowerShell as it will just hang on shutting down. The only way out is to shutdown the host, which more times than not will hang and be unable to shut down cleanly because of this same situation. I then have to power off the host physically. The only work around I have found so far is to disconnect the VM's adapter from its virtual switch before starting it up, wait until it is fully booted and then reconnect the adapter to the virtual switch. This way it will have true connectivity and remain so for as long as it is up.

Does any one have an idea of what may be wrong please?

Please note: the virtual switch is bound to an adapter port that is not shared with the management OS and the virtual switch is dedicated to the VM's virtual adapter, no other VM shares the virtual switch with it.


BPK



Virtual Machines loose network connectivity in Windows 2012 Hyper-V Cluster

$
0
0

Running a two node Hyper V cluster on Windows 2012. One of the nodes all the virtual machines stopped responding to network connections. Checking thru Hyper-V manager showed all nodes running correctly and no errors on the VMs.

Moving the VMs to the second node caused network issues to go away, all nodes working correctly. Moving a VM back to the first node caused its network to drop again. Rebooted first Hyper-V node and then moved VM back. Everything working.

No errors in the Hyper-V node or VM. VirtualNIC did not show any disconnects or errors. All very strange.

Servers are Dell 710 PowerEdge using Broadcom NetXtreme NICs.


John Moore

10Gb Networking best practices

$
0
0
I'm looking for good guidance on Hyper-V 2012 R2 network configuration best practices for a converged server. Meaning, dual 10Gb NICs and using SMB 3.0 file shares for storage. The servers also have two 1Gb NICs. I'm very familiar with VMware, but ramping up on HV networking best practices.

Blog: www.derekseaman.com, VMware vExpert 2012/2013

Resource metering problem

$
0
0

Hi guys,

I am using a 3-node WS 2012 R2 Hyper-V cluster. For all virtual machines I enabled resource metering. However, on a random basis Measure-VM stops displaying numbers, it just returns blank fields instead of values...resource metering is still enabled on a VM, but all values are empty. This happens to random VMs, while resource metering for all other VMs keeps working properly.

The only workaround is to disable & enable resource metering, however this resets values which is obviously a problem.

Has anyone had this problem?

Server 2012 / Hyper-V 3.0 Failover Clustering - Two Nodes, No Shared Storage

$
0
0
Guys, I want to create a two-node Hyper-V failover cluster without using shared storage (i.e., each server is using only direct-attached storage). Both machines would be running Server 2012 with Hyper-V 3.0 and have identical hardware. Can it be done??

Shaun

Standalone Hyper-V is too painful to use

$
0
0

This is really a complaint not a question.  I've been using the free version of VMware ESXi for development testing for years.  I keep reading about how Hyper-V is catching up to VMware in features.  I was excited about the free stand-alone version and decided to try it out.  I downloaded the Hyper-V 2012 RC standalone version and installed it.  This thing is a trainwreck!  There is not a chance in hell that anyone will ever use this thing in scenarios like mine.  It obviously intented to be used by IT Geniuses in a domain only.  I would really like a version that I can up and running in less than half an hour like esxi.  How the heck is anyone going to evaluate it this in a reasonable manner?  I feel like it was just thrown out there so Microsoft could claim they have a free virtualization server like MS?

Steps for free ESXi.

1. Download from website burn to CD/DVD.

2. Boot from disc, follow steps to overwrite hard drive and install.

3. After reboot, config management IP address.

4. Go back to my desk and open my web browser to Management IP and download client.

5. Install ESX client and start running VMs!

Steps for Hyper-V

1. Download from website burn to CD/DVD.

2. Boot from disc, follow steps to overwrite hard drive and install.

3. After reboot, config management IP address.

4. Scour the internet for server tools that install the Hyper-V management snap-in for Win 7.

5. Install server management tools pack.

6. Go to add/remove and enable the Hyper-V snap-in.

7. Open Hypver-V snap-in and connect TRY to connect to box.

8. Receive generic authentication error message.

9. Spend several hours scouring the internet looking for registry hacks, firewall hacks that actually allow you to connect to a damn hyper-v box!

10. Eventually you come across the website/project. http://archive.msdn.microsoft.com/HVRemote

This site walks you through all the script changes/reboots you have to make to connect to bloody hyper-v! 

Here is what I would prefer

I don't want to download any tools at all.  I just want a HTML5 web server on this box that allows me to do everything I can from the  Hyper-V console and doesn't make me configure anything other than a password.  It would be great if it was themed similar to the new Windows Azure Virtual Machines console.  I doesn't have to provide like a built-in viewer to actually interact with the VMs, I would be happy with a remote desktop style connection.

HyperV Replication Failing on one guest only how to diagnose

$
0
0

Hi

Thanks in advance for reading as this problem has me stumped.

I've got 2 x HyperV Host servers running 2012\R2 fully patched with local SAS R10 storage via a LSI SAS card.  One is the host for three guest servers (1 x 2012/R2, 1 x 2008/R2 with SQL and a 2003) and the other is used just for replication plus a domain controller guest.  Everything has been working fine since Feb 14 until last week when I had to shutdown both servers.  Since restarting the 2012 guest replication is working fine with a status of Normal but the 2008/R2 and 2003 guest machines both won't replicate with the status turning to critical almost immediately replication is started.  So far I've tried:

  • Deleting and recreating the replica servers
  • Updating integration services on the guests
  • Full Windows Update on hosts and guests
  • Checking for VSS errors on hosts and guests - there are none
  • Checked all event logs - can't find any sign of an error with a problem

None of this has plus numerous reboots has made any difference unfortunately.  As replication is working OK for one server (which is the biggest) then I'm pretty confident my hardware, switches and network are OK and all the diagnostics I've run also come back with no problems.  Plus, until the power down, all was working fine and it hadn't ever gone off-line for any guests.

So far I can't even figure out what might be causing this as I can't see anything in the event logs or find a way of running a diagnostic status report which might show what's causing the problem.  Can anyone point me in the right direction please?

Many thanks in advance

Andy Truelove


Andy Truelove Tate Computer Technology Ltd

Service Request Timeout Hyper-V error

$
0
0

Someone could help me with this error ???  I cannot run the windowsphone emulator


VM's disconnecting from network

$
0
0

Hello,

I recently created a remote desktop collection using windows server 2012 R2 on an HP ProLiant BL620c G7 Blade Server (which has completely up to date firmware and drivers). There are 30 VM’s running on the server, and it is running great – for the most part. My issue is that, it seems to be at random (maybe once every 48 hours), users will be disconnected from their session, and they are unable to log back into their session remotely. I can log into their session as a local user by going through hyper-v, however once I am in there I notice that I have no internet or network access. To solve this problem, I have to go onto the network adapter of the VM, disconnect the virtual switch assigned to the VM, and reconnect it again. Doing this provides remote access to the VM again.

I initially thought the issue came from the configuration of the virtual switch. The HP Blade Server has 4 10 gig NIC’s, and they were teamed into two teams (each team having 2 physical NIC’s). I created two separate external network virtual switches from each Team. I also had “allow management operating system to share this network adapter” checked. I noticed a warning on the server side when a disconnect would occur which was Event 16945 “MAC Conflict: A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic Microsoft Network Adapter Multiplexor Driver.” Because this error occurred at the same time as a disconnect, I assumed that this warning message was causing the problem, and I was able to resolve it by redoing the NIC team to where there of the physical NICs were teamed together and a virtual switch was created from them without the checkbox that allowed management operating systems to share the network adapter. This left one NIC available for management purposes, and I haven’t seen the error message since, however disconnects still continue occur.

I do not see any helpful information in the event logs of the client VM when one of these disconnects occur, and the users are doing nothing out of the ordinary that would cause it to happen. In fact this problem has happened when a user has been disconnected from their machine for over 10 hours.

Anyone have any thoughts as to what is going on here?

Hyper-V Failover IP

$
0
0

Hello,

I have a Hyper-V environment consisting of Windows Server 2012 (not R2) hosts at a primary site and at a disaster recovery (DR) site. Failover clustering is in place with Hyper-V replication taking place between the two sites. Each site belongs to a different subnet with a different VLAN scheme so to perform a planned failover successfully IP failover must occur. 

Everything works properly. The problem I have with this is that it is extremely cumbersome to have to manually enter the IP settings for both the primary and replica VMs. I wanted to ask if there was a better way to do this. Other than PowerShell, how would this be done if a hundred or more machines needed to be setup this way?

Thanks


Auto-resume Paused Hyper-V VMs

$
0
0

Hi,

Currently, my VMs (in a Failover Clustered Environment) have been pausing randomly due to Event ID 16060. I've attached a task to send me an email alert when such event occurs and I'll have to manually resume the VMs.

Is there anyway to auto-resume the VMs by running a powershell script?

Thanks.

Hyper-V Replica o SAN

$
0
0
for an implementation of FailOver clustering of Hyper-V 2012 R2, it is a best practice to use Hyper-V Replica or physically connection connection to the servers to storage???

Host & Guest MAC Address Conflict

$
0
0

Hi,

I have a fairly simple Hyper-V (gen 2) setup; a single Windows 8.1 virtual machine on a Windows Server 2012 R2 host. The guest is connected through an external (bridged) Hyper-V virtual switch. Problem is the MAC address of the virtual machine appears as having the same MAC address as the host by other devices on the physical network.

Host: 192.168.0.100 (static) - 68-1B-A2-01-86-61 (Atheros AR9485 Wireless Card)
Guest: 192.168.0.101 (static) - 00-15-5D-00-74-00 (Hyper-V Network Adapter)

But when I look into the ARP table of my router, both IP addresses are associated with the same MAC address (68-1B-A2-01-86-61). When the guest registers its IP to the router, the router sees the MAC address of the host instead of the virtual machine. That causes 2 IP addresses being associated with the same MAC address, confusing the router and causing some instabilities. Statically assigning 192.168.0.101 to 00-15-5D-00-74-00 using an arp command causes the virtual machine to be unreachable.

Is there something I am missing here? Could this be a problem with the wireless NIC? Why is the MAC addresses of the virtual machine not known/reachable by the physical network?

Thanks in advance for helping me out.










Full 3d Gaming in Virtualization?

$
0
0

Hello, I would like to have up to 10 guests on my machine all running windows 7 or 8 os and able to play minecraft or stracraft 1 maybe perhaps even stracraft 2 for me and some friends

 

I would have to do passthrough of my video card using remoteFX vGPU?

 

I currently have dual x5650, 48 gigs of ram, 1tb ssd, and an x58 x8 series supermicro mobo capable of vt-d

 

Also what graphics card is best suited for remoteFX vGPU?  Can I use a gtx 580 or above like gtx 680?  Or is ATI/AMD graphic cards better for this?

 


Any help is 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!

 



Problem between Hyper-v and Access Points

$
0
0

Hi
I Have a HP-DL380G8 server and windows server 2012R2 on it called BaseServer,

we have also 5 Hyper-v Windows 2012R2 machins on BaseServer. one of them is AD-DC. all 5 Hyper-v servers are joined to a domain.

the problem is when we start working with this solution some of our network device (Like access points- WIFI) stop working! this means we can see Access point but no device can connect to it!

when we disconnect the HP server from Lan they start working again.

what we should do?

Please help us

Regards

Mohsen

I want to move a couple VMs of my Windows Server 2012 (Not R2) to Windows 8 on my new laptop

$
0
0

How do I export VMs when they use a differencing disk? Do I move the base disk first, then export the VM? How do I point the VM once it is exported to point the differencing disk back to the base disk?

Strange Update-ClusterVirtualMachineConfiguration error

$
0
0

Hi, 

When using some of the Hyper-V Powershell cluster commands, i sometimes see an error thrown along the lines of: 

Add-VMHardDiskDrive : A parameter is invalid. The Update-ClusterVirtualMachineConfiguration command could not be completed.

This is always when running a command that manipulates the VM config, something like 'Add-VMHardDiskDrive', for instance. 

If i dig deeper into the error it is telling me that:

The running command stopped because the preference variable "ErrorActionPreference" or common parameter is set to
Stop: You do not have administrative privileges on the cluster. Contact your network administrator to request access
    Access is denied

None of this is true at all and i totally have the correct credentials, and can call Update-ClusterVirtualMachineConfiguration using the VM GUID from the same shell without error. 

Is this a bug?

This is obviously a clustered Hyper-V scenario. If i look at a VM through the cluster manager it's details see current, regardless of the error. I don't actually understand the rules on running Update-ClusterVirtualMachineConfiguration and would be grateful if someone can  explain them to me. For instance if i sit a do a bunch of raw WMI calls to change the ammount of RAM in a VM, then look at in the cluster manager, the RAM is correct. But perhaps the GUI or stop\start process of a VM is doing this? 

Cheers.

Server 2012 R2 VM Replication

$
0
0
I have two clustered hosts running Server 2012 R2. I have a NAS setup with iSCSI targets that I'm using for storage. I would like to setup a second NAS and replicate my VM's to the second NAS in case my primary NAS device fails. Is there anyway I can have Hyper-V or VMM perform the replication?

Vincent Sprague

Failover cluster fails validation after a single node restart

$
0
0

I had a lab environment setup that works great, passes validation, can do live migrations without issue but as soon as I restarted one of the nodes, the then still live node became the only node able to access the storage backend. What's weird is that the restarted node can still access the CSV storage and run VMs off of it, but the validation report is unable to list the actual disks.

I have an iSCSI backed shared storage server and I can see that both of my nodes are connected to the iSCSI targets successfully, but the node I first restarted no longer lists any disks/volumes in disk management and the once available MPIO menus are disabled in the iSCSI control panel. I also tried to restart the second node after the first node came back but although the first node was up and running and had VMs on it, restarting the second node brought the entire cluster down. I see event IDs 1177, 1573, and 1069 appear in the Cluster Events log. When the second node came back up, the cluster came back with it, but not the storage. Both nodes seem to display similar behavior in that they cannot access the storage backend. Now the storage is inaccessible by both nodes.

I think the issue here is that the first node I restarted is unable to see any disks/volumes from the storage backend only after joining the cluster and doing a restart. Before joining the cluster I did reboots on both nodes and both were able to connect to the iSCSI backend without issue. It wasn't until after joining the cluster that node 1 became unable to access the storage backend after reboots. The validation report fails with "No disks were found on which to perform cluster validation tests. To correct this, review the following possible causes: ..." although none of the suggestions seem applicable and the validation report was successful right before the restart of the node.

Does anyone have suggestions on how to further troubleshoot or resolve this issue?

**EDIT**
I am using Hyper-V Server 2012 R2 on both nodes and they are joined to the same domain.
Viewing all 19461 articles
Browse latest View live




Latest Images