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

Hyper-v performance issue?

$
0
0
Hi everyone. Quick question on some perf issues i've had for quite some time. To be fair i was using esxi 5.x and had similar issues. My vm server is running a first gen intel core series cpu (i7-920) that is overclocked to 3.8ghz. Just so you don't have to look it up it has 4 cores (8 with hyper-threading) I have 3 vm running on this server. 2 of the VMs pretty much do next to nothing they are just there for when i need to do some testing (one has server 2012 R2 and the other has ubuntu). The main vm that i'm having issues with has Win 8.1 enterprise. I don't have a lot of things installed on it but i do have plex (when i want stream videos through my house). At least for 1 stream (never tried more) it works just fine. When i remote into the machine and run some things its so dang slow. For example a fresh install of google chrome will constantly use 50-60% of the cpu. Somtimes it will peg it. Its go so bad i know use firefox most of the time though a lot better the cpu usage for firefox is still not where it should be. Now i know chrome is turning into a hog but it shouldn't be that bad. I've had this problem for quite some time (with windows 8 too). I think i have two vCPU assigned to this VM, 2 to Server 2012, & 1 to Ubuntu but like i said they hardly do anything. I have 4GB assigned to Win 8.1, 8GB to Server 2012, & 4 to Ubuntu (the machine has 24GB Total). Any ideas? Is the I7-920 getting so old that i should have these issue?  

Edit: I'm running Hyper-V on Server 2012 R2

VLAN Trunk using Set-VMNetworkAdapter cmdlet

$
0
0

Hello,

Does anyone have expereince with Trunkking in Hyper-V?

We have four VMs using VLAN IDs: 2,4, etc.

One VM 2008R2 is setup as a Router. What we want is to allow 2008 R2 VM to accept traffic from VLAN IDs 2 and 4.

Please see image below for the configuration made:

As you can see in image above, Red1 and Blue1 VMs are configured with 2 and 4 VLAN IDs but none of them can ping the gateway (2008 Router VM). 

Thank You,

AL

DPM online backup Snapshot causing 2008R2 Guest VM;s to loose network for 30 to 60 seconds.

$
0
0

I have a 2012R2 Hyper-V cluster using SMB SOFS shares.

All Guests have the latest IC installed,

All the 2012R2/2012 guests backup fine and so do the 2008R2 guests, but when the online\ServerXYZ backup starts the network card disconnects for 20 to 60 seconds, and then reconnects, and the backup completes fine. as far as I can tell this is only happening on 2008R2 guests, and doesn't effect the 2012/R2 guests. although I see event ID 12 on all the 2012 and 2012R2 there is no network connection interruption

I have had to stop the jobs on these servers as it affecting various production applications that connect to SQL.

I am seeing event ID's 13 and 12 on the guest servers

need to find out what is causing this, I cannot find any other information.

thanks

Mark

Hyper-V 2012 Replication: planed failover "Failed to resolve the Replica Server"

$
0
0
I have 4 Server 2012 Hyper-V Servers HV1, HV2, HV3 and HV4
HV4 is used to recive replicatations from the other 3 servers. I can do a Planed Failover from any of the 3 to HV4 with no issue. If I attempt to do a Planed Failover back I always get the error "Failed to resolve the Replica Server".  I have also tested between the other servers and in some directions I also get the same error. Ultimatly this is what appears to be happening.
Replication is setup to go from hv1.domain.com to hv2.domain.com.  A Planed Failover works. But when I try to go back the other direction I get the abvoe error like this "Failed to resolve the Replica Server 'hv4.domomain' name." This is the last step in the Planed failover test where it is verifying that it can automaticly "reverse" replicatioin. You will notice in the name that the ".com" is missing, so yes it can not resolve the name. Why does the system seem to be dropping the .com in the computer name somtimes?
Yes I have theroughly checked DNS and it is in great shape. But even a perfiect DNS can not resovle a name that is getting truncated somhow by the process.

What is the best free backup solution for Hyper-V R2/2012? CSV support is necessary

$
0
0

Hi,

I need so guidance, please.

I’m planning to deploy a free backup solution for my virtual environment and I need your advice. I have the following configuration:

Failover Cluster:

  • Two Dell Servers
  • OS: Windows 2012 STD
  • Each server has two AMD Opteron 4180 6C @ 2.6 GHZ
  • 16 GB – RAM (supports 256GB)
  • QNAP NAS (CSV)
  • It’s hosting a DC, an Exchange 2010 and soon a SharePoint 2013 VM

Standalone Hyper-V:

  • Dell Server
  • OS: Windows 2008 R2 Datacenter
  • It has two Intel Xeon E5520 @ 2.2 GHZ
  • 16 GB - RAM
  • It’s hosting 3 VMs

In my research I found these apps. All of them are limited in some way but they do the job:

  • Veeam Backup Free Edition v7
  • Altaro Hyper-V Backup
  • Unitrends Enterprise Backup
  • PHD Virtual Backup for Hyper-V
  • HV Backup from CodePlex
  • Windows Server Backup (WSB)

What is your experience with them? What would you recommend?

When it comes to money, which one is more affordable? (In case I want to buy the full version)

Thanks in advanced. 

Allocating max. CPU Cores to VMs in Microsoft Hyper V Server 2008 R2

$
0
0

Hi

We have a IBM X3650 M2  server with two  Xeon E5504 Quadcore processor. We are going for the virtualization with Microsoft Hyper V Server 2008 R2. We want to define 3 VMs in the host and vendor specified CPU core requirement are 4, 4, and 2 for each VM (total 10 cores).  According to our vendor, we can specify maximum available CPU cores to each VM. i.e, in a Quadcore processor, we can specify 4 cores of CPU for each VM in Hyper-V. But our Network Support team says this is not possible and we can only define maximum of 8 cores (4 cores in each processor), hence we can have only 2 VMs (4+4) in the Host.

Who is right in this issue?  Please shed some light.


VM will not boot after moving using Failover Cluster Manager - "a disk read error occurred......"

$
0
0

My current Configuration:

3 node cluster, using clustered shared storage and about 22 VM's.   The Host servers are running 2012 Data Center while all guest are running 2012 Standard.  The SAN is EqualLogic and we are using HIT Kit 4.5.

I have a CSV that is running out of space, so I created another CSV so that I could move some of the VM's to a new home.    I tested this by creating a test VM, and moved it successfully 3 times.     I then moved an actual LIVE VM and while it seemed to move ok, it will now not start.   The message is "a disk read error occurred Press ctrl+alt+del to restart".     I moved the test VM and it failed as well.     I have read several things about this, but nothing seems to relate to my specific issue.   I have verified that VSS is working and free of errors as well.    From the Settings menu for the VM, if I select "Inspect" the drive, the properties all look fine.    It is a VHDX and both the current file size and maximum disk size seem correct.

The VM's were moved using the "move - virtual machine storage" option within Failover Cluster Manager.

Suggestions?

Thanks.

Teaming NICs in Hyper-V 2012 R2

$
0
0

Hi there,

I am trying to team NIC's in my new Hyper-V 2012 R2 server and I would like to simply confirm the order of doing things....

Should i first Install Hyper-V role and than create a network team or rather do the teaming first and than install Hyper-V role?

Thanks for clarification...


How to get Virtual Network name for Virtual Machine in PowerShell?

$
0
0

I want to know what Virtual Network name is for specific Virtual Machine.

How can I get this through PowerShell?

How to proper remove Hyper-v snapshots

$
0
0

Hi,

This is a Windows Server 2008. One of its virtual machines has 8 snapshots in the Hyper-V Manager. Where do I start to delete the snapshots? From the bottom up or from top down within the the Hyper-V Manager. I need to free up diskspace on the Hyper-V Server. This is an important server and I don't want to loose any files.

Thank you very much.

NIC Teaming in 2012 R2

$
0
0

Hi,

With a Hyper-V 2012 R2 host and a Windows server 2012 R2 guest, where is it generally best to configure NIC teaming for the guest?

Its a Dell Server host with all Intel network adapters. 

Option 1:

On the Host, 2 NICs in a host team, presented it as 1 virtual network to the guest

Option 2:

On the guest, by Hyper-V presenting 2 virtual networks/NICs to the guests configured into a team on the guest OS.

Thanks!


cannot import virtual machine windows server 2012

$
0
0

HI, 

im having a problem importing a virtual machine from a windows server 2012 host to another 2012 host

when i import the virtual machine i am prompted with the error below. 



i also tried creating a new profile and attaching the disk, then upon starting the vm i am prompted with error below

notes: we do not have a domain (yet) all hyper-v hosts are on a "WORKGROUP"

Hyper-V Virtual Switch Manager notes disappearing

$
0
0

Our setup is the following:

Three Dell Poweredge R720s running Windows Server 2012 R2 (which was upgraded in place from 2012). These servers run Hyper-V and we use Virtual Switch Manager to manage the networking in the VMs. Due to the fact that the Ethernet ports do not map to the correctly labelled Ethernet adapters in the operating system, we have notes in the Hyper-V switch manager to show which virtual adapter is mapped to which physical port.

I'm not sure if it was after the upgrade to 2012 R2 or something else, but the notes from the Virtual Switch Manager have just disappeared. Everything else has stayed the same, but there's no notes any more. Has anyone else encountered this? Is there any way we can prevent this happening? We believe it is also happening when we do live migrations, but we need to do a few more tests to see what happen when, so I can't confirm.

Hyper v cluster and storage

$
0
0
I am looking to set up a hyper v cluster using server 2012 and a NAS storage with an addition DAS attached via SAS.  Should I also attach the clustered servers to the NAS via SAS. The network is only a 1gb and I would have between 10 and 15 servers as VM's.  Any thought would help.

VM not appearing in Hyper-V Manager

$
0
0
I have two servers running Hyper-V. One server has been running strong for 3 months with 5+ VM's. The other I just started building VM's on. I've had one VM running on the server for two weeks now, it is still running as I write this. The only problem I have is that the Hyper-V Console does not show the VM. "No virtual machines were found on this server" This just happend within the last day or two. Before that The server would display the VM. The VM is still running and I am afraid of rebooting the HW server. Any ideas?

Set Scope for Virtual Machine in 2012 R2 WMI v2 Namespace

$
0
0
Basically, I want to know how to set the scope for a hyper-v vm in Server 2012 R2 so users see only the specific vm's assigned to them. I work at an academic institution, we intend to upgrade our 2008 R2 servers to 2012 R2 but before we can do that we need our vm creation script to work properly. In older editions that have the WMI v1 namespace it used to be to set the scope for a vm you did so by modifying Msvm_VirtualSystemGlobalSettingData.ScopeOfResidence. In the WMI v2 namespace Msvm_VirtualSystemGlobalSettingData has been removed and most of its features have been placed in Msvm_VirtualSystemSettingData. ScopeOfResidence however is not in there and I can't find it or anything that sounds the same in any of the virtual system classes. Below is the unedited portion of the old script I am having trouble converting to the v2 namespace. Someone please help, I need this working by the end of the month or I am going to have to abandon the server upgrade entirely.

# Set Scope!
$VM_Service = get-wmiobject -namespace root\virtualization Msvm_VirtualSystemManagementService
$ListofVMs = get-wmiobject -namespace root\virtualization Msvm_ComputerSystem -filter  "ElementName <> Name "  | `
    where { $_.ElementName -like $vmName }
foreach ($VirtualMachine in $ListofVMs) {
        if ($VirtualMachine -ne $Null)
        {
        $VMGlobalSetting = get-wmiobject -namespace root\virtualization Msvm_VirtualSystemGlobalSettingData | where `
           { $_.ElementName -like "*$($VirtualMachine.ElementName)*" }

         $VMGlobalSetting.ScopeOfResidence = $scope

         $VM_Service.ModifyVirtualSystem($VirtualMachine.__PATH, $VMGlobalSetting.psbase.Gettext(1))

          }
Write-Host "Virtual Machine" $vmName "Added to Scope" $scope
}
# End of Set Scope

Hyper-V reports: The operation on computer 'localhost' failed. - Cannot manage VM's.

$
0
0

Hello,

I have two Windows 2008 x64 servers, running Hyper-V.  I have about 15 VM's on each server.  I manage the VM's all through the Hyper-V Manager.  When I try to connect to Hyper-V Manager and manage my VM's I get "Connecting to Virtual Machine Management Service."  This times out after a few minutes and then the Hyper-V Manager displays:  The operation on computer 'localhost' failed.

This happens about 2-3 weeks after a reboot.  The only fix I have found is to reboot the server, but since these are production servers this is kind of a pain.

How to get Virtual Network name for Virtual Machine in Azure PowerShell?

$
0
0

I want to know what Virtual Network name is for specific Virtual Machine.

How can I get this through Azure PowerShell?


VM's disconnecting from network

$
0
0

Hello,

I recently created a remote desktop collection using windows server 2012 R2 on an HP ProLiant BL620c G7 Blade Server (which has completely up to date firmware and drivers). There are 30 VM’s running on the server, and it is running great – for the most part. My issue is that, it seems to be at random (maybe once every 48 hours), users will be disconnected from their session, and they are unable to log back into their session remotely. I can log into their session as a local user by going through hyper-v, however once I am in there I notice that I have no internet or network access. To solve this problem, I have to go onto the network adapter of the VM, disconnect the virtual switch assigned to the VM, and reconnect it again. Doing this provides remote access to the VM again.

I initially thought the issue came from the configuration of the virtual switch. The HP Blade Server has 4 10 gig NIC’s, and they were teamed into two teams (each team having 2 physical NIC’s). I created two separate external network virtual switches from each Team. I also had “allow management operating system to share this network adapter” checked. I noticed a warning on the server side when a disconnect would occur which was Event 16945 “MAC Conflict: A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic Microsoft Network Adapter Multiplexor Driver.” Because this error occurred at the same time as a disconnect, I assumed that this warning message was causing the problem, and I was able to resolve it by redoing the NIC team to where there of the physical NICs were teamed together and a virtual switch was created from them without the checkbox that allowed management operating systems to share the network adapter. This left one NIC available for management purposes, and I haven’t seen the error message since, however disconnects still continue occur.

I do not see any helpful information in the event logs of the client VM when one of these disconnects occur, and the users are doing nothing out of the ordinary that would cause it to happen. In fact this problem has happened when a user has been disconnected from their machine for over 10 hours.

Anyone have any thoughts as to what is going on here?

Hyper-V R2 and Big Virtual Network problem

$
0
0
Hi everybody

I have installed a Windows Server 2008 R2 + Hyper-V Role on HP ML 370 G6 with 12 Gb RAM.
I have created External Virtual Network on dedicated NIC (one of four on HP NC375i Quad Port Multifunction Gigabit Server Adapter)

Problem: Network on Guest machine (2008 r2) not working.

Server Firmwares, Nic Firmware and driver are updated.

Why?  

Thanks

p.s. Firewall on host is disabled.
Viewing all 19461 articles
Browse latest View live




Latest Images