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

Live Migration Bandwidth using Teaming in LACP

$
0
0

Hi there,

Just a quick question, how can I Lice Migration over my LACP configuration of 2 x 1 GB. Every time I do a LM of 2 VM at the same time, the maximum speed I get is only 1GB?

Regards

David


David


Ubuntu 10.04 migration from VMWare to WIn8 Hyper V fails if load hv_XX drivers

$
0
0

I've converted a VMware (Ubuntu 10.04.  Linux 2.6.32-37) virtual hard disk to VHD.

I've created a Win 8 Hyper-V virtual machine.

I've uninstalled the VMware additions.

At this point I have a working Ubuntu installation with no network access.

Next I tried following this http://social.technet.microsoft.com/wiki/contents/articles/961.aspx to include the hv_XXX drivers.  This appeared to succeed, but when I rebooted the VM it crashed.  By crashed I mean that A saw a series of text lines appear after which the VM is unresponsive except for a reboot. I don't know if this is a trace or a stack dump (I am NOT a Linux expert).

I manage to remove the drivers by booting into the Linux equivalent of safe mode and reversing the changes.

The drivers appear to be present on the machine and the hv_vmbus is installed (after the changes reversed), but none of the others.

I've changed the network adapter to a legacy one and I now have a working installation, although it seems slow and clunky.

I really have no idea how to diagnose this.  Are the hv_modules incompatible with the hyper-v I'm using?  Is that fact that the installation was originally under VMware causing issues (even though I think I've installed the VMware bits?).

Any help much appreciated!

Iain


Iain Downs


fourth node in Hyper-v cluster unable to create VHDs

$
0
0

Hello, 

I have added a fourth node to our hyper-v failover cluster and I am unable to live migrate or create new VMs in SCVMM 2008 R2 SP1, Failover Cluster Manager or Hyper-v manager.

The new node has identical NIC and hardware configuration and the only difference is this is SP1 where the others are not.

I have:

  • Installed Dell SAN drivers (not management utils of any kind) 
  • Enable VT and DEP in the BIOS and power cycled fully
  • Configured iSCSI multipath to SAN
  • added the node to the host group (presenting the LUNs)
  • Added the node to the cluster

I can confirm the CSVs are readable and writeable from the new node, however, I can't create a new VM or live migrate an existing one to it. Here are the details of each scenario:

Creating a new VM

in hyper-v manager, it fails with the error "A virtual disk support provider for the specified file was not found". and no changes are made.

In SCVMM, it fails at 82% after a few seconds and gives us some more information:

 

Error (12700)

VMM cannot complete the Hyper-V operation on the  <host> server because of the error: 'The system failed to create 'C:\ClusterStorage\Volume2\Testagain\Testagain_disk_1.vhd'. Error Code: A virtual disk support provider for the specified file was not found. 

 (A virtual disk support provider for the specified file was not found (0xC03A0014)) 

Recommended Action

Resolve the issue in Hyper-V and then try the operation again.

 

The folders for the VM are created, it is bootable (in hyper-v manager), but obviously no disks are present

Live Migrating a VM

This fails at 99%, I assume at the point the dirty blocks of memory are trying to be moved, with the following error:

 

Error (10698)

Virtual machine <VM> could not be live migrated to virtual machine host <host> using this cluster configuration. 

 (Unspecified error (0x80004005)) 

 

Recommended Action

Check the cluster configuration and then try the operation again.

Performing the same operation in failover cluster manager just says migration failed.

 

Here are the steps I've performed while troubleshooting:

  • Changed the relevant FSDepends dword to 0
  • configured the quorum disk in FCM
  • changed the "network for live migration" in FCM
  • Evicted the node from the cluster, pulled off and reconfigured all the iscsi stuff, and re-added it to the cluster
  • Services running on old and new hosts are identical

I am at a loss as to what I've missed setting this up, and any help would be appreciated

Thanks

Ben

 

Hyper-V remote management console

$
0
0

Host server: Windows Server 2008 R2 with Hyper-V installed (already joined the domain)
DCs: Windows Server 2008 R2 (VMs of the Hyper-V host server)
Remote management computer: Windows 7 32bit with RSAT installed (already joined the domain)
Remote management user: A memeber of Domain Admins and logged on the remote management computer

I added my Hyper-V host server in the Hyper-V Manager console in RSAT on my remote management computer. I could manage the Hyper-V host server such asHyper-V Settings and Virtual Network Manager. But I could not see or manage the VMs. The system told meNo virtual machines were found on this server. I believe there are several VMs on my Hyper-V host server. And the Windows Firewall on both Hyper-V host server and remote management computer was diabled.




How to get notified when a VM is being live migrated?

$
0
0

I’m looking for a method to get notified when a VM is being live migrated from one hyper-v node to another.  I currently use the powershell get-wmiobject to ‘poll’ the VM state (code attached below) but I would like to be able to get notified instead of polling the state change.  Any insight is greatly appreciated.

[code]

get-wmiobject -computername localhost -Namespace root\Virtualization -query "Select * from

MSVM_Computersystem where Description like

'%Virtual%' " | format-table -autosize @{Label=”VM Name”;

expression={$_.elementName}}, Description, @{Label=”VM State”;

expression={$_.EnabledState, $_.OperationalStatus[0], $_.OperationalStatus[1]

}}

PS C:\> .\vmstate1.ps1

VM Name       Description               VM State

-------       -----------               --------

my-vm21       Microsoft Virtual Machine {2, 2, $null}

PS C:\> .\vmstate1.ps1

VM Name       Description               VM State

-------       -----------               --------

my-vm21       Microsoft Virtual Machine {2, 11, 32774}

where

OperationalStatus[0]=2      // OK
OperationalStatus[0]=11     // In Service
OperationalStatus[1]=32774  // Migrating Virtual Machine

2 parent disks ?

$
0
0

Hi,

I want to emulate the MCITP 2008 network and I notice there are 2 parent disks ie. in the Base folder there is Base10A-W7-Office07-HV.vhd (8,099,552 KB) and in the Drives folder there is Win7-OFC.vhd (1,329,940 KB). What is the point of this?

I've created a fixed Base disk (20,975,616 KB)- maybe should have kept it a differencing disk-  and a child disk (6,580,224 KB) which, I suppose, I could create as another parent, but the size is far larger than the Microsoft WIN7-OFC.vhd. Why is this ?

Thanks, (Confused)James.

Steps to start a Hyper V enironment

$
0
0

We are purchasing 2 identical machines to run Hyper V (in Gui mode) and a SAN for disk space.

Now playing around with things, in find it a bit confusing.  Seeming the first task besides configuring the network and san etc is to cluster the servers.

But in order to cluster it wants a domain controller.

What i want is the domain controllers to be VM's on each server, so how can i do B without doing A first?

We do have another physical server that can be a DC but, i rather the hyper v replication do all the work, and not have a physical to hyper v replication setup?


Michael Evanchik

Hyper-v and very slow network

$
0
0

Dear all,

I have a big problem with my hyper-v server and network card. I've found a lot of topic around this question but none of them helped me.

I have a Win 2008 R2 Server with only Hyper-V installed. I have 3 NIC , one is reserved to the host management and the others two are reserved for virtual machine .

All NIC are Intel, one is integrated on the Intel motherboard and the others are Intel Gigabit ET Dual port .

Before installing the role of Hyper-V all NIC worked perfectly with speed around 1Gb (file transfer average 90 MB/Sec, of course I have a Gigabit LAN) .

After Hyper-V install, the host system  is going very slow and the network file transfer using the dedicated NIC is about ten time slower (9-10MB /sec) . Same problem with all VM off and also if I remove all VM !

I tried all of suggestion found in old post (disabling TCP checksum / offload ...) but nothing happens.

What is really strange is that by removing all network card all the Host operating system seems to improve the speed... but, of course, I can't use  my LAN :(

I need help because every night I must make a full backup of Virtual hard disk from the host to a backup server in my lan.

My configuration:

- Server Win 2008 R2 SP1 with Hyper-V and no others role

- 2 Virtual Machine (one Win 2008 R2 and one Win 7 Ultimate)

- NAS Linux (access via SMB with no problem)

- Various Windows 7 Pro client

 

Thanks in advance to everybody,

Luca M.


A single VM on Server 2008 Standart, configuration advise

$
0
0

Hello,

I have a single Server 2008 Standard that is currently acting as a file server in a Workgroup setting.

Are there any opinions about setting up a single VM (as I understand I am licensed to do) as a Domain controller and then moving our workstations into the domain?

Thanks for you opinions and help!

JJ

Server 2012 - exporting an off copy that is replicated from another server

$
0
0

Hi I'm exporting a replicar 2008 guest server on a 2012 server. The export is being made while the original is replicating to the copy I am exporting from.

Will this exported server be OK to import and run?

Hyper-V Disk Size Reduction

$
0
0
I orginally created my virutal disks much to large for what I am using each virutal machine for.

I would like to reduce the size of the disks and at the same time make them fixed instead of dynamic. I see the utility to convert them from dynamic to fixed..... but I dont see how to reduce the size.

Is this possible without blowing off the entire partition and starting over?

Thank you,

JITS

JITS

Can we Expand a VHD or VHDX Without a Reboot in Hyper-V 3?

$
0
0

Will it be possible to resize a VHD/VHDX in Hyper-V 3 while the VM is online?

Cannot connect to the RPC service on computer '178.33.228.110'. Make sure your RPC service is running.

$
0
0

Connect into Hyper-V 2012 Server, when I try to do it, I got the error message (Cannot connect to the RPC service on computer '178.33.228.110'. Make sure your RPC service is running).

I only have until day 14 with the server, so be fast to fix the problem otherwise I will get refund my money and lost the dedicated server to fix the problem.

I allready have done what other people said as solved but it not work:

http://social.technet.microsoft.com/Forums/en/winserverhyperv/thread/2d821491-5318-41b9-bf7a-95e953234f01

http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/55f2589e-1caf-45ba-ad6e-979ddb7080e6

http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/bdb5ca7f-5ff2-4aa7-941f-034420537348

Please help me fast.

Aggregate NICs or separate NICs?

$
0
0

Hi all,

eventually Windows Server 2012 has developed native NIC teaming! With Hyper-V in Windows Server 2008R2 there were some best practices with networking, the ideal configuration was:

1 nic for management

1 nic for heart beat

1 nic for CSV

1 nic for live migration

1 (or more) nic for Hyper-V virtual switch

now with Windows Server 2012 we have native NICs teaming, so, my question is:

if I have 4 (or more) physical NICs, it is better to aggregate them (i.e. LACP) into a single virtual NIC and converge all comunications (management, heartbeat, CSV, live migration, virtual machines) into the single virtual NIC?

[Hyper-V 2012] MySQL slow in Linux VM

$
0
0

During the creation of a few Linux VM's (openSUSE) I noticed one of the import scripts was taking a long time creating the data tables needed for a web application. The other INSERT queries progressed at normal speed so I didn't think any of it.

Later it appeared that some parts of the web application were very slow. Some page requests took several seconds to complete.

Now it appears some other SQL queries are very slow too. With a typical SELECT or INSERT there's nothing noteworthy. However, an ALTER TABLE query (such as changing the AUTO_INCREMENT value or ENGINE) was always slow:

ALTER TABLE t ENGINE=MyISAM;
-- Query OK, 0 rows affected (0.23 sec)
ALTER TABLE t ENGINE=InnoDB;
-- Query OK, 0 rows affected (0.52 sec)

Normally such a query takes about 0.00 seconds for MyISAM and up to 0.02 seconds for InnoDB (tested on several servers). On this Linux VM the queries took 0.20 - 0.50 seconds. The values are not always the same but always like these figures and always far more than you'd expect.

Server configuration:

Windows Server 2012 Hyper-V (Intel Core i7 3770 @ 3.4Ghz)
-------------------------------------
OS: Suse 12.2 x64
Harddisk: 32GB IDE
Memory: 1024MB
CPU: 1 core
Network: Network Adapter
-------------------------------------
Setup:
Dekstop: Minimal Server Selection (Text Mode)
Partitioning:
  - Create swap volume /dev/sda1 (1.46GB)
  - Create root volume /dev/sda2 (30.54 GB) with ext4
Firewall: disabled
SSH: enabled

After installation the following steps were executed to install MySQL:

# reboot
# zypper up
# zypper in mysql-community-server
# service mysql start
# mysql
And the queries to test MySQL:


DROP DATABASE IF EXISTS test;
CREATE DATABASE test;
USE  test;
CREATE TABLE t (  
  id INT(11) default NULL auto_increment,  
  s char(60) default NULL,  
  PRIMARY KEY (id)
) ENGINE=MyISAM;
ALTER TABLE t ENGINE=MyISAM;
ALTER TABLE t ENGINE=InnoDB;

I've tried a lot: configuration of InnoDB, Hyper-V, Linux, for example:

  • Optimized InnoDB configuration
  • More VM memory
  • more VM cores
  • Ext2 in stead of ext4
  • LVM
  • /boot on IDE, / on SCSI
  • OS: OpenSUSE 12.2 / Debian / CentOS 6.3 / SLES

SLES and Debian are both a bit fast, but no where near 0.02s.

As far as I know, the integration tools are installed and loaded:

# zypper search hyper-v
S | Name    | Summary                 | Type
--+---------+-------------------------+-----------
i | hyper-v | Microsoft Hyper-V tools | package 
  | hyper-v | Microsoft Hyper-V tools | srcpackage

# lsmod | grep hv_
hv_utils               13493  0
hv_netvsc              31355  0
hv_storvsc             17524  2
hv_vmbus               42608  4 hid_hyperv,hv_utils,hv_netvsc,hv_storvsc
I did not help. When I repeat the exact same steps on a standalone, Proxmox or ESXi server, the queries are fast. And that's with a default MySQL installation and standard Linux installation.


On a second Hyper-V 2012 server (Core i5 @ 3.1Ghz) the results are almost the same as on the first Hyper-V server.

When I create the same VM on a Hyper-V 2008 R2 server the results are fine! The results are the same as under Proxmox/ESXi/Stand alone. This seems also to be the case on several other 2008 server I tested.

I also run the test in Windows Azure with SLES (small: 1 core/1.75GB). The ALTER TABLE queries were executed in about 0.04s.

I've repeated the tests several times on several servers and each time only the VM's running on Hyper-V 2012 are very slow. One would expect that the Linux support in 2012 would be improved over 2008?

Does anyone has any clue about how this is possible? Can Hyper-V 2012 achieve the same permformance as 2008/Proxmox/ESXi?


Accessing Hyper-V remotely through web GUI

$
0
0

Hi, I have installed Windows 2012 Data center edition and installed the Hyper V role. Every time I have to connect the server through RDP and access the Hyper V. Is there a way that I can access the Hyper V console remotely preferably through Web portal or something?

Anand


Anand K

Cannot add Hyper-V role to Server 2012 with GUI while Server 2012 Hyper-V runs fine

$
0
0

Microsoft says SLAT is only a requirement for Hyper-V role on windows 8, but how come i can't add the hyper-V role to the full version of Server 2012?

I was able to install and run the free Server 2012 Hyper-V Core version with no issues though. Any ideas? Thanks!

Can't assign SID permissions to Hyper-v folder

$
0
0

I'm sure this isn't the place to ask this but I'm trying to restore a virtual machines permissions. When I execute the following command it fails with    invalid parameter "VIRTUAL"     in reference to the NT VIRTUAL part of the string, which is properly delimited.  I'm sure many in this group have run this before. Any idea's why!

icacls  "D:\Hyper-V\Virtual Machines\DevVM\" /T /grant "NT VIRTUAL MACHINE\5A6F2E44-7F95-4CF8-89E5-AE8A6648C93A":(F)

This similiar command worked fine.

icacls "C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines\5A6F2E44-7F95-4CF8-89E5-AE8A6648C93A.xml" /grant "NT VIRTUAL MACHINE\5A6F2E44-7F95-4CF8-89E5-AE8A6648C93A":(F) /L

 

KAB

Imported windows 2008r2 vhd gets suck on classpnp.sys when booting up

$
0
0

Hi

I  moved a working win2008R2 bootable vhd hosted on an old IDE interface  laptop and importing this into windows 8 Hyper-v running on a new AHCI  latptop. I can run through the steps outlined 

here http://msmvps.com/blogs/rfennell/archive/2011/07/13/moving-a-vhd-boot-disk-to-hyper-v.aspx.  However I simply get stuck on with BSOD when the boot loader tries to access classpnp.sys.

I have spent a few hours on this and rapidly coming to the conclusion that I should use my time else where. Things I have tried .

  1. changing the bios to IDE on my new laptop - Windows 8 doesn't like this at all and won't boot up
  2. Uninstalled the drivers in my win2008 r2 bootable vhd whilst in it booted into it. I then copy import the vhd into hyper-v, ran through the whole above link.
  3. If I sysprep with the MASSSTORAGE option windows does boot up but you hit 

Now it is possible to continue the installation but you enter the realms of  trying to  login as local admin to the machine ( even though I have a lovely DC on the server) - not ideal to be honest.

Things  I have yet to try is

  1. https://kouilb.wordpress.com/2012/06/27/vhd-boot-to-hyper-v-blue-screen ( note this is french so use Google Chrome translate) -this I think disables AHCI in the VM - though I am not sure this what I should be doing
  2. divine intivention

I would welcome the thoughts from the cummunity...

Daniel

add a fourth node to a Hyper-V cluster

$
0
0

Hello
Wehavea 2008R2Hyper-Vclusterwith3 nodesand 35 virtualservers
Now I want toadda fourthnode.The steps foradding a fourthnodeare clear The only question
iscan I keep the virtual server running orshouldthey allbe closedbefore youaddthe fourthnode.

Thanks

Peter


PeterBr



Viewing all 19461 articles
Browse latest View live




Latest Images