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

Hyper-V | Total Migration Time

$
0
0
Hi,

I'm a bit of a rookie when it comes to Hyper-V.

I managed to set up 2 Hyper-V machines and a DC (which I am hosting the shared storage, as well as accessing both Machines on it).

Live Migration is working fine, although I would like to know if there is a feature which would ease my life and tell me the start of the migration until the end time of the migration. This will round up the Total Migration Time.

Thanks for the suggested help :).

Host to Host Live Migration Network Via 10Gb Fiber

$
0
0

I was getting ready to run an experiment and I wanted to find out if anybody has any experience with this before I do.

I have two Hyper-V 2016 Hosts which do not have shared storage. They are link aggregated with 4 1Gb Ethernet ports which do the job of Management and "Shared Nothing" live migration.

Is it possible for me to drop two 10Gb network cards in each of these hosts and do a peer to peer network between the hosts and then do "shared Nothing" live migration on that network at 10Gb?

Thanks

Does Hyper-v 2012 R2 support Linux Mint 18 "Sarah" - Cinnamon (64-bit)?

Encrypted replication configuration

$
0
0

Hello,

I am attempting to configure encrypted replication in a fairly large (10 hosts per site) HyperV environment.  I'm using the following article as a guide:

https://www.vkernel.ro/blog/configuring-hyper-v-replica-using-certificate-based-authentication-https#anchor009
https://www.vkernel.ro/blog/set-up-automatic-certificate-enrollment-autoenroll

From what I am understanding I will require a certificate on each host.  I will also need to add the broker's certificate to the trusted certificate store on each of the hosts that the broker will reside on. Due to the requirement of a certificate on each host it makes a lot more sense to use auto-enrollment to ensure we don't have to manually renew 20+ certificates on the regular basis.

I'm having a couple of challenges, for one our hosts are running W2K16 HyperV Core, so I cannot use the certificates MMC as described in the article.  Running the MMC remotely does not appear to give me the same options as described in the article.  Can this (or should this) be done in PowerShell instead?  What would the syntax of the certificate request be?

Are there any other (hopefully better) articles that can help me do this other than the one I found above?

Thanks.


Dissolve and rebuild Hyper-V Cluster

$
0
0
Does anyone have instructions on the proper way to dissolve and then rebuild a cluster without destroying the VM's (On a SAN LUN). Thanks I appreciate it!

Cannot join a virtual machine Windows 10 to server 2019 virtual machine domain?

$
0
0
DNS was successfully queried for the service location (SRV) resource record used to locate a domain controller for domain "Harry.local":
The query was for the SRV record for _ldap._tcp.dc._msdcs.Harry.local
The following domain controllers were identified by the query: WIN-7M2VT2137NJ.Harry.local
However, no domain controllers could be contacted.
Common causes of this error include: 
- Host (A) or (AAAA) records that map the names of the domain controllers to their IP addresses are missing or contain incorrect addresses.
- Domain controllers registered in DNS are not connected to the network or are not running.

HYPER-V (2016/2019) Remove DDA device from VM

$
0
0

Hello HYPER-V experts,

I have the following problem in a HYPER-V environment.

On a HYPER-V Server 2016 I have several VMs, where a graphics card (NVIDIA Server Quadro) is assigned by DDA.

These are replicated by HYPER-V replicas. However, there is no NVIDIA on the target system. Therefore, I understandably cannot start the VM with the DDA-bound GPU (Event-ID 33900 - The PCI Express device with the Plug & Play device instance path "PCIP-VEN_10DE&DEV_1BB0&SUBSYS_11B210DE&REV_A1"4&2AF63274&0&001B" was not found.)

Hint: after event-id 33900 follows event-id 12010 and 12030.

Now I know the commands on how to remove a DDA device from a VM, but if the device is not physically there, I have no chance to remove the DDA from the VM.

How can I remove the DDA device from the VM so that the VM starts and runs without DDA?


Danke und liebe Grüße Oliver Richter

Validation cluster Hyper-V takes a long time to run

$
0
0

I have a Hyper-V clustered environment, a total of 7 nodes and presented an approximate 110 LUNs. The problem I am having is when making a "validation cluster", it takes too long and I have to cancel the process.
Upon reaching the "list all disks" option per node it takes about 25 minutes to process, which is a very long time.
  I have read in forums that this process in total should not take more than 30 minutes, but in my environment I am having a time of hours.
I would like to know if this behavior is normal in this type of environment or there is some remediation so that this time is less.

Thank you in advance for your help.

Julio Luzon


vm (copied to new host) has no network connectivity

$
0
0

The problem:

Yesterday we had a power outage.

Fried the system disk (c:) on the host machine.

I had configured all the virtual drives and virtual machines on a second, data disk (d:); thankfully this survived.

Everything was working fine prior to the incident.

I popped in a new c: drive, and re-installed server 2012 r2, and added hyper-v.

created a new machine, using the old drives, and hooray, the vm booted with all the software intact.

*however!* the vm doesn't have internet access, nor can it be pinged.

Salient Details

Once again everything was working prior to the power outage.

I have two physical nics (nic1 nic2) in the box.  Nic1 is dedicated to the host, and it's ip is statically allocated (192.168.1.25). Nic2 is supposed to be dedicated to the vm, and I didn't bother assigning an IP to it. Both are connected to the network.

When I first added the Hyper-V role though Server Manager, I noticed that the server name/ip it came up with was ServerName/[dynamically allocated IP of nic2]; that is, hyper-V seemed to be wanting to configure the server with nic2, rather than nic1.  Is this right?  There was no option to select 'ServerName/[nic1 IP]

In HyperV after the reboot, I created a virtual switch with nic 2.  Then I created a new VM, but used the vhx file which was on the surviving physical D: drive.  I attached the virtual switch tp the new VM.

The VM booted.  All the files were there.  However, the network icon in the system tray always indicates 'Unidentified network/limited' under 'Connections'

What I've Tried:

I found i had to reset the ipv4 static ip on the new virtual machine, as well as the dns host specification.

I tried removing the HyperV role, disabling nic2, and re-adding the HyperV role.  This time the server it came up with was ServerName/[NIC1 IP].  Then re-enabled nic2, used it to create a virtual switch, and attached that to yet another created VM.

My next try, as a diagnostic, is to create a completely new VM with a new install of the OS.  I'm doing this as a diagnostic, but forsaking the old disks has pretty unpleasant implications.

It's got to be something simple!  Any help would be truly appreciated.

thanks in advance



dmc_lat47

Hyper-V Replication & iSCSI connected disk (Quickstation 4 for Backup) - integration services

$
0
0

Hello,

is there a way to have a Hyper-V Replication setup where a VM has a direct connected iSCSI disk (Quickstation 4), while VSS and other integration services still work? currently we want to ignore the iSCSI disk for the replica, so we can have backups to Quickstation and still replicate the disk to another server, but unfortunatly when we try to start the Hyper-VM replication it says that there is a direct connected iSCSI disk

is there a solution around that?

Export VM fails

$
0
0

I recently created a new virtual machine in a 2012 R2 Hyper-V cluster.  The virtual machine has Windows server 2016 running with a total of 5 virtual hard drives assigned to it. The issue we are experiencing is when I try to export the VM on one of the Host servers in the cluster the export will fail and the VM will reboot and replicate to the other host server in the cluster(This also happens when the VM is on the other Host). Out of the 10 virtual machines in the cluster this is the only server that I'm unable to export.

i did receive the following error in event viewer:

A VSS writer has rejected an event with error 0x800423f3, The writer experienced a transient error.  If the backup process is retried,
the error may not reoccur.

event ID: 1069

Cluster resource 'Virtual Machine ----' of type 'Virtual Machine' in clustered role '----' failed.
Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

Event ID: 1205

The Cluster service failed to bring clustered role '----' completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered role.

I am able to successfully create a checkpoint of the VM in Hyper-v manager.

Any help will be greatly appreciated.




When disabling hyper-v winhvr.sys causes a SYSTEM_THREAD_EXCEPTION_NOT_HANDLED

$
0
0

Hello,

I am in kind of a bind where I need to run Virtualbox (v6.0.0) for one of my classes and I also need docker for my work. I downloaded Virtualbox first and everything was going great then I downloaded Docker a few days later without thinking. Obviously, after docker was installed Virtualbox stopped working.

Virtualbox error: 

(VERR_NEM_MISSING_KERNEL_API).

VT-x is not available (VERR_VMX_NO_VMX).

After some digging around I realized hyper-v was the issue so, I decided to just disable hyper-v so that I can work in Virtualbox then switch it back when I need docker. Easy enough. I go through the UI to disable hyper-v and restart my computer then I get the BSOD.

BSOD error: SYSTEM_THREAD_EXCEPTION_NOT_HANDLED

After downloading "WhoCrashed" and checking out the error I come to find that it's a driver issue, not surprising. However, what was surprising is that it's a hyper-v driver causing the error. I was trying to disable hyper-v why would one of their drivers give me an error?

Any help would be appreciated! I'm running a X1 Carbon Lenovo 6th Gen. 

Hyper-V VM Will Not Boot off Windows 10 ISO File

$
0
0
I'm running Hyper-V within my desktop's Windows 10 OS trying to follow along with an MCSE track Pluralsight series of videos and I am stuck at trying to boot up a Windows 10 vm in my small server farm. I got the 2016 domain controller up as well as a member server with no problems booting from those ISO files. I've tried downloading the ISO file twice now directly from Microsoft's site, and it simply will not boot from that file. Trying to understand what's wrong here.  It doesn't give me the option to press any key to boot from DVD, just skips right past and attempts to boot via network.

Failover Hyper-V without Shared Storage

$
0
0

Hi Guys

            I have two brand new servers with 6 drives. 2 in Mirror, 3 Raid 5 with 1 hot spare. Both servers are identical and running Windows 2019 Datacenter. Both servers are running Hyper-V. I do not have any NAS/SAN devices being shared between these servers. I will call these servers server1 and server2 (for this example)

Is there a way to make it so that if a virtual machine on server1 dies and shuts off the replicated virtual machine on server2 will boot up automatically? The whole purpose of these servers is for virtual machine failover, I would like to do it per VM versus entire physical server. I can also format the Hyper-V partition since these servers are new and not running anything just yet.

Is Storage Spaces Direct (S2D) the answer I'm looking for? If so, how? Looks like Clustering needs as a requirement shared disks (SAN/NAS).

What do you guys think?

Thank You

Eddie

 

failover cluster Event - the error code is 0x57(the parameter is incorrect) what is the solution ?

$
0
0

Hi,

failedover cluster manager hyper-v virtual machine gave the following error, what is the solution for this situation

error code:

Cluster resource 'Virtual Machine Configuration -SF' of type 'Virtual Machine Configuration' in clustered role '-SF' failed. The error code was '0x57' ('The parameter is incorrect.').

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

what is the solution ?

Best Regards,


Setup Storage Replication

$
0
0
I want to setup a cluster to cluster storage replication on existing clusters. The clusters are in different locations with storage systems that are direct attached to blade chassis on each one. I have selected a 560GB volume as the data drive and a 9GB SSD as the log drive on the primary cluster and provisioned 2 drives that are exactly the same on the destination cluster(all drives are cluster shared volumes). When I run the script Test-SRTopology using the cluster drives I get an error "log drives cannot be CSVFS" when I use non clustered log drives I get and error "storage replica does not support replication of non-clustered disks" What am I doing wrong?

How can I replicate two VMs from the same source server to two different drives on target server?

$
0
0

Hello all,

I have a fairly simple setup:  My source server has two VMs, one is one drive E: and the other is on drive F:.  I want to set up replication on a target server that is set up similarly (has a drive E: and F:).  When I try to configure replication,  I cannot figure out how to copy each to its own drive on the target server.  They won't both fit on either drive, so is there any way this can be done?  On the target server I tried:

1. selecting "Allow replication from specified servers" and defining the same server twice but it won't allow it.

2. selecting "Allow replication from any authenticated server" but it only gives me a single default location to store Replica files.

I'm fairly new to this, so please forgive me if I'm overlooking something that's obvious.

   

Lost menu and cmd creen

$
0
0
Hi after installing the 2016 Hyper-v standalone, I accidentally close both the menu and the command line screen. Now I only have a black screen. How can I get them back or at least the cmd  screen.

WS2K19 Essentials Hyper-V powers down VM's each week

$
0
0

For the last month, something strange is happening with our new Hyper-V server. During the summer holidays we bought and installed a new physical server with Windows Server 2019 Essentials installed on it; on which we also enabled and configured the Hyper-V role. On that physical Hyper-V, we have three VM's running, which are:

1. Domain controller;
2. File sharing server, part of the domain;
3. App server, also part of the domain.

All of the three VM's also have Windows Server 2019 Essentials as OS. Each WS2K19 Essentials server has its own dedicated license.

Each monday between 9:30 am and 10:30 am the Hyper-V power downs both the File and App servers. When we look in the logs there isn't anything that explains the power down of the VM's. Updates are also disabled to make sure that isn't the culprit.

Does someone has any ideas of what might be wrong or where to look in what direction? I've been looking for over a month now and can't seem to find anything.

Thanks!

VMM Host Not responding

$
0
0
I have setup a new failover cluster. It has five members a witness disk and cluster storage for the VMs.

The hosts are new servers running server2019 and the version of VMM is also 2019.

The plan is to move VMs from our current hyperV cluster to this new one.

I validated my cluster without issue and I have been moving non essential VMs from the old to the new cluster. A couple of weeks ago I started experiencing an issue with the cluster. All of the VMs on a particular host report "Host not responding"

Despite this message the VMs work without issue, but I am unable to migrate the VMs to a different host. When I check the host it appears to be working ok but I cannot connect to hyperV within the host even though the services appear to be running. If I try and restart the host it fails to restart complaining that it cannot terminate failover cluster manager. The only method  I have found to resolve the issue is to power off the host. Once back up everything works fine.  

I thought it may have been an issue with AV or backup software, but I have removed the AV and the backup software runs without issue every day whereas this error can take several days before it reoccurs. It can be any of the hosts that has this issue and it doesnt appear to correspond with certain VMs being run by the host.
Viewing all 8743 articles
Browse latest View live


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