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

The processor does not support second level address translation (SLAT)

$
0
0

While attempting to install HPer-V on Windows server 2016, I encountered the error

"Hyper-V cannot be installed: The processor does not support second level address translation (SLAT)"

I run coreinfo.exe -v on the server and got the result below.

Intel(R) Core(TM)2 Quad CPU    Q9500  @ 2.83GHz
Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
Microcode signature: 00000A0C
HYPERVISORHypervisor is present
VMX        Supports Intel hardware-assisted virtualization
EPT       Supports Intel extended page tables (SLAT)

I now confused as to whether the processor supports SLAT or does not. Is there somewhere I need to enable SLAT?




Cannot Remotely Import VM from SMB Share

$
0
0

Let me start by saying, I've followed just about every guide I can find on delegation and permissions and virtually everything works just fine except for this...

I created a VM using Server 2012 R2 Hyper-V. That server was created on, stored on and exported to a Server 2012 R2 File Server, all using my workstation (Windows 8.1) to remotely manage the Hyper-V server. That should be proof that delegation works perfectly fine (being able to create a VM and export it on the SMB share remotely, right?)

My user account, workstation computer account, and the Hyper-V server account all have full rights to the SMB share (NTFS and Share Permissions). To clarify further, my user account is a domain admin.

However, when I go to import the exact same machine that I JUST exported successfully I get the error: Hyper-V did not find virtual machines to import from location '\\FS01\Hyper-V\Exports\Server2012R2\' - The folder '\\FS01\Hyper-V\Exports\Server2012R2\' could not be found. You might not have permission to access it.

Here are some outputs to show that I've, hopefully, configured everything correctly:

PS C:\Windows\system32> Get-SmbDelegation FS01
WS
HV02
PS C:\Windows\system32> Get-SmbDelegation HV02
WS

WS:
Get-WSManCredSSP
The machine is configured to allow delegating fresh credentials to the following target(s): wsman/*.domain.local

HV02:
Invoke-Command -ComputerName HV02 -ScriptBlock {Get-WSManCredSSP}
The machine is configured to allow delegating fresh credentials to the following target(s): wsman/FS01.domain.local

This computer is configured to receive credentials from a remote client computer.

FS01:
Invoke-Command -ComputerName FS01 -ScriptBlock {Get-WSManCredSSP}
The machine is not configured to allow delegating fresh credentials.
This computer is configured to receive credentials from a remote client computer.

I should also not that it works fine if I remote desktop to the HV02 server and do the import.

Adding persistent storage (immune to Revert)

$
0
0

Is there a way to add a VHD(X) to a virtual machine so that changes will not roll back after a Revert?

As a workaround you could add a network drive, but I would prefer this to be locally self-contained. It is needed to store test results to a data drive, where the VM is cleaned up after each test (changes to the system drive are reverted), but the resulting data files should remain stored.

Thanks.




How to Install and configure Hyper-V on Windows Server 2019

$
0
0

Hi,

Presumably because WS2019 just came out, I can only find 1 YouTube video which explains from A-Z how to install and configure Hyper-V on WS2019. Unfortunately, that video is without sound and very blurry video, so I can't really see what the demonstrator is doing.

I am a total newbie at virtualization. I would greatly appreciate it if someone could point to a video or written tutorial on how to do this.

TIA,

mlavie

Taking a checkpoint of centos 7.5 VM that has running docker containers fails

$
0
0

I'm currently in the process of migrating all of our virtual servers from OVirt to new Hyper-V 2016 clusters.

Two of the VMs that have been migrated are running Centos 7.5 and they have a few docker containers on them.

They both have the hyper-v tools installed on them that come from the Centos repositories.

When I take a checkpoint of these VMs they hang permanently with the following recurring message:

task hv_vss_daemon:1397 blocked for more than 120 seconds. and the last entry in /var/log/messages is about Hyper-V doing a hot backup.

At this point the VM's are unusable and I have to force them off via task manager as the native hyper-v 'turn off' button refuses to do anything.

Things I have tried:

Upgrade to the latest version of Linux Integration tools from the MS website - this made no difference

Disable SELinux on the guest - this made no difference.

Things I did that made it work:

- Stop the docker containers and create a checkpoint (checkpoint seems to complete without issue)

- Remove the Hyper-V agents from the guests (checkpoint seems to complete without issue)


Has anyone come up against this before ?

For the time being, I'm just backing up via Veeam with the hyper-v vss agent removed from these guests as crash consistent backups should be fine for these.

Virtual Hard Discs

$
0
0

I am working on autmating the creation of new VM in HyperV. I am using syspreped image as parent to create smaller child images (differencing discs). The image is *.vhdx

I got a new *.vhd image, but i cannot make child differenced images. I converted using Hyper-V to .vhdx but apperently the existing operating system was deleted!!!

Any recommendation on making differenced discs using .vhd image???

Cheers

How Do I Migrate Hyper-V Licenses From One Server 2012 R2 to Another?

$
0
0

Hi,

I have 2 Server 2012 R2 systems (1 old, 1 new). The older system has some unused Hyper-V licenses that I would like to migrate to the new system. How do I go about doing that?

Thanks!

Synchronizing a Live Hyper-V Server With a Live Duplicate

$
0
0

Hi all, let me first give you a rundown of our current setup:

2 Physical Servers (one is the main, the other serves as Hyper-V replication server)
6 VMs on main server. One is a terminal server users RDP into using port XXXX. The other is meant to be a mirror of the first running RDP on port YYYY. In case of failure on the first VM, users can change RDP ports and connect to the second.

I'd like a way to run a manual or automatic file sync between the two for certain directories.

Any suggestions?

Also open to suggestions for an easier solution for minimizing downtime if this situation happens. I was researching HA Clustering but that's not an option for us currently as we only have one LAN.


Hyper-V manager - cannot connect to new created VMs

$
0
0

I'm new to hyper-v and virtualization platform on windows.

I just follow the instructions and created a local virtual machine on my laptop.

I started it and the tried to connect, but no luck. I just get the error: "Cannot connect to the virtual machine. Try to connect again. If the problem persists contact your system administrator" 

I can see hyper-v enabled in windows features and the services are running.

The hyper-v manager shows my VM is running but still cannot connect.

Looking on another forum https://social.technet.microsoft.com/Forums/en-US/2f6c2d14-7e5f-4764-8569-850d9a4739ad/windows-10-hyperv-cannot-connect-to-the-virtual-machine?forum=win10itprovirt , i can see several people complaining about this issue but no answer in 3 years :(. Just a reference to a doc which doesn't exist.

I'm using win10  enterprise ver 1709 (OS Build 16299.551)

My laptop is part of a domain and the domain user i'm using is part of the Hyper-V administrators group.

Any help?

Regards

Ves


Cant add vSwitch on Windows 2019

$
0
0

Hey all,

I've been trying to enable Switch Embedded Teaming on Windows 2019 [Version 10.0.17763.107] using the below command:

New-VMSwitch -Name SETSwitch -NetAdapterName "em1","em2","em3","em4" -EnableEmbeddedTeaming $true -AllowManagementOS $true

The command executes successfully and creates the virtual switch but breaks the NICs.  In device manager they are shown with an exclamation mark and under details show the below error:

"The device cannot start. (Code 19) {Operation Failed} The requested operation was unsuccessful."

I have tried updating the NIC firmware and upgrade/downgrade of driver with no luck.  

I have also tried the exact same process on Windows 2016 on the same hardware and it works perfectly.

The hardware is a Lenovo SR650 and NIC is Intel X722 1GbE.

Any ideas as to what's going wrong?

Thanks,

Mike



Windows 2012 Hyperv-V Dynamic VHD Keeps Expanding - Can I Convert To Fixed VHD?

$
0
0

Hi Everybody, 

We are running Windows 2012 R2 Hyper-V Server, and our main production server VM is running Windows 2012 R2 on a dynamic VHDX on a 700GB partition. This VM has been running successfully for about four years without much trouble. 

A database application was installed last week, and since this has happened, I've seen the hard disk space being reduced day by day until now we are reaching a point where the whole partition will soon be full. Within the VM, the disk usage does not increase, but the VHDX is growing by about 8GBs per day. 

What I think is happening is that there is some process that they are running at night that is copying a huge amount of information and then deleting it, which gives us a sort of white space effect. So I will have to down the server some evening to get back the white space. I'm just wondering if I should use the opportunity to change the disk to Fixed VHDX and if this would help with the problem. 

Any advice appreciated. 

thanks, 

Jonny. 

vNICs degraded - Hyper-V Server 2016

$
0
0

I'm running FreeBSD 11.2-RELEASE-p3 on Hyper-V Server 2016 in a generation 2 VM. The server is recently updated. The administration console, in the tab "Network Functions" informs me that the status of my vNICs is "Degraded (Integration services update required)".
I'm not sure if this is simply because I'm using the latest versions of both freeBSD and Hyper-V.
Does anyone know if there are updates of the integration services for my VM and if there are, how to install them?

I really appreciate your help and experience.

PD. I haven't found any performance problems.

Best regards,
Gabriel

Apply configuration to virtual machine each time it starts up

$
0
0

Hi people! I need your experience.

I have a VM that I need to apply a configuration to in case it restarts. The problem is because HyperV Server 2012 R2 overwrites the configuration of my vNICs and I lose certain configurations.
These are as follows:
Get-VMNetworkAdapter -VMName firewall01 | Where-Object -Property MacAddress -eq "00155D08CD00" | Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList 0-600 -NativeVlanId 0

and another vNIC:

Get-VMNetworkAdapter -VMName firewall01 | Where-Object -Property MacAddress -eq "00155D08CD01" | Set-VMNetworkAdapterVlan -Trunk -AllowedVlanIdList 0-600 -NativeVlanId 0

That's why I'm looking for some way to apply these settings to my VM in case it restarts, otherwise I lose network connectivity. 
If there is a better way to do this, I greatly appreciate your advice.

Thank you very much for your help and experience.

Best regards

Gabriel

Reply from 192.168.0.220: Destination host unreachable

$
0
0

Hello Tech Brains.

I cant reach ma server.

i receive a Reply from 192.168.0.220:Destination host unreachable

please help

Hyper-V 2016 - VM won't start after update

$
0
0

Hello all, 

my enviroment:

  • HOST - Windows Server 2016 - 1607(14393.1944)
  • VM - Windows Server 2016 - 1607(143939.1884)

When I installed an update(I tried KB4051033 and also KB4056890) the VM won't start.

After KB4051033 there is an error Hyper-V-Worker 18602 with description:

'VM1' has encountered a fatal error and a memory dump has been generated.  The guest operating system reported that it failed with the following error code: 0x1E.  If the problem persists, contact Product Support for the guest operating system.  (Virtual machine ID 2B7C25F8-64D2-4251-8CC5-911610DA30F9)

After KB4056890 there was the same issue but know there is BSOD: 0xc000021A.

I've fixed both by: dism ...../cleanup-image /revertPendingActions.

I would like to update the server.



Move Virtual Machine Storage before removing CSV

$
0
0

Windows Server 2016 With Storage Spaces Direct:

I have used Move Virtual Machine Storage to emtpy the first Cluster Virtual disk so that the disk can be removed. After moving all the VMs i have 4 directories left in c:\clusterstorage\volume1:

* Hyper-V (2 files: .\shared\Groups\groupregistry.vmcx and .\shared\snapshot groups\groupregistry.vmcx)

* Snapshots (looks like 1 empty folder for each of the VMs in the cluster)

* UndoLog Configuration (empty)

* Virtual Machines (empty)

Do I have to do some reconfiguration to move these catalogs, or can they be removed?

Windows 10 VM hosed by Windows Update today - "C:\Windows\system32\config\systemprofile\Desktop is unavailable"

$
0
0

is there a way to roll back an automatic Windows update, or otherwise recover this hosed VM?

While I was away from my PC (Win 10 Pro host running Hyper-V), a Windows 10 VM it hosts decided to update itself. The VM had been working fine since it was created last year (with usual automatic updates) until now.

The VM boots to the login screen, then says "This might take some time" and "These updates help protect you in an online world" and "Leave everything to us" hahaha! (plus "Don't turn off your machine"). Some ten minutes later there's a popup:

Popup Title: "Location is not available"   

Popup text: "C:\Windows\system32\config\systemprofile\Desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disk inserted, and then try again ..."

Clicking OK to dismiss the popup gets a black desktop with only a recycle bin. Clicking the Start button does nothing. Task Manager shows no processes, and no users.

Winkey+R lets me run stuff (if it's on the path), internet is OK (ping, git, etc., work) but networking won't do NET USE  (gets system error 1222)

Any ideas for diagnosing/fixing the problem would be greatly appreciated. This VM is my development system; I do have an old VM Checkpoint but will lose my tailored environment if I revert to that. Luckily all source files are in github

thanks

How do I route traffic for private network between two Hyper-V?

$
0
0

I have got two Hyper-V hosts connected by external vSwitch. On one host I have few VMs connected to the private vSwitch and few VMs on the another one as well using private vSwitch. Now I would like to make VMs on both Hyper-V hosts visible to each other. I have deployed two RAS servers.

I have configured RIP protocol on external vSwitch on both VMRouters.

I can ping from VMRouter1 external vSwitch IP and private vSwitch IP on VMRouter2 and vice versa.

I cannot ping from VM2 VM1 as well as private vSwitch IP on VMRouter1.

Current configuration Windows Server 2016:

Hyper-V 1

VM1
Private NIC: 10.0.0.1/24
Gateway: 10.0.0.2
VMRoute1
Private NIC: 10.0.0.2/24
External NIC: 10.10.11.0/24

Hyper-V 2

VMRoute2
Private NIC: 10.0.0.3/24
External NIC: 10.10.11.1/24
VM1
Private NIC: 10.0.0.4/24
Gateway: 10.0.0.3


Hyper-V VLAN questions

$
0
0

Some questions regarding the usage of VLAN-tagging in Hyper-V: 

1. Is there any difference if you set the VLAN-id from Hyper-V Manager or directly on the vNIC inside the guest-os (i.e Windows network adapter)? 

2. Do you need to disable IO-SRV in either for the guest-os and/or Virtual Switch for making VLAN tagging to work? 

3. Are there any architecture documents that specifically describes the Hyper-V network internals more in detail regarding packet flow, tagging/untagging, trunc mode, access mode, hybrid mode, etc?
--


Thanks in advance!

Hyper-V Licencing

$
0
0

Good day,

I've read up on a couple of blogs online regarding server/virtualization licencing but am now even more confused than before I started.

This is what we want to do:

We have a Physical server with the following specs located in a data center which we want to use for Hyper-V:

- Sockets = 2

- Cores = 8

- Logical Processors = 16

The physical server will be loaded with Server 2016 Standard but not the core version as we need to load more roles on it.

We want to load 3 virtual machines also with server 2016 standard in Hyper - V.

If we do it through volume licencing, how many licences do we need to purchase to cover the Hyper-V server as well as the virtual machines?

Is there a post or something that can simplify the MS Licencing as it seems I'm not the only one that this is confusing to..?

Thank you

Viewing all 19461 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>