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

Unable to remove Virtual Switch

$
0
0

I changed our networking configuration on our Hyper-V cluster built on 2012 R2. However, I now need to remove the old switch but when I try to do so I get the following error message:

"Error applying virtual switch property changes. failed while removing virtual Ethernet switch. the virtual switch 'switch' canot be deleted because it is being used by ruing virtual machines or assigned to child pools."

I have checked all of the VMs running on the cluster and not a single one is connected to this switch anymore, I also have removed any checkpoints that I could find.

Is there a way to find what is still connected to this switch or is there another way of removing it?


Cannot connect to one Hyper-V machine from Hyper-V manager- all others are OK

$
0
0

Hey everyone

Have a slightly strange problem then I just can't seem to get a handle on:

We have three Full 2012 Servers running Hyper-V and two 2012 Hyper-V core servers. All servers store their VHD's locally (I know we need a SAN but that is not the issue here). I manage them all from the Hyper-V manager on my Windows 8.1 Pro laptop. Hyper-V manager is installed on all three of the full installs as well, and has all 5 servers in all 3 managers - so i can remote onto any of the three full servers when i am not here and manage any of my VM's.

I have one VM that is playing up and only one. It is our file server that is running 2008 server SP2. Basically, I can remote desktop to it, but no matter which Hyper-V Manager I use, I cannot open view it from there, It shows a thumbnail but when you try and connect to it, you get the "Cannot connect to the virtual machine....."

Now, this VM is around 5 years old and has been working fine for years. I moved the VM onto a 2012 Hyper-V core server last year and it was fine, (as are the other six VM's that run on this server) no problem at all, connected any way you wanted to, but now no chance - RDP or nothing :-(

So, I have: Restarted the laptop, tried all other Hyper-V managers we have installed with the same result, rebooted the VM - twice, and in an act of desperation, rebooted the host server as well, nothing worked, I still have this issue. My problem is that this is obviously a live file server and I can only reboot it VERY late at night so I don't want to but I really would like the Hyper-V manager to be able to connect to it.

Should point out that all other controls in the manager work OK i.e Shutdown, pause etc it is just the viewer that does not work on this one VM

If anyone could shed a little bit of light I would be most grateful :-)

Thank you in advance



Downloading Hyper-V Server 2012 R2

$
0
0

Hi,

I am trying to download Hyper-V-Server 2012 R2 from http://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2012-r2. I am logged on with my Live ID, all the required fields are filled out automatically - but when I click "continue" nothing happens. The only effect is that I received an E-Mail with first steps after downloading Hyperv-V Server 2012 R2.

I tried different Browsers (Internet Explorer 11, Firefox and Opera) and also tried adding the website to compatibility view in Internet Explorer. Nothing changed.

What can I do? Is there any other possibility to download Hyper-V Server 2012 R2?

Thanks in advance,

Florian

Advice on Setting up Exchange 2013

$
0
0

I put this in the Hyper-V forum because the questions I have are more related to overall Hyper-V config than Exchange. Since I am more familiar with VMWare, I do not know if the concept I have on Hyper-V is correct for Exchange. We have two Hyper-V hosts connected to an EMC SAN via 10GB iSCSI. On the SAN, we created the Storage Pool and LUNs to handle the Exchange 2013 databases and Logs. The Hyper-V environment already had a CSV for the various VMs and that seems to work nicely. We created the Exchange VMs in there as well. Now, to add the LUNs for the databases and logs, we also created CSV out of all those LUNs and then started to create virtual hard disks (.vhdx format) to fill up the LUNs. This was done through the Settings on the Exchange 2013 VMs using a SCSI controller.

So, my question is, should the databases and LUNs be CSVs or should we do this some other way that will allow the VMs to failover and still maintain a connection to the storage. I read about Pass-Through disks and iSCSI within the VM itself, but both of these seem to have either failover issues or performance issues. So what are my options here?

Thanks.


MCITP Exchange 2010 | MCITP Lync Server 2010 | MCTS Windows 2008

Clear discription about Hyper-V licensing

$
0
0

Hello everyone .

First of all , let me say I've read a lot of articles , websites and topics about Hyper-V Licensing . Unfortunately Microsoft isn't going to work on its method to describe something! Microsoft Press is an example . Anyway, I'm going to buy a Windows Server 2012 R2 Data Center License to bring all machines up using Hyper-V Rule . The clear question is " Does it need to buy separated license for each machine?" . If your answer is NO , it means there's no need to do anything after creating a virtual machine and it's going to be activated at firs startup.

What about Standard edition ? We're going to create 12 VMs . How many License we need ?

How to replicate VM connected with san storage

$
0
0

Hi ,

We are assign LUN to Cluster sql VMs , but we can't enable replication  , do you have any workaround to solve it

and what about if we use Shared VHD ,is the replication failed ?


Ramy

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

RemoteFX Question

$
0
0

Not sure if this question was asked before but i did not see it. 

I plan on buying a new computer with compatible RemoteFX specs.  I had a question about playing the games while directly connected into the Windows 2008 R2 SP1 server.  I am sure i can not play the game through windows 2008 R2 since it is a server OS but what i would like to do is to play the game on the 2008 R2 box through Hyper-V on a Windows 7 install VM, consoled in, is this possible?  Would that console be able to play the game in full screen?  Would i be able to RDP from the 2008 R2 box into the Windows 7 OS (the Hyper-V'ed VM) to play a game?

Basicly i would like to have one computer to be my server and to also play my games, with windows 2008 R2 being the only OS installed.  I know i can dual boot but do not want that since then i would have to reboot and change OS's all the time.

Thanks,

-Jeff


Hyper-V WIndows Server 2012 R2 event ID 157 Disk x has been surprise removed using windows backup

$
0
0

I've found a few postings on Event ID 157 for Windows 2012 R2, but no answers

We've upgraded from Server 2012 to 2012 R2. Hyper-V Role. Event ID 157 occurs when Windows Backup is running to backup Hyper-V machines. People have reported the same issue I am having. They have ID 157 occurring only during the Windows Backup process or if they use VSS Snapshots to backup hyper-v virtual machines.

I've found event ID 157 was designed for 2012 R2 Storage Groups when a disk is removed, so it seems like it is a bug showing up during Windows Backup.

One time (out of about 10 now - once each day) that this event was logged, a software RESET was sent to the LSI Mega Raid controller for half of the array and consistency checks were immediately done. I hope this does not happen again.

Everything worked fine before we moved from 2012 to 2012 R2. I've done a clean install and it still happens.

I've looked through the event logs on the virtual machines and we have one Windows 2008 Server running SQL 2008 R2 and it chokes through the entire backup process with hundreds of errors, starting with the SQL VSS Writer receiving a command that it does not understand. From then onward it says tables and data are corrupt, but the normal SQL maintenance job we have running for SQL Server backs up the databases and performs consistenacy checks without issues.

I've just remove the SQL Server from the Windows Backup and will see how it goes tonight.

In case this is related to the SQL Server, here's the error that is 1st logged as soon as the Windows Backup on the host begins:

Event ID 513, CAPI2, Error, Cruptographic Services failed while processing the OnIdentity() call in the System Writer Object.

Details: AddCoreCsiFiles: BeginFileEnumeratrion() failed.

System Error: Access is denied.

After that it freezes the databases, gives dozens of errors for each table, and then restores each table to normal operation.

The Guest SQL server appears to always be the 1st VM to get backed up, so I doubt this has anything to do with it, but thought I should provide as many details as possible, especially when everyone else has discovered it is VSS related and this guest is reporting VSS errors.

What do you think?
thanks
John
P.S. there are no hard drive errors, so running check disk will not help.

can hyper-v be installed on an ASUS T100 Transformer 32 bit regarding server 2012

$
0
0
can hyper-v be installed on an ASUS T100 Transformer 32 bit regarding server 2012

Multiple Hyper-V managers?

$
0
0

Hello,

Quick and *silly* question...

I have a production server running windows server 2012 std. Hyper-v is working like a charm. Recently we bought a second server almost (hardware) identical with the first one. Is it possible to have multiple hyper-v managers to the same network?

I mean what is the best case scenario for having :

Server (1)

Domain Controller (vm1)

Exchange 2013 (vm2)

Server (2)

MS-SQL Databases (2008) (vm1)

MS-SQL Databases (2012) (vm2)

Unable to manage Hyper-V locally or remotely

$
0
0

My 2012 R2 cluster (joined to domain) was running just fine until this morning. I am not able to connect remotely or locally to failover cluster manager OR the hyper-v manager on my node HV01 (I can connect to hyper-v manager to HV02).

Everything on the server seems to be running fine though. The only logs I see are in Microsoft/Windows/WMI-Activity:

Id = {37343536-3939-0002-2E0E-54B1B397CF01}; ClientMachine = HV01; User = NT AUTHORITY\NETWORK SERVICE; ClientProcessId = 5564; Component = Unknown; Operation = Start IWbemServices::ExecQuery - root\wmi : SELECT * FROM MSStorageDriver_FailurePredictStatus; ResultCode = 0x80041017; PossibleCause = Unknown

Id = {37343536-3939-0002-2E0E-54B1B397CF01}; ClientMachine = HV01; User = NT AUTHORITY\NETWORK SERVICE; ClientProcessId = 5564; Component = Unknown; Operation = Start IWbemServices::ExecQuery - root\CIMv2 : SELECT * FROM Win32_DiskDrive; ResultCode = 0x80041017; PossibleCause = Unknown

2012 R2 Hyper-V VM Disk 2 has been surprise removed | An error was detected on device \Device\Harddisk2\DR2 during a paging operation

$
0
0

I have been scouring the internet for over a week now, and I cannot figure this one out. Some background... I am retiring an old physical file share server, and I am creating a new 2012 R2 VM on a 2012R2 DataCenter Core Hyper-V host. Creating the VM went without issue. It is configured as follows:

8GB RAM

4 CPU Cores

72GB system drive (C:\)

2TB data drive (D:\)

12GB page file drive (Z:\)

I have about 1.8TB of data to copy over from a physical box, so I am using RoboCopy. I have gotten about 1.5TB of data over, then the new VM's data drive (D:\) disappears and the copy fails. The disk no longer appears in Windows Explorer or diskmgmt.msc. The even log shows many event IDs 153 (The IO operation at logical block address 0x*** for Disk 2 was retried) and event IDs 51 (An error was detected on device \Device\Harddisk2\DR2 during a paging operation, and the last event when the drive disappears is a single Event ID 157 (Disk 2 has been surprise removed).

After racking my head over this for several days, I deleted the VHDX for the 2TB data drive, created a new one, and started the data copy all over... same issue. I completely deleted the VM and all files, reinstalled on new VHDX drives... same issue.

This leads me to think it is an issue with the Hyper-V host, but there are no event IDs pertaining to this, and the other 53VMs are running without issue.

I would SINCERELY appreciate any help with this.

Sorry for huge post, but thank you in advance!


Dynamic Memory in the production environment

$
0
0

Hi,

We configure all production VMs with static memory  on Hyper-v 2012

we need to make sure there is no negative impact on VM performance if we use Dynamic memory , as we read for 2 yearsnot recommend to use dynamic memory in the production.

I preferred the answer with Trusted URL


Ramy


Not able to Start Hyper-V(2012 R2) VM when placing the VM config file on Samba Share,Its giving error:Unable to initialize the saveset

$
0
0
---We are trying to setup Hyper-V on Samba shares samba version 3.6 exported from Ubuntu  M/c. Basically runnig the Public(share) from the Ubuntu and able to access it from Windows 2012 (create/modify everything). I used Hyper-V and placed the disks".vhd" on this , VM succesfull created and started. However when I placed the VM config files on this (samba) shares VM created successfully but its not starting, Its giving error like Unable to initialize the saveset -- Any idea how to place the Hyper-V VM config files samba share?

Synthetic FibreChannel Port: Failed to start reserving resources with Error 'Insufficient system resources exist to complete the requested service.' (0x800705AA)

$
0
0

Hello Gurus 

i have installed windows server 2012 RTM with Hyper-V. i already created virtual machine with virtual fiber channel adapter connected to physical one. sometimes when i restart the virtual machine it gets failed to start again and the following error appears in the event viewer of the host:


error id 21502
'Virtual Machine xyz' failed to start.

'xyz' failed to start. (Virtual machine ID number)

'xyz' Synthetic FibreChannel Port: Failed to start reserving resources with Error 'Insufficient system resources exist to complete the requested service.' (0x800705AA). (Virtual machine IDnumber)

'xyz': Operation for virtual port (C003FF18F98C000E) failed with an error: No physical port available to satisfy the request (Virtual machine IDnumber).



error id 1069
Cluster resource 'Virtual Machine xyz' of type 'Virtual Machine' in clustered role 'xyz' failed. The error code was '0x5aa' ('Insufficient system resources exist to complete the requested service.').

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.

appreciate your help

Ashraf

Weird app behaviour (VFP9) under Server 2012 R2 and Hyper-V

$
0
0

I have a customer that uses a big line of business app that is written in Visual FoxPro 9 (VFP9).  The application ran very well in a Server 2008 terminal server VM on top of VMware ESXi 5.1 on a Dell T610 with 15K drives in a RAID10 behind a Dell H700 controller (VM was in the RAID10).

We have migrated the customer out of the ESXi environment onto Hyper-V on top of Server 2012 R2.  Net-new terminal server built as a Server 2012 R2 VM on top of new Server 2012 R2 host (Dell T620 with 15K drives in a RAID 10 behind Dell H710p controller).  Host was originally built with a Tiered Storage Space that included all of the 15K drives plus dual enterprise SSD's but I have backed that out.  The application vendor migrated the VFP9 application to the new server and did whatever they needed to do to get the app installed.

The application runs  but it is, to put it mildly, a dog in this environment.  Lookups that took less than a second in the old 2008/ESXi environment can take between 5 and 10 seconds on the new host.  All other applications fly on the new terminal server VM, just the VFP9 app is doggy.  I have tried many things to sort out the problem including running all required VFP maintenance (reindex, repair and pack files) with not much to show for it.  I have rebuilt the underlying RAID10 with differeing stripe sizes, again with no real effect on VFP on way or the other.  I have migrated the VM to other Hyper-V hosts (the T610 has been rebuilt as a 2012 R2 host) and noted similar performance issues.

The app vendor are useless in helping diagnose the problem.  They say the app runs fine under Server 2012 R2 but they only have it running in a physical environment (and I've not actually seen the app run so I have to take them at their word).  I have had to remind them that the original terminal server was also virtualized and did not have issues.

I'd be interested in knowing if anyone else has seen similar behaviour in older apps under 2012 R2 an Hyper-V and, specifically, if anyone has seen this issue with VFP apps?  I am willing to try anything at this point including migrating back to ESXi but I'd rather sort out the issue in the current environment.  Any comments, insights or suggestions would be greatly appreciated.

Robert Dick, Office365 MVP


Robert Dick Office 365 MVP

Windows Server 2012 reboots while removing the Hyper-V vSwitch.

$
0
0

I have a WIn2k12 server with Hyper-V running. While removing the vSwitch configured in Hyper-V, the server got rebooted. In the event logs below mentioned error was notices.

he computer has rebooted from a bugcheck.  The bugcheck was: 0x00000019 (0x0000000000000024, 0x00000000000000f2, 0x0000000000000001, 0xfffffa800b9ba6c0). A dump was saved in: C:\Windows\MEMORY.DMP. Report Id: 072314-20248-01.

The Windows has generated a MEMORY.dump which is ~570MB in size. Is it possible to analyze the MEMORY.dump and find the cause for a server reboot.

Can you please someone help me to narrow down the root cause of this issue and how to avoid this issue in the future.

Improve disk write performance to VM

$
0
0

I have a Scale-Out File Server (SOFS) acting as the storage for one of my test Hyper-V server.  All servers involved are running Windows Server 2012 R2 Update 1.

I'm noticing that when I copy a bunch of large files (several .iso images) directory to the SOFS's share (i.e.\\SOFS\share1), I get great and steady performance of about 90-100 MB/s (limit of my current 1 GbE connection). 

The problem is when I copy the same .iso images to a VM's hard drive that is running on the SOFS's share (i.e. copy to\\VM1\D$ which is actually \\SOFS\Share1\DriveD.vhdx), I get really slow and very unsteady performance ranging from 10 MB/s to 50 MB/s (mostly at the lower end).

Reading from the SOFS, either directly or through the VM, gets awesome performance and is not an issue.  Only when writing to the VM on the SOFS.

I'm thinking the VM itself is the bottleneck.  Any suggestions on improving the disk write performance in the VM?

Thanks


Protecting VMs against host power-offs

$
0
0

Every now and then and for numerous reasons, my Windows 8 desktop encounters a loss of power. I am running a Debian 6 virtual machine via HyperV and when I restore power, the VM kernel panics every single time. Rebooting the VM results in the disk being set to read-only mode, and fixing it takes quite a long time. I have a number of snapshots from states such as these.

Is there a feature of HyperV that makes VMs more tolerant to sudden host power-offs? I could script something together to take periodic snapshots of my VMs and revert to those should I encounter a loss of power, but I wonder if there is something already present in HyperV to facilitate such protection.

I have one of the simplest of simplest setups: Windows 8, HyperV with two VMs (Solaris and Debian), each with a single attached drive and network adaptor. I have no clustering setup nor do I use any HyperV integration (the Debian kernel module leads to more kernel panics, and I don't have time to debug that at the moment).

Is there something already present, or should I just write a script to take periodic snapshots?


Edit: I now realize this is the Windows Server forums, yet my setup uses Windows 8. Is there a more appropriate forum for my post?
Viewing all 19461 articles
Browse latest View live




Latest Images