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

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.


389 UDP not responding from outside Hyper-V

$
0
0

Hey guys,

I created two new VMs with domain controller role on a HyperV-Host. All Servers are installed with Windows Server 2016.

The domain controllers are working as expected, but I can't add clients from outside Hyper-V. VMs on the same HyperV-Host can join the domain as well.

I tested the connectivity with PortQuery and got an error on port 389 UDP. Same test on an non-domain-member VM on Hyper-V-Host is still successful.

PortQuery-Error (executed on my local PC):

UDP port 389 (unknown service): LISTENING or FILTERED

Using ephemeral source port
Sending LDAP query to UDP port 389...

LDAP query to port 389 failed
Server did not respond to LDAP query

The request has been executed with the domain controllers IPv4 address, not FQDN. Same result with disabled firewall on DC.

IPv6 is configured on HyperV and all VMs and working.

I spent a lot of time for Google-searching for a solution, but I only found some solutions with disabling IPv6, but I dont want to disable IPv6.

Maybe I do have to change some settings for HyperV-Switch? Or add static routes on HyperV? The configuration of the DC should be correct, because connections are successfull from other VMs, I think.

Thanks for your help!

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)."

unable to start a vm in hyper-v 2019

$
0
0
unable to start a vm in hyper-v 2019

Slow network performance using external Hyper-V virtual switch

$
0
0

Hello.

I have very bad network performance on Hyper-V (Windows Server 2019 Standard) external virtual switch. File transfer speed from Virtual machine to physical machine is about 40MB/s, while file transfer from Hyper-V host to same physical machine is aobut 120 MB/s. Server is new, Proliant DL 380 Gen10. 1 physical network card is for management and other three are in Nic Teaming connected to external virtual switch. I've already tried to use without network teaming and speed is still slow. I read about some problems using VMQ and Broadcom network cards(HPE Ethernet 1Gb 4-port 331i Adapter), but this problem was known few years ago. SR-IOV is not enabled, because ethernet card does not support it. Driver release is latest. All suggestions to fix my problem are welcome.

Regards,

Marko


Hyper-V on Windows 10 PC and setting up shared storage to create a DFS cluster

$
0
0

I have created two servers in the Hyper-V of my windows 10 machine. I want to set up DFS cluster (and down the line I plan to deploy two more server to create SQL cluster with Always On group). 

However, I am not able to create the lab scenario because of lack of shared storage. Is there a way to create a virtual disk and then share it with both servers? I tried it but once one VM locks it the other won't have access.

Anyway insight to get this going would be appreciated very much!

Guest VM (WS2003) cannot access shared folder on Host (WS2019)

$
0
0

This might a simple option that I'm not sure where to turn on. My WS2003 VM is not able to access/browse the shares on the host machine which is a WS2019. The VM is a domain member. I get the error message:

\\SERVERNAME is not accessible. You might not have permission to use this network resource.

I can browse other machines with folder shares on the network from the WS2003 VM. I'm logged in as Administrator on the WS2003 VM while trying this out.

Best practise for Hyper-V Backups

$
0
0

Hi all,

Basically what I have is very simple setup: 1 physical host with 1 VM guest on it. Host does not have any other roles apart from Hyper-V and the VM runs AD, FS, RDS (although this isn't really relevant to the question).

My question is regarding best/easiest/cheapest ways to backup what I've got. Main concern is backing up of the Guest as it is the one that runs all the services and holds the data. The host is only the host with nothing else on it (but would be nice to have it backed up too if possible).

Based on my research I would say that Veeam gets the most love on the internet with Altaro and Unitrends going second and third (in no particular order). So I'm sure there will be people advocating for all of these solutions and I'm sure they all are good and have their own pros (and probably cons).

Having mentioned that I am looking for the cheapest option I must add that in fact I'd prefer FREE (if possible). So we should be discussing Veeam's Community Edition and its equivalents from Altaro/Unitrends.

Ability to have regular scheduled backups would be AMAZING, but I can live with the manual (or try automating it myself) if the best tool in overall category doesn't have scheduling. When it comes to overall best I'd say ease of use and speed/convenience of restoration are the main criteria.

Also I'd like to ask people not to post copy/paste marketing materials from any of these (or other) solutions as I have already read those. Also don't post links to feature lists or version comparison pages. I have seem plenty of those too.

What I'd really like is for people to provide their use cases, examples from their scenarios and PERSONAL opinions about which tool is the best (if we have a lot of members who have really tried all these tools).

Btw am I correct in thinking that all of these tools will create their own backup files with extensions native to that software (instead of just copying actual VHD's)? I'd love to be able to simply grab the VHD from the backup destination whenever needed instead of having to restore/extract from some other format.

And on a side note - what if I just took a powershell script that exports my VM and set it to run as a scheduled task? I don't really need email alerts, reports/stats or any other "bells and whistles" of a full fat backup solution. But am wondering if these tools are more reliable/robust than just a simple scheduled powershell task?

And as another side note - surely we will cover a lot of scenarios/ways for backing up VM's and their VHD's. But what's the best option for backing up the Host? Just a good old built-in windows server backup or one of the tools mentioned above too?

Thanks in advance


Hyper-V Replication Server 2016 Std to Server 2019 Std

$
0
0

Does Hyper-V replication work between Serer 2016 Standard (GUI) and Server 2019 Standard (GUI)? If I have two hosts, one running Server 2016 Standard and the other running Server 2019 standard, the Server 2016 std host has a guest Svr 2016 std (GUI) VM, and the host Server 2019 std has a guest VM running svr 2019 std (GUI), can I use Hyper-V replication to replicate the VMs between these two servers? Will the replicated Svr 2016 std VM spin up on the Svr 2019 std host and will the replicated Svr 2019 VM spin up on the Svr 2016 Host?    

Hyper-V replication upgrade migration to 2019

$
0
0

We have a Windows Server 2016 S2D environment and we need to get a Hyper-V replica going from the cluster to a standalone server for DR. We are required to get this up and running within a month but we are also planning S2D upgrade to 2019 in about 6 months. So I have been trying to find information about the co-existence and supported replication between 2016 and 2019 servers for Hyper-V replica. I have not been able to find any official information about this.

My hope would be to install the Hyper-V replica server with 2019 server in January 2019 and then in June 2019 do the rolling upgrade for the S2D cluster to 2019, but I have not found any information if it is supported to do Hyper-V replication from 2016 to 2019 server? If not, then how would the process look if I install the Hyper-V replica server as 2016 server and then 6 months down the line, what is the process/order to upgrade the servers to 2019?

How do I complete virtual machine registration when VSS recovers a virtual machine?

$
0
0

How do I complete virtual machine registration when the Volume Shadow Copy Service (VSS) recovers a virtual machine? Or at which step? What is the difference between the recovery of virtual machines in Windows 2016 and the previous version?

reference:https://docs.microsoft.com/zh-cn/windows/desktop/VSS/overview-of-processing-a-restore-under-vss

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.

Microsoft Hyper-v server 2016 evaluation

$
0
0
Can i use evaluation version in production as standalone hyper-v server?

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

How to enable virtualization in Windows Server 2019 running on Hyper-V 2012 R2 Datacenter.

$
0
0

Hello All,

I'm having trouble activating virtualization features in Hyper-V 2012 Datacenter to virtualize within Windows server 2019.

Can you help me?

How to enable virtualization in Windows Server 2019 running on Hyper-V 2012 R2 Datacenter?
I need to install Docker on the virtual machine with Windows Server 2019 that is running Hyper-V 2012 R2.

I have performed the command below and I do not receive the information that it is not available for activation.

Set-VMProcessor -VMName <VMName> -ExposeVirtualizationExtensions $true

Thanks for all the help.

Regards,


William


unrecoverable error occurred on a virtual processor that caused a triple fault

$
0
0

any idea what is wrong if anything?

Log Name:      Microsoft-Windows-Hyper-V-Worker-Admin

Source:        Microsoft-Windows-Hyper-V-Worker

Date:          8/7/2011 11:39:51 PM

Event ID:      18560

Task Category: None

Level:         Critical

Keywords:      

User:          NETWORK SERVICE

Computer:      rocky

Description:

'Suse VM3 Prod' was reset because an unrecoverable error occurred on a virtual processor that caused a triple fault. If the problem persists, contact Product Support. (Virtual machine ID 6C3CFD6B-965D-4C56-B3AB-7BEBB6C9CFD4)

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Microsoft-Windows-Hyper-V-Worker" Guid="{51DDFA29-D5C8-4803-BE4B-2ECB715570FE}" />

    <EventID>18560</EventID>

    <Version>0</Version>

    <Level>1</Level>

    <Task>0</Task>

    <Opcode>0</Opcode>

    <Keywords>0x8000000000000000</Keywords>

    <TimeCreated SystemTime="2011-08-08T04:39:51.569790700Z" />

    <EventRecordID>2610</EventRecordID>

    <Correlation />

    <Execution ProcessID="6172" ThreadID="5500" />

    <Channel>Microsoft-Windows-Hyper-V-Worker-Admin</Channel>

    <Computer>rocky</Computer>

    <Security UserID="S-1-5-20" />

  </System>

  <UserData>

    <VmlEventLog xmlns:auto-ns2="http://schemas.microsoft.com/win/2004/08/events" xmlns="http://www.microsoft.com/Windows/Virtualization/Events">

      <VmName>Suse VM3 Prod</VmName>

      <VmId>6C3CFD6B-965D-4C56-B3AB-7BEBB6C9CFD4</VmId>

    </VmlEventLog>

  </UserData>

</Event>

Is that Windows 10 Enterprise Evaluation copy time bombed?

$
0
0

I have Windows 10 Pro on my real laptop.

I use Hyper-V Quick Create to install that Windows 10 Enterprise Evaluation copy from Microsoft. My sole purpose of doing this is just to isolate that chat app from Alibaba for my TaoBao purchases. That Alibaba app installs several questionable Windows services that can neither be stopped nor uninstalled. (I wonder why Microsoft allows third party privileged apps that can't be uninstalled.)

I am still the single sole user using Windows on my PC. I don't have a PhD in Microsoft Licensing, but I guess a separate license is needed to run a VM even if I am still the same and only person using it. So I am happy that there is an activated valid Windows 10 Enterprise available. My question is: will this copy expire? If so, when?

Thanks.

Hyper-V 2016 VMs stuck 'Creating checkpoint 9%' while starting backups

$
0
0

We have a two clustered W2016 Hyper-V hosts, every couple of days one of the hosts gets stuck when the backup kicks off. In Hyper-V manager the VMs all say 'Creating checkpoint 9%' It's always the same percentage 9%. You can't cancel the operation and the VMMS service refuses to stop, the only way to get out of the mess is to shutdown the VMs, and hard reset the effected node. The backup works for a few days then it all starts again.

The only events I can see on the effected node is:

Event ID: 19060 source: Hyper-V-VMMS

'VMName' failed to perform the 'Creating Checkpoint' operation. The virtual machine is currently performing the following operation: 'Creating Checkpoint'.

Can anybody help please? Cluster validation is clean. Hosts and guests are patched up.

Use cmdlet to live migrate VM changing the vNetwork.

$
0
0

Good morning.

I have to live migrate VMs from “Hyper-v on Server 2012” to “Hyper-v Server 2012 R2”.
Well, at the same time I have to migrate all the storage (Config, Snapshots, Pagingfiles and VHDs).
Up to here everything is ok. 
At the same time without loose the VMs connectivity I have to change the vNetwork because the vNetworks on the new Hosts are different.

I will use Move-VM powershell cmdlet, example:

Move-VM $VM remoteServer –VirtualMachinePath $Path1 –SnapshotFilePath $Path1 –SmartPagingFilePath $Path1 –IncludeStorage –VHDs @(@{"SourceFilePath" = $OldVHDPath1; "DestinationFilePath" = $NewVHDPath1}, @{"SourceFilePath" = $OldVHDPath2;"DestinationFilePath" = $NewVHDPath2}) 

When I do it manually through the Hyper-v Console, it ask me to change it:


How can I change vSwitch at the same time that I Move the VM using a cmdlet without loosing connection?

Thanks in advance and have a nice week,
Angel Biurrun.

 

Live Migrations No Longer Working After January 2019 Updates

$
0
0

We have a problem after the January updates (50 plus blades with AMD Bulldozer Family 15h processors) We have 400 plus VMs hosted on our hyper v clusters (Server 2012R2 and SCVMM 2012r2), and after January updates can no longer live migrate. We have put the KB4490512 update on one of the hosts but it requires a reboot, which in turn would require us to power down our VMs as we are unable to migrate them off now.  Is there/will there be a fix to enable us to not have to reboot the hosts?  or is there/ will there be a workaround to enable us to live migrate the vms ?

Hopefully there will be as this will cause a lot of business disruption.

Any help would be much appreciated

Regards

Andrew
Viewing all 19461 articles
Browse latest View live


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