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

Windows server R2 Huper V core-GUI, activation for vm

$
0
0

Installed Windows server 2012 r2 Standard Core-GUI edition and activated using the OEM sticker key. On OEM sticker it mentions supports 2 VMs. But when activating virtual machine the same activation key is not being accepted. The guest OS being installed is Windows Server 2008.

From where to get Activation keys for Virtual machines?


P2V migration Hyper-V and windows 2003

$
0
0

Hi I'm in process of migration of existing 10 old physical machines with Windows 2003 servers installed to new Hyper-V 2012r2 environment. Customer have open license agreement on existing windows 2003 servers. What licenses do i need if we P2V old windows 2003 machines to 2 node hyper-v cluster. It's possible to migrate existing licenses of windows 2003 to free Hyper-V server 2012r2 cluster without breaking the license agreement?

Or we have to buy standard or datacenter licenses for Hyper-V servers?

Thank you for answering.

osozu

netsh with hyper-v 2012 r2 core

$
0
0

Hi,

I have one problem while disabling interface in HYPER-v2012 R2 core edition. Please check my interfaces:


C:\>netsh interface show interfaces

Admin State     State     Type         Interface Name
------------------------------------------------------------------
Enabled         Connected Dedicated    core2
Enabled         Connected Dedicated    core3

C:\>netsh interface set interface "core3" DISABLED
The handle is invalid.

I have also try:

C:\>netsh interface set interface name="core3" admin=DISABLED
The handle is invalid.

what is wrong?

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

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


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.

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.











Hyper-V Backup failing "No Valid component or volume to snapshot"

$
0
0

I am running Server 2012 R2 with the Hyper-V role enabled. I have two guest VM's both are Server 2012 R2.

The integration services has been installed on both and all the integration services have been enabled via Hyper-V console. I am trying to use Windows Server Backup to backup both the VM's only, however when I try I see the following errors;

From the Windows Server Backup log;

"Failed No valid volume or coponent to snapshot"

And from Windows Event Viewer;

"

- System 

  - Provider 

   [ Name]  SPP 

  - EventID 16387 

   [ Qualifiers]  0 

   Level 2 

   Task 0 

   Keywords 0x80000000000000 

  - TimeCreated 

   [ SystemTime]  2014-06-23T10:51:10.000000000Z 

   EventRecordID 1202 

   Channel Application 

   Computer C9-HYPV1 

   Security 


- EventData 

   Microsoft Hyper-V VSS Writer 

   Component reports path on volume which has been excluded. (0x8100010F) 

   00000000FA1C0000A81C00000000000042BEB7871435CED8047BAD4DC901000000000000 


--------------------------------------------------------------------------------

Binary data:


In Words

0000: 00000000 00001CFA 00001CA8 00000000 
0010: 87B7BE42 D8CE3514 4DAD7B04 000001C9 
0020: 00000000    


In Bytes

0000: 00 00 00 00 FA 1C 00 00   ....ú...
0008: A8 1C 00 00 00 00 00 00   ¨.......
0010: 42 BE B7 87 14 35 CE D8   B¾·‡.5ÎØ
0018: 04 7B AD 4D C9 01 00 00   .{­MÉ...
0020: 00 00 00 00               ...."

and

"

- System 

  - Provider 

   [ Name]  Windows Error Reporting 

  - EventID 1001 

   [ Qualifiers]  0 

   Level 4 

   Task 0 

   Keywords 0x80000000000000 

  - TimeCreated 

   [ SystemTime]  2014-06-23T10:51:10.000000000Z 

   EventRecordID 1203 

   Channel Application 

   Computer C9-HYPV1 

   Security 


- EventData 


   0 
   Windows Server Backup Error 
   Not available 
   0 
   2 
   1 
   0x8100010c 
   0x80780177 
   0x00000000 
   0x00000000 
   0x00000000 
   0x80780177 



   C:\ProgramData\Microsoft\Windows\WER\ReportQueue\NonCritical_2_ef36db811de266a3737765d5eadce739a696_00000000_060cec95 

   0 
   48d36edf-fac4-11e3-80bf-d89d672ce7b7 
   4100 "

and

"

- System 

  - Provider 

   [ Name]  Microsoft-Windows-Backup 
   [ Guid]  {1DB28F2E-8F80-4027-8C5A-A11F7F10F62D} 

   EventID 521 

   Version 2 

   Level 2 

   Task 0 

   Opcode 0 

   Keywords 0x8000000000000000 

  - TimeCreated 

   [ SystemTime]  2014-06-23T10:51:10.297221600Z 

   EventRecordID 1204 

   Correlation 

  - Execution 

   [ ProcessID]  3372 
   [ ThreadID]  3468 

   Channel Application 

   Computer C9-HYPV1 

  - Security 

   [ UserID]  S-1-5-18 


- EventData 

  BackupTime 2014-06-23T10:51:05.219000000Z 
  ErrorCode 0x8100010c 
  ErrorMessage %%2164261132 
"

I would appreciate some help resolving this issue.

                                                                 

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?

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.

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.

Hyper-V Host with a total of 4 NICs - Teaming?

$
0
0

Hello, I have a single Windows 2012 R2 server (Host) that will be running 3 VMs for 15 to 20 users. One VM server will be the main domain controller and the other 2 will be a SQL server and a Remote Desktop server.  I have 2 onboard gigabyte adapters and 2 gigabyte adapters on an add-in card, the 4 adapters are the all the same model, just to give you as much info as possible. I’m reading a ton of articles and it’s making my head spin.  The host server will be doing nothing but running the virtual machines and not connected to any domain.  In these articles they talk about having one NIC for the host to do management and some say that you don’t need to do this and can team all of the adapters and then designate a host adapter. The goal for me is to provide the best configuration for performance and reliability. With the changes to Windows 2012 R2, Hyper-V and NIC teaming I may be getting a little confused in my thought process since I haven’t run through this yet, here is what I’m thinking.

  1. Do I just take all 4 adapters and team them on the host and set the host IP address on the newly created team?
  2. Create a new VM switch and attach it to the teamed adapter.
  3. Create a new VM Network adapter for the DC, SQL and Remote Desktop VM servers with minimum bandwidth weight specified.

Any help on this would be greatly appreciated before I start loading up the server.  Thanks Ryan.



Question: Easy way to find Virtual Machine Configuration file associated with each VM?

$
0
0

Guys - quick question. I have a Hyper-V 2008 Host where I am manually moving the VMs to a Hyper-V 2012 R2 Host. I've been able to move the machines, by exporting the VM and then finding the appropriate Virtual Machine xml file. The one snag that I have is that the previous admin has the xml file for ALL virtual machines on the host located in the default \VirtualMachines folder. As you all know the files are listed using a GUID (ex: 79E8CB8E-6B7F-429B-B70C-8AD0E807435D.xml)

Other than manually opening each .xml file in notepad and verifying which VM it is associated with, is there a way for me to find which xml file is associated with each VM (perhaps via powershell or a script)?

Appreciate the help!

thanks!


-PD


Recommend Hyper-V Server Specs

$
0
0

Hallo ladies and gentlemen 

I am a 2nd year BSC IT and we had an assignment that we need to get a job and ask a few questions about their working environment. The job I got ask me to get information on Hyper-V (Best practices, What to avoid, Configuration Recommendations, etc. ) I need to get information about if their specs is correct or is their any other recommendations suited better. Their project involves installing 8 servers with 4 VM's on each. Here is the specs of every Server Host

All 8 hosts contain

  • 64 GB Ram
  • 320 GB Disk Space
  • 20 CPU Cores

Every VM will contain

  • 8Gb VM Ram
  • 40 GB Disk space
  • 4 CPU Cores
  • 6 VM's Per Host ( Max )
  • 4 VM's Per Host ( Designed ) 

Also I am not sure if all servers platforms require the same specs but here is a list of  how many and which server platforms their are on each host

Host 1

  • GR Node
  • RDS Server
  • Application Server
  • Not sure which is the 4th one

Host 2

  • Historian
  • RDS Server
  • RDS Server
  • Application Server

Host 3 - 8

  • RDS Server
  • RDS Server
  • Application Server
  • Application Server

The next hosts are redundant

  • Host 1 and 2
  • Host 3 and 4
  • Host 5 and 6
  • Host 7 and 8

It looks like I have covered everything that I had on paper so is the specification great or what do you recommend if not ?

Hyper-v 2012 reverse replication failing

$
0
0

Hi,

I've configured hyper-v replica on both of my win 2012 servers. Initial replication has started successfully and the replica vm is created correctly on the replica server. Now I'm trying to simulate an unplanned failover. I turned off the production vm and enabled "failover" under replica VM. Now i'm able to select a recovery point and the vm is start up now on the replica server. Now i bring the production vm  up now. Then i tried to restore the  latest changes on "replica vm" by using "reverse replication" on replica vm. But i'm getting  error, please see the attached screen-shot to see the error.

Server is reachable on both sides. Port 443 is opened and telnet to 443 is working.


--

Regards,

Jaffer Amin


Jaf

This Device cannot find enough free resources that it can use (error 12)

$
0
0

I have been using Hyper-V to test parts of my deployments in sccm 2012 r2 for some time now, and yesterday, they would not complete. Turns out the error in the topic is what is causing it. See below for a screenshot in devmgmt of the error causing the machine to be unable to access network resources. 

of the solutions tried so far, I have rebooted, and uninstalled/reinstalled the Hyper-V role.


FB

Virtual machines on SMB storage keep shutting off

$
0
0

Hey Guys,

I've got the following setup:

1x Windows 2012 with Storage Spaces using a SMB share to host VHDs

1x Windows Hyper-V Server 2012 R2 - hosting VMs stored on the Windows 2012 box

1x Windows 2012 Server with Hyper-V Role - hosting VMs on local storage, occasionally VMs stored on Windows 2012 box. 

My VMs on the Hyper-V server keep shutting off. It seems to occur randomly. 

I keep getting errors like this:

'Chewy': Attachment '' could not be found due to error: 'The system cannot find the file specified.' (7864368). (Virtual machine ID D8CD4CDB-A3B5-49F4-9614-4F6B9DDFA3D1) 

The absolute path '\\R2d2\vhd\Chewy.vhdx' is valid for the '' Hard Disk Image pool, but references a file that does not exist. 

'Chewy': Attachment '\\r2d2\VHD\Videos.vhdx' failed to open because of error: 'The process cannot access the file because it is being used by another process.' (7864368). (Virtual machine ID D8CD4CDB-A3B5-49F4-9614-4F6B9DDFA3D1)

I don't understand this because these files are reachable on the share when these errors occur. Also, there is nothing else running on the storage box so I'm not sure how other processes could be using this file. 

Anyone have any ideas? 

Thanks, 

"We couldn't complete the features, Undoing changes"

$
0
0

I have a Windows Server 2012 R2.

I have tried to install RD Connection Broker, but the server manager says it need a restart.

At restart is says: "We couldn't complete the features, Undoing changes"

I think it may be Hiper-V not fully installed. Tried to remove this feature, but I keep ending up with server manager info: "needs restart" and then at restart "We couldn't complete the features, Undoing changes".

I've tried to use the tool "DISM /Online /Cleanup-Image /RestoreHealth" that says "the corruption was repaired", but still the problem remains.

I can't add or remove any feature on server manager.

Thansk in advance for any help.

PS: Info from WindowsUpdate.log:

ReportREPORT EVENT: {514255DA-18D3-48E8-A9A5-166A34221B57}2014-06-24 12:41:11:783+01001202 [AU_REBOOT_COMPLETED]102{00000000-0000-0000-0000-000000000000} 00AutomaticUpdatesSuccessContent InstallReboot completed.
ReportCWERReporter finished handling 1 events. (00000000)
HandlerFATAL: UH: 0x8007045b: EvaluateApplicability failed in CCbs::EvaluateApplicability
AgentWARNING: Failed to evaluate Installed rule, updateId = {{EC342610-14B2-4CE9-8922-F42E800A91E5}.200}, hr = 8007045B
HandlerFATAL: UH: 0x8007045b: EvaluateApplicability failed in CCbs::EvaluateApplicability
HandlerFATAL: UH: 0x8007045b: EvaluateApplicability failed in CCbs::EvaluateApplicability
AgentWARNING: Failed to evaluate Installed rule, updateId = {{8A617B82-44D9-4CA7-A002-595529FA4796}.200}, hr = 8007045B
HandlerFATAL: UH: 0x8007045b: EvaluateApplicability failed in CCbs::EvaluateApplicability
AgentWARNING: Failed to evaluate Installable rule, updateId = {{8A617B82-44D9-4CA7-A002-595529FA4796}.200}, hr = 8007045B
HandlerFATAL: UH: 0x8007045b: EvaluateApplicability failed in CCbs::EvaluateApplicability


Viewing all 8743 articles
Browse latest View live