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

Server 2012 R2 Crashes after Hyper V Role install

$
0
0

Hi guys,

first time posting so hope i've selected correct category!

I have done a fresh install of Server 2012 R2 on a host. The HDD was wiped clean and formatted.

It all seems good, loads up to Server 2012 R2 without any issues. Then when I have added Hyper V role through Server Manager -> Add Roles and Features, the server reboots a couple of times to complete installation, no error messages and everything seems good. 

Then when installation is complete and the host tries to boot to the Server 2012 R2 it pops up a screen that there's an issue for like a second or so and reboots. It seems to be in a reboot loop all the time, gets to the same screen and starts again. 

The only time you can get it to loads up is when you start it in Safe Mode. 

When in safe mode I have tried to disable the Hyper V services and rebooted it. Same thing happened.

So i went to bios and disabled the Intel VT. This seemed to have helped it and server booted up ok. 

But then when you enable everything back again , including VT in bios, same thing happens again and server wont start up.

I have tried to update BIOS and that didnt resolve the issue. 

About the host:

CPU: Intel Xeon E5620 (x2) 

Mobo: S5520HC

Any ideas what could be causing it?

Thanks for any feedback in advance! :) 


Installing Virtual Machine on Hyper-V Clustering

$
0
0

I have two identical HP servers, HP storage and both servers connected through fiber with storage. I have few questions before installing Hyper-V clustering and virtual machines.

1. What is the best practice for creating Hard Disk, which one better IDE or SCSI?

2. After selecting Hard Disk, which one is better for installing VM, physical disk or Virtual Hard Disk?

3. I have one usb dongle connected to physical disk, how I can link with VM?

4. If I have 2 Processors having 12 Core and 24 logical Processors, which is the best practice to assign processors to VM. Like if I have 6 Virtual machines having 1 Exchange, 1 SQL, 1 File Server, 1 Web server and two others, how to calculate?

5. If I want to do sql clustering, One sql machine on first server and One sql machine on Second Server. What is the best scenario to accomplish the task.

6. If I make Hyper-V clustering for both physical servers and install VM on first server and add the vm in hyper-v clustering role. In that case if First physical server down then the VM will transfer to other machine. But If VM is down then what will happened?

Thanks in Advance.


Muhammad Faheem

Enable Jumbo frame for VM

$
0
0

Hello,

I recently enabled jumbo frames inside a virtual machine and enabled jumbo frames on the physical network adapter assigned to that virtual machine. When I try to setup the icsi initiator it becomes unresponsive . When I disable jumbo frames within the VM everything works fine. I enabled jumbo the switch and on the DAS device. 

Virtual machines crashing with Bugcheck CRITICAL_STRUCTURE_CORRUPTION (109)

$
0
0

I have a 5 node Server 2012 R2 core Hyper-V cluster that hosts a mix of gen1 and gen2 vm's.  I have confirmed that the 60+ gen2 vm's with guest OS of 2012r2 and win8.1 are crashing with CRITICAL_STRUCTURE_CORRUPTION (109).  The crash occurs randomly could be once a week or once a month and the guest OS generates a memory.dmp file.

The physical hardware are Dell M1000e chassis with m620 blades with fully updated bios and firmware for all components.  From my research I havnt found anything about this error pertaining to Hyper-V just avmware ESXI 5.0 issue.

I will be glad to provide any additional information to assist in tracking down the cause of these vm BSOD's.

*EDIT - I have now found that my Gen1 vm's with windows 8.1 are crashing as well so not just scoped to generation 2 machines.

CRITICAL_STRUCTURE_CORRUPTION (109)
This bugcheck is generated when the kernel detects that critical kernel code or
data have been corrupted. There are generally three causes for a corruption:
1) A driver has inadvertently or deliberately modified critical kernel code
 or data. See http://www.microsoft.com/whdc/driver/kernel/64bitPatching.mspx
2) A developer attempted to set a normal kernel breakpoint using a kernel
 debugger that was not attached when the system was booted. Normal breakpoints,
 "bp", can only be set if the debugger is attached at boot time. Hardware
 breakpoints, "ba", can be set at any time.
3) A hardware corruption occurred, e.g. failing RAM holding kernel code or data.
Arguments:
Arg1: a3a01f5985ea184a, Reserved
Arg2: b3b72bdfd86a17a1, Reserved
Arg3: 00000000000001a0, Failure type dependent information
Arg4: 0000000000000007, Type of corrupted region, can be
0 : A generic data region
1 : Modification of a function or .pdata
2 : A processor IDT
3 : A processor GDT
4 : Type 1 process list corruption
5 : Type 2 process list corruption
6 : Debug routine modification
7 : Critical MSR modification

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

Page 1ca04 not present in the dump file. Type ".hh dbgerr004" for details

PG_MISMATCH:  40000

DEFAULT_BUCKET_ID:  WIN8_DRIVER_FAULT

BUGCHECK_STR:  0x109

PROCESS_NAME:  csrss.exe

CURRENT_IRQL:  2

ANALYSIS_VERSION: 6.3.9600.17336 (debuggers(dbg).150226-1500) amd64fre

STACK_TEXT:  
ffffd001`917a41c8 00000000`00000000 : 00000000`00000109 a3a01f59`85ea184a b3b72bdf`d86a17a1 00000000`000001a0 : nt!KeBugCheckEx


STACK_COMMAND:  kb

SYMBOL_NAME:  ANALYSIS_INCONCLUSIVE

FOLLOWUP_NAME:  MachineOwner

MODULE_NAME: Unknown_Module

IMAGE_NAME:  Unknown_Image

DEBUG_FLR_IMAGE_TIMESTAMP:  0

IMAGE_VERSION:  

BUCKET_ID:  BAD_STACK

FAILURE_BUCKET_ID:  BAD_STACK

ANALYSIS_SOURCE:  KM

FAILURE_ID_HASH_STRING:  km:bad_stack

FAILURE_ID_HASH:  {75814664-faf6-4b70-bbc7-dc592132ecdd}

Followup: MachineOwner


VMQ issues with NIC Teaming

$
0
0

Hi All

Apologies if this is a long one but I thought the more information I can provide the better.

We have recently designed and built a new Hyper-V environment for a client, utilising Windows Server R2 / System Centre 2012 R2 however since putting it into production, we are now seeing problems with Virtual Machine Queues. These manifest themselves as either very high latency inside virtual machines (we’re talking 200 – 400 mSec round trip times), packet loss or complete connectivity loss for VMs. Not all VMs are affected however the problem does manifest itself on all hosts. I am aware of these issues having cropped up in the past with Broadcom NICs.

I'll give you a little bit of background into the problem...

Frist, the environment is based entirely on Dell hardware (Equallogic Storage, PowerConnect Switching and PE R720 VM Hosts). this environment was based on Server 2012 and a decision was taken to bring this up to speed to R2. This was due to a number of quite compelling reasons, mainly surrounding reliability. The core virtualisation infrastructure consists of four VM hosts in a Hyper-V Cluster.

Prior to the redesign, each VM host had 12 NICs installed:

  • Quad port on-board Broadcom 5720 daughter card: Two NICs assigned to a host management team whilst the other two NICs in the same adapter formed a Live Migration / Cluster heartbeat team, to which a VM switch was connected with two vNICs exposed to the management OS. Latest drivers and firmware installed. The Converged Fabric team here was configured in LACP Address Hash (Min Queues mode), each NIC having the same two processor cores assigned. The management team is identically configured.

  • Two additional Intel i350 quad port NICs: 4 NICs teamed for the production VM Switch uplink and 4 for iSCSI MPIO. Latest drivers and firmware. The VM Switch team spans both physical NICs to provide some level of NIC level fault tolerance, whilst the remaining 4 NICs for ISCSI MPIO are also balanced across the two NICs for the same reasons.

The initial driver for upgrading was that we were once again seeing issues with VMQ in the old design with the converged fabric design. The two vNics in the management OS for each of these networks were tagged to specific VLANs (that were obviously accessible to the same designated NICs in each of the VM hosts).

In this setup, a similar issue was being experienced to our present issue. Once again, the Converged Fabric vNICs in the Host OS would on occasion, either lose connectivity or exhibit very high round trip times and packet loss. This seemed to correlate with a significant increase in bandwidth through the converged fabric, such as when initiating a Live Migration and would then affect both vNICS connectivity. This would cause packet loss / connectivity loss for both the Live Migration and Cluster Heartbeat vNICs which in turn would trigger all sorts of horrid goings on in the cluster. If we disabled VMQ on the physical adapters and the team multiplex adapter, the problem went away. Obviously disabling VMQ is something that we really don’t want to resort to.

So…. The decision to refresh the environment with 2012 R2 across the board (which was also driven by other factors and not just this issue alone) was accelerated.

In the new environment, we replaced the Quad Port Broadcom 5720 Daughter Cards in the hosts with new Intel i350 QP Daughter cards to keep the NICs identical across the board. The Cluster heartbeat / Live Migration networks now use an SMB Multichannel configuration, utilising the same two NICs as in the old design in two isolated untagged port VLANs. This part of the re-design is now working very well (Live Migrations now complete much faster I hasten to add!!)

However…. The same VMQ issues that we witnessed previously have now arisen on the production VM Switch which is used to uplink the virtual machines on each host to the outside world.

The Production VM Switch is configured as follows:

  • Same configuration as the original infrastructure: 4 Intel 1GbE i350 NICs, two of which are in one physical quad port NIC, whilst the other two are in an identical NIC, directly below it. The remaining 2 ports from each card function as iSCSI MPIO interfaces to the SAN. We did this to try and achieve NIC level fault tolerance. The latest Firmware and Drivers have been installed for all hardware (including the NICs) fresh from the latest Dell Server Updates DVD (V14.10).

  • In each host, the above 4 VM Switch NICs are formed into a Switch independent, Dynamic team (Sum of Queues mode), each physical NIC hasRSS disabled and VMQ enabled and the Team Multiplex adapter also has RSS disabled an VMQ enabled. Secondly, each NIC is configured to use a single processor core for VMQ. As this is a Sum of Queues team, cores do not overlap and as the host processors have Hyper Threading enabled, only cores (not logical execution units) are assigned to RSS or VMQ. The configuration of the VM Switch NICs looks as follows when running Get-NetAdapterVMQ on the hosts:

Name                           InterfaceDescription              Enabled BaseVmqProcessor MaxProcessors NumberOfReceive
                                                                                                        Queues
----                           --------------------              ------- ---------------- ------------- ---------------
VM_SWITCH_ETH01                Intel(R) Gigabit 4P I350-t A...#8 True    0:10             1             7
VM_SWITCH_ETH03                Intel(R) Gigabit 4P I350-t A...#7 True    0:14             1             7
VM_SWITCH_ETH02                Intel(R) Gigabit 4P I350-t Ada... True    0:12             1             7
VM_SWITCH_ETH04                Intel(R) Gigabit 4P I350-t A...#2 True    0:16             1             7
Production VM Switch           Microsoft Network Adapter Mult... True    0:0                            28

Load is hardly an issue on these NICs and a single core seems to have sufficed in the old design, so this was carried forward into the new.

The loss of connectivity / high latency (200 – 400 mSec as before) only seems to arise when a VM is moved via Live Migration from host to host. If I setup a constant ping to a test candidate VM and move it to another host, I get about 5 dropped pings at the point where the remaining memory pages / CPU state are transferred, followed by an dramatic increase in latency once the VM is up and running on the destination host. It seems as though the destination host is struggling to allocate the VM NIC to a queue. I can then move the VM back and forth between hosts and the problem may or may not occur again. It is very intermittent. There is always a lengthy pause in VM network connectivity during the live migration process however, longer than I have seen in the past (usually only a ping or two are lost, however we are now seeing 5 or more before VM Nework connectivity is restored on the destination host, this being enough to cause a disruption to the workload).

If we disable VMQ entirely on the VM NICs and VM Switch Team Multiplex adapter on one of the hosts as a test, things behave as expected. A migration completes within the time of a standard TCP timeout.

VMQ looks to be working, as if I run Get-NetAdapterVMQQueue on one of the hosts, I can see that Queues are being allocated to VM NICs accordingly. I can also see that VM NICs are appearing in Hyper-V manager with “VMQ Active”.

It goes without saying that we really don’t want to disable VMQ, however given the nature of our clients business, we really cannot afford for these issues to crop up. If I can’t find a resolution here, I will be left with no choice as ironically, we see less issues with VMQ disabled compared to it being enabled.

I hope this is enough information to go on and if you need any more, please do let me know. Any help here would be most appreciated.

I have gone over the configuration again and again and everything appears to have been configured correctly, however I am struggling with this one.

Many thanks

Matt


bug ? If I only have all the memory in the whole world...I have it all !

$
0
0

In my hyperv cluster manager, I have the following available memory:

I guess this is not right.....:-) Anyone with the same amount of memory ?

Hyper-V Cluster Using Virtualadapters help

$
0
0

Need some help with my Hyper V Cluster configuration?   Here is what I have setup to this point.

Windows 2012 R2 with HyperV and Failover Clustering configured.  I have 4 network adapters created in a team I then created a Virtual Switch with that Team NIC I then created 4 VMnetworkadapters  I used this Powershell to set all this up

New-VMSwitch “VSwitch” -MinimumBandwidthMode Weight -NetAdapterName “Team1" -AllowManagementOS $false

Add-VMNetworkAdapter -ManagementOS -Name “Management” -SwitchName “VSwitch”

Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName “Management” -Access -VlanId 50

Set-VMNetworkAdapter -ManagementOS -Name “Management” -MinimumBandwidthWeight 15

Add-VMNetworkAdapter -ManagementOS -Name “Live Migration” -SwitchName “VSwitch”

Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName “Live Migration” -Access -VlanId 200

Set-VMNetworkAdapter -ManagementOS -Name “Live Migration” -MinimumBandwidthWeight 25

Add-VMNetworkAdapter -ManagementOS -Name “Cluster” -SwitchName “VSwitch”

Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName “Cluster” -Access -VlanId 44

Set-VMNetworkAdapter -ManagementOS -Name “Cluster” -MinimumBandwidthWeight 25

Add-VMNetworkAdapter -ManagementOS -Name “VMLan” -SwitchName “VSwitch”

Set-VMNetworkAdapterVlan -ManagementOS -VMNetworkAdapterName “Server” -Access -VlanId 128

Set-VMNetworkAdapter -ManagementOS -Name “VMLan” -MinimumBandwidthWeight 35

I’ve assigned the following IP addresses Live Migration = 10.0.200.0/24 Cluster = 10.0.44.0/24 Management = 10.0.50.0/24 VMLan = 192.168.128.0/24

All servers on the network are in the 192.168.128.0/24 VLAN. All Hosts can see other servers on the vlan just fine and I can remote into the hosts without issue.

My problem begins when I create a new VM on the hosts and assign it to the VSwitch.  It will not get an IP address at all.  If I give it an IP on the 192.168.128.0/24 VLAN which is where I want it to be it will not communicate to any other device on the network.  I’ve done a ton of reading and I believe I have something setup wrong, I’m just not sure what it is.  I assume its something with having the VMLan configured on the VSwitch.  Most of the articles I read talk about just setting up 3 VMNetworkAdapters: CSV, Live Migration, and Management.  If I do that I’m not sure how to get the host to talk on the 192.168.128.0/24 VLAN  right now I have the VMLan adapter assigned a IP on that network so I can remote into it. 

Any suggestions would be greatly appreciated.

Hyper-V NIC always down if traffic more than ~50%

$
0
0

I have a WIN2012R2 VHOST runing on DL380Gen9. there are ~6 VMs reside on it. When tester run some automaiton case on these VMs, if network traffic reach more than ~50%(1GB), the NIC binding with Hyper-V often down. but just disable it then re-enalbe this NIC again, the network connection is get back.

anybody have experience to troubultshoting this kind of issue? which trace log can help analyze issue? 

HW: HP DL380Gen9 E52698V3

RAM: 128GB

NIC: HP Ethernet 1Gb 4-port 331i Adapter

NIC Driver: 16.6.0.4

OS: WIN2012R2 DC with latest windws update.


Encounter Error when trying to inspect VHD

$
0
0

Hi Hyper V Guru,

I am trying to do inspect on the disk of my VM by right clicking the VM-> select settings -> Select Hard Drive -> and click on the Inspect. However I am encountering the error message: "An Error occurred attempting to connect to the virtual disk management service on computer 'localhost'. Cannot connect to the RPC service on computer 'localhost'. make sure your RPC service is running. what is actually the issue that happen?

Second query: how do I accurately confirm that my VM has no snapshot?

Third Query: if my disk is fixed vhd disk, is it possible to expand it? what are the best procedures and steps of doing this task? what I should notice properly before expanding? will there be any risk of expanding VHD? as this is our production exchange server and very critical, I am really worry of doing this.

Thanks for your attention.

Regards,

Henry

Hyper-V encountered an error trying to access an object on computer ...

$
0
0

I'd like to share an issue which occurred during one of my recent configurations as well as the associated solution which worked for me.

While configuring Hyper-V Manager on a non-domain joined Windows 8.1 Enterprise client, to communicate with a non-domain joined Microsoft Hyper-V Server 2012R2, I received the following enjoyable message:

Hyper-V encountered an error trying to access an object on computer '.....' because the object was not found. The object might have been deleted. or you might not have permission to perform the task. Verify that the Virtual Machine Management service on the computer is running. If the service is running, try to perform the task again by using Run as Administrator.

As it turns out I forgot to change the machine name on the Hyper-V server. It's worth noting that it's also necessary to add an entry in the client machine's HOSTS file which matches the computer name of the Hyper-V server.

Hyper V CSV Volume

$
0
0

Hi ,

We have Hyper v 2012 R2 Failover Cluster ,Please suggest How to monitor the CSV I/O volume Utilization ,is there any Monitoring

Software and tool to monitor the Hyper V CSV I/o Volume Utiliztaion..

Regards

No networking, till virtual switch disabled/re-enabled.

$
0
0

OK, so this is weird.

Once physical nic (onboard, Intel I219-V), and one virtual switch enabled from that. Set so the host can share networking. Every time I boot Windows 10x64, I have no networking until I disable and re-enable the virtual switch. All the settings on it are right, it just needs an on/off to spring to life. Any ideas?

Until I disable/re-enable the switch, the system event log fills with


Hyper-V-Vm-Switch Event Id 25 The MAC address 40-8D-5C-50-5D-7C has moved from port C37F171C-9D82-470F-BCB5-80FC6160C33C (Friendly Name: External) to port 30CA8B90-F073-47EB-89EC-764EEB07E8F8 (Friendly Name: External_External).

Hyper-V-Vm-Switch Event Id 25 The MAC address 40-8D-5C-50-5D-7C has moved from port 30CA8B90-F073-47EB-89EC-764EEB07E8F8 (Friendly Name: External_External) to port C37F171C-9D82-470F-BCB5-80FC6160C33C (Friendly Name: External).

That's the MAC address of my external Virtual switch. It continuously flips between those two entries. Why would the MAC address be flapping from port to port like that?

Then, I disable/re-enable the vSwitch and

Hyper-V-VmSwitch EventID 7 Miniport NIC 6D97AB55-966A-4BAD-9664-9DB3B7D17B4E (Friendly Name: External) successfully initialized.

Event 5 Miniport NIC 6D97AB55-966A-4BAD-9664-9DB3B7D17B4E (Friendly Name: ) successfully enabled

Event 5 Miniport NIC 7ADB06B9-C08D-4993-A8B7-78B2EF4A0B89 (Friendly Name: ) successfully enabled

And that's it - I have networking again and the event log behaves itself.

Any ideas? (vSwitch is of course set to allow host networking)

(Saw this post, but I only have one physical and no NLB: https://social.technet.microsoft.com/Forums/windowsserver/en-US/681708f1-8fa7-4fcf-b6fc-5c56788d6dfa/hypervvmswitch-event-25-continuously. Apart from that, it's spot in in terms of number of entries)

A




Stop pooled VMs from automatically starting

$
0
0

Hi!

We need to stop pooled VMs from starting automatically. We have already changed the automatic startup action to none but still they are starting up.

Thanks.

Failover Cluster - Windows Update Server Restart

$
0
0

Hi,

 I have a cluster with 2 Hyper-V nodes. Server 1 and Server 2. There are 60 Personal VMs and 10 Pooled VMs reside on these 2 servers. 30 Personal are on Server 1 and 30 Personal + Pool are on Server 2.

Updates are applied to Server 1 every 3rd Tuesday of the month from SCCM and server will restart. All VMs failed over to Server 2 which caused the 98% memory usage. I have to manually perform live migration the 30 back to Server 1. Is there is best way of doing this where I don't have to manually perform live migration? Powershell script? CAU?

Thanks


Tuan


SCCM 2012 and CAU Server 2012

$
0
0

Hi,

 Is it true that Plugin for SCCM2012 and CAU Hyper-V Server 2012 is not available?

Thank you


Tuan


New server, dynamic memory caused patches to fail when applied

$
0
0

I put up a new server with Dynamic memory and tried to install the first wave of 2012 R2 patches and they failed. Turned it off and they apply.

Is this common? Is dynamic memory safe to use?

LTI of Hyper-V Hosts

$
0
0

Hello All................Is it possible to do a Light Touch Installation (LTI) of Hyper-V Hosts? Is it practical? Does it have any benefits?

If possible can following be done through it:

1.  Installing OS, Prerequisites, Hyper-V and addition into existing cluster?

2.  Can we have Hosts join Hyper-V Cluster based on its Hardware Profile, OS, Network and Storage?

3.  Can we have a Task Sequence to configure Hosts Properties, Networking and Storage?

4.  Can we have nodes added into VMM through Task Sequence?

5.  Can we create LUNs, Encrypted and Unencrypted Volumes for Hosts?

6.  Can we create Virtual Switches, Networks and Sites through Task Sequence?

Access Device Manager in Hyper-V 2012

$
0
0

When I try accessing Hyper-V Server 2012's Device Manager via MMC I get "Make Sure that this computer is on the network, has remote administration enabled, and is running the "Plug and Play" and "Remote registry" services.

The Error Was: "The machine selected for remote communication is not available at this time.

I disabled the Hyper-V Firewall and followed the steps outlined here for "Allow remote access to the Plug and Play interface":
http://mikefrobbins.com/2010/12/02/enabling-remote-access-to-device-manager-on-server-core/

Any ideas?

The Hyper-V Manager works as-well-as the Policy Editor, just not Device Manager.

Hyper-V-Config Event logs empty

$
0
0

I'm trying to track any changes to my Hyper-V environment when an admin makes a config change to the VM. I'm thinking all the changes "should" be listed under Hyper-V-Config->Operational or Admin but the event logs are empty. Does anyone know how to enable those logs or if those logs would be in a different location?

Brady

MS Windows Components requirement to setup Windows Server 2012 R2 with Hyper-V OSE

$
0
0

Hi,

I will setup a Virtual Server Farm using Hyper-V, I have 2 Physical Servers and on each Physical server will have 5 Hyper-V OSE running on either Windows 2012 Standard R2 and Windows 2008 R2. Aside from buying licenses of Windows Server 2012 R2 Standard for Hyper-V OSE, what are other MS Licenses I need to purchase to properly run all Hyper-V OSE. I also consider to activate Hyper-V Clustering from Physical Server 1 to Physical Server 2 in case Physical Server 1 went down. Do I need MS licenses such Microsoft System Center 2012 R2  for Virtual Machine Manager too, to run this kind of setup? What other licenses should be considered?

Thanks in advance.

Nald

Viewing all 19461 articles
Browse latest View live




Latest Images