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

Test Lab and Checkpoint Usage

$
0
0

I have a question about VM checkpoints.. but first, some backstory...

Our company has a Hyper-v test lab setup for use in our Continuous Delivery implementation to test versions of our software. In order to shorten the amount of time it takes to test each possible configuration, leveraged checkpoints.  Each checkpoint represents an expected configuration from a blank environment (requiring full install) to an environment that has been updated with a previous version of our application (to test upgrade scenarios).

Due to the number of versions in the wild, versions of our application stack and possible configuration, we can have up to 8 or so checkpoints on each vm.  Every release cycle (between 1 and 3 months), the set of VMs are updated to reflect current versions and configurations.

Every build that comes off the build server is passed through our CD process and is passed through our pipelines on a VM.  Each VM will be restored to one checkpoint depending on the configuration being tested, but the set of VMs acts as a cloud so that any VM can be used for any configuration.

Now.. the question....

Is this an appropriate use for VM Checkpoints?  I don't know... but Some people here say it isn't. From what I have read, one of the uses in a test lab environment is to reduce the amount of rework required in order to perform a test, which seems like the approach we have taken. To be clear, if we were to avoid the use of checkpoints and attempt to test the same configurations from a blank state each time it would cost us an additional 1 to 2 hours per configuration under test.

Should we be looking at an alternative means of performing the tests we need without checkpoints?


Virtual machine could not be started becasue the hypervisor is not running...

$
0
0


XXServer Could not initialize
The Virtual machine could not be started because the hypervisor is not running.

The following actions may help you resolve the problem:

1) Verify that the processor of the physical computer has the supported version hardware-assisted virtualization
   =  Done: AMD Opteron Dual Core 2218 F3 x 2 : Supports HW assited virtualization: Yes; Turned on in Bios: Yes

2) Verify that hardware-assistd virtualization and hardware-assisted data execution are enabled in the BIOS:
   =  The No Execute bit cannot be turned off or on on Tyan Motherboards
   =  Called Tyan tech Support "All Tyan Motherboards with the Opteron Platform have hardware assisted DEP turned         on by default - this value cannot be changed in the BIOS- it is always on."
      Motherboard: Tyan S2912-E n3600Thunder Bios Revision 5.00 (latest June 2009)

3) If you have made changes to the Boot Configuration data Store, review these changes to ensure that the    hypervisor is configured to launch automatically.
  = No changes - tried Hyper-V Server RC1 and Hyper-V Server R2 - both with same result

Any ideas - I have burnt a lot of time trying to solve the issue with no apparent success this far.

 

cannot start virtual machine

$
0
0

Hello

I am unable to start a newly created VM in hyper-v using Win Svr 2008 R2.

The issues I am having are similar to thread:

https://social.technet.microsoft.com/Forums/windowsserver/en-US/b26fe762-62eb-48ec-b538-ddeed61e1fae/after-upgrading-to-windows-2008-r2-cant-start-vms?forum=windowsserver2008r2virtualization

This is a locked thread so I can't respond to it.

Help is much appreciated.

I have tried to implement all the proposed fixes in the above thread but with no success. Now I'm lost, I have very little knowledge with VMs. PLEASE HELP! :) It's driving me nuts!

kind regards

Paul

Live Migration Failed while Quick Migration is Ok...!

$
0
0

Dear All,

We are continuously receiving event error Event ID 1155 & 21502 in event viewer, quick migration is working perfectly but Live Migration for those VM who has Virtual Fiber Switch setup is being failed.

Platform : Windows 2012 Data center

Storage : Dell PV MD 3600f

Hba : Brocade dual Port on both Host Machine

Host Machine : Host1 & Host2

Switch : Brocade 300

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

Event ID : 1155

The pending move for the role 'Win_2012' did not complete.

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

Event ID : 21502

Live migration of 'Virtual Machine Win_2012' failed.

Virtual machine migration operation for 'Win_2012' failed at migration destination 'Host2'. (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

'Win_2012' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

'Win_2012' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 80301667-7C11-4C61-8E32-0D79C4066F3C)

Quick solution is awaited with the experts on the above to setup Microsoft Virtualization.

Thanks in Advance

Rashid Kamal.


Rashid Kamal, MCP, MCSA, MCTS (Exchange), MCTS (Server Virtualization), JNCIA, JNCIS (If you find it useful, mark this 'As Answer', so that it can be helpful to other community members reading the thread)

On failover, when DC-nic is disconnected: No authority could be contacted for authentication (0x80090311)

$
0
0

Hi All,

Failover in my Hyper-V cluster doesn't work when a specific NIC (office), on which DC is active, is disconnected.

My cluster:

  •  3 nodes, running Hyper-V 2012r2 Core. (Dell R630)
  •  Direct Attached Shared Storage to all 3 nodes through MPIO (Dell MD3200)
  •  5 networks:
  1. Office network (this is a 192.168.20.x via this network, the nodes are added to the domain controller)
  2. Factory 1 network  (this is a 192.168.0.x network, no DC, no gateway, no DNS. Factory PLC's use this network)
  3. Factory 2 network  (this is a 192.168.1.x network, again, no DC, no gateway, no DNS, also used for PLC's)
  4. Migration network  (this is a 10.0.0.x network, dedicated switch, no DC, no gateway, no DNS only used for migration.)
  5. Cluster Heartbeat network ( this is a 172.16.0.x network, dedicated switch, no DC, no gateway, no DNS, used for cluster)

 Cluster is up and running validated. Now when testing failover a couple of scenario's work allright like:

  • Killing power to one of the nodes, the cluster senses this and restarts the VM's on a different node.
  • Remove all network connections from one node, VM is restarted on a different node.
  • A couple of VM's use 2 networks: Factory 2 network and Office network, when Factory 2 network is disconnected,the cluster senses this and the VM's are 'Live Migrated' to a different node which still has both network connections alive.

So far so good, but if I:

  • Disconnect the Office network on a node which hosts the VM's that use 2 networks (Factory 2 and Office)

I can see that the cluster has sensed this and wants to live migrate the VM's to a different host.
After a few seconds the VM's have status 'Migration Queued', instead of directly migrating.
After a while, there's an error that the VM's are not migrated and are still running on the original node which don't have all network connections anymore.

A lot of digging throught logs I find this: No authority could be contacted for authentication 0x80090311
So, I understand this because that node doesn't have a connection to the office network, on which the DC resides, anymore, so it can not author the kerberos constrained delegation anymore.

But what I don't get is how to resolve this issue.
How can I have all the nodes in the cluster trust eachother and accept live migration even when the DC can not be reached at all.

Looking forward to your responses!

BR,

Mark

Hyper V high availability and BSOD handling

$
0
0

Hi there

One of my customer is interested in a scanerio on Hyper V environment to be handled for fault tolerance. He has VMs running in a clustered host environment using Hyper V Windows 2012 server OS. What they are expecting is that when a VM1 goes BSOD for some reason would it be possible for us to do a Live/Quick Migration with the Hyper V HA/FT solution. They are looking for a solution which will allow the VM2 on the other host to come up with record and play and make sure the high availability is met. Is that a possible solution. If so can anyone please point me to article or settings to be done in the Hyper V environment.

Thanks

John


John

0x3B BSOD on vmwp.exe/vhdmp.sys

$
0
0

Hey guys,

Just seeing if anyone has run into this issue or has any ideas on troubleshooting this as my Bing-foo seems to not be working with me.

So earlier this evening i went to add a virtual CD-Rom drive and ISO to an active VM within my Hyper-visor cluster (using SCVMM 2012 R2) and the entire host node that was supporting that VM decided it was going to nope right out of that and just BSOD'ed with error 0x3B within a few seconds after the task started. Now the host eventually came back up and the VM's that were on that node successfully recovered on another node in the cluster, and the VM that I was trying to reconfigure appears to have kept its new configuration and is functioning normally (seems strange to me to be honest). 

The bug check for the Hypervisor is below but i am not able to discern any clear reason for the issue. Drivers have been updated within the last 3ish months, updates are current, and i have been able to perform this feat (adding a virtual CD-rom drive with ISO) on a VM in this cluster before without this happening. Error log is clean up until after the reboot.

SYSTEM_SERVICE_EXCEPTION (3b)

An exception happened while executing a system service routine.
Arguments:
Arg1: 00000000c0000005, Exception code that caused the bugcheck
Arg2: fffff80196a0efae, Address of the instruction which caused the bugcheck
Arg3: ffffd00020617990, Address of the context record for the exception that caused the bugcheck
Arg4: 0000000000000000, zero.

Debugging Details:
------------------

TRIAGER: Could not open triage file : e:\dump_analysis\program\triage\modclass.ini, error 2

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".

FAULTING_IP:
vhdmp!VhdmpiInitializeBackingStoreChainForBalancer+26
fffff801`96a0efae 4883bb8802000000 cmp     qword ptr [rbx+288h],0

CONTEXT:  ffffd00020617990 -- (.cxr 0xffffd00020617990)
rax=0000000000000000 rbx=ffffffffffffffff rcx=fffff80196a4fd80
rdx=0000000000000000 rsi=ffffe00181a6ee00 rdi=0000000000000000
rip=fffff80196a0efae rsp=ffffd000206183c0 rbp=0000000000000001
 r8=0000000000000001  r9=0000000000000000 r10=fffff80196a4fef0
r11=ffffd000206183c0 r12=ffffe00185bf7500 r13=ffffe0018974be01
r14=0000000000000000 r15=0000000000000000
iopl=0         nv up ei ng nz na po nc
cs=0010  ss=0018  ds=002b  es=002b  fs=0053  gs=002b             efl=00010286
vhdmp!VhdmpiInitializeBackingStoreChainForBalancer+0x26:
fffff801`96a0efae 4883bb8802000000 cmp     qword ptr [rbx+288h],0 ds:002b:00000000`00000287=????????????????
Resetting default scope

CUSTOMER_CRASH_COUNT:  1

DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT_SERVER

BUGCHECK_STR:  0x3B

PROCESS_NAME:  vmwp.exe

CURRENT_IRQL:  0

LAST_CONTROL_TRANSFER:  from fffff80196a77fb2 to fffff80196a0efae

STACK_TEXT: 
ffffd000`206183c0 fffff801`96a77fb2 : fffff801`96a4fd80 00000000`00000000 ffffe001`81a6ee00 ffffe001`81a6ee00 : vhdmp!VhdmpiInitializeBackingStoreChainForBalancer+0x26
ffffd000`206183f0 fffff801`96a19a2b : fffff801`96a4fd80 fffff801`96a4fd01 ffffd000`20618498 ffffe001`85bf7440 : vhdmp!VhdmpiActivateProposedBackingStoreChain+0xfe
ffffd000`20618460 fffff801`96a195e6 : 00000000`00000000 00000000`00000000 ffffe001`85bf7440 ffffe001`85bf7518 : vhdmp!VhdmpiIsoModifyBackingStore+0xa3
ffffd000`20618490 fffff801`96a6bc0c : 00000000`00000000 ffffd000`20618540 fffff801`96a4d7a0 ffffc001`00000000 : vhdmp!VhdmpiIsoEjectMediaThread+0x102
ffffd000`206184d0 fffff801`96a2d656 : 00000000`00000001 ffffe001`8974bfb0 ffffe001`8974bee0 00000000`000009b8 : vhdmp!VhdmpiStartAsyncOp+0x268
ffffd000`20618580 fffff801`96a0333b : ffffe001`8974bee0 ffffe001`7e1ba8c0 00000000`00000000 fffff800`5c504493 : vhdmp!VhdmpiIsoControlObjectDeviceControlHandler+0x1ca
ffffd000`206185b0 fffff801`96a031e6 : ffffe001`8974bee0 ffffe001`7f1bf100 00000000`002d1901 ffffffff`00000000 : vhdmp!VhdmpiControlObjectIrpHandler+0x117
ffffd000`206185e0 fffff801`9716b55b : ffffe001`8974bee0 00000000`002d19e0 00000000`00000000 00000000`00000000 : vhdmp!VhdmpFirstLevelIrpHandler+0x6e
ffffd000`20618630 ffffe001`8974bee0 : 00000000`002d19e0 00000000`00000000 00000000`00000000 00000000`00000000 : vhdparser+0x155b
ffffd000`20618638 00000000`002d19e0 : 00000000`00000000 00000000`00000000 00000000`00000000 00000000`00000000 : 0xffffe001`8974bee0
ffffd000`20618640 00000000`00000000 : 00000000`00000000 00000000`00000000 00000000`00000000 ffffc001`b7550f00 : 0x2d19e0

FOLLOWUP_IP:
vhdmp!VhdmpiInitializeBackingStoreChainForBalancer+26
fffff801`96a0efae 4883bb8802000000 cmp     qword ptr [rbx+288h],0

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  vhdmp!VhdmpiInitializeBackingStoreChainForBalancer+26

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: vhdmp

IMAGE_NAME:  vhdmp.sys

DEBUG_FLR_IMAGE_TIMESTAMP:  54504a1d

STACK_COMMAND:  .cxr 0xffffd00020617990 ; kb

FAILURE_BUCKET_ID:  X64_0x3B_vhdmp!VhdmpiInitializeBackingStoreChainForBalancer+26

BUCKET_ID:  X64_0x3B_vhdmp!VhdmpiInitializeBackingStoreChainForBalancer+26

Followup: MachineOwner

How does 2012R2 CSV 2.0 handle backups?

$
0
0

Hello,

Just wondering how backups should work with a failover cluster running on 2012R2. From what I have read Direct I/O should be used in 2012R2 when running a virtual machine backups instead of redirected access in 2008. I am expecting that when a backup is taken that the VM backed up will access the data from its local ISCSI connection no matter which node the CSV is owned by.

What I am seeing is that if the VM and CSV are on different nodes the disk access is run over the management network connection from the CSV iSCSI owner to the VM owner and then sent to the backup server. This causes a reduced backup speed. The CSV stays in online mode and running Get-ClusterSharedVolumeState shows all volumes in direct access still. We have no 3<sup>rd</sup> party hardware VSS providers and this is happening on 2 separate clusters.

What I am trying to figure out is this how it is supposed to work or not? Is anyone able to help me with this? I have spoken to Symantec who now say it is a Microsoft issue but have not confirm this is expected or not.


what is formula or logic of purchasing HYPERV

$
0
0
what is formula or logic of purchasing HYPERV or VMware for instance if I buy HP G8 server 2 processor and 120 GB RAM so how many VM's I can allocate what is the formula?

How do I delete old VHD files off a hyper V host machine

$
0
0

I have created several test VMs and moved a production VM away from a particular host machine.  the only remaining VM cannot start do to a lack of disk space.  there should be plenty, the problem is all of the old unused vhd files. But I cannot figure out how to delete them.  the Hyper-V Manager only allows me to select them.

I certainly have to be missing something simple.

Enable-VMResourceMetering

$
0
0

Hi,

Im trying to enable VMResourceMetering for all VM's on a Windows Server 2012 R2 hyper-v host.

Using command:

get-vm | enable-VMResourceMetering

Some of the VM's report a failure when I'm running the command while some VM's will be successfully enabled with VMResourceMetering.

Does anyone have an idea why some fail? Is there any requirements for enabling resourcemetering?

Error Message:

enable-VMResourceMetering : The operation failed.
A parameter that is not valid was passed to the operation.
At line:1 char:58
+ get-vm | enable-VMResourceMeteri ...
+                                                          ~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [Enable-VMResourceMetering]
   , VirtualizationOperationFailedException
    + FullyQualifiedErrorId : InvalidParameter,Microsoft.HyperV.PowerShell.Commands.EnableVMResourceMeteringCommand

Cannot enable Replication on any new Virtual Machines

$
0
0

I apologize in advanced for the upcoming wall of text. I have been working on this issue for almost a week now so I have collected a fair bit of information.

The Situation: I have two Hyper-V servers, both in the same Active Directory domain. There is no clustering or SCVMM, it’s a fairly simple straightforward setup. One of the servers runs all of our VM’s, the other is just a replica destination. Currently there are 9 Virtual Machines on the primary host, of which 7 are currently replicating over to the replica host without an issue.

The Problem: While the existing 7 Virtual Machines are currently replicating without any problem at all, I cannot initiate replication on the other two, or on any newly created virtual machine.

The Errors: Attempting to initiate replication on any VM comes up with the following errors (Only one error per attempt, the last error repeats indefinitely for further attempts):

First Attempt: Hyper-V failed to enable replication for virtual machine ‘Main’: An unexpected error occurred. (0x800300FD). (Virtual Machine ID F12E84F3-A789-4AEA-AAA8-81D64109CD66).

Second Attempt: Hyper-V failed to enable replication for virtual machine ‘Main’: Cannot create a file when that file already exists. (0x800700B7). (Virtual Machine ID F12E84F3-A789-4AEA-AAA8-81D64109CD66).

Subsequent Attempts: Hyper-V failed to enable replication for virtual machine ‘Main’: Operation aborted (0x80004004). (Virtual Machine ID F12E84F3-A789-4AEA-AAA8-81D64109CD66). ‘Main’ failed to perform the operation. The virtual machine is not in a valid state to perform this operation.

If you look on the replica server, you will find that the XML was successfully copied over and directories were made for the Virtual Disks, but no virtual disk files are present. Deleting all the directories and XML files from the failed replication, restarting the hyper-v management service on the replica server and trying again will bring you back to the original Unexpected Error message and the sequence begins again. I suspect it is the Unexpected Error (the first message) that is the root of this problem. The other two messages are ones I have seen before when a piece of a VM already exists on the replica (which it does after the first failed attempt) so those are more or less expected.

I get this sequence of errors attempting to replicate either of the two currently un-replicated VM’s or on any newly created virgin VM. Other than the failure to initiate replication I have had no other problems. I can create new VM’s on either host with no problem, I can Live Migrate VM’s both storage and configuration from one host to the other and back. I have tried both Kerberos and Certificate authentication. And all the currently replicating VM’s are still replicating without an issue.

I have scoured the event logs, however the events listed don’t tell me even so much as a single word more than the error messages themselves, on either the primary or the replica. Any help or direction would be greatly appreciated, thanks in advance.



Windows Server 2016 - Virtual machine web management interface

$
0
0

since Windows 2016 is about to release its new features over networking and Storage, does it also have any planning for Hyper-v Web management interface which could allow VM owner (end user) to manage its own VM?

like : Power off, Power on, snapshot create / delete, Network disconnect and connect, IP assignment to VM, ISO mount from remote location, Upload download data from mounted drives, etc.

Similar features to RDS do but should also include VM management ability with restricted access according to define by Hyper-v Administrator. so that small Cloud service providers can take benefit out of it. 


No Virtual Machines files found

$
0
0

I recently set up a Windows 2012 Hyper-V R2 server. It is not associated to a domain so I had to go through a serious of hoops to be able to connect from my local win10 machine using server manager and hyper-v manager. I finally see my \\VirtualServer in hyper-v manager and I am able to connect using server manager.

I am in the process of exporting virtual machines from my win10 machine and import on the virtualserver. I created a share on my virtualserver but had to export the VM locally on win10 and then copy to my shared folder.

However when I select the folder in the virtualserver during import I get the above error. I can import in my localhost from both the shared location and the original location I exported to.

Thanks,

Chris

More than two nodes hyper-v virtual machine failover cluster

$
0
0
I have 4 servers in the hyper-v failover cluster. I was wondering what happens if one of the servers shutsdown. how hyper v decides the next best possible node in an environment with more than two nodes hyper-v virtual machine failover cluster? Is it something that I should set up in advanced?

Adding a Hyper-V host to a domain

$
0
0

We have a very simple server environment: two physical servers both running Windows Server 2012 R2 as the host and a few virtual machines in each server, including one instance of Windows Server 2012 R2 Essentials which is the domain controller. One of the two physical machines runs the domain controller, while the other one can eventually host it if the first machine is being replaced, repaired or updated. All virtual machines are joined to the domain except for the two hosts.

This works ok, but with some limitations: I always loose track of the updates of the two host machines, the users are not synchronized with AD, and some applications on local computers like Hyper-V Manager don't work well with servers that are not joined to the domain (not to mention I was never able to set up failover since the hosts must be part of a domain).

I would like to know what is the typical configuration for my scenario and if there is a simple workaround for this type of problems or if I should simply join the host machines to the domain (sounds like a very bad idea according to this: http://social.technet.microsoft.com/wiki/contents/articles/2155.hyper-v-and-failover-cluster-domain-requirements.aspx ).

Thank you.

Hyper-V Hangs Loading setting data

$
0
0

I am having an identical problem others are reporting where Hyper-V hangs after installing the RemoteFX role with RTM SP1.  The server specs are as follows:

WIN 2008 ENT R2 w/RTM SP1, DELL T710 w/2 Intel Xeon X5550 2.66GHz CPU's, 24GB RAM, nVidia FX 3800 with W2008 R2 x64 Driver installed.

The VM properties will not load regardless of what I try & I therefore cannot add the RemoteFX role which is the primary purpose of this exercise.  Any help would be greatly appreciated!

sudden speed drops

$
0
0

Hello,

I've been struggling with a strange problem. Out client runs an environment with Windows Server 2008R2 running Hyper-V. There are four guests all running Windows 2008. He claimed about poor performance lately. The outcome of checking speed with Iperf from one VM to the other is that the speed is about 500-600 MBit/sec, but it often drops to 2.62 Mbit/sec (quite a jump) for some time. It kind of alternates between the high and low speed with practically no middle ground.

I tried a different NIC (original Broadcom, new Intel) with no difference. I tested with disabled/physically disconnected network. No change. The only difference is when there are people logged in and working, the drops occur more often. Anybody has any idea what could it be/what to check ?

Hyper-v cannot be installed because of SLAT missing

$
0
0

Hi all

Windows 8 does not installs hyper-v. It grays "hyper-v core" and says it cannot be installed because the processor does not have a second level address translation capabilities.

This Lenovo R61 had installed before the 2.0 hyper-v and it was ok. Is this because o SLAT?

Below is the output of coreinfo. Read on some link from this forum that the windows 8 desktop needs SLAT but the server version does not.

My main server for virtualization is Core 2 Duo E8400... so I'm a bit worried of the future. I want my Core 2 Duo processors to still use Hyper-V 3 at least!

By the way, it installs ok on my i7 720QM and is running perfectly. But notice, it does not have EPT!!!

 

Thanks

Adelino

 

Lenovo R61

Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
HYPERVISOR      -       Hypervisor is present
VMX             *       Supports Intel hardware-assisted virtualization
EPT             -       Supports Intel extended page tables

 

ACER Aspire 8942

Intel(R) Core(TM) i7 CPU       Q 720  @ 1.60GHz
Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
HYPERVISOR      *       Hypervisor is present
VMX             -       Supports Intel hardware-assisted virtualization
EPT             -       Supports Intel extended page tables


Adelino Araujo

Uninstall Hyper-V Extensible Virtual Switch?

Viewing all 19461 articles
Browse latest View live




Latest Images