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

Hyper-H Host to Host copying via network too slow

0
0

I have 2 hyper-v hosts bot are running server 2008 r2 with Sp1. recently we moved our application server to another host . i have export guest first

then while copying via network its very very slow. takes neare about 7 hours to copy via network guest size is only 33 GB only.

need help :)


Akshay Pate


Introduction to Hyper-V Jump Start

0
0

This eight-hour course is designed for IT Pros experienced in virtualization (i.e., VMware, Citrix) but in need of learning how to leverage Hyper-V to perform essential tasks in the Windows Server 2012 platform. Microsoft Technical Evangelist Symon Perriman and Principal Program Manager Lead Jeff Woolsey will leverage a team-teaching approach to delivering

http://www.microsoftvirtualacademy.com/tracks/introduction-to-hyper-v-jump-start


hyper-v vss writer retryable error during backup

0
0

I have a backup job that fails on one VM. The host server is 2008 r2, the guest is 2008 r2. I have 4 other VM's that will back up and were created on this host. The virtual server in question was created on another server and was exported to the current host. I have run the integration setup disk to ensure compatibility on the new host.

What can I do to clear this error?

C:\>VSSADMIN LIST WRITERS

Writer name: 'Microsoft Hyper-V VSS Writer'Retryable error
   Writer Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
   Writer Instance Id: {ff985971-8d18-48e8-a46c-19e5a2d00754}
   State: [1] Stable
   Last error: Retryable error


Thanks, Charlie


2008R2 Server Core, Hyper-V clients (WinXP) looses connection a lot

0
0

My host is a Intel Xeon E5530 with Broadcom NetXtreme Gigabit card* . I have a problem that the clients often looses connection to internet.

I wonder if it can be an issue with the network card (mainboard integrated) and if it could help to buy a better one?

*HW Ids VEN_14E4,DEV_1684,SUBSYS_130A103C,REV_10

Login Failure

0
0

Hi All

I am using virtual machine manager 2008 on Server 2008 R2

I copied vhd files from a working live environment into a Lab environment - Completly isolated

2 dc's and an SCCM server

with out configuring the the virtual network I could log onto DC1 with the domain account that I usually use- No issues

I get the same issue with the other 2 virtuals as well

as soon as I change the virtl network seetings and let the virtual machine use the onboard network card for network access the very same account that I use cannot login

it comes up with the normal Windows saying that Either the user or password is incorrect

how do I get past this - I have a project to complete and I am not allowed to do the initial tests in the live environemnt - I have to first prove that it is working on a replica of the kive domain before I can go into production

help deperatly needed

kind regards Mike

Backup Windows Server 2012 VM on Windows Server 2008 R2 Hyper-V Saved State?!!!

0
0

Hi,

I have a Windows Server 2008 R2 failover Cluster and I installed a new VM running Windows Server 2012. When I configured the backup to this VM using DPM 2012, the backup is offline (Saved State). 

I've checked with diskshadow and the Hyper-V vss writer, always gives me the same thing, backup to this VM will be using saved state.

Why can't I run an online backup, using snapshot? Is'it a problem with Hyper-V R2 and Windows 2012 Child VM?

Note: I already checked all the conditions why the backup of a VM could be running on saved state and none of them are applicable to my scenario.

Regards,

Carlos.

Creation of VHDs hangs on Hyper-V 2012

0
0

I really need some help here!

Here is my setup:

  1. Two Windows Hyper-V server 2012 joined to our domain.
  2. Firewall on Hyper-V server disabled
  3. Windows 8 Enterprise Workstation “client” with RSAT installed.
  4. DCOM access permissions set for anonymous

From the client I am able to connect via Hyper-V manager and Server manager. No issues or errors.

Problem:

When I try to create a VM on either of the two servers, the wizard gets hung on “Creating the new virtual hard disk” stage. There is no animation shown…I mean the blue bar which goes from left to right.

The same thing happens if I try to create a virtual hard disk [either expanding or fixed, VHD or VHDx].

Interestingly, this behavior is exhibited only on these two domain joined servers. I have another server which is standalone…that works fine.

I have been pulling my hair out for the past three days on this problem. Searched on ‘net , tried all scripts, workarounds etc etc. I suspect there is something in our GPO which is causing this. I don’t have permissions to modify GPOs here.

Where should I look to solve this issue? I really need to start using those two Hyper-V servers for new server VMs.

I  have already looked at these threads:

http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/c97354f8-3f39-4ae0-969d-0c34b9e3f67b

http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2virtualization/thread/6f791bbc-a683-4495-934e-e2c7d81ef9dd

Note:

  1. I know running them with firewall disabled is a no-no…but I had so many issues enabling rules in the firewall that I gave it up…and disabled it altogether.
  2. I am running the Hyper-V 2012 server, not the Hyper-V role on a Windows 2012 server. I guess someone people call it the free Hyper-V also. It looks like the Hyper-V on a 2012 Core.
  3. I installed Hyper-V 2012 on these servers without using SmartStart CD or similar tools.

Hyper-V on WS 2012 vs. HP teaming

0
0

Hi,

I have WS 2012 with Hyper-V role installed. I´m using HP Proliant 380 G7 servers. I do not want to use WS teaming functionality, I need HP teaming.

Is it fully supported by Microsoft?

Thanks.


Petr Weiner


unable to create hyperv replica

0
0

Hi all,

Windows 2012 datacenter servers

I tried to enable VM1 replication on host 1 to host2.  But I am unable to.  I enabled replication on the replica server host2 and it did not work and then I enabled replication on both hosts.

here are errors about time out and no firewall between two sites and windows firewall allows all connections (for test) and ping time is 2 ms with 100 Mbps connection.


Event ID: 29230
Hyper-V cannot connect to the specified Replica server 'host2'. Error: The operation timed out (0x00002EE2). Verify that the specified server is enabled as a Replica server, allows inbound connection on port '80', and supports the same authentication scheme.

Event ID: 32000

Hyper-V failed to enable replication for virtual machine 'VM1': The operation timed out (0x00002EE2). (Virtual Machine ID 1208DF9C-767F-4688-9AA2-B231A52DE339)

Any idea to solve this issue?

Thank you very much!

Server 2012 supported NIC teaming software

0
0

Hello,

I am after confirmation regarding supported NIC teaming software in Server 2012 Hyper-V. 2008 did not support third party teaming, is 2012 the same?

The below discussion gives mixed responses. Does anyone know of an official Microsoft answer?

http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/61507a1f-4080-4b6b-960c-b81e5fb9d7ee

Thanks.

New Virtual hard disk wizard hangs after creating new vhd from huper-v manager on windows 7

0
0

New Virtual hard disk wizard hangs after creating new vhd from huper-v manager on windows 7 workstation. 

 

Windows 2008r2 hosts the hyper-v server. I can create VMs and VHD's when connecting to the server locally with the hyper-v manager. 

 

The issue arises when I try to connect to the hyper-v server from my workstation which runs windows 7. 

I have installed  The Windows6.1-KB958830-x64-RefreshPkg.msu that was suggested for windows 7 sp1. 

I can connect to the hyper-v server, create vm's but  I cannot create vhd's  the gui just hangs with no errors in event log or on screen. 

The files are there on the hyper-v hard drive but i suspect they are just created by windows as they are written and are not valid. 

 

Further adventures in per-VM IOPS calculations

0
0

I've sort of asked this question before but I think I might need to rephrase it. Forgive the double post (this was ages ago).

OK I have a billion Hyper-V hosts running 2008 R2.

I want to profile the I/O of the VMs running on the hypervisor. I want to do this from the parent partition.

Information I need  in in order of importance:

- Combined IOPS

- Individual read\write IOPS figures

- I'm not holding out much hope, but maybe some idea of I/O block size?

Previously I was told to look at the 'Hyper-V Virtual Storage Device' counters. I see the following:

Error Count

Flush Count

Read Bytes / Sec

Write Bytes / Sec

Read Count

Write Count

I have some questions:

- Are these 'read\write count' counters operations over x period of time? If so, what is this period of time? Is it a second?

- Could someone please point me in the direction of documentation that would help me understand these counters in depth (I hate making assumptions) or otherwise school me in how I can get the information I need from these counters? I don’t mind what the sample rate is as long as I can derive operations per second from it.

- N.B. I really hate PerfMon, I will pull this data out with Powershell somehow. Right now I'm just looking in Perfmon so I can understand the information. I do understand that Perfmon has a sample duration etc but I can't translate the numbers into anything that looks sensible.

Just to note that I cannot look at the counters in the guest operating systems. So this is out of the window.

Second issue:

I also asked this question before, kinda, but I'll ask it again slightly rephrased.

Does anyone have information (white papers, documents) regarding the impact and i/o penalty of a.) differencing disks over fixed disks in terms of IOPS and also how the Hyper-V VHD container affects IOPS calculations? (I'll probably migrate everything to 2012 and VHDX if this makes any odds).

This might be me not understanding things properly, but I'm curious about how the container impacts the calculations I need to make.

For instance, we know that if you have a 'required  IOPS' figure for a given a deployment you have to take into account the penalty of a RAID array (and other things), we know that - for example - withRAID6 we have to bear in mind the increased parity calculations etc.

If I know that I need to run 2 VMs on a hypervisor and I know that both of those VMs will be doing 50 IOPSs, do either VHD format affect how many I/O operations the host actually to perform? I doubt this is the case? I guess that the only real impact is that a differencing disk is likely to (end up) necessitating more random I/O while a fixed disk is sequential (as far as the hypervisor is concerned)?

Bit of a ramble but hopefully makes sense.

If anyone knows of a Powershell I/O profiler for Hyper-V that would be the ideal solution :) If there isn’t one I will post back with the results of what I come up with. 

Question about my Hyper-V Replica scenario

0
0
We have a Small Business where we're looking to a buy a new server and move their physical servers to VM's, but I'd like to replicate this to another server.  Is this possible?  I've looked into the use of a SAN, but I think that might be out of their price range.  Really I'm just trying to add some redundancy.  So if what I understand, I would be utilizing Hyper-V Replica in a stand-alone to stand-alone mode?

File/Network Performance Inside Virtual Machines

0
0

I have a two node Hyper-V Failover Cluster running Windows Server 2008 R2 SP1 Enterprise.  I get slow network performance between Virtual machines and Physical machines.

Environment Information:

2x Dell PowerEdge R720, Dual Intel Xeon E5-2620 6 Core Processors, 48GB RAM Each, 2x 300x10K xRAID1 Operating System Volume, 6x Broadcom BCM5720 GB NICs (1xQP, 1xDP)

- 1st NIC - Dedicated to Host - 10.1.30.x (Everything Bound) (Connected to LAN Switch)

- 2nd NIC - Dedicated to iSCSI - 10.2.30.x (Only TCP v4 bound, No GW or DNS, Jumbo Frames Enabled)

- 3rd NIC - Dedicated Virtual Switch - No IP (Only MS Virtual Switch Bound, Connected to LAN Switch)

- 4th NIC - Dedicated for Live Migration - 10.4.30.x (No GW or DNS, Everything but MS Virtual Switch Bound, Cross Over Cable between Nodes)

- 5th NIC - Dedicated for CSV - 10.3.30.x (No GW or DNS, Everything but MS Virtual Switch Bound, Cross Over Cable between Nodes)

- 6th NIC - Dedicated for iSCSi - 10.2.30.x (Only TCP v4 bound, No GW or DNS, Jumbo Frames Enabled)

1 EqualLogic 7.2K - 12TB RAW SAN - 4x GB NICs spread across 2 Controllers. (MPIO Enabled)

2 x Cisco SMB SG300 20 Port GB Layer 3 Switches = iSCSI Switches (2 Ports configured between each for LACP)

3 x Cisco SMB SG300 52 Port GB Layer 3 Switches = LAN Switches (2 Ports configured between each for LACP)

No Virtual LANs or Uplink from iSCSI to LAN switches and vice versa. 

I have performed dozens of tests to help isolated the issue.

When I copy/move files through the network from a VM to a Physical Machine or vice versa it is running very slow.  Averaging 200KB/second transfers.  Even when browsing folders on network shares you can see lag when the folder lists all the contents.  A 67MB Folder with 120 files takes about 3-5 minutes to copy.

When I copy/move files through the network from a Physical Machine to another Physical Machine it runs normal.  Averaging 100MB/second transfers.  Browsing of folders list all the contents very rapidly.  The physical machines are either the HyperV hosts or other servers/NAS appliances I have on the LAN.  A 67MB folder took 2-3 seconds to copy.  a 4GB file took 45 seconds to copy.

When I copy/move files through the network from a VM to a VM on the same Host it runs normal.  Averaging 75-100MB/Second transfers. Browsing of folders list all contents very rapidly.  A 67MB folder took 5 seconds to copy.

When I copy/move files through the network from a VM to a VM that are on different HyperV Hosts it runs slow.  Averaging 25KB/Second transfers. Browsing of folders list all contents very slow.  a 67MB Folder with 120 files takes about 35-45 Minutes to copy.

When I copy/move files locally to/from the Local Drive of the VM it runs normal.  Averaging very fast transfers as expected. I copied 1GB worth of files in less than 15 seconds.

I have played around with every combination of disabling/enabling NIC Properties Advance Settings.  TCP Offload, Large Send Offload, RSS, Flow Control, CheckSum Offloads, Virtual Machine Queues.  I have enabled/disabled these consistently at each network devices/switch that were involved in these tests.  I also enabled/disabled these using both the registry commands and/or the NETSH commands.  I performed numerous tests with various combinations.  All items are back to default settings.  Only a few combinations would improve the network performance but only very slightly.  Increasing approx 5-15% but never going higher than 455KB /second or averaging more than 200KB/second.

I have applied the Sandy Bridge Processor/HyperV Microsoft HotFix - http://support.microsoft.com/kb/2517329 on both HyperV servers, (rebooted) and it increased through put by about 5%.  VM's are still having slow performance.

There are No AV programs running on any of these machines (physical or virtual), yet.  No software firewalls or any other malware/threat/IPS scans running along the network path of these machines.  On the VM's when I did Windows Updates, they downloaded in a respectable time frame considering how many updates were needed when I first built the machines.  When I do speed tests using speedtest.net I get around .6MBps download and .8MBPs upload and we have a 10MBPs download/Upload Direct Internet Connection. (Fiber over Ethernet Copper ).  I made sure all machines have valid working certified CAT5e cables in place.

Any other ideas?



Hyper-V 2008 R2/Server Core MPIO configuration/connection question

0
0

sorry for the lengthy question - tried to provide as much relevant info as possible.

I am having a problem where only one target portal is available when trying to configure MPIO. My SAN is configured with two interfaces on separate subnets and individually both interfaces work as Targets - from each server, I can connect to either target separately and see the LUNS. But once I set one target ip address up, the other one isn't available for MPIO

Configuration ---

2 Hyper-V Server 2008 R2 Parent servers, each with 4 nics. 2 of those nics (on each server) are used for iscsi. After reading "best practices", I configured each nic to be on their own separate subnet. The SAN has two nics as well, each on the corresponding subnets of the hyper-v servers.

HVServer01
iSCSI1 = 10.9.7.4
iSCSI2 = 10.9.8.4

HVServer02
iSCSI1 = 10.9.7.5
iSCSI2 = 10.9.8.5

SAN
Nic1 = 10.9.7.2
Nic2 = 10.9.8.2


I followed steps in this article to get it configured - http://geekswithblogs.net/cajunmcse/archive/2010/01/09/mpio-with-windows-2008-r2-server-core-and-iscsi.aspx

the steps I did following the article --

1) ran iscsicpl on each parent server to get the iscsi service installed and running
2) from the iscsicpl gui, selected the discovery tab and added in 10.9.7.2 as a target portal. Moved over to the Targets Tab, selected the SAN target, hit connect, selected the advanced tab,
- Local Adapter = Microsoft iSCSI Initiator
- Initiator IP = 10.9.7.4 (for HVServer01)
- Target Portal IP = 10.9.7.2
- now under Devices, I can see the luns
3) clicked ok and exited iscsicpl
4) installed MPIO - ocsetup MultipathIo /norestart
5) next I claim all the iSCSI attached storage for MPIO - mpclaim -r -i -d "MSFT2005iSCSIBusType_0x9"
6) verified #5 via mpclaim -s -d
7) went back into iscsicpl. Under Targets tab, selected my target, hit Connect, put a checkmark in Enable MultiPath, hit advanced. Here is where I thought I would map up the 2nd parent nic to the 2nd Target portal
- Local Adapter = Microsoft iSCSI Initiator
- Initiator IP = 10.9.8.4 (for HVServer01)
- Target Portal IP = the only option I have here is 10.9.7.2. 10.9.8.2 is not available at all.

this is what is throwing me off. I thought I should be able to map the initiator on 10.9.7.x to the target on 10.9.7.x and the initiator on 10.9.8.x to the target on 10.9.8.x?

the process is identical if I start off using 10.9.8.2 as the target. When I go do do MPIO only 10.9.8.2 is available as a Target Portal IP, 10.9.7.2 is not available at all.

After all that, I removed what I did and followed the steps in this article - http://social.technet.microsoft.com/Forums/da-DK/winserverfiles/thread/1efd460a-7031-45c9-b922-2da2418f5156 (the accepted post by ChanChan, 3rd one down) and same results.

Any help is greatly appreciated!



Hyper-V running Windows 8. spawn new vm from template/ snapshot for lab scenario of multiple users

0
0

Hi

I'm new to windows server 2012 and have been able to use hyper-v to create VMs for different versions of windows. What I'm trying to do is create a lab for 10 people to connect to that doesn't require the pain of installing visual studio on a bunch of laptops running windows 8 etc etc. Is it possible to have hyper-v/ or some VM manager to create copies or spawn new VMs from a snapshot/ template VM so that a new user gets their own VM and at the end of the week I can purge the VMs or get the VM manager to remove them after X days without use. 

I hope I'm not too vague here in my questioning.

Server 2012 Hyper-V CPU monitoring and optimization

0
0

Hello,

I'm relatively new to Server 2012 and Hyper-V but I just finished setting up our system and I need some consulting on how to monitor and optimize the CPU usage.   I know I could spend days and weeks researching, reading, tweaking and testing (and I should), but I dove right into a live production setup and I'm hoping to find an expert to say "do this and do that".

Our situation is as follows:

  • - Hardware node runs Windows Server 2012 Standard with Hyper-V  (Intel Core i7 3770 3.4ghz with 32GB RAM and 240GB SSD.)
  • - All Guest VM's run Windows Server 2003 Standard x86
  • - We run the Metatrader 4 software (15-20 instances per VM) which is a 32-bit, single-thread application whose primary resource usage is CPU and experiences the highest usage during active Forex markets (3am-11am Eastern Time).  MT4 is old (designed for Windows XP) and seems to run best on XP/2003.


My wish list of things I would like to learn are:

  • How to monitor the CPU usage, with a visual graph, over a 1-3 day period so we can see the spikes and dips (our software uses more resources between 3am-11am EST). 
  • How to pinpoint which VM's are using more CPU resources than the others (using a similar 1-3 day visual graph) so we can lighten the load on certain servers or increase the load on others that are being too burdened.
  • Whether or not we should use the CPU limiting options (Virtual Machine Reserve, Virtual Machine Limit, etc.)  (We will have 4-6 VMs per node, all owned by us, no third-party users so I'm not worried about abuse.)
  • Whether or not we should use multiple Virtual Processors in each VM or just 1.  (Our software is all single-threaded but we run 15-20 instances per server.  I currently have all the VMs set up with 4 vCPUs).
  • What other performance "tuning" should be done on the hardware nodes to optimize the resources for our situation?


I sincerely appreciate any advice that can be offered.

Scott

VM's losing network connectivity

0
0

I have a 2 node Hyper-V Cluster running Windows Server 2008 R2 SP1.  I'm performing some tests before putting the cluster in production. I have:

1 HP Team for Host Management

1 HP Team for LM/CSV

1 HP Team for VM Network

Everything seems to be working ok, however if I pull a NIC from the VM Network while doing a continuous ping to a VM on that host I notice that I lose connectivity with the VM.  I can have as many as 20-30 lost packets before the VM is responsive again.  If I'm pinging another server on my network from within the VM at the same time I do this test, I lose maybe 1-2 packets (expected) and then the other NIC on the team picks up and the VM is up and running. 

Is this only happening to me, anybody else experience this?


Edit:  This only seems to be happening using redundant switches, if I plug my VM Network team on the same switch, I no longer have this problem.

Hyper-V-VmSwitch EventID 106

0
0

I have Windows Server 2012 with Hyper-V role. There is a network team on the server.

When the server starts I receive a error:

Log Name:      System
Source:        Microsoft-Windows-Hyper-V-VmSwitch
Date:          2/4/2013 2:44:50 PM
Event ID:      106
Task Category: None
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      Seventeen.aqa.com.ru
Description:
Available processor sets of the underlying physical NICs belonging to the LBFO team NIC /DEVICE/{F81E5C50-00B3-4105-9CBB-04919F058B9D} (Friendly Name: Microsoft Network Adapter Multiplexor Driver) on switch 8CBADD0E-F4A3-45D4-AC2D-874C7DE6C821 (Friendly Name: AQA) are not configured correctly. Reason: The processor sets overlap when LBFO is configured with sum-queue mode.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VmSwitch" Guid="{67DC0D66-3695-47C0-9642-33F76F7BD7AD}" />
    <EventID>106</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2013-02-04T10:44:50.175406400Z" />
    <EventRecordID>11345</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="380" />
    <Channel>System</Channel>
    <Computer>Seventeen.aqa.com.ru</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="NicNameLen">46</Data>
    <Data Name="NicName">/DEVICE/{F81E5C50-00B3-4105-9CBB-04919F058B9D}</Data>
    <Data Name="NicFNameLen">44</Data>
    <Data Name="NicFName">Microsoft Network Adapter Multiplexor Driver</Data>
    <Data Name="SwitchNameLen">36</Data>
    <Data Name="SwitchName">8CBADD0E-F4A3-45D4-AC2D-874C7DE6C821</Data>
    <Data Name="SwitchFNameLen">3</Data>
    <Data Name="SwitchFName">AQA</Data>
    <Data Name="QueueMode">2</Data>
  </EventData>
</Event>

WIndows 2012: Virtualized W2003 (32bit) crashes randomly

0
0

Hello,

I installed a fresh 2012 and run a virtualized Windows Server 2003 (DC) with Symantec Antivirus 10.5
No problems the first day but now this virtual instances crashes nearly once every day.

Problem Report from Microsoft shows that there is trouble with antivirus software and i should run an update.
I am confused why a years running physically server should have no antivirus problem as virtual instance.
But i did an update from the very old 10.5 to the available version 11.0.7300 and hoped that this solves the problem.
Today it crashes again. :-(

Category (102)
Type Error
Number 1003
Errorcode 1000008e, 1. Parameter c0000005, 2.Parameter bf8a1a8e, 3. Parameter b4feda90, 4. Parameter 00000000

I have no further idea and can't believe that changing the virus software to another product would help.

Stefan


Stefan

Viewing all 19461 articles
Browse latest View live




Latest Images