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

Hyper-V 2016, RAS 2016 - NAT Configuration?

$
0
0

Ok, I have a server running Hyper-V 2016.  It is currently configured with a single NIC (Internet facing) and a single Internal vNIC for the VMs.  For testing and initial deployment, I specified an IP address for the host on the vNIC and configured the VM servers to use that address as a gateway.  I configured a single NetNat for the Internet-facing NIC (multi-IP addresses) with port forwarding to some VM servers and I turned on IPEnableRouter in the host which allows full routing over a non-Microsoft VPN as well as the VMs have full Internet access.  The only barrier I currently have is the host cannot initiate connections outbound to the Internet (internal or over the VPN work great, just not directly over the Internet NIC).  If I remove the NetNat, the host can talk to the Internet just fine but we don't want that due to the NAT requirements.  I did have to have multiple NetNatExternalAddress settings per IP to be able to port forward ports 25, 80, and 443 (don't know if that makes a difference).

So, my next thought was "Install RAS on a VM" because the documentation says "RAS Gateway can be configured via PowerShell to be a NAT router".  Ok, great but... no where is there an ability that I have found to configure the NAT routing capabilities of RAS.  I used Install-RemoteAccess -VPNType RoutingOnly and Get-RemoteAccess shows that is the only active piece.  If I start RRAS Manager, it says

"Legacy mode is disabled on this Server

<id id="IDConfigDesc">Using this UI, you cannot view/modify the Routing and Remote Access server configuration since legacy mode is disabled.</id>

<id id="IDConfigDesc2">Use RemoteAccess PowerShell cmdlets for viewing/modifying the RRAS configuraton."</id>

Ok, but there are no RemoteAccess cmdlets that address RRAS configuraton (sic).

HELP!  I do not want to install a full server (requiring full reinstallation of this server and the VMs) to get RRAS.  If I can get help determining why I can't access the Internet from the host with NetNat enabled, that would be the easiest.  If I have to use RAS on a VM, then I need some guidance on how to configure NAT in this configuration.

So, the desired configuration is:

VMs <-> InternalSwitch <-> Host <-NAT with Port Forwarding to VMs-> InternetNIC (multi-address)

The host needs to be fully conversational with both the VMs, the VPN (which is successfully communicating via the InternetNIC to another site), and other Internet locations (this last part is what is currently failing).  The VMs need to be fully conversational with the host, VPN, and Internet (this is occurring successfully now).<id id="IDConfigDesc2"></id>


Pete


Hyper-v 2012r2 CSV disks best practice

$
0
0

Hi All,

When i bing (google ;-)) i can't find much info about this topic (only pre 2012 hyper-v).

Situation:

We have an 8 node Hyper-v cluster 2012r2, at the moment we have 16 CSV luns of 2 TB each. We have about 600 servers running on this cluster, about 37 VM's per CSV lun, the question is as follows:

What is beter? this situation thus more VM's per LUN or break those 2 TB luns into 1 TB luns and divide the VM's so there will be about 15 VM's per lun but more CSV disks in the cluster?

The underlaying storage is a EMC VNX with a single pool auto tiering enabled.

Another question gets in mind what is the maximum CSV disks in a Hyper-v 2012r2 cluster?

Hope you can help.

Thanks!


Win10 VM exporting to HyperV Server - What am I doing wrong?

$
0
0

Hi,

I’m trying to setup a test lab to compare apples for apples but having troubles with the HyperV lab (lab2).

Imagine two mini lab setups. Each lab has one router connected to the Internet and connected to the router is a server hardware spec and a workstation hardware spec.

Lab 1 is running VMWare solutions.
Lab 2 HyperV.

Lab 1 - server is running ESXi and the workstation Win10 with VMWare Workstation and VMWare vSphere (evals)

On VMWare Workstation I created an Ubuntu VM and then used vConvertor to move the VM onto ESXi and manage with vSphere.

Yay!! No problems so far…

Now on Lab2 I’m trying to do (I thought would be very simple) the same setup.

Lab2 consists of the following

  • Router, connected to the Internet, running DHCP and DNS
  • Server spec hardware for running HyperV Server 2016
  • Workstation spec hardware for running Windows 10 with HyperV features installed

The server was installed with HyperV Server 2016 (ISO 14393.0.160916-1106.RS1_REFRESH_SERVERHYPERCORE_OEM_X64FRE_EN-US.ISO from https://www.microsoft.com/en-gb/evalcenter/evaluate-hyper-v-server-2016)

  • Configured in a WORKGROUP
  • Name of HYPERV
  • IP Address - 10.10.10.10 (255.255.255.0)
  • First DNS – 10.10.10.1   <<-- Address of the router
  • Second DNS – 8.8.8.8
  • Add a user to the local administrators group of workgroup\testadm.
  • Did option 6, downloaded __all__ updates.

Workstation is running Win10 in a the same WORKGROUP

  • IP Address via DHCP is 10.10.10.100
  • Installed HyperV feature
  • Also fully SP’d

At this point on the Windows10 PC I ran HyperV created a network and then added a VM called Ubuntu1

Started up and installed Ubuntu-Server edition. No problems at all.

I then shut the VM down.

On the Windows10 PC in the HyperV manager I then selected connect to a server.
Entered HYPERV using WORKGROUP\testadm with password.

Here’s my first problem (Didn't have this error until reimaging from scratch again due the following problem below). I now get a permissions error and no access allowed.

I followed the guide here (https://technet.microsoft.com/en-us/jj647788(v=ws.11).aspx) but that didn’t solve my issue.

Any ideas?

Now onto the main problem which I had before setting it up from scratch again.

With the fully working (although shutdown) Ubuntu1 VM.  I now want to move from Win10 PC to the HyperV Server.

Obviously I can’t to a live migration, so I did an export of the VM to a local folder on the Win10 PC (C:\exports), this folder is shared to EVERYONE with full access.

Then using HyperV manager on the Win10 PC connected to HYPERV and tried the Import process.

The import process will only show me the local C: drive (on the hyperv server) and it can’t get to the share on the Win10 where I exported.

I can’t copy/move the VM to the server, because HYPERV doesn’t have file services running, and you can’t go to \\HYPERV\$C because that didn’t work either.

What am I doing wrong??

I was hoping to do the same experiment as I did with Lab1 (VMWare) and with the same amount of ease, but having so many problems..   To which I’m convinced is a lack of understanding rather than you can’t do it.

I was really hoping to find a video tutorial on the exact set up as above but no luck.  Found something similar but the server was running Windows 2012 R2 with HyperV feature running, and not just HyperV Server.  Likewise found a tutorial using Windows 2012 R2 core with HyperV but when I followed that for HyperV Server I still get the same problems. 

Argh!!! Help..

I was hoping the evaluation would sway into HyperV’s favour because the lack of driver support for ESXi is a pain. However I can’t even get past first base on the evaluation.

Links to similar tutorials, vidoes, etc would be really useful.

TBH I’m surprised Microsoft haven’t done a video showing how to rollout HyperV server (not Windows Server with/out core and HyperV) in a similar lab scenario to the above.

Hyper-V Server 2012 R2 creating virtual machine hangs at creating disk.

$
0
0

When I try to create a virtual machine on any of my hyper-v hypervisors, creating disk process continues indefinitely. I see a 4 MB vhdx drive in the Virtual Hard Disks folder on my clustered storage location.  I also notice a 41 KB XML file and a folder with the GUID name in my Virtual Machines folder.  I have turned off anti-virus and applied the appropriate permissions to the storage location. The disk is only 20 GB and is a dynamically expanding disk so it should take no time to create. I have no idea why this won't work. I can create a virtual machine without issue the same way when using my local machine. When I try to create a fixed disk the disk gets created in the Virtual Hard Disks folder with the proper size of 20 G but the process continues indefinitely, cancelling the process yields the following error: Hyper-v encountered an error trying to access and object on computer "server-name" because the object was not found.

Any help would be greatly appreciated. 

Thanks,

Brian

Issue is in VM Replication

$
0
0

Hi,

I am trying to enable replication but I m getting below error in event viewer & replication is not being start. 

OVL-FS' cannot create the storage required for the checkpoint using disk C:\ClusterStorage\HV-FS1-16\HV-FS1-16.vhdx: General access denied error (0x80070005). (Virtual machine ID 05601495-0C92-42F4-BB80-9FF14DC0EB58)

I am having windows 2012 R2 for both source & destination server. I have shutdown the source machine & then try to start replication but still same issue. 




Kindly help to resolve the same.

Regards,

Pradeep Kumar

During a UPS shutdown/startup, will Hyper-V gracefully handle all my VM servers assuming I've setup the shutdown/startup settings in Hyper-V?

$
0
0

Hello,

Windows Server 2012 R2 w/GUI

I am trying to finalize the setup of my first server system.  It is connected to a UPS that will issue a shutdown via USB if the AC Power fails.  At present I only have the host system setup, but will be adding the VM servers shortly.

I just wanted to confirm Hyper-V will keep the OS running while it shuts down the VM servers and also find out if there's anything else special I need to look out for.  The server auto-starts when AC is restored, and I am assuming Hyper-V will handle the startup processes gracefully as well.

Thanks.

creating an external virtual switch

$
0
0

Hello, i am unable to create an external virtual switch. I have attempted to create one through the virtual switch manager and through powershell but i am still unsuccessful.

When ever i create a internal or private virtual switch they both say load failed.

Please? Disk Drives for Test VMs on Workstation

$
0
0

Host OS:
Windows Server 2012 R2

Guest VMs in Learning/Practice Active Directory Domain

  1. 4 - 6 Windows Server 2012 R2 servers, 2 of which function as domain controllers, one that I use as Routing/NAT server that acts as default gateway to the Internet, and the others run various other roles.
  2. 2 - 3 Windows clients (Windows 7, Windows 8.1, Windows 10).

Motherboard:
AMD Phenom II X4 965 Black Edition Deneb 3.4GHz Socket AM3 125W Quad-Core Processor

Memory:
G.SKILL Ripjaws Series 16GB (4 x 4GB) 240-Pin DDR3 (PC3 10666) - I've reached memory limit of motherboard with 16GB.

My motherboard has 5 integrated SATA 3 (6Gbps) integrated ports on board.

Optical Device is attached to a Sil Silicon Image 3114 SATA RAID in a PCI slot.

Open slots are PCIe Version 2 x16, x4, and an x2.

My goal is to obtain the best possible performance while running all of the VMs described above simultaneously.

QUESTIONS:

  1. How many VMs should I place on a single SATA 3 (6Gbps) hard disk drive? My research thus far tells me to put each of the domain controllers on a separate disk and each of the Windows clients on a separate disk. Your thoughts or recommendations?
  2. Should I even consider placing a VM on a SATA 2 (300Gbps) hard disk drive or replace those hard disks with SATA 3 drives?
  3. I'm considering adding a 4-Port SATA 6Gbps controller card (PCIe x16) to the system. This would allow me to place each (or almost each) of the VMs on its own disk. Would this result in a noticeable difference compared to running 2 server VMs on the same disk?
  4. I assume that an external USB 3 disk would crawl. Correct or not?
  5. Are there any specific considerations that I should be aware of before running Server 2016 on a VM?

I hope I've provided sufficient information to allow you to understand my environment and my questions. I realize this is a hardware-related question but I thought who better to ask than those that work with Hyper-V.

Thanks,

John /configt



John


Win Server 2012 R2 Hyper-V UEFI boot from WDS failed. (Integrated mode only).

$
0
0

Hi, here is what's going on: Gen 2 UEFI boot works fine only in Standalone mode. But in AD integrated mode - PXE only. Any ideas? There's my settings and boot screen below:

Boot Screen


Vadim

Server 2016 Hyper-V Replica with VHDS

$
0
0

In Windows Server 2016 by using the new VHDS (sets) format of disk you are supposed to be able to use Hyper-V replica. However I can't get this to work. Has anyone got this working?

Shared diskHyper-V Replication not working

Sleep/Hibernate on virtual machines

$
0
0

Hi,

I know that the sleep/hibernate is disabled on the host if Hyper-V is installed and we need to remove Hyper-V in order to re-activate it, but what about the Virtual Machines that are running inside Hyper-V? Why can't I enable it and make some test?

I installed a Windows 10 Home on a virtual machine running on Windows Server 2012 but I'm not able to find any option to put it to sleep or hibernate it.

Thank you in advance :)

Deploying more than 2 VM with extra license on 2012 R2 STD Hyper-V

$
0
0

Hi Team,

We have one Hyper-V running on 2012 R2 STD edition and already two windows guests are installed on it. Now the requirement is to deploy one more additional VM on the same Hyper-V. I understand, by default, we can install two windows VM as bundled with Hyper-V std licensing but is their any provision, where we can buy separate license for third windows guest VM on 2012 R2 STD Hyper-V ?

Thanks,

How to convert type dynamic disk to fixed disk hyper-v 2016

$
0
0

Dear  MS technical
I have a VM running exchange 2016. Virtual disk .vhdx type dynamics disk
So size volumes VM grow up large than volumes host physical space 
Please help me how to convert type from dynamic=> fixed disk

Or method expand monitoring disk .vhdx

Please help me

Thanks

Replication Stopped Itself

$
0
0

I have enabled replication from Cluster to two standalone server. There are five machine which are replicating it's happening randomly replication stopped on machine and in next morning replication status shows critical and warning which is dangerous.

I have check HYPER-V logs on source (Hpyer-V Cluster) and found following Events id.Logs are attached in detailed in My One Drive at below link

https://crescentpk-my.sharepoint.com/personal/osama_mansoor_crescent_com_pk/_layouts/15/guestaccess.aspx?folderid=1289cc672be1c42ce897b1de31ec03fab&authkey=AVtksULkOyQyub6BxaV9k6c


Source Server :

Event ID's are 32571 , 32315 , 32552 , 32022

Replica Server :

Event ID'd are 29292

I have check network logs and found nothing which may cause machine stopped to replicate.

Please help

 

Installing Hyper-V role fails on Windows Server 2012 R2

$
0
0

Hi,

I am trying to install the Hyper-V role on our company's server (with Windows 2012 R2 installed with Standard license).

But for some reason after the progress bar has reached the end - and it does its required restart then after it starts up again, it says that it was unable to install it and then rolls back.

When I checked the Event Viewer logs then I saw an error such as this:

"Update Microsoft-Hyper-V-Offline of package Microsoft-Hyper-V-ServerEdition-Package failed to be turned on. Status: 0x800f0922.

I feel like I should add to this that we have been failing some Windows Updates in a similar way, it restarts and then rolls back. I don't know if those can be connected somehow.. But it feels to me like there could be a connection, perhaps?
I tried installing it through the Graphical interface the first time and then saw that somebody suggested trying to install it through PowerShell, but unfortunately that made no difference.

Also, the server has other roles and services running as well - we are trying to run only one Virtual machine on top of all that. I tested a similar setup on a random desktop computer and I had no problems getting the Hyper-V role installed. The one that I tested didn't have as many features installed, but I tried to make the conditions similar.

Kind regards,

Rauno S.


Windows 2016 or Windows 10 Hyper-v Manager tools issue

$
0
0

windows 2016 and win10 hyper-v manager tools , in domin environment use CredSSP to connect to a remote Hyper-V host, you can do a live migration without enabling constrained delegation in Active Directory , is work ? I try not work =.=


LACP negotiation fails on teamed adapter when creating a vSwitch

$
0
0

Situation

2012r2 Server with Hyper-V Role enabled
Intel Pro/1000MT Server Adapter (2x 2 Ports)
Uplink to Netgear GS724t switch

Succesfully configured Team Adapter (windows) with LACP.

Problem:

When I create a vswitch, my team adapter goes down (LACP negotiation failed).

When I delete my vswitch the team adapter comes back online.

I noticed the MAC address of the  TeamAdapter is the same as the vnic, is this normal behavior? 
This MAC address is not present in my MAC address range.


Wifi not working after Enabling Hyper-V

$
0
0

Hi,

I have Windows 10 and I want to enable Hyper-V on my computer to do a virtualization.

I know that I need to see in the bios that I need to enable the Virtualization service, so I enabled.

But now when I am going to the "Turn windows features on or off" and Enabling the "Hyper-V Management Tools" with "Hyper-V Platform" together, the I can't find any wifi network around, and if I am enabling only "Hyper-V Management Tools", si the Wifi is working...

What can I do? :(

Hyper-V 2016, RAS 2016 - NAT Configuration?

$
0
0

Ok, I have a server running Hyper-V 2016.  It is currently configured with a single NIC (Internet facing) and a single Internal vNIC for the VMs.  For testing and initial deployment, I specified an IP address for the host on the vNIC and configured the VM servers to use that address as a gateway.  I configured a single NetNat for the Internet-facing NIC (multi-IP addresses) with port forwarding to some VM servers and I turned on IPEnableRouter in the host which allows full routing over a non-Microsoft VPN as well as the VMs have full Internet access.  The only barrier I currently have is the host cannot initiate connections outbound to the Internet (internal or over the VPN work great, just not directly over the Internet NIC).  If I remove the NetNat, the host can talk to the Internet just fine but we don't want that due to the NAT requirements.  I did have to have multiple NetNatExternalAddress settings per IP to be able to port forward ports 25, 80, and 443 (don't know if that makes a difference).

So, my next thought was "Install RAS on a VM" because the documentation says "RAS Gateway can be configured via PowerShell to be a NAT router".  Ok, great but... no where is there an ability that I have found to configure the NAT routing capabilities of RAS.  I used Install-RemoteAccess -VPNType RoutingOnly and Get-RemoteAccess shows that is the only active piece.  If I start RRAS Manager, it says

"Legacy mode is disabled on this Server

<id id="IDConfigDesc">Using this UI, you cannot view/modify the Routing and Remote Access server configuration since legacy mode is disabled.</id>

<id id="IDConfigDesc2">Use RemoteAccess PowerShell cmdlets for viewing/modifying the RRAS configuraton."</id>

Ok, but there are no RemoteAccess cmdlets that address RRAS configuraton (sic).

HELP!  I do not want to install a full server (requiring full reinstallation of this server and the VMs) to get RRAS.  If I can get help determining why I can't access the Internet from the host with NetNat enabled, that would be the easiest.  If I have to use RAS on a VM, then I need some guidance on how to configure NAT in this configuration.

So, the desired configuration is:

VMs <-> InternalSwitch <-> Host <-NAT with Port Forwarding to VMs-> InternetNIC (multi-address)

The host needs to be fully conversational with both the VMs, the VPN (which is successfully communicating via the InternetNIC to another site), and other Internet locations (this last part is what is currently failing).  The VMs need to be fully conversational with the host, VPN, and Internet (this is occurring successfully now).<id id="IDConfigDesc2"></id>


Pete

Hyper-V - TPM - VM does not start anymore after update KB3206632

$
0
0

After hours of searching update KB320663 causes my windows 10 1607 Hyper-V to not start anymore.  The issue is the VM's were using TPM.  The error I was getting was "The virtual machine 'xxxyyy' can't start because the host's Isolated User Mode is off.".

The only thing I want to point out is my machine is a windows pro version that was upgraded to windows enterprise via product key.  I noted that after upgrading I do not see the windows feature as many posts show to enabled a feature for "Isolated User Mode".  Not sure if this would have corrected the issue or not. 


William Lee

Viewing all 19461 articles
Browse latest View live




Latest Images