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

Connect is not working on Hyper-V Manager on Windows 8.1 ( vmconnect does not work )

$
0
0

Hi all,

I have been running Windows 8.1 and in Hyper-V Manager, i can see 2 VM ( 1 Linux-Ubuntu , 1 Win 7 ) for couple of months.

Few days ago as usual i wanted to connect one of them while they were running but it did not work. I tried actions below already:

- Checked the event logs and they were saying vmconnect is crashing

Faulting application name: VmConnect.exe, version: 6.3.9600.16384, time stamp: 0x5215cae5
Faulting module name: KERNELBASE.dll, version: 6.3.9600.17415, time stamp: 0x54505737
Exception code: 0xe0434352
Fault offset: 0x0000000000008b9c
Faulting process id: 0x6c0
Faulting application start time: 0x01d02e59f75297d7
Faulting application path: C:\WINDOWS\system32\VmConnect.exe
Faulting module path: C:\WINDOWS\system32\KERNELBASE.dll
Report Id: 351cf3fd-9a4d-11e4-beaf-7446a0bad879
Faulting package full name:
Faulting package-relative application ID:

=================================

Application: VmConnect.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.ArgumentException
Stack:
   at Microsoft.Virtualization.Client.Interop.IMsRdpClientNonScriptable3.set_NegotiateSecurityLayer(Boolean)
   at Microsoft.Virtualization.Client.InteractiveSession.RdpViewerControl.SetSecureModeOn()
   at Microsoft.Virtualization.Client.InteractiveSession.RdpViewerControl.CreateRdpClient(Boolean)
   at Microsoft.Virtualization.Client.InteractiveSession.RdpViewerControl..ctor(Microsoft.Virtualization.Client.InteractiveSession.RdpConnectionInfo)
   at Microsoft.Virtualization.Client.InteractiveSession.InteractiveSessionForm..ctor(Microsoft.Virtualization.Client.InteractiveSession.RdpConnectionInfo)
   at Microsoft.Virtualization.Client.InteractiveSession.VmisApplicationContext.TryParseCommandLine(System.String[])
   at Microsoft.Virtualization.Client.InteractiveSession.Program.Main(System.String[])

=================================

- Stop antivirus Avira, remove Hyper-V, restart add Hyper-V again, restart

- reboot, shutdown computer

- add new VM, delete existing one

-add/delete/modify virtual swtich and add/delete/modify virtual switch accordingly the connected VM

- restart Hyper-V Management services from services.msc

I dont know what is going on... When i open Hyper-V Manager i can start/stop VMs and i can see from preview that they are running.





Configuration-only export

$
0
0

Hi,

I have 2 questions:

1. There are 2 articles describing how to manually register a VM in Hyper-V. It's quite a complex procedure (using mlink and setting the right access rights on various places).
If there is a Product Manager reading this: Why can't MS provide an official (command-line) tool to do this in a supported manner? It would be a desireable thing for a lot of Hyper-V Admins. Please pass this internally to the right person. Thank you.

See:
http://blogs.msdn.com/b/robertvi/archive/2008/12/19/howto-manually-add-a-vm-configuration-to-hyper-v.aspx 

2. There is an article describing how to do a configuration only export in Hyper-V. Did any of you get this ever to work? Is there another way that really worked for some of you? 

These is the link:
http://social.technet.microsoft.com/wiki/contents/articles/hyper-v-export-vm-config-only-using-powershell.aspx

Thanks

 

DR Site, HW-replication or Hyper-V Replica?

$
0
0

Hi all,


I have a customer that has already bought licenses for the replication of data between their two sites.

They want to include Hyper-V VM's to that replication for DR-purposes.

The question is, would you recommend to use the HW-replication since they are already using it or introducing Hyper-V replica as well?

Both sites are using Windows 2012 R2.

The storage solution is HP 3PAR.

Br,

Fredrik

Hyper V Manager

$
0
0

hi guys,

i need your help with the following:

I installed the latest version of hyper v manager from the microsoft website and after enabling it from the "turn on windows feature in the control panel" i dont see the option to create a virtual machine, so i am puzzled as to why?

Hyper V Manager

$
0
0
Hi guys i wanted to ask whats the latest version of hyper v management for people running windows 7 because from the microsoft site the latest is v6.1 , but i know some one who is running v6.3  but his running windows 8.1?

Slow IDE Performance

$
0
0

Hi, I have approx 800 virtual machines, on a FailoverCluster, connected using FC to a Compellent SAN (50% SAS, 50% SATA). some Windows 2003 R2, some Windows 2008, some Windows 2008 R2, some Windows 2012 and some Windows 2012 R2.

I tried VMs on both Windows Server 2012 and Windows Server 2012 R2.

When I copy a file over an IDE disk, I never go over 90 MB/s. 100 MB/s when copying from the network to the Drive.

When I copy a file over a SCSI disk, I copy between 350 MB/s and 450 MB/s.

If I start a copy over an IDE disk, and, at the same time, I start a copy over a SCSI disk, the copy speed on the IDE drop between 50 MB/s and 75 MB/s, and the SCSI disk copy at 350 MB/s+. Then speed come back on the IDE when the SCSI is over.

If I start two copy on two different IDE disks, the first copy will hang for a couple second when the second copy starts, and I won't go over 70 MB/s on each disk.

The 3 disks are Fixed, and on the same CSV (same LUN). When doing file copy on the HOST, I have the same performance as the SCSI VHDx.

When I create Gen 2 VMs (100% SCSI), they are incredibly more responsive than the Gen 1 (IDE).

How can I fix the IDE performance? Thanks!

Intermittent network connectivity loss on Windows Server 2012 R2 Hyper-V cluster VM's

$
0
0

I am experiencing an interesting problem with our Windows Server 2012 R2 three node cluster. On one of the nodes network connectivity tends to drop randomly for the virtual machines network interface. The associated network card on the affected node indicates a connected as well as all the virtual machines on the affected node. This only happens for the network attached to the production virtual network. Live migration and the CSV virtual networks never lose connectivity.

Rebooting the virtual machines does not resolve the problem. Only physically unplugging the affected network cable and plugging it back in resuming network connectivity.

All host are up to date via Cluster Aware Updating and the network card drivers are all current.

The frequency is totally random sometimes in between two days to two months between incidents.

Any thoughts on a cause?

Set VLAN ID on a virtual machine network on Windows 2012

$
0
0

I'm currently working in C# consuming Hyper-V V2 WMI API to do different tasks related to virtual machines. I've not been able to figure out how to get/set VLAN ID. I've found many links on net pointing to PS HyperV lib exploring "Get-VMNICVLAN" and "Set-VMNICVLAN" but they dont seem to be working from me as Nic.connection[0] always seem to be null in my case. Perhaps that only works with Windows 2008 Hyper-V.  

Also I'm not familiar with WMI scripts much so converting that code to C# is being a pain. Can someone please tell me exactly how to do so in C# using WMI.

Regards

Usman



VM's state Off-Critical

$
0
0

Hello,

I have an issue with my Hyper-V lab.

I have disconnected my hard drives from the motherboard due to some other issues I had at the time, and now, after reconnecting the drives to the mobo, powering on the station and launching Hyper-V, all my VM's (4 in total) are shown as Off-critical.

If I try to power on a VM, I get the following error:

Failed to lock virtual machine's configuration "C:\ProgramData\Microsoft\Windows\Hyper-V\VirtualMachines\386F7A11-991F-4859-934A-A7732CC4519C.xml": 'Unspecified error"(0x80004005)

I must mention that my virtual hard disks and VM Configuration Files are on a second drive than the one where the C:\ partition is, and where, of course Hyper-V is installed.

My OS is Windows Server 2012 Datacenter Evaluation, build 9200.

Does  anybody have any idea why this happened, and what I can do to get my VM's back?

Thank so much for your input and help!


Windows 7 x64 Professional does not boot after install

$
0
0

Hello.

I created a Windows 7 VM in Windows Server 2012 R2 Standard Hyper-V, all the installation process done successfully, but after installation, it failed to boot and shows a black screen, and didn't boot after it.

Following is the event log occurs.

'Win-7_QA-Testing' was faulted because the guest executed an intercepting instruction not supported by Hyper-V instruction emulation. If the problem persists, contact Product Support. (Virtual machine ID 5B827557-7009-4D83-AA7C-26A45651EC3A)

           VmName           Win-7_QA-Testing
VmId5B827557-7009-4D83-AA7C-26A45651EC3A
FailureCategory<not a known problem>
InstructionByteCount 0
InstructionBytes
Rax0x10
Rbx0x80
Rcx0x0
Rdx0x80
Rsp0x200
Rbp0x6e08
Rsi0x25da4a
Rdi0x7da4a
R80x0
R90x0
R100x0
R110x0
R120x0
R130x0
R140x0
R150x0
Rip0x9d
Rflags0x10002
FpControlStatus7F030000000000000000000000000000
XmmControlStatus0000000000000000801F0000FFFF0000
Cr00x10
Cr20x0
Cr30x0
Cr40x0
Cr80x0
Xfem0x0
Dr00x0
Dr10x0
Dr20x0
Dr30x0
Dr60xffff0ff0
Dr70x400
Es0002000000000000FFFF000020009300
Cs00000B0000000000FFFF000000B09F00
Ss0002000000000000FFFF000020009300
Ds0002000000000000FFFF000020009300
Fs0002000000000000FFFF000020009300
Gs0002000000000000FFFF000020009300
Ldtr0000000000000000FFFFFFFF00000000
Tr0000000000000000FFFF000000008B00
Idtr000000000000FFFF0000000000000000
Gdtr000000000000270000002B0000000000
Tsc0x3b48531f8c6
ApicBase0xfee00900
SysenterCs0x0
SysenterEip0x0
SysenterEsp0x0
PendingInterruption0x0

Any help will be appreciated.

Thanks





VM - query to sql performance (VM vs old hardware)

$
0
0

Hi,

I am strugling with a performance issues.

We have a .net based application with 4 app server handling request of 1000 ritch clients. They handle batch jobs in the night. 

when we look at overall performance, the VM's are very fast

BUT transactions are 25% slower then the OLD hardware.

does anyone can give me a clue on how to troubleshoot this?

thx

Lieven

Configured everything with hvremote, Still can't connect to server - Win7 - HV2012

$
0
0

Hi there,

I'm trying to get a Windows 7 machine in domain A to work with a hyper-v server in domain B.

I setup the HVS and configured everything with hvremote and myriads of other stuff from the net. I had problems with the firewall but then go that to work. Now the /show runs completely through (6 steps on the server, 10 steps on the client) with just a few warnings. The server tells me the firewall is not active and the firewall is not running (which i hope can be ignored) and the client tells me thatthe version of hyper v on the server is newer than the version on the client

The problem is that, when i start the Hyper-V Manager it tries to connect to the management tools, fails and tells me a connection couldnt be established to the hyper-v server

I have a local user "serveruser" on the server and added him to the administrator group. i also have a local "serveruser" on my client, with the same password, and all tests are being done from them.

Any clue on what i can do?

Thanks in advance!

David 

ps, also did the thread in german to reach the maximum of people: https://social.technet.microsoft.com/Forums/de-DE/a6ad0505-08ba-44f1-9687-b6718a1a68e5/hyper-v-server-konfiguriert-kann-mit-manager-nicht-verbinden-win7-hv2012?forum=windows_Serverde

Migration of VMs from Server 2008 R2 Hyper-V to Server 2012 R2 Hyper-V

$
0
0

Hello-

I suspect this question has been asked and answered, but heck if I can find it!  I am looking to move 3 or 4 virtual machines from a Windows Server 2008 R2 Hyper-V host to a new Windows Server 2012 R2 Hyper-V host.

Both hosts are using DAS only - no SAN or NAS involved.  Also, neither is clustered.  Basically, about as simple of a Hyper-V setup as you can get.

I have System Center VMM 2012 R2 installed on my 2012 R2 host and SCVMM VMM 2008 R2 installed on my 2008 R2 host.  In order to use the built-in migration capability of 2012 R2 to migrate the VMs from 2008 R2 to 2012 R2, I'm assuming I need to install a SCVMM 2012 R2 agent on my 2008 R2 box.  I do not want to do this due to the fact that I have Citrix XenDesktop running on that host, along with other VMs, and do not want to risk fouling it up.

With this backdrop, can someone please suggest a migration method - export/import, file copy, and / or use of SCVMM?

Thanks

own server in co-location

$
0
0

Im thinking of running my own server in a co-location data centre. I want to install Hyper-V and then have several guests in that machine. I was thinking of running some kind of Linux firewall as a guest and then a couple of windows 2012 servers as guests also on a internal network. Is this even possible and how can i perform this easiest? 

I.e 

Hyper-V HOST

------- LINUX GUEST FIREWALL

-------- WINDOWS 2012 SRV 1

-------- WINDOWS 2012 SRV 2

-------- WINDOWS 2012 SRV 3

The linux guest firewall is the only one that should connect to internt and then forward to the windows 2012 server guests

Anyone have ideas or thoughts on how to accomplish this?


How to properly move a VM to another physical server

$
0
0

Hi folks,

I have two Dell R-170 servers both running Server 2008 R2 and Hyper -V, each with two VM's installed and running.  One of the physical servers is beginning to run low on disk space.  I would like to move one of my VM's (about a 200Gb .vhd) from one server to another, so I will havce 3 VM's on one server and only one on the other at least temporarily.  Likely I will move a smaller one from the one machine to the other later on to balance them out.

Anyway, the VM I want to move is a SBS 2008 server, which is running Exchange and is the DC for the domain.  Any special considerations based upon that information?

I want to make sure I do the right steps to properly move that VM from one physical server to the other and have it come back online smoothly.  Can someone point me to the proper steps to take?  Here is what I think they are, but I'm not 100% sure.

Shutdown the VM on the current physical server.

Copy the VM's .vhd file to either an external drive or network copy to the new physical server.

Create the VM in Hyper-V on the new server, get the network configured  (Can you copy the settings from the old host?)

Boot the VM on the new server and it should work now?

Tell the VM on the old server to not restart except manually, then after verifying all is working well on the new host, delete the VM and the .vhd file to recapture disk space.

Can someone point me in the right direction to do this properly.  Since it's my DC and my Exchange server I really want to do this right the first time.

Thanks!


Hyper-V rolled back itself ?

$
0
0

Hello,

Hopefully someone can manage to help me since we have a lot crucial data we need to get back. 

So, this morning I turned off the HP Proliant server (as I've done so many times) due to relocation. When I tried turning it back on nothing happened besides the fans starting... I thought damnit! So I took out the harddrive and saved our .VHD file we've been using through Hyper-V.

I hooked up to my own Oracle Virtualbox and booted the image up only to find that there only was data from 2010, nothing from 2010 up until today.

Does anyone have a clever idea on what might cause this ? 

Best Regards
Kristian P

Hyper-V 2012 standard - Guest VM aren't shutting down properly when host server shuts down.

$
0
0

We have a server 2012 standard hosting 2 Hyper-V machines, one is our Exchange and the other our App server.

We had a power outage last night and it looks that the host shut down cleanly but the VM's did not.I checked the event logs and the VM's are showing an unexpected shut down exactly the same time as the Host server. The host server event logs is showing "Event 6006" which to me is a clean shutdown.

Hyper-V Guest Shutdown Service is running on both VM's. On the Host that service was set to "Manual (Trigger Start)". I'm not sure what that means but I changed it to "Automatic (Trigger Start)"

Also, I tried to start HV Guest Shutdown Service on the host server but it just starts and stops. Is that because the startup type is set to "Trigger start"?

Any help is greatly appreciated. Thanks

How do I find out what Virtual Machines are hosted on a server?

$
0
0

How do I find out what Virtual Machines are hosted on a server?

I am working in a on a Windows 2008 box?

Thanks,

Ben


Mr Shaw

Cannot Replicate VM

$
0
0

Hi

We are using Server 2012 (not R2), we have a 4 node Hyper-V Cluster and a 2 node SOFS with about 70 VMs.  We have been using this setup for about 15 months successfully.

We have also been using Hyper-V Replica successfully for this amount of time for 2 SQL servers and various other servers such as Terminal Servers and File Servers.

We have rebuilt one of our SQL Servers and have setup replication again for it however as soon as Initial Replication has completed the VM goes into "Resynchronisation Required" state.  If I then Resume Replication the result is the same - Initial Replication works but as soon as that is done we go back to "Resynchronisation Required".

We are replicating over a dedicated 100MB/s lease line and the remote storage has 4 X 15K drives in a RAID10 and is used for nothing but this SQL Server.  The combined size of the Primary VMs OS, DB & Logs VHDX drives is approx. 500GB.

I have run the replication overnight when no one is using the systems and backups have completed.  I have also tried to do the Initial Replication via external media but before I have even imported the Primary VM into the Replica server we go into "Resynchronisation Required".

Historically speaking this SQL Server has replicated without issue.  We are using the EnableWriteOrderPreservationAcrossDisks  cmdlet to keep each disk in sync.

Does anyone know what would cause a VM to go into this state so quickly after Initial Replication?

Many thanks

Windows 2012 CSV backup

$
0
0

In Windows 2012, a provider "Microsoft CSV Shadow Copy provider" is introduced and the backup requestor must use this provider for a CSV volume in order to take application VSS snapshot to a Hyper-V VM.

My question is, in an environment where a hardware provider is available, how can we take application hardware snapshot? My confusion is, in order to take hardware snapshot, we need to use hardware provider for the CSV volume, however, in order to take application consistent snapshot, we need to use Microsoft CSV Shadow Copy provider. How can I use both for one same CSV volume?

Thanks

Viewing all 19461 articles
Browse latest View live




Latest Images