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

Move 2016 created Version 8.0 VM to 2012 R2 server? Is it possible?

$
0
0
I have one 2016 Hyper-V server that I created a VM on, as a result it is an 8.0 version. I then wanted to move it to another 2012 R2 server. I know migration won't work since it is unsupported version. I tried export and that didn't work since the VM config file is no longer old XML format. Is there anyway to export to old version or convert to allow import into 2012 R2 server? I got lulled into false sense of security due to portability on previous server versions of VM. Thanks.

Brian Hoyt


iSCSI booting diskless servers from SAN Hyper-V VM's

$
0
0

GoodDay,

I need some assistance with a configuration.  For simplicity sake I may refer to hardware with incorrect terms in order to clarify host verses client.  I have done some thorough searching for what I wish to do to no avail. I cant imagine this not being a unique setup.

In simplest terms I have diskless server blades.  I wish to boot them directly from my VM's located on my SAN's Box.

  • I have plenty of gigabit nic cards, cable, etc...
  • Assuming the need to use the iSCSI  virtual disk in server manager?  However, I cant get my head around the setup required.
  • Need to use the diskless blade resources, CPU/Memory for the VM's running from the SAN's Box.

It looks as though that with a fiber backbone that this is a common setup.  However it appears that gigabit Ethernet is not an option?

to big disk queue during resize or creating VHD

$
0
0

Hi.

I Have hyper-v on windows 2012 R2, witch storage pool (4 disk) na 20 TB thin provisioned volume with deduplication.

On that volume i have one 8TB vhdx file (fixed size). When I try resize that vhdx disk  i got disk queue (on that volume) at about 5-7 with 100% disk activity, and after several minutes i got Event ID 15282 (Filed to resize the virtual disk) and ID 27294.

Its any possibility to limit disk I/O impact during creating or resizing vhd(x) file ? Because looks like the errors occurred when disk queue becomes too high.

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

Create Homelab deparate from Main Network and give Access Point

$
0
0

Hello everbody. I am trying to create a homelab .

This homelab consists in a desktop that has 2 ethernet gigabit cards, and one wifi card.

This homelab has installed windows server 2012 R2 with HyperV role.

Whithin hyperV i have installed:

         DC (windows server 2012 R2 with DNS-DHCP and Domain Controller)

         IPCOP (virtual router that connects with my ISP Router)

                       IPCOP separate the main network (192.168.0.1/24) from the laboratory network (192.168.1.1/24)

                       DC acts as DHCP in the laboratory network

The thing is, that i want to use the wifi card (of my homelab) as an access point to connect from an external computer (like my laptop) trough this access point (and also be routed to internet).

For now, the only "access point" i have, is the one that the ISP provides me. But this access point, gives access to the "main network", and i want to create another access point to access from outside to the "laboratory network" (192.168.1.1/24).

First, of all, sorry about my english, i tried to be as simple as i can to explain it.

I will really apreciatte any help to create an access point in laboratory network .

I'll post a graphic to be more comprehensive.

Server 2016 VM Hangs shutting down/restarting when the Pagefile is on a different VHDX.

$
0
0

Howdy,

We are working on creating some VMs running 2016 for testing.  Our normal setup for our 2012 R2 machines is a C drive (OS), D Drive (Data), and P Drive (Pagefile).  This has never caused us any issues.  When I set this same thing up on our Server 2016 VMs we run into problems where the VM wont' shut down or restart once we move the Pagefile to P.

To do so I set C & D to No Pagefile and P to System Managed.  The first reboot usually works OK but after that when we try to restart or shutdown we just get to a plain blue background with the words "Shutting down" or "Restarting" and it never moved.  I tried restarting one last Thursday and was off Friday.  I checked it this morning and it still said Restarting...

There is no crash or error or anything and I just have to power it off through the Hyper-V itself.  The VMs always boot back up OK and Event Viewer doesn't show anything except all the various things entered the Stopped State just before the hang.

As soon as I put the Pagefile back on C all the problems fo away and I can shut down and restart all I want with no issues.

Anyone run into this by change or have any ideas what the problem might be?

Servers running out of space due to .AVHD file

$
0
0

Hello all,

I require some assistance from you guys as I am out of ideas.. I have a Hyper V Server running multiple Windows servers. randomly throughout the day I have some servers which are getting paused with the description of "Running out of space". I realised that there is a .avhd attached and I will have to reboot the server to merge the snapshot so that the server is back online. I do not have any snapshot settings attached to the servers and they range from 2008R2 to 2012R2. There is also Hyper-v replica between two physical servers.

Any experience on this as I am truly lost.


Tux


How to replicate a vhdx between VMs on a single Hyper-V host?

$
0
0
I have a standalone Hyper-V 2016 Core server. This server has two Windows Server 2012 R2 VMs. I want to replicate a virtual disk from one VM to the other in real-time on the same Hyper-V host. How can I achieve this?

Many thanks

Unable to move VM between Nano Hyper-V Hosts

$
0
0

Due to the nature of Nano Hyper-V hosts the hosts must be managed from another device.

So, I have a 2016 Server with the Hyper-V Manager console installed.  From this server I am attempting to perform a VM Move from HostA to Host B.

Move VM Wizard

As this is actually being performed from the management device there is a double credential hop when performing this action, and it failed.

With error 0x8009030E The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host: No credentials are available in the security package.

Following this article: https://technet.microsoft.com/fi-fi/windows-server-docs/compute/hyper-v/deploy/set-up-hosts-for-live-migration-without-failover-clustering

I changed both Nano Hosts Live Migration Settings to Use Kerberos and I enabled constrained delegation for the two servers to point to the other hyps to try and solve this issue.

This did not resolve the problem and I am still unable to initiate a VM move from one Nano Hyp to the other Nano Hyp.

Relevant configuration:

This is a 3-node cluster (all Nano hosts) being managed from a 2016 Server with the Hyper-V Manager console installed.  All nano Hyps are joined to the same domain. For VMs that are HA Live Migrations work fine.  The server I'm using to manage the Hyps and perform the move is also joined to the same domain.

This issue is presenting itself when I build a VM locally on local storage to a Hyp and then attempt to initiate a VM move to another node in the cluster, also to local storage (something I have done often without issue in 2012R2).

I have seen this issue before on 2012R2 hosts and it could be easily solved by logging into the host and initiating the move locally from the host.

But, as that is not possible with Nano, I'm open to suggestions on this issue.



Error when trying to attach USB Hard Drive to Virtual Machine

$
0
0

Hello,

Since about 4 months ago, we are having trouble when trying to connect a USB drive to our virtual machines.

We have 2 Dell PowerEdge R430 servers with Windows Server 2012 and Hyper-V installed, when I connect a USB Drive while the physical machine is running, I can't attach the USB drive to the virtual machines, for it to work I need to restart the physical machine with the USB drive already plugged in, after doing this I can connect the USB drive to the virtual machine again, but, if for some reason I unplug and plug it again, it shows me this error:

NOTE: I was going to insert an image here, but Technet wouldn't allow me, because it says my account is not verified, so I've uploaded it to: h t t p s : //s14.postimg.org/hwk41jykx/1471635468078_remmina_2016_12_2_19_27_55_491706.png

As you can see in the above screenshot, the disk is set Offline at Disk Management and I'm using Physical Disk Option at SCSI section in Hyper-V manager, this used to work before, but it started occuring this error at some point that I don't remember, maybe after any update, I can't say for sure.

This same error also occurs at the other server, which is equal to this one, but with different virtual machines.

I couldn't find any details on event viewer, so I can't figure out the reason for this error.

Please help, we use to change the backup media every week and it's obviously nonsense to reset the physical server once a week, every time we have to exchange the disk.

Let me know if you need any more details.

Sorry for the poor english.

Hugo Thebas

the virtual machine management service encountered an error while configuring the hard disk on virtual machine

$
0
0

I am getting this error while creating the VM all of a sudden on my Windows 2012 R2 Hyper-v. 

I could create a vhd seperately and also create a vm without vhd and point the vhd which provides temporary fix

Any Thoughts

Thanks

Jacob


Hyper-V 2016 VM: External virtual switches do not connect to network.

$
0
0

Hello, I have a Hyper-V Core server running 2016 as a VM, and I can't access the Internet.  I was running everything successfully last night, and wiped the server down to metal to make sure the instructions were correct, and it looks like I missed documenting one step.  Nevertheless, it means it's not a hardware issue.

The problem is that when loading MS2016, I can not get an Internet connection.  (The problem is also true with 2012 and Ubuntu 16.10, which leads me to believe this is in the way the virtual switch is configured.)

On the host HV:

Available Network Adapters
Index#  IP address      Description
  3     192.168.43.200  QLogic BCM5709C Gigabit Ethernet (NDIS VBD Client) #56
  13    192.168.43.222  Hyper-V Virtual Ethernet Adapter

Select Network Adapter Index# (Blank=Cancel):

and ipconfig /all (with the extraneous junk cut out)

Ethernet adapter Ethernet 3:   Connection-specific DNS Suffix  . :   Description . . . . . . . . . . . : QLogic BCM5709C Gigabit Ethernet (NDIS VBD Client) #56   Physical Address. . . . . . . . . : 64-31-50-4E-46-B0   DHCP Enabled. . . . . . . . . . . : No   Autoconfiguration Enabled . . . . : Yes   Link-local IPv6 Address . . . . . : fe80::31c6:9d08:694f:35a8%5(Preferred)   IPv4 Address. . . . . . . . . . . : 192.168.43.200(Preferred)   Subnet Mask . . . . . . . . . . . : 255.255.255.0   Default Gateway . . . . . . . . . : 192.168.43.1   DHCPv6 IAID . . . . . . . . . . . : 191115600   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-D3-BB-F2-64-31-50-4E-46-B2   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1                                       fec0:0:0:ffff::2%1                                       fec0:0:0:ffff::3%1   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter vEthernet (Emulated Internet):   Connection-specific DNS Suffix  . :   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter   Physical Address. . . . . . . . . : 64-31-50-4E-46-B4   DHCP Enabled. . . . . . . . . . . : Yes   Autoconfiguration Enabled . . . . : Yes   Link-local IPv6 Address . . . . . : fe80::ada6:b54c:d2a1:d919%42(Preferred)   IPv4 Address. . . . . . . . . . . : 192.168.43.222(Preferred)   Subnet Mask . . . . . . . . . . . : 255.255.255.0   Lease Obtained. . . . . . . . . . : Friday, December 2, 2016 7:07:36 PM   Lease Expires . . . . . . . . . . : Tuesday, January 9, 2153 1:48:37 AM   Default Gateway . . . . . . . . . : 192.168.43.1   DHCP Server . . . . . . . . . . . : 192.168.43.1   DHCPv6 IAID . . . . . . . . . . . : 711209296   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-D3-BB-F2-64-31-50-4E-46-B2   DNS Servers . . . . . . . . . . . : 192.168.43.1   NetBIOS over Tcpip. . . . . . . . : Enabled


And in the Hyper-V Manager, the Virtual Switch is set to "External", and I am definitely using the right card (#58) to link to the switch.  I have tried checking and unchecking all the boxes and rebooting all the hardware, both the VMs and the physical server.  Here's the current configuration: http://imgur.com/I8ppTW7 

And as I have read several guides suggesting that I cycle the option boxes, I want to make it clear that I have cycled all the option boxes. 

I have turned the firewall on the Hyper-V server completely off for troubleshooting.

Since I'm posting this, it's not a problem with my router and I can see that there is no VM on the client list. 

ipconfig from the VM is here.  As you can see, it's still using the default address.

Ethernet adapter Ethernet 3:   Connection-specific DNS Suffix  . :   Description . . . . . . . . . . . : QLogic BCM5709C Gigabit Ethernet (NDIS VBD Client) #56   Physical Address. . . . . . . . . : 64-31-50-4E-46-B0   DHCP Enabled. . . . . . . . . . . : No   Autoconfiguration Enabled . . . . : Yes   Link-local IPv6 Address . . . . . : fe80::31c6:9d08:694f:35a8%5(Preferred)   IPv4 Address. . . . . . . . . . . : 192.168.43.200(Preferred)   Subnet Mask . . . . . . . . . . . : 255.255.255.0   Default Gateway . . . . . . . . . : 192.168.43.1   DHCPv6 IAID . . . . . . . . . . . : 191115600   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-D3-BB-F2-64-31-50-4E-46-B2   DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1                                       fec0:0:0:ffff::2%1                                       fec0:0:0:ffff::3%1   NetBIOS over Tcpip. . . . . . . . : Enabled
Ethernet adapter vEthernet (Emulated Internet):   Connection-specific DNS Suffix  . :   Description . . . . . . . . . . . : Hyper-V Virtual Ethernet Adapter   Physical Address. . . . . . . . . : 64-31-50-4E-46-B4   DHCP Enabled. . . . . . . . . . . : Yes   Autoconfiguration Enabled . . . . : Yes   Link-local IPv6 Address . . . . . : fe80::ada6:b54c:d2a1:d919%42(Preferred)   IPv4 Address. . . . . . . . . . . : 192.168.43.222(Preferred)   Subnet Mask . . . . . . . . . . . : 255.255.255.0   Lease Obtained. . . . . . . . . . : Friday, December 2, 2016 7:07:36 PM   Lease Expires . . . . . . . . . . : Tuesday, January 9, 2153 1:48:37 AM   Default Gateway . . . . . . . . . : 192.168.43.1   DHCP Server . . . . . . . . . . . : 192.168.43.1   DHCPv6 IAID . . . . . . . . . . . : 711209296   DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-1F-D3-BB-F2-64-31-50-4E-46-B2   DNS Servers . . . . . . . . . . . : 192.168.43.1   NetBIOS over Tcpip. . . . . . . . : Enabled

Neither a restart on the VM nor an ipconfig /renew seems to do anything except throw a "could not reach the DHCP server" error.  (Similar error with different text to the Ubuntu Server when setting that up.) 

What am I missing here?  Last night nothing worked until I installed MS2012, and then mysteriously both 2016 and Ubuntu Server were 100% fine.  That didn't fix anything this time.

Any help you can throw my way would be excellent.

Thanks!



Server 2016 bluescreen vmswitch.sys

$
0
0

Hi all,

I am facing a serious issue on two Hyper-V-hosts with Windows Server 2016 Datacenter.

Without external influence they crash and all guest VMs too. The STOP code is UNEXPECTED_KERNEL_MODE_TRAP 0x0000007f and it is caused by vmswitch.sys

A simple reboot does not fix this, it always crashes 8 to 10 times in a row until it works properly again.

This problem occurs on two of our servers with completely different hardware.

I tried several versions of the nic driver, but it did not resolve the issue. VMQ is already disabled on the nics and in the VM settings.

Here you can download a recent minidump file: https://dl.dropboxusercontent.com/u/76615769/110416-20546-01.dmp

Do you have any ideas what may cause this problem?

Thank you,
Felix


Hyper-V VM Generation 2 - How to boot from .ISO

$
0
0

Hi guys, 

Server OS: Windows Server 2012 R2

I have a VM Gen2 with following settings: 

I can boot fine from the same .iso from a Gen1 VM so the .iso is bootable. 

I know that the Gen2 VM uses SCSI instead of IDE, but I have no clue regarding how to boot from the .iso..

Any ideas?

Thanks in advance!

Best regards,

Kenny

Convert Win2Go USB thumb drive (setup using Windows 8.1 Enterprise) into VHD and use in Windows 10 Hyper-V Manager

$
0
0
Is it possible to convert the Win2Go USB thumb drive (setup using Windows 8.1 Enterprise) into VHD and use in Windows 10 Hyper-V Manager ?

hyperV Replica / Live migration of Vms (Windows 2012 R2)

$
0
0

friends ... i would like to know couple of things

1. what is the best possible way to replicate production data to DR site ... we have production Vms and would like replicate these Vms to DR site ... i understand hyperV replicate gives Async backup ... do we have a Sync technology to do this ...

2. for HyperV replica can you guys please guide me what are the things we need to take care of .. Dr site is at a WAN location with bandwidth of around 20Mb between two sites but data is around 8 Tb ... i am sure this is a problem as transferring this will take ages.. can you advise the best way to do this ...

3. can i use same DR server to have replicas from two different domain .. as at source i have two domains running few Vms each .. i want to replicate both to Dr site to the same hardware ... possible ..??



Thanks, Happiness Always
Jatin


Windows Server 2016 Hyper-V November 2016 Update makes saving state instable

$
0
0

I have installed a new Windows Server 2016 Hyper-V environment.
Intel i7-6800K, 64GB RAM, LSI MegaRAID 9361-8i, RAID-6 (5x 1TB SSD)

I was observing that Hyper-V guests are resetted instead of saving and restoring state.
This happend in 7 of 10 Hyper-V Host reboots.

Making some tests, it seems to turn out, that the problem is not present without the November update kb3200970.
After installing the update, the guests are not correctly restored on some reboots.
There is no hint in the eventlogs. No error, no warning, no information.

Changing the shutdown option for the guest to "shutdown" instead of saving state works as expected. The guest is correctly shutted down and restarted again on every reboot.

I have reinstalled the complete system about 7 times, and the problem was always present after the update.

Severin

The VM and host networking components failed to negotiate protocol version '6.1'

$
0
0

I’m seeing errors on VMs:
The VM and host networking components failed to negotiate protocol version '6.1'
The VM and host networking components failed to negotiate protocol version '6.0'
Both VM and host servers are 2016.
It’s +0 Windows Server versions difference and suppose to be supported.
Both VM and host are patched to same level.

One strange thing, tho:
If I connect to any 2016 host using Hyper-V manager on 2012R2 server, every VM (2016 and 2012R2) shows Network adapter status asDegraded (Integration services upgrade required)
But when I connect to 2016 host using Hyper-V manager on 2016 server there are no such errors on any VM.

Somewhat similar question was asked here, but I don’t think the answer is applicable: 

The VM and host networking components failed to negotiate protocol version '5.0'
https://social.technet.microsoft.com/Forums/office/en-US/d4dcdc8b-107b-4175-a8a6-c529f4833d18/the-vm-and-host-networking-components-failed-to-negotiate-protocol-version-50?forum=winserverhyperv


Can I host Virtual Machines on Azure or some Cloud service?

$
0
0

I apologize for my complete ignorance on the matter but have to ask. We currently basically need 2 host servers in two different locations for safety in case LA slides into the ocean.   We have two offices (one on each coast) so in theory we could do it with replication.   We could also consider a colo facility.   The CEO asked me if we could have it all in the cloud and I told him I'd find out as I did not know.   

We basically need a 5 virtual machines - 1 file server, 2 app servers, 1 sql server and one remote desktop server.  I suppose we could move our exchange to office365 hosted at that point.   

I have no idea who offers an ability to float our VMs on the cloud, if it really is a diverse solution or we'd basically just be putting all our eggs into one colo facility and calling it the cloud.

Thanks.

   

connect 2 hyper v virtual Server by serial COM

$
0
0

i have 2 hyper v Virtual Servers on the same host and need to be connected together by serial COM

the servers are windows server 2008 R2

Viewing all 19461 articles
Browse latest View live




Latest Images