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

Hyper-V 2019 VM Cluster Replication

$
0
0
Ever since upgrading our 2 Hyper-V clusters to 2019 from 2012 R2 when trying to set up a new VM replication I get errors. Works for existing VMs replicating that were created before the upgrade but any new VMs fail. Enabling the replication seems to create the VM fine on the replica and creates drives at 4,096KB ready for replication but trying to start the initial replication fails with the error:

Start-VMInitialReplication : Hyper-V failed to start replication for virtual machine 'VM': Operation aborted
(0x80004004). (Virtual machine ID E3E5EDD5-66CA-48AB-8F52-CA63A3A6AEC5)
Hyper-V could not find the virtual machine 'VM' on the Replica server and will connect to the Hyper-V Replica
Broker in the next retry interval. (Virtual machine ID E3E5EDD5-66CA-48AB-8F52-CA63A3A6AEC5)
Replication operation for virtual machine 'VM' failed. (Virtual machine ID
E3E5EDD5-66CA-48AB-8F52-CA63A3A6AEC5) (Primary server: 'Host1', Replica server:
'Broker')
At line:1 char:1
+ Start-VMInitialReplication -VMName 'VM'
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [Start-VMInitialReplication],
   VirtualizationOperationFailedException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.StartVMInitialReplicationCommand


Doing the same process through the failover cluster gui I get a similar error. Says the replication was enabled successfully however initial replication could not be started. And goes on to say Hyper-V could not find the virtual machine on the replica server.

Has this yet to be recognized as a bug in Windows Server 2019?

Replicate virtual machines from Hyper-V server 2019 to Hyper-V server 2016

$
0
0

Hello community,

we're planning an failover concept for a customer. The primary system is installed with Windows Server 2016 Datacenter. The failover server will be installed with Windows Server 2019. There is no problem zu migration / replicate virtual machines from Hyper-V 2016 to Hyper-V 2019. To this point: No problem!

Now we plan to replicate some virtual machines from Hyper-V 2019 to Hyper-V 2016. Is this possible and supported by Microsoft?

Thanks for your answers.


Install Hyper-V role fails on Windows 2016 during server restart

$
0
0

..with error: "we couldn't complete the features" during the windows boot  and then mentions "Hyper-V" service superficially, stops the service and then removes the service. Can boot back into the server after 2 restarts, but hyper-V not available. 

I've followed a number of guides. Here's a few bits that are relevant:

Hardware: Dell T20 with updated BIOS + Virtualisation enabled in bios. 

OS: Windows Server 2016 Standard

"CoreInfo -v" produces:
Intel(R) Xeon(R) CPU E3-1225 v3 @ 3.20GHz
Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
Microcode signature: 00000025
HYPERVISOR      -       Hypervisor is present
VMX             *       Supports Intel hardware-assisted virtualization
EPT             *       Supports Intel extended page tables (SLAT)

SysInfo:

Hyper-V - VM Monitor Mode ExtensionsYes

Hyper-V - Second Level Address Translation ExtensionsYes
Hyper-V - Virtualization Enabled in Firmware Yes
Hyper-V - Data Execution ProtectionYes

Only one Network adapter (hardware card) listed in Device manager - updated driver. 

I did install Docker prior to Hyper-V - not sure if that will effect things. 

When WS2016 restarts, the Server Manager shows an error "request to add [features] failed" and advised I peruse the event viewer - however, I have absolutely no idea where to look for that!]

Hope someone can help, because baffled by this!

thanks

Availability of Microsoft Hyper-V Server 2019

$
0
0

Dear Microsoft!

On https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2019 you link the hyper v core server setup. However, it only leads to https://cloudblogs.microsoft.com/windowsserver/2018/11/13/update-on-windows-server-2019-availability/ and there is no download available.

When are you planning to make it available?

By the way: The download that was briefly online https://software-download.microsoft.com/download/pr/17763.1.180914-1434.rs5_release_SERVERHYPERCORE_OEM_X64FRE_EN-US.ISO is barely usable for 2 reasons:

A after installing it and activating Remote desktop, the server does not start to listen on port 3389. No RDP possible!

B Trying to do an in-place upgrade from Hyper-V Server 2016 leads to an error: "The installation failed in the SAFE_OS phase with an error during SET_Product_Key operation"



Hyper-V 2012 R2 with VMM 2012 R2 - does network traffic leave the host for same VLAN communication?

$
0
0

Hi All

We're having a few latency issues with VM's on the same VLAN and subnet and trying to troubleshoot, my understanding is that if you have a cluster of Hyper-V hosts and 2 VM's want to talk on the same logical switch and VLAN, if they are on different hosts traffic will go via the physical switch, however if both VM's are on the same host am I correct in thinking hyper-v will switch the traffic and it will NOT go via a physical switch?

Advice appreciated :)

Error Access Denied - Opening VHD at \\UNC\PATH\NAME.vhdx and i got error %%2147942432 0x80070020

$
0
0

Error Access Denied - Opening VHD at \\UNC\PATH\NAME.vhdx  and i got error %%2147942432 0x80070020

The scenario:

Win2012R2 Hyper-V Cluster Node-A and Node-B

Win2012R2 Standard FileServer, sharing a bunch of VHD files via \\UNC\PATH\NAME.vhdx

PATH shared folder and Security NTFS permissions allowing Everyone:F, SYSTEM:F, Node-A$:F and Node-B$:F, full control, open permissions at the highest level

I´m connected to TS/RDP to Node-A and if i try to create a new VM it succeeds!

But...

If i´m connected via TS/RDP to Node-A, AND ALSO using the Hyper-V Manager pointed to Node-B

i got the access denied error  0x80070020

Again, i´m conencted  to the TS/RDP Node-A, but the hyper-V manager is pointed to Node-B (Node-B has more resources available)

Why is that?

Maybe a COM problem?

Windows Server 2012 R2 Hyper-V Checkpoints

$
0
0

Hi There,

Recently one of my colleagues created a checkpoint for one of our VMs thats in production. This particular VM hosts the SQL server. Now everytime the back-ups run it creates a new sub-checkpoint for the temporary VM.

The problem is that the actual .vhd has been used more recently than the first checkpoint in this sequence although now one of the checkpoints is currently the disk file that's in use. My question is that if I delete this checkpoint subtree will it delete all the checkpoints and associated data since the .vhd has been used more recently than the first checkpoint? Or will it merge the checkpoints with .vhd anyway?

Should I click on the checkpoint and delete the entire subtree? Or just the first checkpoint in the sequence? The server is in production so I would like to avoid data loss if possible, and I know that using checkpoints on a production system is a really bad idea and addressed it with the person who created it already.

Ideally I would like to just delete this checkpoint tree have it merge with .vhd file and disable the ability to create them in the future.

Let me know if you need more info!

Thanks

Trying to remove Hyper-V

$
0
0

I'm trying to remove Hyper-V from a Windows 2012 Server

and I get a message "installation of one or more <g class="gr_ gr_42 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="42" id="42">reles</g>, role services or feature failed. The source files could not be found..."I have made sure CD is in the drive

One posibility is CD drive letter may have changed since installation  (was set up before my time)

I have removed Virtual Switch - I know that can cause problems

I've also tried stopping Hyper-V Services

any ideas welcome


ChrisS


p2v server black cursor wont boot EFI 2008 server HELP

$
0
0

source is 2008 server ( NON R2) 

EFI boot partition 

I'm using disk2vhd

i tried booting the server but all i got is black cursor blinking 

i think the issue is has to do with the source server having EFI boot partition ?

how do i get this VM to boot?

windows server 2019(2016) hyper-v Failed to start virtual machine because one of the Hyper-V components is not running.

$
0
0

I created vm machine thorugh VMM which made in hyper-v.

However, I can't run the vm machine, the error messages are: 

 start-vm : Faild to start 'VM-test02'.

 Failed to start virtual machine because one of the Hyper-V components is not running. (Virtual machine ID: ~~~~)


what I checked :

0. I thought it might be the problem of VMM, so I enterd the hyper-v server which created using hyper-v of on-premise server, created vm using powershell, but same errors came out. 

1. services.msc : make sure hyper-v turn on it 

2. Powershell : type "Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true"

3. eventvwr.msc : At Hyper-V-vmms-Admin, there are no particular events except for 2 erros. 

Faild to start 'VM-test02'.(Virtumal machine ID ~~~)

Virtual Machine Management Service failed to start virtual machine 'VM-test02' because one of the Hyper-V components was not running

4. Safend : I do not have Safend installed

5. cmd 

- when type 'verifier', click standard(default) and choose unsigned driver autimatically, then it said," There is no unsigned driver"

- when type 'sc queryex vid, sc queryex vmbus' its status are "running"

- when type 'bcdedit', "hypervisorlaunchtype    Auto" came out.

I'm lost what to do turn on the vm.

please let me know how to turn on the virtumal machine.

Domain rename and Hyper-V Cluster

$
0
0

Hello,

I'm planning an Active Directory Domain rename. We have also a cluster with Hyper-V 2016, I've tried to search about this operation but somewhere it seems that's supportted and somewhere they says that's not supported and I need to rebuild the cluster.

Has anyone some experience with this? what is the correct path?

Thanks for your help

Conversion of an ova containing two vmdk disks to vhd/vhdx for running it on Hyper-V

$
0
0

Hi,

I have an ova that has two vmdk disks, one is used for OS and keeping other code/configuration and the second one is just for data. I am looking for a way to be able to run this ova's equivalent on Hyper-V. I extracted ova and tried two techniques:

Extracted ova to get vmdk disks

Expand-7Zip -ArchiveFileName "$SourceOVAPath" -TargetPath "$VMName"

1) Converted each vmdk to vhd separately using:

ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "disk1.vmdk" -DestinationLiteralPath "disk1.vhd" -VhdFormat Vhd ConvertTo-MvmcVirtualHardDisk -SourceLiteralPath "disk2.vmdk" -DestinationLiteralPath "disk2.vhd" -VhdFormat Vhd

Created a vm on hyper-v using both of these vhds (attached disks to IDE controller) but as soon as it starts it shows below error:

dracut-initqueue[259]: Warning: dracut-initqueue timeout

received sigrtmin+20 from plymouthd
Warning: /dev/centos/root does not exist
Warning: /dev/centos/swap does not exist
Warning: /dev/mapper/centos-root does not exist

blk_update_request : I/O Error, dev fd0, sector 0

Generating "/run/iniramfs/rdsosreport.txt" Entering emergency mode. Exit the shell to continue. Type "journalctl" to view system logs

2) Combined both vmdk disks into one using:

& $VDiskManager -r "DiskPrefix.vmdk" -t 0 "CombinedDisk.vmdk"

converted the CombinedDisk.vmdk to vhd, then created a vm in hyper-v with this vhd but still getting same error.

Any leads on how I can achieve this will be very helpful.

Unable to add Virtual NIC - Internal miniport create failed

$
0
0

Hi All,

I am trying to create a Vitual Network adaptor, but its giving the below error message.

New-VMSwitch -Name "BCD" -EnableEmbeddedTeaming $True -AllowManagementOS $False -NetAdapterName $lmnetwork (10/25 gig adaptor)

Add-VMNetworkAdapter -ManagementOS -Name "ABC" -SwitchName "BCD" |  Set-NetIPInterface -Dhcp Disabled

"Internal miniport create failed, name = 'FE72DA3D-6B16-465E-8E32-549BCC60E8FE', friendly name = 'LM-vNIC01', MAC = 'DYNAMIC': Not found (0x80041002)."

Virtual Machine management service memory leak, server 2016

$
0
0
Hi All,

Wondering if anyone has any ideas what might cause this?  One of my Hyper-v hosts seems to have a problem with the Virtual Machine Management service.  The memory usage for that service just continually climbs, it starts off at a hundred MB but increases by about 2 GB a day.  I got an alert yesterday that memory usage was high and the service was using 90GB!  There also seems to be other issues, it takes a long time for it to open the hyper-v console, it takes it a long time to start virtual machines, and sometimes when it reboots it doesn't autostart all of the machines it is supposed to.   

Thanks!



Creating a new virtual switch

$
0
0
hey, so im trying to create a new virtual switch using powershell and can't figure out the -netadaptername i used the cmdlet get-netadapter to show me the available adapters, and neither of them worked.

Port Mirroring Hyper-V, traffic only captured one way

$
0
0

Hi All, 

Scenario:

Server 2012 R2 server running several VMs (the server is a node in an HA cluster, but I think that is irrelevent here as the machine I'm currently testing on isn't Highly Available).

  • I require the router bound switch port (a Netgear S3300) to be mirrored to a one of my VMs (currently a test VM created just for this purpose).  
  • I've mirrored the port on the switch (TX and RX) and connected to a dedicated NIC on my host.  A wireshark capture at this point captures all traffic, inbound and outbound.  I've confirmed using ICMP and seeing request and reply.  
  • I've created an external vswitch using the dedicated NIC port.  I've tried allowing and not allowing sharing with the host to no avail.  Weirdly at this point Wireshark no long sees this physical or vSwitch interface on the host.
  • I've enabled the NDIS capture extension
  • I've run the powershell commands to add-vmswitchextensionportfeature monitormode=2 as per article https://cloudbase.it/hyper-v-promiscuous-mode/
  • I've assigned the switch to my VM as a secondary NIC (the other one being a standard LAN switch), setting the switch as destination in port mirroring.
  • Wireshark on the VM is now only capturing the inbound traffic.  Proved by filtering to ICMP and only seeing the replies.  

Am I missing something here?  I can't find any other instances of this exact problem, and I'm being chased to get this working.  

Thanks in advance

text is too small to see

$
0
0

I'm running Windows 10 pro on a Dell laptop with a UHD display.

I just created an Ubuntu Virtual Machine using Hyper-V Quick Create.

No matter how I size the VM, the window inside the VM is too tiny to read.  

How does one make it bigger?wr

Hyper V Replica Slow Performance of vrtual Machine with SQL-Server

$
0
0

Hi all,

I'm testing a virtual machine setup with Server2016 as host and replica and Server2016 and SQL-Server 2016 in the guest-VM.My setup is 1TB Raid 1 for the host-system and 1TB Raid 1 for the VM. Hyper-V Replica is enabled and synchronizing every 5 minutes. There are 5 DB's with together about 60GB in the VM.

Despite the fact that i should probably use a different harddisk-setup/Raid for the VM, I see poor write and read performance in the VM. I used Perfmon to messure the "avereage disk sec/write" and "average disk sec/read" performance.

These are measurements over 4 days:

  • Host AverageDiskSecWrite of the harddisk the VM resides on = 0,027
  • Host AverageDiskSecRead of the harddisk the VM resides on = 0,015
  • in the VM AverageDiskSecWrite of the harddisk = 0,361
  • in the VM AverageDiskSecRead of the harddisk  = 0,016

I see that the AverageDiskSecWrite in the VM is very poor. I also tried a DB-restore in the VM with hyperV replica enabled and disabled. With replication enabled it took about 2 and a half hours to restore a 42GB Database. With replication disabled it took about 40min to restore the same 42GB Database.

Now to my actual questions and hopefully someone can help me please :).

Why is it, that with replication enabled it takes more than 4 times longer to restore a DB?

Are there any HyperV-settings that I could use to get better write and read Performance in the VM?

I already googled a lot but despite the fact that i should use a different harddisks-setup for the VM i didn't find anything useful.

The things simplest setup suggested is a raid 1 for the VM-OS and a different raid 1 for the VM .mdf and .ldf files.

Kind Regards

Chris

MOUSE & KEYBOARD ISSUE IN HYPER-V MANAGER

$
0
0

 

Hello IT guru’s

 

Recently I installed Win2008 RC1 SP1 v.735 with Hyper-V (version 6.0.6001.17101) so after configuring the VHD when the system boots up and when the logon screen appears I cant use the mouse neither keyboard, but on the underneath tab I can see a message “To release your mouse press CTRL+ALT+LEFT ARROW– I tried to do this but I cant use the mouse and keyboard.

 

Secondly the screen of the VM PC is quit big and it is not fitting into the screen,

 

So guys could you please help me in this regards - is there any patch or hotfix to slove this issue...

 

Note: I checked this URL http://download.microsoft.com/download/e/4/8/e48d5cff-53d2-4eed-85bf-4af50e25b78c/relnotes.htm it says check the Integrated Services" i checked but i coudnt find much intersting stuff.

 

Waiting for your response

Hyper-v 2008 r2 Cluster migration to Hyper-v Cluster 2012 r2

$
0
0

i have case to do:_

i have 2008 r2 Hyper-v Cluster (3 NODE)

inside this cluster we have another SQL Cluster  and Application Server

and some attached  LUN direct to VM'

plan:_

to move all above to existing 2012 r2 cluster (5 NODE)

Note :- I know that we cant Export from 2008/2008 r2 to Import 2012 r2 

any Idea how we done this issue

Viewing all 19461 articles
Browse latest View live


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