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

High idle parent cpu usage

$
0
0

I've got a problem with the idle CPU usage of my Hyper-v VM. I am running Windows 10 on an Intel NUC i3 6100 model. When idle my CPU usage is about 3%.

I've set up a Hyper-v VM and installed CentOS 7. I've tried different configuration options:

- limit the VM to 1 core

- Give the VM all 4 cores

- Set RAM to dynamic

- Set RAM to fixed

The results are always the same, for an idle VM:

- CentOS is reporting near 0% CPU usage

- The Hyper-v Manager is reporting 0% CPU usage for the VM

- Windows 10 is reporting a 20-25% CPU usage *increase*

I've let the VM sit idle for 15 minutes, the CPU usage on Windows remains up by 20-25%.

Is this just normal behavior for an idle Hyper-v VM? Is CentOS not compatible with Hyper-v? Is CentOS not properly configured? I can't seem to figure out what is going on / wrong.


CSV redirection and metadata confusion

$
0
0

Hello,

I’ve build a 2012R2 Hyper-V cluster.  Each host has 6 10Gbps NICs.  I’ve created two teams,

  • One team for Live Migration
  • One team for Virtual machines with a vSwitch on top.
  • The other two NICS are used for ISCSI A and B

On the team used for virtual machine traffic, I’ve created two parent OS vNics, one vNic for host management and another for cluster Comms\CSV traffic.

The cluster Comms vNic has been set with the lowest metric. 

Now, this is where I get confused.  I created a separate team for Live Migration so that this NIC team remains RSS capable and can therefore take advantage of SMB multichannel for fast live migrations.

However, I’ve been reading (here http://blogs.technet.com/b/cedward/archive/2013/11/06/windows-server-2012-smb-multichannel-and-csv-redirected-traffic-caveats.aspx) that CSVredirected traffic will use the NIC\team where SMB multichannel is capable. My concern is that is this only for CSV redirected traffic or also for CSV metadata operations?

So my main questions are:

Does CSV metadata and CSV redirected traffic follow the same rules? So in this case will CSV metadata traffic flow over the same team used by live migration, or will it use my cluster comms Nic that’s set with the lowest metric? 

Should I limit the amount of bandwidth used by Live Migration so that CSV redirected traffic isn’t starved when live migrations take place? (https://blog.workinghardinit.work/2013/09/03/preventing-live-migration-over-smb-starving-csv-traffic-in-windows-server-2012-r2-with-set-smbbandwidthlimit/)

Thanks loads in advance

vhd raid10

$
0
0
is it possible to create raid10 using VHDs? if possible how?

Windows 10 Hyper-V Taskbar Annoyance

$
0
0

My host computer is running Windows 10 Version 1511 (10586.164) as is my Hyper-V VM.  I'm attempting to position the taskbar in the VM vertically while leaving my host computer's taskbar in the default horizontal position.  The issue I'm running into is that frequently (yet apparently randomly...I haven't been able to establish a consistent pattern/trigger yet), the host computer's taskbar changes its position to vertical as well.  During my troubleshooting, I've found that this applies to other taskbar and desktop properties as well (e.g., Auto-hide, Lock the taskbar, and desktop background).  Settings that I apply in the VM sometimes get applied on the host...and not necessarily at the same time that I apply them in the VM.  I'm baffled. Anyone else run into similar issues?  Suggestions?

If it matters, I'm running the VM full screen across dual monitors.  I also have Enhanced Session enabled.

Thanks in advance.


Interrupted VM stuck

$
0
0
I was doing updates on my 2012R2 Hyper-V VM and power dropped. When I booted my host PC back up the VM would start and say Hyper-V Updating your system (x%) and get stuck at 5%. I can't get past this and I have no snapshots/backups of the VM. Is there anyway to recover this VM?

Network Adapter vs Legacy Network Adapter - promiscuous mode

$
0
0

I've been investigating an issue with Multicast spamming (see my Multicast thread), and have discovered a behavioral difference between the Network Adapter and Legacy Network Adapter.

From my testing it seems the Network Adapter is using promiscuous mode and the Legacy is not (or the legacy is able to manage multicast (igmp) packets a lot better).

Scenario;

3 VMs running on a single host (teamed nics)

Host - 2012R2

VMA - 2012R2 - Network Adapter

VMB - 2012R2 - Network Adapter

VMC - 2012R2 - Legacy Network Adapter


VMA is subscribed to a multicast group and is receiving 10 Mbits

VMB is NOT subscribed. Task manager is showing 10 Mbits incoming

VMC is NOT subscribed . Task manager is NOT showing any additional bandwidth


Now, to verify the traffic I loaded Wireshark in NON-promiscuous mode;

VMB task manager is showing 10 Mbits incoming, I see the multicast traffic destined for VMA

VMC task manager is NOT showing the additional bandwidth, Wireshark is NOT showing the multicast traffic


Now, loaded Wireshark again in Promiscuous mode;

VMB task manager is showing 10 Mbits incoming, I see the multicast traffic destined for VMA

VMC task manager is showing 10 Mbits incoming, I see the multicast traffic destined for VMA


From these results I gather that the Network Adapter is in promiscuous. From everything I read online this is not suppose to be the case which is very confusing.

Can anyone help out or confirm?


Hyper V cloning

$
0
0

Can you clone your system that you are creating a Hyper V on?

Thanks,

Allen Hinkle


Join a domain

Not able to install Windows 2008 r2 VM on Windows 2012 r2 (non-SLAT) Hyper-V host

$
0
0

Hi Windows 2012 r2 Experts,

I need to install Windows Server 2008 r2 VM, on a non-SLAT - Dell Optiplex 755 - Intel Core 2 Quad Q6600 Processor (2.4GHz, 8MB L2 cache, 1066MHz FSB, VT) Windows Server 2012 r2 Hyper-V host, with 5GB of RAM. However, the OS installation stalled after clicking Install button at Starting Windows screen. I have allocated 1GB RAM and 2 virtual processor. Refer to Dell Optiplex 755 technical specification http://www.dell.com/downloads/global/products/optix/en/opti_755_techspecs.pdf for detail.

On the other hand, it was possible to install Windows Server 2012 r2 VM on the same Hyper-V host. As a result, this issue appears to an unsupported installation of Windows Server 2008 r2 on Windows Server 2012 r2 Hyper-V, as opposed to any hardware limitation such as RAM, non-SLAT CPU. Is this correct? Also, how much RAM would you recommend? Does this processor meet minimal hardware requirement to run Windows Server 2012 r2?

I need Windows Server 2008 r2 as part of lab exercises in the MCSE Windows 2012 r2 training.

Thanks a lot,
George


Hyper-V P2V Server 2003 Licensing

$
0
0

We want to test P2V of a file server but not actually use the virtual copy of the 2003 file server in production.  I have completed the P2V and the server is now in Hyper-V but when i boot it up and try to log in it wants me to reactivate the server licenses, if I do this will the original server (active physical server still in production) stop working or show the key is no longer valid? If so is there a way to work around this since we will not have both up at the same time in production and is only for temp testing? 

Thanks - John

VPN Server on VM

$
0
0

Hi,

I need to setup a VPN server for employees to access fileservers etc. Is there any recommendation for or against doing this on a VM server? I am considering on w 2012 R2 VM in 2102R2 Hyper V environment.

Any suggestion(s) is appreciated.

Thanks,

Ashok


am7777

i can't connect to a remote 2012r2 server to manage hyperv

$
0
0

from a win10 pro hyperv console i'm trying to connect to a server2012r2 on the same lan and workgroup, no domain. i put "another user credentials" with creds for the server's administrator.

on both computers winrm is enabled.

i get error "an error occurred while attempting to connect to server "server". check that the virtual machine managment service is running and that you are authorized to connect to the server"

i ran PS: enable-wsmancredssp -role client -delegatecomputer "server" 

still getting same error.

thanks for help

gil

Move VM's Physical Location on Hyper-V Server 2012 R2

$
0
0

Hi all,

I'm  trying to move a VM from physical drive D: to C: on my hyper-v server 2012 r2. The "move" command doesn't work (apparently that only works if you have a domain server and I don't - this is a home environment), and if I try to import after exporting it comes up with an error that the identifier already exists. I also noted that the creation date during import is whacky (1/1/1601 00:00:00).

Is there any simple way to move a VM from one disk to another inside the same server, or do i need to continue the route I'm on but delete the "old exported VM" before importing the exported one? I'm worried that I my completely lose everything if the import doesn't work and I've deleted the original VM after exporting.

Cheers!

Random VMs lose connection

$
0
0

I have a Hyper-v 2012 R2 server with four NICs. Three are Teamed using server 2012 built-in NIC teaming and one left for management OS. I have 5 VMs running on this server and all using the same virtual switch. External-switch, for example. Once in a while a vm will lose network connectivity, and all others stay connected. I created a second virtual switch for when this happens and it works. Both virtual adapters are set to use the same NIC team adapter. What may be wrong?

Thank you.

Backup problems on Hyper-V 2012 when backing up Windows 2012 R2 VMs

$
0
0

Hello,

I have an issue that I cannot solve for months.

I have a Hyper-V 2012 multi-site cluster that, apart from other VMs, has also Windows 2012 R2 VMs in it.  This should be supported by Microsoft.

However, when I backup these VMs using Veeam, all VMs work fine except the 2012 R2 ones.  The usual error creeps in (retryable error, VSS timeout).  After I restart the Volume Shadow Copy service on the Windows 2012 R2 VM, all is fine for a day, then the same error occurs on the next backup.

I have seen that this was corrected in KB3063283, but this only works for Hyper-V 2012 R2 hosts, not Hyper-V 2012.  How can I make sure the Integration services on my Windows 2012 R2 get upgraded to this version?

Currently the integration  services on my Hyper-V 2012 hosts for Windows 2012 R2 VMs are on version 6.3.9600.17388 .

Please help me since I've been in this situation for months.

Kind Regards,

Vincent Farrugia

Hyper-V windows 10 cannot create virtual switch

$
0
0
I have been trying to create a virtual switch and keep getting an error which is beyond my understanding can some please help me. I have attached a couple of images which I hope will help to explain what I am saying. Any help would be appreciated. 

Machine stuck on "Hyper-V" loading screen

$
0
0

This has happened a few times now. I'm having issues with the guest OS (Ubuntu) taking ages to shutdown that could be related to this, but I'm treating them separate for now (https://askubuntu.com/questions/752980/ubuntu-really-slow-to-shutdown-restart).

Anyway this doesn't happen all the time, but sometimes after rebooting the guest I come back and notice the server is stuck on this boot screen. I then have to shut it down (which takes ages) and start it again. 

I can't see anything in the hyper-v-* event logs, and I'm not really sure what else to look at. 

Any clues?

Error: "The virtual machine could not start because the hypervisor is not running".

$
0
0

HI folks.   So this is the second time that I have had Hyper V up and running fine then one day i reboot and go in to start a VM and I get that error. Yes I have Virtualization tech enabled on my board and yes my cpu supports it or it obviously wouldnt' have worked before. CPU is core i5 760 in an Asus P7P55D-E PRO mobo.  I reinstalled again to get it working but not it has stoped once again. Need help with this.  Thanks.

 

EDIT: This is Server 2008 R2 SP1 installed as well as Remote FX which was working properly as well.

Hyper-V VSID Routing

$
0
0

Hi All

Here is my network setup.

I have two Hyper-v host Hyperv01 (192.168.1.173) and Hyperv02 (192.168.2.173). I have created 3 VM's each on Hyperv01 & Hyperv02

Both host have only on NIC.

Hyperv01 VM's are

VM1 - 10.1.1.11 and its VSID is 6001

VM2 - 10.1.1.11 and its VSID is 6002

VM3 - 10.1.2.22 and its VSID is 6005

In Hyperv02,

VM4 - 10.1.1.12 and its VSID is 6001

VM5 - 10.1.1.12 and its VSID is 6002

VM6 - 10.1.2.20 and its VSID is 6005

Please let me know how to routing the traffic between VSID 6001 and 6005?

Regards,

Loges


Vlan traffic stops working

$
0
0

Hello,

I have a setup with 3 VMs(ubuntu 14.04) and 2 vswitches on a windows 2012 machine:

    - VM1 and VM2 have one interface in vswitch1

    - VM3 has one interface in vswitch1 and one interface in vswtich2

    - VM1 is defined as source in vswitch1 mirror session.

    - VM3 is defined as destination in vswitch1 mirror session

    - vswitch2 has a physical adapter connected to it(Broadcom NetXtreme Gigabit Ethernet)

VM3 sees all the ping traffic on the interface from vswitch1.

I have a dummy program running on VM3 which gets all the traffic form the interface from vswitch1 and redirect it to a vlan subinterface attached to the interface from vswitch2. The interface from vswitch2 is set in trunk mode to allow all VLANs.

More concise, the scope of VM3 is to get all the traffic between VM1 and VM2 , tag it with VLAN and send it to a physical adapter.

The problem is that the tagged traffic is dropped somewhere between VM3 and vswitch2.

If I set the VM3 interfaces from vswitch 2 in trunk mode again with the same options(allow all VLANs, native VLAN 0) I can see 1 packet mirrored with VLAN and then it stops. 

Can you point me some places to investigate the dropped packets? Is it there option I need to enable?

Thank you,

Radu


Fix access denied errors on non-clustered shared storage using a separate 10G network for NAS traffic.

$
0
0

I need guidance on fixing "General access denied error (0x80070005)" when moving a VM between Hyper-V hosts, and also creating a new virtual hard disk, from an administrative workstation.

Scenario:
Hyper-V host servers "Host1" and "Host2" and Storage server "Nas1" are all connected by both a 1G and a separate 10G network.
All 3 servers are Windows Server 2012 R2 with a 1G and a 10G NIC, the administrative workstation "Wks1" is Windows 8.1 Enterprise (actually, a VM), all are joined to domain "acme.local".

What is the best method to make Host1 and Host2 use the 10G network to connect to the share on Nas1?

On the domain controller, I added static DNS records mirroring the 1G network, adding a "z" to the host name, using a different subnet designation.  Example:  all "1G" hosts use addresses in 192.168.1.0 range, all "10G" network hosts use addresses in the 10.1.1.0 range.  So where Host1 is 192.168.1.18, then zHost1 is 10.1.1.18, an so on.

All the host machines using shared storage are configured to use the common share: \\zNas1\vm
(I know upper-case is ignored in host names, I use upper-case letters here for readability)

From Wks1, when I try to create a new .VHD disk-file, I get the error:
The server encountered an error tyring to create the virtual had disk.
The system failed to create '\\zNas1\vm\disks\test1.vhd':
General access denied error (0x80070005).

I get a similar message when trying to move a VM:
Failed to get the disk information.
Account does not have permission to open attachment.
Failed to get the disk information.
'': account does not have permission required to open attachment '\\zNas1\vm\disks\wks2.vhd'
Error: 'General access denied error' (0x80070005). (Virtual machine ID)

Oddly, I can click "Close" on the pop-up, then "Next" throught the wizard choosing the otions to move the machine but NOT the storage, and the VM will move just fine, as long as I use the options "Move the virtual machine's data by selecting where to move the items" and "Move the virtual machine's items to different locations" then de-selecting the .VHD file(s).

From Wks1, I can create a new .VHD disk-file using the 1G network, example: '\\Nas1\vm\disks\test1.vhd'

These same problems occur when using Hyper-V management tool on the servers, if I try to "pull" a VM from the other server, I can only "push" a vm to get it to move without any problems.

I have tried wide-open permissions on the "\\Nas1\vm" share and directory structure, example: EVERYONE,RWX.
I tried adding Wks1 to the "delegation" tab in AD.
Where can I find what the CORRECT permissions should be on the Nas1 share, directories, and the .VHD file (including, what should the "owner" be)?

Or am I going about it wrong in trying to tell Hyper-V to access the .VHD disk-files on the shared storage using the 10G network?

Thanks in advance for you help!!

---Jay R O




Viewing all 19461 articles
Browse latest View live




Latest Images