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

Enabling Hyper-V Replica causes Replica VHDX to be renamed to GUID format

0
0

I have been toying around with Hyper-V replica on 2012 and have run into an odd issue recently...

When I initially setup replication between 2 servers all seemed normal.  The path that was created on the replica server for replicated disks looked something like F:\VM\REPLICATED_VMs\Hyper-V Replica\Virtual hard disks\90D38095-0292-437C-88C0-75763446D8F9\MyServer.vhdx

Now all of a sudden the path that gets created on the replica server for replicated disks looks something like F:\VM\REPLICATED_VMs\Hyper-V Replica\Virtual hard disks\90D38095-0292-437C-88C0-75763446D8F9\F78BB460-823F-44B2-8AF7-583C30EB21E3.vhdx

The original disk on the primary server has the standard MyServer.vhdx notation.

I have no idea was has caused this to happen, has anyone else seen this before?  Did anyone get to the root cause?  I can rename this stuff manually but was hoping to get to the root cause.

Thanks in advance for any help!


VHDX Disk Error?

0
0

2012 R2 hyper-v. On a hyper-v guest, i am seeing:

An error was detected on device \Device\Harddisk1\DR5 during a paging operation.

Event Id is 51 in the event log. How can a virtual drive have a disk error? Maybe the VHDX resides on a bad plave on the physical drive? If that were the case, it seems like the host would record this event not the guest....

Hyper-V PXE boot times out. Physical PCs PXE boot without problem

0
0

I volunteer at a Community Center that offers PCs for public use. There’s a single server (Server 2012 R2) and 20 PCs (W7 and W8.1) in the domain.

To support PXE boot and OS deployment, I'm using WDS and MDT 2013 (not MDT 2013 U1) on the server. All the PCs PXE boot and deploy without problem. But Hyper-V PXE boot times-out / no-response (have tried both Gen1 and Gen2 VMs). I believe (not 100% certain) PXE boots did work sometime past. But not working when i recently used Hyper-V again

At this point I removed then re-installed Hyper-V. I re-created VMs: Gen1 with a legacy network adapter and Gen2 with secure boot turned off. Both VMs get PXE timeouts.

Since PCs PXE boot without problem I’m guessing the Hyper-V PXE problem is probably in WDS or networking? IDK. Here’s a summary of config information. The zip file provided includes some snapshots and an ipconfig /all so you can also verify settings. Any help/advice appreciated.

  • WDS server is running
  • WDS PXE set to respond to all clients
  • WDS shows no pending devices
  • Network –Virtual switch is created. Server only has one network adapter. ipconfigbelow with tunnel info removed but full output is in the zip
  • VMS – Gen1 and Gen2. Gen1 has a legacy network adapter. Gen2 has secure boot turned off

Server Config Info.zip

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : CTC-SERVER-2
   Primary Dns Suffix  . . . . . . . : cohcybercenter.local
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : cohcybercenter.local

Ethernet adapter vEthernet (Virtual Network Switch - Bridged):

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter #2
   Physical Address. . . . . . . . . : 9C-8E-99-57-F3-88
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::b865:9285:1107:5c13%29(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.3(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
   DHCPv6 IAID . . . . . . . . . . . : 496799385
   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1C-9F-B0-1F-9C-8E-99-57-F3-89

   DNS Servers . . . . . . . . . . . : 127.0.0.1
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Ethernet 3:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet #3
   Physical Address. . . . . . . . . : 9C-8E-99-57-F3-8B
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet 2:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet #2
   Physical Address. . . . . . . . . : 9C-8E-99-57-F3-8A
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes

Ethernet adapter Ethernet:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
   Physical Address. . . . . . . . . : 9C-8E-99-57-F3-89
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes





Windows 10 Client cannot manage hyper-v 2012r2 using power shell

0
0

Hello All,

So I have recently upgraded my workstation to Win10 and now none of my power shells that I use to manage my hyper-v 2012r2 cluster work.

For example if I run just the simplest command

Get-VM -ComputerName <hyper-v hostname>

Get-VM : The Hyper-V module used in this Windows PowerShell session cannot be used for remote management of the server '<hyper-v hostname>'. Load a compatible version of the Hyper-V module, or use Powershell remoting to connect directly to the remote server. For more information, see http://go.microsoft.com/fwlink/p/?LinkID=532650.
At line:1 char:1
+ Get-VM -ComputerName <hyper-v hostname>
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Get-VM], VirtualizationException

    + FullyQualifiedErrorId : InvalidOperation,Microsoft.HyperV.PowerShell.Commands.GetVM

Anyone else seen this and know how to load the older hyper-v modules?

Thanks

Chris

Hyper-V Guest (2012) Hangs during Windows Server Backup (2008)

0
0

I have a 2012 Server as a guest on a 2008 R2 Hyper-V Host. Doing Windows Server Backup hangs my Guest EVERY NIGHT. I have to "Reset" it. It doesn't effect the host, or any other machines, nor the backup. Since the machine is hung, there are no event logs in the guest or host.

It's not totally hung either. I can still get to certain IIS hosted pages and Remote Desktop will TRY to connect. but you can see that the clock on the welcome screen says "6:30" at some other time.

I am baffled!


integrationservices in guest vm with win 7 os

0
0

Hi

This is the 3rd vm I created, the 2 previous running win xp. and i had win 8 as host

I hade no problem installing integrated services on them.

on this one I'm not able to .I don't have the option in the action meny , I have run win update and installed over 200 updates. from what i read thats how you supposed to do it to get integrated services

so far that has not made any diffrens.  read something about offline install tryed to follow the instructions but the folder windows vmguest support amd 64  is empty

i have logged on as admin on both the host and guest  

dont know why this has to be so hard to do  without integrated services the vms are not that great to work with

  .  I have read several posts online  tried different things but no luck .  the host os is win 10

  I'm running out of things to do so any help is apriciated


hyper v server can't ping or be pinged, even locally, Mgmt tools will not connect. Windows update works great.

0
0

I successfully installed Hyper-V Server 2012 R2 and installed all required updates from Microsoft update. My Hyper-V server is in a workgroup and will not be in a domain. It has a static IP address and a dns server and gateway set. It seems to work great. I added the corefig utilities just to make life easier and they work. I used a usb drive and plain old windows copy to install them.

As I said, Windows update works great.

My problem.

I can't connect remote management tools to hyper-v server.

I can't ping to or from the hyper-v server. I made sure that the server said I should be able to use ping. I can't ping local or internet sites from hyper-v. Remote access tools can't see hyper-v. I did see hyper-v for an instant from a win 8.1 Hyper-V management console, but then it was gone.

I want to install a pfsense router vm and a windows pc vm once I can get to it. I'll figure out the virtual switches for it later. 

I've tried turning off the server firewall. It made no difference. The corefig utilities have a remote desktop item. I tried it a couple of times. It seemed to auto config so I turned it on and off a couple of times. (no, that didn't cause the problem, it was an attempt at a fix after lots of other trials.)

It's a pretty ordinary network. Hosts file edits should not be necessary because it doesn't seem to be normal for most installs.

How can I fix the connection problem?

Many thanks if you can help me.







Errors in Hyper-V Machine Manager

0
0

I have a newly installed 2012R2 server. I am running four (4) virtual machines under Hyper-V. Every time I go to do something with setting on one of the machines, or create a new machines I get errors saying that I was unable to complete the job - no reason give, just fails.

I have found that if I go into services and restart the Hyper-V Virtual Machine Management service, everything works for a period. I have noticed that the VSSWriter for Hyper-V goes off line with a failed (8) on the vssadmin list output. At this point my backups also start to fail and I get 'Catastrophic failure (0x8000FFFF)' errors in the event log for all four (4) VMs.

I have checked the versions of integration services using the powershell script from the virtual_pc_guy archives (sorry, the system would not let me embed the link here) and all show as up to date.

I have also checked and all VMs have at least 90GB of free disk space.

This is frustrating me no end and is delaying the upgrades to our other two (2) servers currently running Hyper-V under 2008R2.

Any suggestions greatly appreciated.



Some Windows Guests not demanding more memory

0
0

Scenario

I have a 3 Windows 2012 R2 Hyper-V hosts which is participating in a cluster, all of the virtual machines are hosted on CSV's. We also use Dynamic Memory for most of the servers

We do regular reboots every week for our virtual machines, but we've found that sometimes, a virtual guest will suddenly stop requesting additional memory.  At the time of writing, I have identified 10 machines - on different hosts, and even different clusters which are exhibiting this behaviour.  They're also running OS's ranging from Windows 7 to Windows 2008 R2 and Windows 2012.

I have selected one to demonstrate below.

Here, you can see the virtual machine is configured to use Dynamic Memory

Dynamic Memory Configured

and here, you can see that it's not actually demanding more than the start memory, despite the fact that I've overloaded the servers virtual memory by using MSPAINT.

Workaround

Rebooting the virtual machine does not resolve the issue, but live migrating the virtual machine from the host it is on to another host suddenly allows it to demand more memory.  One can then live-migrate it back to the original host and the problem is no longer there.

Troubleshooting

We have performed the following troubleshooting steps:

  • Verified that the Integration Services are up-to-date (currently running 6.3.9600.16384)
  • Verified that the virtual server has up-to-date Windows Updates
  • Checked the Hyper-V-Worker\Admin event log on the current host - no errors pertaining to this VM.
  • Verified that the Hyper-V host has sufficient RAM (currently only using 542 out of 768 GB)
  • Checked the System event log on the virtual machine - nothing out of the ordinary to report.
  • Verified that all services which start with the word "Hyper-V" on the guest machine is running.

Using the following command, I can easily identify which machines are affected (this command applies to SCVMM only):

Get-SCVirtualMachine | where {$_.DynamicMemoryEnabled -eq $true -and $_.DynamicMemoryDemandMB -eq $_.Memory} | ft Name,HostName,OperatingSystem,Memory,DynamicMemoryDemandMB,DynamicMemoryMinimumMB,DynamicMemoryMaximumMB


I do not know any diagnostic program which can give me more information regarding the memory status of a server - specifically one which can tell me more information about Memory demand, and why it's not working. 

Considering that the problem is resolved when I live migrate the affected machine, it would suggest that the issue is with the host, but as live migrating it back no longer exhibits the issue - that seems to negate that theory.  Additionally, the other 103 virtual machines which run on this host seem to not show this issue.

It's almost as if the machine is being ran with static memory, and Hyper-V doesn't realise it's dynamic, but the moment it's live migrated, it suddenly realises this and enables dynamic memory.

Any thoughts?



virtual Machine status

0
0

Hi

One of the virtual machine status shows Turning Off , Although Virtual machine is up and running and can manage also through Hyper V 2012 R2 Cluster ..

Any idea please 

The dynamic memory balancer could not add memory to the virtual machine - Impossible!!!!!

0
0

I have a WIn2012R2 fully patched and 3 VMs:

PS C:\Users\Administrator> get-vm | Get-VMMemory

VMName            DynamicMemoryEnabled Minimum(M) Startup(M) Maximum(M)
------            -------------------- ---------- ---------- ----------
BRGDS-SRV0002 True                 2048       4096       4096
BRGDS-SRV0003 True                 2048       4096       4096
maximo    False                512        12192      1048576

Today, at 01:45 the physical server rebooted and MAXIMO VM didn´t started. It´s configure for autostartup at 300 seconds and someone told me: "when i tried to start, the error was "...The dynamic memory balancer could not add memory to the virtual machine " and at that time, there was 24GB of available RAM (it´s a 32 GB RAM hardware)

When i came in the morning, 6 hours after the fact, i started the VM and it started flawlessly, in the first attempt under the same memory conditions

The only thing i can think, it´s bizarre, the guy tried to start mannually in the exact moment the machine eas about to start automacally, but makes no sense for me.

Unable to access VHD file after the VHD expansion got cancelled!

0
0

Hi

We are getting following error while accessing the VHD file after the VHD expansion got cancelled. Could you please suggest?

Hyper-V CPUID

0
0

Hi,

I have to provide a new VM in my Windows Hyper-V, for a new application. the licinsing for this application is tied up to the CPUID.

my question, is there going to be any issues in future with the licence. for example if I migrate the VM to a new node or cluster.

Thanks.

Ibrahim

Critical, replication for machine "VM Name" is in error. Fix the error(s) and resume replication.

0
0

Hi There

i am getting the above mentioned error when i enable replication between my 2 clusters (1 DR and 1 Prod).

i have set up trust group on the DR site using powershell and specified a location (which is a SAN) and the Primary server (which is the Prod cluster). when i create a new VM from scratch it works perfectly but when i try to enable replication for existing VMs, it fails with the above message. See below pic


katlego

I cant use Android Studio

0
0

Hi guys

I have been trying to use Android Studio but i keep getting this error

emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration status: HAX kernel module is not installed!

I tried re-instaling the intel haxm Android but then i get another error

This computer meets the requirements for HAXM, but Intel Virtualization Technology (VT-x) is not turned on.

HAXM cannot be installed until VT-x is enabled.

Please refer to the Intel HAXM documentation for more information.

I also went to the BIOS and checked if the Intel Virtualizacion Technology was on (which was it)

and the last thing i tried was looking for the Hyper-V in  my windows features but is not on the list

I dont know what else to do. Please help me :(


Converting Xen Server Linux VM to HyperV

0
0
I am trying to convert a Citrix XEN Server 5.6 Debian v5 Lenny Linux VM to a Hyper V 2012 VM.
 
1. So far I have exported the VM as an XVA
2. Then I used the Citrix XenConvert 2.31 to convert the XVA to an OVF
3. The conversion leaves a files called vm.ovf, Ref_7.pvp and a Ref_7.vhd which I rename and copy to the Hyper V 2012 directory.
4. Setup a VM and chose the imported vm.vhd file (setting same memory and legacy network adapters and CPU count.

It was my intention to recompile the kernel using the following advice (this refers to building a new Debian Lenny VM from scratch.

http://forum.osxlatitude.com/index.php?/topic/1716-install-hyper-v-integration-services-on-debian-5x/

http://wiki.debian.org/WindowsServerHyperV

The result so far is the VM is consuming 4% CPU and seems stuck at Booting 'Debian GNU/Linux, kernel 2.6.32-5-686-bigmem

Should I make a copy of the VM on the XenServer and do the recompile on the XenServer before I export the Image ?

Anybody managed to move a Citrix Linux VM to a HyperV 2012 VM ?

Any other advice much appreciated.

Virtual Machine management (vmms) failed to start..

0
0

I'm trying to install W2008RC1 with Hyper-v on a HP BL460c.

After the install the role Hyper-v, vmms failed to start and if i try to start manualy the services the server manager respond "Failed to start virtual machine management - The service changed to an unexpected state".

 

The Hyper-V start normaly.

Anyone have a clue?

 

Regards

Hyper-v vm subnetmask

0
0

Hey guys,

I was configuring a Hyper-v virtual machine ip address, and I filled in the default subnet mask '255.255.255.0'.

It is a Hyper-v 2012 r2 core server and I connected through remote desktop to the vm. But when I tried to reconnect after I changed the ip, I could not connect. Is the problem that the subnet mask of the host is '255.255.0.0' ? And can it be fixed

Gr.

René


Snapshot - General access denied error (0x80070005).

0
0

Hi,

 When trying to snapshot a VM i get:

'vm1' could not create auto virtual hard disk C:\Virtual Guests\vm1\vm1_B4F0796F-3EB5-4810-BA04-CA8E1DA3774C.avhd: General access denied error (0x80070005). (Virtual machine ID AE6E811F-A056-4A1C-A501-287914A13021)

I looked around on the web, and found that the 'Virtual Machines' group isn't on my server, and therefor isnt on the security tab for my snapshot folder.

Taken from this post: http://joesitblogandotherstuff.blogspot.com/2010/01/could-not-initiate-snapshot-operation.html

How do I manually create the 'Virtual Machines' group, so I can make snapshots work again?

 


KL_Dane

Hyper-V Host and VMs randomly not reachable from Windows Clients

0
0

I have two Windows Server 2012 R2 Hosts with VMs and Replica activated. All the VMs has as network card a teaming network configured on the host and the VMQ are disabled on the physical NICs and on the teaming. The Nics are mixed Braodcom and Intel. The Hosts are connected with Intel Cards and the teaming is with 4 Broadcom Cards.

So randomly the VMs and/or the hosts are no more reachable from clients in the network, but the vms and the hosts are Always connected and reachable between them.

Last Firmware is installed, the NIC Driver are up to date. I replaced the switch, LAN cable, but nothing would help. The issue is still here.

Has anyone an Idea?

Viewing all 19461 articles
Browse latest View live




Latest Images