Hyper-V

Hyper-V is a native hypervisor; it can create virtual machines on x86-64 systems and supersedes Windows Virtual PC as the hardware virtualization component of the client editions of Windows NT. A server computer running Hyper-V can be configured to expose individual virtual machines to one or more networks. Hyper-V Server supports remote access via Remote Desktop Connection. Administration and configuration of the host OS and the guest virtual machines is generally done over the network.

Share tech news, updates, or what's on your mind.

Sign up to Post

Need some advice on how to do a license calculations for Hyper V Cluster environments? Thanks.
0
OWASP: Forgery and Phishing
LVL 13
OWASP: Forgery and Phishing

Learn the techniques to avoid forgery and phishing attacks and the types of attacks an application or network may face.

I'm setting up Windows Server 2016 Standard.
My objective is to have 2 VMs that are connected into their own subnet for a testbed.
I've read about the internal switches, etc. but don't see how to make a physical connection to each of the subnets AND be independent.
(Perhaps the testbed objectives are a bit different than a typical production network).
I am imagining adding a couple of NICs so there will be:
A NIC for the Hyper-V manager.
A NIC for each of the subnets.

A nudge in the right direction would help a lot!
0
Hi, we have recently created a Hyper-V server but after a few days of use we can no longer take backups. If we restart the VM the checkpoint still fail but if we restart the host they begin to work again. Is there a way of releasing whatever process is using the file so we can take checkpoints for backup again? I've attached a screenshot of the error.

Is there an easy way to find out what process is using the avhdx checkpoint file and can this be deleted to allow the checkpoint process to run. Also the VM does not show it has any checkpoints in the HyperV manager so assume these are created as part of a backup process.
HyperVCheckpointError.png
0
Hi

Just deployed a Hyper-V 2019 host with a Win 7 guest VM (both fully patched to date).
I am having issues accessing a file share on the host from the guest machine - I can ping the host, "see" the file share but no matter what I can't seem to authenticate to the host.
No obvious error - I just get a credentials prompt that will not succeed. Nothing relevant in Event Viewer.  I can access said share from Win10 clients on the network (unfortunately I don't have any Win7 machines around anymore).

Any idea / pointer most welcome
0
Last year we did a few things starting with: https://www.experts-exchange.com/questions/29064169/Introducing-Windows-Server.html
Next, one of the Experts engaged in a planning task for us that was tailored to our particular situation; the result was an outline of an approach that makes sense to *me* and I'll be revisiting that soon.
Next, I set up a test lab with Windows Server 2016 Hyper-V VMs.  Not that I *plan* to have two servers per site but that I *anticipate* the possibility.
That's going to be revved up now and I'll probably configure a 2-subnet arrangement with a DC out of the 2 VMs on each.  That will do a pretty good job of emulating the real environment.
(I'm a rather great believer in partitioning machine roles and in keeping things simple to understand as much as is possible).

Some had asked what we are trying to accomplish:
- We aren't trying to implement file serving up front because we already have a pretty good system set up for that and it's not the focus.  BUT, I'm willing to consider it.  And that's the purpose of THIS question.
- We need to provide User and Access controls - that's the focus.  And, I'm hoping to grease the skids for things like SIEM that we now do sans-server.  Keeping individual machines "connected" either passively or with agents still proves to be challenging.  There are always a handful of machines that don't respond - even after ALL the machines have been made responsive.  I suspect Windows updates more than anything has …
0
Hi,

we use veeam for our backup solution in the datacenter. We backup our Hyper-v hosts to a veeam backup and replication server. This server is located in the same datacenter. After this backup we use cloud connect to send the data to another location.

Last week someone told me that the cloud connect solution is not so good as if the original backup i take is corrupt then the cloud connect copy is also corrupt.

He told me that we need to setup a second backup and replication server and then take a second backup with that server.

when i told veeam about this they told me to use the sure backup option. we have the enterprise license and this is included they told.

what are your ideas over this? What to do to make sure we take correct backups.
0
hello
i have server with 2 nic that is connected to to netgear switch
the ports on switch is taged with multi vlan id
i have a pfsense on vm named fw
fw vm have 6virtual nic ... 5 connected to nic1 with defernet vlan identfy and its work fine with pfsese
the 6 virtual lan card connect to second nic and i have multi vlan setup on pfsense was on ita but its not working
how i can make trunk this virtual nic ?
thanks.
0
We've got this freshly installed domain controller on Windows Server 2019 (a Hyper-V guest) which is behaving oddly. The network is seen as "private" rather than "domain", and the warning sign over the tray icon claims there's no internet connection. (There is!)

We've tried delaying the NLA service, but that was no cure.

Other domain members as well as the Hyper-V host (a Windows Server 2019 itself) are perfectly fine.

What can we do?
0
Hello experts,

I have a 2 node Hyper-V 2012 Cluster using CSV that's been working fine for years.  Suddenly today, I'm unable to live migrate from node A to node B.  I can however, live migrate from node B to node A.  

On node A I see the following events for each guest VM when attempting a live migration:

Live migration of 'Virtual Machine machinerunningonNodeA' failed.

Virtual machine migration operation for 'machinerunningonNodeA' failed at migration destination 'Node B'. (Virtual machine ID 6F6C2D2D-97B6-4669-86D0-A72BB87E968A)

'machinerunningonNodeA' Failed to create Planned Virtual Machine at migration destination: General access denied error (0x80070005). (Virtual machine ID 6F6C2D2D-97B6-4669-86D0-A72BB87E968A)


Here's what I've tried to solve my issue:

-Validated Cluster
-Removed the guest VM role from the cluster and re-added it.
-Rebooted both nodes
-Tried to quick migrate from node A to node B.  It fails.
-Tried shutting down guest VMs and moving them to node B.  When I do that I can not start them on node B.  I get the following immediately upon moving:

Cluster resource 'Virtual Machine Configuration xxxxxx' of type 'Virtual Machine Configuration' in clustered role 'xxxxxx' failed. The error code was '0xb7' ('Cannot create a file when that file already exists.').

AND

'Virtual Machine Configuration xxxxxx' failed to register the virtual machine with the virtual machine management service.

Anyone got any ideas on how to …
0
I have a fileserver running Server 2012R2. It is a guest OS on a Hyper-V cluster running Server 2012, and has a static IP. I have had a number of users lately who have complained of this odd phenomenon, which is inconsistent on a momentary per-user basis- if they are on a share on the server, and they go back a level, their computer will report the server as inaccessible. and a second later clicking Refresh it is accessible(!). I tried a reboot and that did not fix it. Nothing in the event logs. It doesn't affect all users at the same time, though it has impacted general Domain Users, Domain admins, enterprise admins (Including me, so I know it is real) and it generally happens over a wired connection, though I have seen it over wireless as well. we have other servers, including fileservers on this cluster, and this is the only one we encounter this problem with. The problem is reported during the day, but that might just mean that no one is trying to access the resources at night, which is entirely possible. I have not had any complaints about this happening over VPN, but also can't say if that is a factor since we have an incredibly small group of VPN users who would even try to access this resource. Most users are using Windows 10 but threr could be some using Windows 7. All users are running x64 OS. Any ideas?
Thanks!
0
Why Diversity in Tech Matters
LVL 13
Why Diversity in Tech Matters

Kesha Williams, certified professional and software developer, explores the imbalance of diversity in the world of technology -- especially when it comes to hiring women. She showcases ways she's making a difference through the Colors of STEM program.

Hi Expert,

I have created a new DC in Hyper V (On physical server Windows 10), I wanted it to join my existing domain but unable to join getting "The server is not operational" My my DC is working fine, it's on the same network and same subnet, using the same default switches on Hyper-V. My DC DNS server is not static IP though. I am able to ping my main DC, my domain is a .com though. Any places should I check on? Appreciate if any expert can assist me on.

Thanks!
0
I have Hyper-V VM with 64GB ram and have 3 VMs. One VM is terminal server with 32GB RAM 2012 R2 and around 18 clients connect to it daily but after few days the CPU goes over 95% and memory goes over 98% mostly due to chrome and outlook(32-bit) applications and server gets all resources used and the clients experience very to very slow performance. How to resolve this issue? Then need to reboot the server every 5 days or so and again the process repeats.
0
Microsoft Data Protection Manager loses the disk (disk becomes RAW)

After New Installation and several days of backups, the DPM loses one of the disks with backed-up data. Disk becomes RAW, with all data lost. Configured hardware RAID-10, disks are 7200 rpm, 8TB capacity. What could be the issue?
0
Hi,

 I am looking for a SMART UPS for the new tower file server like "PowerEdge T340 Tower Server or HP Proliant ML350 Gen10" . Traditionally I buy APC SMART-UPS 1500 LCD (Part# SMT1500C) for servers, but I am open to other brands as long as it has excellent Hyper-V management software that shuts down and restarts virtual machines during power outage.
 I will be connecting a file server & monitor to this UPS. For switches and other network devices, I am going to use another battery backup UPS (no management software).
 Can you recommend?

 Thanks in advance.
0
Hi All,

I'm in a plan to carry out a health check for Hyper-v environment, any tools or method to do this?

Would like to seek for advice, thanks in advanced.
0
So, we put in two brand new host servers with Hyper-V and performance is crap.  Microsoft and HP are both taking their time figuring this out.
I was thinking about moving the vm files back to the old host which are Windows Server 2016 and NOT 2019.  However, the very first thing those geniuses at Microsoft did was upgrade the configuration versions on all my vms.  Brilliant!  And, I am on the 12-24 hour callback now and production is almost stopped.  So glad I paid for that extra "Premier" support!

I was thinking about maybe creating new vms on my old servers (i.e. old configuration version) and then just copying the .vhdx to the old server and manually attaching them.  Does anyone have any experience with this or ever tried it?  I am not sure if it changes anything in the vhdx file itself when it does the upgrade or not.
0
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the UmRdpService service.
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the ScDeviceEnum service.
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the WPDBusEnum service.
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the SysMain service.
A timeout (30000 milliseconds) was reached while waiting for a transaction response from the NcbService service.

This events occur on Windows 2012 R2 servers with Remote Desktop Session Host role installed. Servers are Virtual machines on Hyper-V.

Users are not able to log off from the servers when these errors occur. It is not possible to force the log off either. Users session is stuck until we pull the "Power plug" on the VM.

Following have been tried:

- Moving VM to another host.
- Patching VM with all the latest Windows Updates available.
- Patching Hyper-V Host with all the latest Windows Updates available.
- Removing Anti virus software from VM.
- Problem started in early February.
- It does not seem to be caused by a Windows update since we see it on servers that are not updated since last year as well.
0
Morning All,

to set the scene i have a client that has 2 physical servers running server 2012 OS which boot from a MSA. There are a number of VM that are running across both nodes but neither node can support all the VMs that are running in the environment.

i know you can setup priority on each VM for the start up on each node.

If i lost a node and the machines were to failover to the other node is there a way to prioritize which machines stay online and which machines would shutdown on the active node to allow higher priory machines to be active?
0
Hi Guys,

I just wanted to know something, we're going to be deploying HP Proliant servers at our remote sites which will hosts VMs like a DC and SCCM DP.

I will have NIC 1 and NIC 2 in a 'HOSTNIC' team for management but then i'd like to utilize NIC 3 and NIC 4 for the 'Hyper-V Virtual Switch'.

How would I configure the Team for NIC 3 and NIC 4? The remote site only has one VLAN configured. I will have the 'HOSTNIC' Team configured in a LACP, Dynamic Load Balancing.
0
CEOs need to know what they should worry about
CEOs need to know what they should worry about

Nearly every week during the past few years has featured a headline about the latest data breach, malware attack, ransomware demand, or unrecoverable corporate data loss. Those stories are frequently followed by news that the CEOs at those companies were forced to resign.

I have setup a Windows Server 2016 with Hyper V. I have created two vm's. Everything appears to be alright with the setup, however the vm's do not receive the network speed of the host machine. They are only receiving a percentage. What would be the cause of this awful situation?
0
Hi Experts

I got Hyper-V 2012 server running and there are 2 VMs in it.

One of the VMs got Exchange database and the VHD size of the VM is allocated for 3TB(not dynamic) but actual content (DB size) is about 1.2TB.

I need to do some maintenance and I would like to take snapshot before doing maintenance.
When I check the free space in host, it is about 0.9TB out of 5TB (total 5TB)

The question is how can we calculate the snapshot size of the VM once I create checkpoint (snapshot) of the VM? How do we know how much space it will take up in host machine?

The reason is when I create checkpoint of the VM above, I worry the drive of the host machine will be fully used up.

Please advise.
1
I have a Hyper-V 2012 R2 server that is showing high disk activity in Task Manager. I don't know what is causing this high activity and would like to use something like Resource Monitor (resmon.exe) to watch the system. Unfortunately Hyper-V server doesn't have this utility. I wonder if anyone has a recommendation for a tool or method they have used to monitor what a Hyper-V server is busy doing, especially as it relates to disk activity.
0
Hello,

I am running Debian 9 on Server 2012 R2 Hyper-V. The scnario is that I have 2 physical servers each with a Debian virtual machine.

A) Setup Hyper-v for mirroring

1) The goal is to capture packets so Hyper-v on both is set in monitoring mode.

2) Once the "Destination" settings under the virtual machine network adapter for mirroring is set in the Hyper-v configuration.
I immediately notice that the physical network interface on the server (for the Hyper-v virtual switch) starts increasing rapidly say 70 Mb/s ON BOTH Servers...
 this is good it means that the Hyper-v settings are sane (and of course the Network Configuration on the switch is perfect).

B) Setup Debian for promiscuous mode

1) Here I use:

allow-hotplug eth1
               iface eth1 inet manual
               up ifconfig eth1 promisc up
              down ifconfig eth1 promisc down

Open in new window


and verify with ifconfig as shown below

Debian VM1 on Server1
eth1: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        ether 00:15:5d:15:16:17  txqueuelen 1000  (Ethernet)
        RX packets 5090918  bytes 3090553169 (2.8 GiB)
        RX errors 0  dropped 6  overruns 0  frame 0
        TX packets 89  bytes 7638 (7.4 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

Debian VM2 on Server2
eth1: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST>  mtu 1500
        ether 00:15:5d:15:16:17  txqueuelen 1000  (Ethernet)
        RX packets 42094  

Open in new window

0
When moving VM's from a 2012r2 Hyper-V server to 2016 Hyper-V network communications are lost.
Have tried resetting the network stack, removing the virtual NIC-rebooting and adding a new NIC but still unable to communicate.
We are able to ping other systems on the virtual switch but nothing else.
If we spin up a new system on the 2016 server it is able to communicate locally and externally (only systems that are moved from 2012r2 are affected).
If the VM is moved back to 2012r2 network communications are restored.
Have moved two VM's one Windows 7 Pro and one Windows 2012r2 Server (Both have the same symptoms outline above).
0
I have a Server 2016 and Server 2019, my 2016 is hosting MS 2019 VM's.

I have replication setup from my 2016 Server to 2019

I have 3 vm's replicating, one is a linux box (no issues with replication). 1 is 2019 AD, replication failing after initial replication. 2nd is 2019 SQL Pastel Evolution, replication failing after initial replication.

I cant seem to fix the replication issues.

Any assistance will be appreciated.
0

Hyper-V

Hyper-V is a native hypervisor; it can create virtual machines on x86-64 systems and supersedes Windows Virtual PC as the hardware virtualization component of the client editions of Windows NT. A server computer running Hyper-V can be configured to expose individual virtual machines to one or more networks. Hyper-V Server supports remote access via Remote Desktop Connection. Administration and configuration of the host OS and the guest virtual machines is generally done over the network.