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

All Hyper V VM s are using 100% CPU

0
0

All

We have a windows server 2012 as a hyper v host and 2 VM S SBS 2011 and windows 7 VM

Since this Tuesday the CPU usage is a constant 100% on both VMs and since backups were failing due to high cpu usage rebooted the SBS 2011 server. But even after a reboot/shutdown SBS is at a constant 100% usage

We disabled all non MS services, disabled Exchange, SQL and memory hungry services but the CPU usage is at a 100%.The time it goes down is when we stop all MS /NON MSservices except bare minimal services which needs to run the SBS properly

Even with this the moment we open up a MMC console , open up an application on the server the cpu goes to 10% and remains for a long time and then goes down again

But with all SBS services running it never happens and stays at a 100% even after acouple of hours

Hyper V integration services are up-to-date

Any advice is greatly appreciated.

Thanks

Dhanushka




SLES 11 SP2 autoyast under Hyper-V 3.0 (WS2012)

0
0

It took me some hours to realize that SUSE Linux Enterprise Server 11 SP2 is the only supported SLES under Hyper-V 3.0 (from a WS2012 support list page). And another 2 hours to find only VHD hard disk is recognized by SLES 11 SP2: VHDX will not roll.

I have managed to deploy RHEL 6.2 VM via kickstart script from the IIS web server in the host OS, with this kind of parameter:

linux ks=http://x.x.x.x/kickstart/rh65.cfg

The only thing need to mention is, RHEL can only recognize "legacy" NIC emulated by Hyper-V during setup.

I created some autoyast script for unattended setup of SLES 11 SP2. But the guest OS alwasy complain about cannot found the URL, when I pass the paramater to installer:

autoyast=http://x.x.x.x/autoyast/autoinst.xml

Neither default NIC, nor legacy NIC will sovle this. Is it possible to do an unattended setup of SLES 11 SP2 via http?

I know there may be other options to do this:

Are these 4 options feasible?

Hyper-V 2012 Network Settings and CSV

0
0

Folks,

We have a 4 Node 2012 Hyper-V cluster.

The backend Storage is provided via FCP from a Netapp SAN.

We are using CSV's to store all our VM's.

The Networking consists of

1 Physical Adapter for Management

4*1GB Team for VM Traffic - Logical Switch

3*1GB Team for ( Cluster Heartbeat, iSCSI, Live Migration) -  Logical switch with 3 vadapters.

2 * FC HBA's

My questions are:

1.) Which adapters should i allow cluster communication over.

2.) How do I see which adapter CSV metadata is being sent over.

3.) Is there any specific binding order that i should adhere to, or does failover cluster manager look after that.

Any help would be greatly appreciated.

Cheers

An error occurred when trying to register for IME

0
0

Hi,

Connect to a remote 2008 server running Hyper V with 3 VM's running.  The VM's are running fine and I can connect to each using third party remote desktop software.  Recently, however, this is the only way I can connect as when I select "connect" in Hyper-V I am getting an error as follows:

Virtual Machine Connection

An error occurred when trying to register for IME events for '<VM name>'.

The operation on computer ;localhost' failed.

Solutions I have found seem to relate to remote policy issues but I can't see this being the case here(and it has only recently started doing this!).

Can anyone help?

Are Diff disks limited by the original parent disk

0
0

Hi

I have been building some win2012 diff disks with PS for my dev environment hosted in win8 hyper -v.

Now wrongly or rightly , I created my win2012 parent disk with 1 cpu and 60GB thinking that it would hold the o/s and some common utilities. 

Now my win2012 diff disk based VMs are configured with 4 CPUs and 80 GB.

However, wen I run a status command for the vm , I see 1 cpu in play  (see below)

PS C:\Windows\system32> Get-VM sp2013dev01

Name        State   CPUUsage(%) MemoryAssigned(M) Uptime   Status            
----        -----   ----------- ----------------- ------   ------            
sp2013Dev01 Running 1           843               16:03:50 Operating normally

Furthermore, If I look at the disk proprieties of drive C in my vm I 

Now I am starting to get worried as I thought with dynamic storage etc it doesn't matter about the parent disk. Should I rebuild my parent and subsequent diff disks. 


vCPU и pCPU

0
0

Добрый день.

Просьба помочь с одним вопросом, возможно глупым, на который не смог найти ответ:

Существует система с 2 нодами, планируется hyper-v. На каждой ноде по 2 8-ядерных процессора.

Необходимо будет запускать на данной системе WS 2003 в ВМ. В официальной документации написано, что поддерживать сможет только 2 vCPU.

Сможем ли мы выдать  для нашей гостевой машины больше мощностей, чем 2 физических ядра от нашего физического процессора, не изменяя количество vCPU? 

Вопросы появились после этой фразы: "Каждый виртуальный процессор жестко маппируется на определенное физическое ядро реального процессора - этот процесс не конфигурируется и не управляется администратором хоста виртуализации."

Спасибо за помощь. 

Hyper-v 3.0 Virtual SANs/FC with Failover Cluster

0
0

I have been trying to use Virtual SANs/FC Adapters in my 2012 Hyper-v failover clusters. I have run into a couple problems which have led me to remove failover clustering and go with stand-alone hosts, which seems more stable. If anyone has experienced similar issues and has better fixes, that would be fantastic.   

SAN Details:
- HP EVA4000
- OpenIndiana ZFS storage server
- HP Brocade 4 and 8 Gb FC switches

Host details:
- HP BL465c G7 blade servers
- HP LPe1105 HBAs
- Latest HP MPIO DSM for EVA, Microsoft DSM for OI LUNs
- Latest HP SPP (firmware and drivers)

Issues:

  1. If a node is reset or crashes, a VM using virtual FC adapters will not start on any nodes in the cluster--I receive "an unknown NPIV error occurred”. In order to start the VM, I have to swap the WWPNs on the A and B ports on each virtual FC adapter. The VM will not Live Migrate (since I can't use the second WWPN) until all nodes in the cluster have been rebooted.
  2. After removing a node from the failover cluster, the previously working vSANs stop working. If I remove the vSANs, I cannot add them back because Hyper-v decides that the HBA driver no longer supports NPIV. The only fix I have found is a rebuild...which is hardly a fix. Haven't been able to get deep enough into HP's support to find someone who knows what "NPIV" means
  3. This seems like it may be on my storage side, but a couple time my clusters started failing roles back and forth until they locked up and had to be totally rebooted to restore them. 

Matthew

Hyper-V platform Version with WMI

0
0

Hi Brian,

I am using wmi api to retrieve the details of Hyper-V hypervisor.But i am facing one issue that is I need to get platform and version of Hyper-V hypervisor.

I am unable to get any method which will return me the platform.

Could you please help which method should i use to get the exact platfrom and version of Hyper-V.Currently i wrote hard coded value.

Your answer will be appreciable.

Thanks,

Prasanna


Error when creating VHDX via Hyper-V Manager remotely

0
0

Hey all!

So, I installed Hyper-V 2012 Core on a box, patched it, and then joined it to the domain. If I connect to the server via Hyper-V Manager from either a Windows 8 machine or Server 2012 machine and try to create a VM, it says "There was an unexpected error in configuring the hard disk on [Insert VM Name Here]." I feel like I've tried everything. I can not create the disk manually via the Manager on its own, before or after the VM being created. I can, however, create the disk via PowerShell with out a problem! Via PowerShell, I can create a dynamic VHDX disk every time without an issue.

I was curious if anyone has had this problem and/or knows a solution.

Thanks in advance!

Customizing Hyper-V VMs folder structure?

0
0
I'm hoping there is the ability to use the name of the VM being created to manage how the folders & directories are created?

Instead of:
C:\ClusterStorage\Volume1\Hyper-V\Hardrives
C:\ClusterStorage\Volume1\Hyper-V\VMs

I would like to have something along the lines of:
C:\ClusterStorage\Volume1\Hyper-V\%vm_name%\Hardrive
C:\ClusterStorage\Volume1\Hyper-V\%vm_name%\VM

Just to keep things neat and orderly and resembling more the folder layout after exporting / importing a VM without actually having to go through that process.

Migrating guests between 2008 and 2008r2

0
0

I've got a VM on 2008r2, that I exported (through Hyper-V Manager) to the server's G: drive. In the folder, I got config.xml file, an empty Snapshots folder, a VHD folder (with .vhd files), and a VM folder (with a .exp file).

When I copy the files over to the G: drive on my 2008 Hyper-V host, I use the GUI to import the VM and point it at the Virtual Machines folder (with the .exp file). After a moment, I get the following error: 

Import failed. Unable to find virtual machine import files under location 'G:\serverName\Virtual Machines\'. You can import a virtual machine only if you used Hyper-V to create and export it.

Event 18020 is also created in the Hyper-V-VMMS event log. 

Should I be able to complete this operation? What am I missing?

Thanks.

Hyper-V SAN Configuration

0
0

I am in the process of planning the virtualization of my infrastructure (better late than never).

My servers consist of

  • Domain Controllers
  • Exchange Servers
  • SQL Servers
  • File Servers
  • Anti-Virus Servers
  • SharePoint Servers

The new environment will consist of a 3 node Hyper-V cluster connected to an iSCSI Dell SAN.

My question is about how to configure the SAN in terms of Best Practices.

1.

Should I split the SAN into equal LUNs e.g. 10 x 200GB and present them all from the onset. Or should I only create LUNs for the storage I need now e.g. 5 x 200GB, and leave the remainder capacity unallocated?

2.

Should I create different RAID types and store the VHDs according to requirements e.g.

     LUN 1 : RAID 1 : store File Server OS VHD

     LUN 2 : RAID 5 : stores File Server DATA VHD

     or should a VMs VHDs all be stored on the same LUN and/or same RAID type (RAID 10  perhaps?)

3.

Is it beneficial to create numerous smaller LUNs and present several CSVs to the Hyper-V hosts or should I create a single larger LUN and present one CSV for all virtual machines?

4.

I plan to leave the virtual Domain Controller on local storage as my understanding is to not cluster it.

5.

Any other Best Practice tips for Hyper-V SAN configuration.


How to connect USB external Harddisk to Hyper-v virtual machine

0
0

Hi,

We are running hyper-v server 2008 R2, we have external USB harddisk connected in hyper-v Manager, we are not able connect this USB to virtual machine.. is this option is available in hyper-v? if no is there any document from microsoft stating the same?

Regards

Asha


Hyper-V 3.0 and PVLAN question

0
0

I'm messing around with PVLAN and have a couple questions:

  • During my test I configured one VM as promiscious and another isolated. I got the isolated to talk to the promiscious
  • Does the PVLAN configuration not move with the virtual machine when the host is changed?

Reason I'm asking is because I had traffic talking from isolated to promiscious and visa vera... but after moving the VM with promiscious to another host it stopped talking. It is like it is lost the PVLAN configuration.

Surely these commands I ran will move with the VM right? 

List Users connected to Hyper-V Machine

0
0
Is it possible to list the users that are currently connected a Hyper-V VM?

Ex: You add people to Hyper-V admin list and someone connects to a VM reomotely. Is there a way to see which users are connected to which machines?

Loss of CSV Connectivity in Failover Cluster

0
0

I recently had an issue where one of my Hyper-V nodes (Let's call it Node D) in a failover cluster would fail it's health check and consistently reboot every 30-40 min. Logs stated that the problems were with the netft driver, which after led me to DCOM errors with the vmms service. I tried to re-register the service, but that only caused the service to disappear completely. I was left with having to uninstall and re-install the Hyper-V role on the node. That went without apparent issue, but now whenever I boot Node D (and do not disable all but the management NIC), all the other nodes (Nodes A-E) in my cluster lose connectivity to the CSV shared storage and all my virtual machines cannot be reached! When I shut down the Node D, all connectivity returns.

I've disabled the NICs (except management), and even removed the iSCSI connections to the storage on Node D. It can't talk to the storage. What is it on Node D that is causing my other nodes to lose connectivity? I think it might be Failover Clustering, but what is Node D doing to be taking the storage away from the other nodes?

Hyper v 2012 Features

0
0

Hi Folks,

I need your expert advise on below mention points to gain more understanding on Hyper V2012 considerations.

1.)  Does Hyper V has dependency on active directory services. Is it necessary to have AD for Hyper V 2012 to work.

2.)  What is the equivalent of VMFS that we have in VMware in Hyper V.

3.)  Does Hyper V 2012 offers a similar solution to  hardware assist locking that VMware has part of VAAI.

4.)  With the introduction of Virtual  fiber adapter in Windows2012 its now possible to assign  upto 4 Virtual
     adapters. Does it mean we can  present Tape library drives directly to a VM for taking backups.

5.)  Can we clone a VM in Hyper V 2012

Hyper-V Guest Has Correct Date/Time but Still Reports Time Issues

0
0

I recently built a Hyper-V host and installed one guest machine on it. The Host has no issues whatsoever. The Guest, however, has odd time issues that I cannot seem to fix. Below are the specs for the environment:

Host: Dell PowerEdge R720 running Windows Server Datacenter 2012 Core, Hyper-V
 In our perimeter network, non-Domain joined, NTP sync from internal NTP server on network (confirmed working)

Guest: Windows Server 2008 R2 Datacenter
 Non-Domain joined, NTP sync from internal NTP server on network (confirmed working)


I installed the Guest from a standard 2008 R2 (non-SP1) ISO image from our Volume License. After installation, I modified the policy (gpedit.msc) and pointed Windows Updates to our internal WSUS server (exact same configuration as the Host which updates with no issues), but I receive the 80072f8f error which all searching indicates there is a time synchronization issue. Time Synchronization in Integration Services is turned off, the Guest and the Host are both synchronizing with the same NTP server (w32tm /config /manualpeerlist:<IP> /syncfromflags:manual /update) and the Windows Time service is started and set to Automatic start. The Guest will update just fine from Microsoft's update servers, but not our WSUS.

To be clear, this is not isolated to WSUS. This Guest is a web server running BitNami's WAMP stack and using Memcache. Memcache session management fails on the server because it reports the time is off. I have confirmed mltiple times that the Guest time is the exact same (to the second) as every other server in the building and the same time zone. All I can find online are Root Certificate updates (not applicable, but I tried it anyways and still no go) and the Make Sure Your Time is Correct fixes (which it 100% is).

The issue presented itself prior to any configuration of the server beyond Name, IP, and NTP so nothing 3rd party is interfering. All updates available from Microsoft have been installed and the problem persists. I am not sure what else to look at. I have never seen this issue with other Hyper-V hosts, but this is my first 2012 host in the environment. The Host is also fully patched, by the way and has no time issues at all. The Host BIOS is also correct.

Has anyone else seen this or do you have any ideas on how to fix this problem? It is a real showstopper due to the memcache issue. Any help is appreciated, thanks.

Is Hyper-V Virtual Switch limited by the slowest NIC on the host system?

0
0

For the last two weeks I have been playing with Hyper-V Server 2012 R2. My system is based on a Celeron 847, so I wasn't expecting stellar performance.

The mainboard has one integrated Realtek 1GB NIC.

I installed Windows 7 as a Guest and created an external virtual switch, which I connected to the onboard NIC and allowed the host to share the connection.

This lead to a very bad user experience when connecting to the guest system via remote desktop (freezes every few seconds). I searched for a solution and found a lot of recommendations to add a dedicated NIC for the guests.

The only thing I could get my hands on on a Sunday was an Apple 100MBit USB Ethenet Adapter which I sometimes use on my MacBook Air. I installed the drivers on the host and the freezes inside the guest system went away.

Because I didn't want to transfer files between the guests and the host via an external 100MBit connection, I added a second switch, set to internal. I configured both the host and the guest with static IPs on the internal switch so that I could be sure which route the IP packets would take.

I mapped a share on the host as a network drive on the guest (using the IP address, not the host name) and transferred some large files between host and guest and noticed that I could only transfer 10MByte/s.

On a hunch, I installed a real 1GB NIC today and removed the USB Adapter. I reconfigured the external switch to use the new NIC and did some more tests. Transfer rates went up to 50MByte/s! That is the same rate I get when transferring files from an external machine to the host, so I guess that this is the limit of what the CPU can handle, which is fine by me.

Is the internal speed of the virtual switches really limited by the slowest NIC connected to a virtual switch? Or am I missing something? I'm pretty sure that the IP packets aren't going through the external switch / adapter, because I can pull the network cable and the transfer isn't interrupted. Besides, using Resource Monitor on the guest I can see that only the virtual NIC connected to the internal switch is registering any relevant traffic.

If anyone has any insight into this, please share. It might even help me to troubleshoot a seemingly similar problem we have at work on a 2008 R2 Server, which our Sysadmin hasn't been able to figure out.

Thanks

TomKraut

need help with Add-VMNIC -VirtualSwitch 'vsWITCH' in 2008r2

0
0

Hi guyz,

Can any one explain why this happens??

when i create a network adapter for a VM in Hyperv from GUI by VM>Settings>Add Hardware>Network Adapter

i see Network Adapter in the VM setiings like this:

but whereas , when i add it through powershell using the command

Get-VM -Name $vmname -Server $server |Add-VMNIC -VirtualSwitch 'External'

It gets added with VM-Bus Network adapter, like below

Can any one tell teh difference between those???? 

ps:i used Hyperv module written by jamesone from codeplex for the above command

Viewing all 19461 articles
Browse latest View live




Latest Images