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

Node Restarts and all the VMS in cluster role re-register themselves

$
0
0

Dear All,

I am facing a strange issue,whenever i restart Node3 from my hyper-v Cluster environment, All the VMS tries to re-registrer again even though those vms are not running on Node3. It also re-register the VMS on node 1 and Node2

Below is the Environment details:

Hardware- HPE Syenergy Blade

3 Node 2012 R2 Hyper V node Cluster

Having Issues only with one of the hyper- V node, other 2 nodes works fine as expected

Already tried Removing and readding the Node in cluster

Checked the Windows Patches and other respurces on all 3 Nodes,everything looks similar


Hyper-v replica

$
0
0
Hello,
2 hyper-v 2016 hosts.
Client wants me to set up replica between hosts.
Can I enable both hosts as replica server and than configure guest VMs on both hosts for replica
or just one host can be  replica(DR) server and other primary?

In this example one server is replica server and other primary
https://nedimmehic.org/2017/01/29/hyper-v-2016-replication/

Mouse and keyboard stop working on host OS after adding Hyper-V role

$
0
0

After adding the Hyper-V role, on the required reboot, the mouse (USB) and keyboard (PS/2) stop working and I can't get past the lock screen. The optical sensor in the mouse (USB) do not light up and the Num Lock and other lights do not light up on the keyboard, even when the keys are pressed.

I can access the system with remote desktop.

When I try to plug in a USB drive, on the Remote Desktop, it says "drive not initialized" even though it worked prior to adding the Hyper-V role.

SVM is turned on in the BIOS

The system works fine prior to this.

I have tried a full reboot, including turning off the the power switch for 20 seconds. Also, a full windows reinstall.

System Specs:

Windows Server 2016 Datacenter

AMD Ryzen 1700

ASROCK x370 Killer SLI/AC

Windows 2016 Integration Services

$
0
0
Hi,

I've migrated a Windows 2008 R2 and Windows 2012 R2 servers to my Windows 2016 Data Center Host server. 
I'm currently having some challenges updating IS on this 2 servers even after I patch them and both of them are already version 6.3.9600.18907.

Appreciate any help on this one.

Thanks,

Hyperv Replication with Certificate

$
0
0
Friends,
good evening.

I am trying to set up hyperv replication with certificate (SelfSignedCertificate) following the procedures I found, however when I import the certificate into (root) it says it is expired or is invalid.

I generated the certificate on a computer with (Windows 10) and am trying to install it on a server (Windows 2012).

New-SelfSignedCertificate -Type "Custom" -KeyExportPolicy "Exportable" -Subject "HYPERVDEMO" -CertStoreLocation "Cert: \ LocalMachine \ My" -KeySpec "Signature" -KeyUsage "CertSign"

what am I doing wrong?


Thank you.

Hyper-v replica - sql support

$
0
0
 Hello,

is it supported to put SQL server on hyper-v replica

I know that Exchange does not support the Hyper-V Replica feature,

but for SQL I have not found clear answer.
Thank you

Using New-VHD to create differencing disk based on AVHDX parent disk

$
0
0

Hi, I am trying to create a differencing VHDX disk based on a snapshot AVHDX disk.

The PowerShell command I am using is as follows:

New-VHD -Path abc.vhdx -ParentPath d:\vm\fs00\fs00_6ccd6d16-98d2-498f-94eb-1335ab0b1558.avhdx -Differencing

which unfortunately fails saying the AVHDX extension on the parent disk is not allowed:

The file extension for 'd:\vm\fs00\fs00_6ccd6d16-98d2-498f-94eb-1335ab0b1558.avhdx' is invalid.
Virtual hard disk for this operation must have a .vhd or .vhdx 
extension.+ CategoryInfo          : InvalidArgument: (:) [New-VHD], VirtualizationException+ FullyQualifiedErrorId : InvalidParameter,Microsoft.Vhd.PowerShell.Cmdlets.NewVhd

Preliminary research indicates that differencing disk can be based on other differencing disk, and also that AVHDX files are indeed differencing disks. Indeed, repeating the command after renaming the extension of the parent disk file from .AVHDX to .VHDX works!

Is this a bug in the New-VHD cmdlet? Or is using an AVHDX file as the parent of a differencing disk not supported for some reason?

Also would you have any suggestion for how I can workaround the bug? Renaming the AVHDX would be problematic.

Thanks for any help.

Moving VMs from one HV server to another

$
0
0

A. Windows 2012R2 HV Stand Alone Host. 

B. Windows 2016 HV Stand Alone Host.

Server A and server B are in the same subnet.

Would like to move existing VMs from HV Host A to HV Host B.  A and B servers are stand alone (workgroup), not joined, therefore Migrations do not appear possible. 

I would like recommendation on possible options listed below, or any better option I may not be considering:

  1. Replication seems possible:
    1. Involves certificate configurations.
    2. Not sure about using this to move the VMs is the best idea, as it's primarily for failover. 
  2. Shut down VMs on server A and Robocopy-ing the VHDX files from server A to server B:
    1. At least one VHDX file is over a TB; may take a long time to copy and will be a lot of downtime.
    2. Unsure of any issues this method may present.  Have seen vhd permissions issues with HV, that while aren't insurmountable, I'd rather avoid.
  3. Create new VHDX on server B using the "copy contents of the specified virtual disk" method using UNC path to VHDX files on server A:
    1. Can this method work? 
    2. Must the VM of the VHDX files being copied be shutdown, or can the VM for the VHDX files being copied remain online/running?

If option 3 can work, this may avoid HV permission problems that can occur when copying in VHD(x) files, and if HV can create a VHDX based on another VHDX via UNC while the VHDX being copied is online/running, this would be ideal.  It seems possible that it can copy an online VHDX (via VSS), but I wouldn't be surprised that the VHDX file must be offline for option 3 to work at all.  As long as option 3 is similar to option 2 (robocopy), with no risk to the original VHDX on server A or permission issues, then I would prefer option 3.

Option 1 (replication) may seem the best in terms of uptime (VMs on server A can remain online).  However, we won't be "failing back" to server A.  So we'd be setting up replication for a different purpose than it was intended. 

As I haven't used replication previously, i'm unsure of the consequences of using it for a one-way move.  However, if going one-way isn't a big deal, then it may be worth configuring this option.

Finally, I do not think there will be any issues with running the VHDX VM that were on a W2012R2 HV server, on a W2016 HV server, but please let me know if there are any.

Please advise.

Thank you in advance.


Home Lab With RRAS (NAT and LAN Routing)

$
0
0

Dear All Experts,

Can someone advice how should I achieve the following objectives for my home lab. See setup diagram:https://drive.google.com/open?id=17ssUcXqJ9ZJwe0w8pYHaYcW1F8kUNybQ

 

The purpose of such setup in my home lab is because I trying to create a server farm that would be become my psedo "Production" environment that I will then replicate to the cloud using Azure Site Recover (ASR).

At the current setup stage, the objective I would try to reached is (1)  to enable to all the nested VMs, including the VM1 and VM2 to have internet access; (2) bidirectional Ping communication - the nested VMs in VM1 able to ping VM2 and vice versa (i.e. VM2 able to ping the nested VMs)

In my RRAS configuration, I enable both NAT and LAN Routing under "Custom Configuration". This allow me to achieve the objective (1) which is all the nested VMs have internet access; at the same time, part of the objective (2) which is the nested VMs able to ping the VM2 and the External Virtual Switch in VM1. However, the VM2 is unable to ping the nested VMs.

If I would to remove the NAT, objective (2) immediately achieved. However, the nested VMs would lost the internet connection.

Really appreciate if someone could advise me on this. Thanks in advance.


Hyper-V Server 2016 (free core) working system disk spontaneously converts from GPT to MBR and entire disk becomes unallcoated

$
0
0
I have been attempting to install the free Hyper-V Server 2016 onto a 128GB ADATA SP600 SSD in a system with a Gigabyte workstation MOBO (model ga-z270x-ud3) and BIOS set to UEFI with no CSM (compatibility support module). All disks, including the install media are formatted to GPT and UEFI boot. The install completes perfectly, Hyper-V boots up, works great for several reboots/power cycles, and both Diskpart and PowerShell confirm the disk to be GPT. However, eventually, within the range of 1 to 4 reboots/power-cycles, Hyper-V will no longer boot. The BIOS gives the error that no bootable media was found. Upon inspection of the disk with 3 different rescue disks/live OSes, diskpart, and PowerShell, all agree that the disk is now MBR and report the entire drive to be unallocated space. I am able to recover the partitions using TestDisk to the point that the BIOS can find the Windows Boot Manager, but can not get past the Boot Manager. Regardless, the root problem remains. I have duplicated this at least 10 times. The BIOS is updated to the latest firmware. There is nothing wrong with the SSD, I have run many tests on it and the exact same system setup works perfectly without this issue occurring when Windows 10 instead is installed on the SSD. So I don't see any factor remaining other than Hyper-V. Has anyone else seen a similar issue? Could this be a driver problem? Being that the MOBO is intended for workstations, obtaining and applying drivers is difficult. I just can't wrap my head around how Hyper-V could be corrupting the partition table simply from rebooting. Any help would be greatly appreciated as I am out of any actionable ideas. Thanks.

Anyone have a chance to restore .vmdk files to Hyper V

$
0
0

Hi guys

            Any workaround to restore VM files .vmdk to HyperV

Thanks!


Moving VM's from Hyper-V Win10 V8.2 to WIN2016 having problems

$
0
0

We have the problem, that some of our development machines use a WIN10 (1803) Hyper-V situation to run VM's.
(as easy as it is to develop on your local WIN10 development machine)


After development we want (have) to move the ready VM's to a WIN2016 (1607 14393.xxx up to date) Hyper-V environment for professional management and control.

But exporting from the WIN10 enviroment (export is succeeding) and restoring is not possible

Creating a new server on the WIN2016 and using the VHDX of the export, gives the result of 'no boot failure' and a not starting VM.
Copying the Original VHD or VHDX gives the same result!

What to do?

Hyper-v core & openvpn

$
0
0

Hello

I am in a bit of a struggle i have Hyper-v core 2012 running and when I connect to my network via OpenVpn server manager works but cant use Hyper-v console to get gui of my VMs error: RPC server unavailable. I never had that error before.

Any ideas ?

Outgoing traffic blocked

$
0
0

Hi,

I moved a Hyper-v guest to another server (host), but now outgoing traffic is blocked in the hyper-v:

  • Incoming traffic is ok
  • Outgoing traffic is blocked (using telnet <host> <port>) returns timeout, I can't even open any webpage
  • I can ping to any host
  • I can trace route to any host
  • I disabled windows firewall
  • No antivirus installed


Does anybody have an idea of what could be the problem?

Thanks in advance.


G.Waters



shut down Vms Windows Server 2016

$
0
0
Hello
I have hyper-V host with windows server 2016, and VMs with Windows Server 2016.

Without explanation today the virtual machines have shut down and in the event logs has the following explanation:

The process C: \ Windows \ System32 \ svchost.exe (SVRIISWEBRI) started Shutdown the system from the SVRIISWEBRI computer by the NT \ SYSTEM AUTHORITY user for this reason: Other (planned)
  Reason code: 0x80000000  Shutdown Type: Shut Down  Comment:

I wonder what this can be and how to solve it?


PXE Boot on Generation 2 Machines

$
0
0

Hello everyone,

Trying to deploy WDS on a virtual lab with Hyper-V (Running on a Windows 10 1803 17314 host).

I finish my configuration on a VM server which runs WDS and DHCP at the same time (also a domain controller, DNS), which we will call192.168.0.1 (Windows Server 2012 R2 Standard Build 9600).

I set the scope options of 60, 66 and 67 as usually mentioned when you are running both services in the same computer:

Problem is, I don't have this so called "wdsmgfw.efi" file in my boot base of the WDS files, the only .efi file I have there its called bootmgfw.efi, which doesn't do anything if declared on that option. I tried almost all boot files, including .com BIOS files on that folder and files on x86 folder, but obviously didn't worked as well, since Gen 2 machines works with UEFI. 

What happens when I boot a VM Gen2 machine alternating between those files:

wdsmgfw.efi: It says that the file weighs 0 bytes (as this file doesn't exist) and returns error PXE-E23: TFTP error from server. restarting the boot process.

bootmgfw.efi: It returns a error screen saying that failed to start, a recent hardware or software change might be the cause with the code: 0xc000000f: The Boot configuration Data for your PC is missing or contains errors.

wdsbnp.com (any .com files): It says that the file has X bytes, downloading the NBP file, successfully downloaded NBP file and restart the boot proccess.

If I don't declare any file on Option 67, he tries the default wdsmgfw.efifor the error above.

Right now, if I choose the wdsnbp.com file and try to boot on a Gen 1 machine, it works normally, I can access the boot files of WDS Server. But since I'm deploying Windows 10 images in this scenario, I need a solution that will apply to Gen 2 machines.

Last year (on build 1709 of Windows 10 maybe) I was able to successfuly do this lab with no issues, and deployed a Windows 10 Client Customized Image to my clients on network, which was Gen 2 machines as well, but I don't remember now what am I doing wrong, or if something is different on Hyper-V running on this build 1803 of my host.

Any suggestions?

Edit¹: Tried with the Secure boot disabled and enabled which doesn't do any difference on scenarios above.


S2D Cluster + Using External Storage

$
0
0

Hi,

Looking for advise and if anyone has used the below sort of setup. We currently have a S2D cluster which we are transitioning to a new cluster using external storage. Unfortunately, the first node removed from the S2D cluster easily but now no more nodes will remove from the cluster. This is causing me issues because I dont have enough compute resources in the new cluster to move everything across as part of the migration. 

Currently I have 2 x Clusters, CLU1 has 2 nodes with external storage. CLU2 has 6 nodes utilizing S2D for storage. 

What I want to know is, can I assign a disk from my external storage to the 6 node cluster and do storage migrations to the external storage while S2D is still enabled? I would then once all VHD's are sitting on the external storage, disable S2D in the CLU2 cluster. This should then allow me to simply remove the nodes from the cluster as they will be compute only resources. After that would move the node to the new CLU1 and migrate all machines across. 

If anyone has done something similar or has experience would be great to hear what you have done. 

Cheers

Server 2012 licensing problem

$
0
0

Hi,

I have a few questions related to Server 2012 R2 Licensing. 

  1. As I know if we are running Hyper-V on Windows Servers 2012 R2 we can run 2 VM's with the same server license. With my understanding

  One Server 2012 R2 License

  •   1 Physical License
  •   2 VM's on Hyper -V

Is this correct or wrong?

2. If we are planning to implement UAT Servers and Test Server in the production environment how is the licensing process. Do we have to purchase the license for Test servers and UAT? All Servers planning to run on Hyper-V

Looking for experts comments 

Remote management of Server 2016 Hyper V Core

$
0
0

Hi Guys,

hopefully someone can help me.

I've got a server running Server 2016 HyperV Core edition.

I have another full edition Server 2016 with HyperV.

Both machines are on a workgroup.

Both machines have firewall disabled.

Both machines have eachothers names within trustedhost.

Both machines can resolve DNS and ping.

I have installed the certificates on both servers.

I am able to browse to C$ from full edition to  core edition.

I have enabled PSRemoting on both servers.

When I try and access the remote server (Core) from the HyperV manager of the full edition it just disappears and nothing happens.

When I try and enable replication betwen full to core I get as far as entering the replica server details but then the "verifying configuration" screen is just going off/on constantly and I get no further.

If I pair my core edition and a Windows 10 machine I can successfully add in the core server to the HyperV manager of the Win10 PC.

Any ideas?

Thank you.

iSCSI LUNs dropping from VM?

$
0
0

Hi

We have a 2-node cluster. The nodes are running 2016 DC but most of our VMs are 2008 R2. We have a weird issue with one of those VMs (which File Services on to be a file server). This server has DFS-R to an identical server in another site.

If I RDP into this server and just watch 'Computer' in Windows Explorer, the C: drive will appear to lose connection, and so will the E: drive. The C: drive is a LUN on our NetApp FAS2020 SAN and the E:, F: and G: drives are LUNs on our QNAP iSCSI SAN.

All iSCSI traffic has dedicated LAN adapters AND switches. This seems to be the only VM affected by this 'outage'.

As you can see, the C: and E: drives lose both the bar and text capacities below the drive, and we get the progress bar in the address bar as if Windows is trying to resolve them (which it eventually does). Plus, when this happens some of our applications on client machines sieze up (we have folder redirection to this file server).

Where can I even begin to look to diagnose this one?!

Thanks

Viewing all 8743 articles
Browse latest View live


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