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

Virtualising file server role in stand-alone Hyper-V host with local storage

$
0
0

I've never installed/configured a Hyper-V host and VMs before, so pls bear with me:

I have a single Hyper-V host with Windows Server 2019 Datacenter as a host OS.

I’m planning on virtualising the following roles:

  • AD / DNS (Windows Server 2019 Datacenter VM)
  • Application server (Windows Server 2019 Datacenter VM)
  • File server (Windows Server 2019 Datacenter VM)
  • E-mail server (Ubuntu Server VM with iRedMail)

I have local storage (Hyper-V host) only, consisting of the following:

  • 4 NVMe drives (Intel DC P4510 2.5″ 1TB) connected to an HBA (Supermicro AOC-SLG3-4E4T)
  • 6 SAS HDD (4x 6TB, 2x 8TB) connected to an HBA (Broadcom SAS 9305-16i)

With those 10 drives, I would like to create a 2-way mirrored tiered storage (NVMe + HDD) and a 3-way mirrored storage (HDD), using Storage Spaces.

I’m puzzled on how to present that storage as shared storage with a virtualised file server on the Hyper-V host. The possibilities I see are:

  1. creating the Storage Spaces on the Hyper-V host, on which I would store large VHDX virtual disks which would then be attached to the file server VM and offered by this VM as shared storage to AD users. However, if I would put such a VHDX file on the 2-way mirrored tiered storage, the file would either be on the fast tier (NVMe) or on the slow tier (HDD). So when writing to the shared storage (the VHDX file), I would not have the advantage of writing first to the fast tier and then data (as they get ‘cold’) being moved to the slow tier.
  2. creating the Storage Spaces on the file server VM, passing through the physical disks to the VM. However, I read everywhere that this approach is not recommended and should be avoided.

Or a third possibility could be to not virtualise the file server role and to install that role on the Hyper-V host, even if it’s not best practice to install other roles than Hyper-V on the host?

Thanks in advance for any pointers in the right direction.




HYPER V REPLICATION

$
0
0
hii guys i need your help for my both windows server one is 2012 r2 and one is windows server 2016 and i want to do hyper v replication and i need some guide even i saw some guide on the internet it does not works for me also is there anyone that i cant talk to ? even i ask the windows support live chat they say they dont know how to solve it 

Hyper-V Server 2019 stopped remote management and RDP

$
0
0

I had installed Hyper-V Server 2019 and then setup some VMs.

The hypervisor is not part of a domain, I use my home network (Internet Provider network), while I have a DC configured on a VM, a pfSense VM and other VMs which are connected to an Internal switch.  I used OpenVPN to remotely connect to the VMs using a remote tool called MRemoteNG, so no need to connect to them by using Hyper-V Manager.

Previously I was able to connect via RDP to the hypervisor when required and managed to remotely manage the VMs using Hyper-V Manager when creating new VMs.

I was able to do this yesterday but today I am unable to do it.

I disabled firewall on the hypervisor.

Remote Management is enabled on the hypervisor.

But it seems that I can't connect to it anymore.

I tried installing KB4482887 from this link:

https://social.technet.microsoft.com/Forums/en-US/c9d82adb-5dd5-4e43-878c-2e98e00c2943/hyperv-server-2019-rdp-not-working?forum=winserverhyperv

But says that it's not applicable to my hypervisor.

I had this issue before and had to rebuild the hypervisor because I thought I messed up some SNMP settings.  But this problem repeated and it seems it lasted like 2 months after the rebuild. 

Can anyone suggest some possible fixes?


"The application encountered an error while attempting to change the state of xxx"

$
0
0

So I’m trying to do a simple Win 10 quick create on a client workstation but can’t get the VM to boot with default settings.

The workstation is running Win 10 Pro, SSD, 8GB of RAM. I’ve never had it not work before so I’m not sure what to check. I also tried an eval ISO of win 10 with the same error. Virtualization is enabled in the BIOS. Any ideas?

In the Hyper-V worker admin logs the only error I see is “Virtual Machine Worker Process initialization has timed out, and will terminate."

Upgraded from Win2012 Standard to Win2019 Standard - Lost Hyper V Manager Configuration

$
0
0

Did a routine DVD upgrade on server A (from 2012 to 2019), appeared to work fine, all updates applied and while my guest VMs are running (as seen from an alternate server B running HyperV Manager...) this particular server A does not have any guest VMs or configuration "listed" in its own HyperV Manager.  

Any suggestions as to how to "restore" the configuration so my guest VMs are seen in the manager?

Also, the replication configuration from server A to B for the guest VM (on A) is not working either; even after resume attempts as well as remove/re-setup (says it's "not in a state to accept replication on the Replica server for the virtual machine").

Can I install Intel HAXM(Hardware Accelerated Execution Manager) in a laptop having a AMD Ryzon 5 3550H processor

$
0
0

I have tried numerous times to enable the Hyper-V from the 'Turn Windows features on or off' panel but I couldn't find the option of Hyper-V.

I think possibly this might be due to the reason as I am using a laptop having a AMD Ryzon 5 3550H processor.

Kindly guide me whether I can do the same or not

Help! BitLocker encrypted VHD is damaged after updating windows10-1909

$
0
0

During the Windows 10 update process, because the local space memory is less than 10GB, the system prompts that an external storage device is needed, so I used a mobile hard disk. This disk is usually connected to my computer. A VHD partition is made separately for storage Data, and this VHD is encrypted by BitLocker. However, after the update, the VHD file is still there, but the size becomes 0 and it cannot be loaded. The other files on the mobile hard drive have not changed at all.

At present, it has spent a lot of time to restore data (operation on the clone disk, no data is written to the original disk), and there is no result.

I want to ask why such a problem occurs? Is it that the 1909 version does not recognize the 1803 version of vhd? Even if the vhd is deleted or damaged, the data inside should be recoverable, but why can't it be recovered?

The pop-up window during the update, prompting: "Due to insufficient disk space, you cannot install the latest Windows 10 features and security improvements on your computer. Please follow the instructions below to complete the update. Select or connect at least 10.0GB of available External storage device. During the update installation process, use a USB key, SD card or external hard drive to temporarily expand the hard drive. Windows will not reformat your external storage device. "

OBJECT MISSING GENERIC FAIL

$
0
0
when i try and create a vdisk or a vmachine i crash when i try and finish getting an error message saying a may have deleted an object and another one just saying generic error. I cant even import and outside .Iso and use plus all the stock vmachines are not in the hyper-v folders. how do i get back to normal?

Exporting/Importing VM's Guest Cluster

$
0
0

Hi,

I am looking for some guidance on Exporting & Importing HyperV VM's those are part of cluster.

Scenario 1

  • Standalone Win2012 R2 HyperV Host
  • Windows 2012R2 VM Two Nodes configured in Failover Guest Cluster with shared VHD's fro Quorum, MSDTC & SQL
  • SQL 2012 Cluster named instance

Scenario 2

  • Win2012 R2 HyperV Host cluster with 5 nodes
  • Windows 2012R2 VM Two Nodes configured in Failover Guest Cluster with shared VHD's fro Quorum, MSDTC & SQL
  • SQL 2012 Cluster named instance

Is it possible to Export/Import VM Guest Cluster? what guidelines should be followed?






BSOD reboots

$
0
0

Hi

I have a HyperV server that just rebooted, and took a lot of virtual machines down. This is the second time in the last couple of months. I have a minidump, but can't find the culprit.

This error is in event log:
The computer has rebooted from a bugcheck.  The bugcheck was: 0x00020001 (0x0000000000000011, 0x0000000000263077, 0x0000000000001007, 0xffffe8000574ceb0). A dump was saved in: C:\Windows\MEMORY.DMP. Report Id: 042720-49468-01.

Bluescreenview.exe gives me this, but I don't know how to analyze it...

Bugcheck: 0x0000000a (Windows Server 2008 R2 Entreprise) - Is a VM running on Hyper-V

$
0
0

Event 41, Kernel Power occurred on two consecutive days around the same time causing the system to restart.

(The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly)


Another log was registered as follows:

Event 1001, BugCheck

The computer has rebooted from a bugcheck.  The bugcheck was: 0x0000000a (0x0000000000000000, 0x0000000000000002, 0x0000000000000001, 0xfffff80001c597de)


Any idea why it happened?

 

Checkpoins are not appearing while I had cancelled it after mistakenly i started merging it-Server 2012

$
0
0

I have two check point of a VM one was created in 2018 and other was in 2019. I had to delete only 2018 Check point but i selected delete tree which started deleting all my check points. But when only 2% was completed,  I cancelled merging process. Simple, Right click on VM-->Cancel Merging. But I do not see my check points back.

Please suggest how can I see my check points back, this is really very critical. I see AVHDX files are in snapshot locatin


Arif


I had cancelled Merging process of check point but when see in VM, no check points

$
0
0

I have two check point of a VM one was created in 2018 and other was in 2019. I had to delete only 2018 Check point but i selected delete tree which started deleting all my check points. But when only 2% was completed,  I cancelled merging process. Simple, Right click on VM-->Cancel Merging. But I do not see my check points back.

Please suggest how can I see my check points back, this is really very critical. I see AVHDX files are in snapshot locatin


Arif



Integration Services Mismatch - Checking Host version

$
0
0

I´ve installed a Win2012R2 Hyper-V Host and updated as better as possible

I´ve installed a Linux RH6.8 and downloaded and isntalled the latest IS, 4.3.5

Now, the Veeam Backup software is broken because of a "mismatch"

Guest processing skipped (check guest OS VSS state and hypervisor integration components version)Failed to create snapshot (Microsoft Software Shadow Copy provider 1.0) (mode: Crash consistent) Details: Guest processing skipped (check guest OS VSS state and hypervisor integration components version)Error: Guest processing skipped (check guest OS VSS state and hypervisor integration components version)

It´s hard to make sure host and guest for all VMs are the same, over time, some minimal version differences will occur and worst, how to know the expected version? How ca I tell the IS HOST version?

Wh cant i konw the exact version for the IS components on HOST? The EV errors are abot 4, 3 or 5 version, but with no details on minor versions

Hyper-V Data Exchange connected to virtual machine 'LINUX3', but the version does not match the version expected by Hyper-V (Virtual machine ID 967C2534-9DE7-4643-BC31-19F37F590F4C). Framework version: Negotiated (3.0) - Expected (3.0); Message version: Negotiated (4.0) - Expected (5.0). This is an unsupported configuration. This means that technical support will not be provided until this problem is resolved. To fix this problem, upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.

another one, older error

Hyper-V Heartbeat failed to connect to virtual machine 'LINUX1' because the version does not match the version expected by Hyper-V (Virtual machine ID 04A14285-2BA0-41A8-97CE-EDF23A677BE9). Framework version: Negotiated (0.0) - Expected (3.0); Message version: Negotiated (0.0) - Expected (3.1). To fix this problem, you must upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.

Other errors:

Hyper-V Data Exchange connected to virtual machine 'VeeamFLR_LINUX3_f29594ac-cf4e-463f-8e97-7c907d4c8043', but the version does not match the version expected by Hyper-V (Virtual machine ID 91615285-00BB-414F-BB9D-4ABEA5F23978). Framework version: Negotiated (3.0) - Expected (3.0); Message version: Negotiated (4.0) - Expected (5.0). This is an unsupported configuration. This means that technical support will not be provided until this problem is resolved. To fix this problem, upgrade the integration services. To upgrade, connect to the virtual machine and select Insert Integration Services Setup Disk from the Action menu.

'SERVER1': The Virtual machine B8A8AF17-9106-4454-AF31-12843A2E00A6 cannot be hot backed up since it has dynamic disks in it

Memory allocated for packets in a vRss queue (on CPU 0) on switch 6E77ECEF-A708-429D-9445-44A21279DFF6 (Friendly Name: Wan Switch) due to low resource on the physical NIC has increased to 512MB. Packets will be dropped once queue size reaches 512MB.

$
0
0

Hello

I run a Host Hyper-V 2019 with 32 cores and I get this error:

Memory allocated for packets in a vRss queue (on CPU 0) on switch 6E77ECEF-A708-429D-9445-44A21279DFF6 (Friendly Name: Wan Switch) due to low resource on the physical NIC has increased to 512MB. Packets will be dropped once queue size reaches 512MB.

This happens when we have lot of traffic because inside Hyper-V there are many Virtual Machines and this is supposed to happen more when traffic is high in packets - we run 1 Gbps netwrok card and use around 300Mbps when this happens.

VMQ and RSS was enabled in physical card but not VMQ not enabled in VM hardware acceleration option in network card.

When it happens we have timeouts completely which disconnects everything from outside to server - connection is lost completely.

Any idea about it and how to fix ?

THank you 



Internet becomes slow when External Vswitch is created with Intel Wifi card

$
0
0
Hello, 

I know there are countless threads on this topic however there is never a straight answer for the question. I'll try to ask the question as clear and detailed as possible.

I have Internet in my house it is a 60/10 connection. I do speed tests on wifi and can confirm the Internet is correct

The second I go into my Hyper V and create an external virtual switch and assign my Intel Wireless 8260 Nic my host Internet goes from 60MB download to anywhere between 0.5 to 1.5 MB download. The upload however always stays stable at 10MBPS

Ive tried disabling VMQ but as far as I know this is only for Broadcom NICs. I've tried enabling IPv4 on the bridge, no go. I've tried pretty much everything all the threads in Google have to offer. I've been unsuccessful in fixing this. If I remove the Wireless vSwitch everything comes back to normal.

This only affects the Wifi card. The wired card has no issues, speeds are constant and stable. 

The host is Windows 10 Professional v1903, the Guest is Windows 10 Professional v1909

I did come across a thread saying the vWireless has a higher priority than the local Wifi card, however, as of W10 1709 it seems the option to assign priorities to NICs has been removed.

I'm sure plenty of people have experienced this, my question is, does anyone have a working solution to this issue. 

Thanks! 


Hyper-V 2019 Slow Network Performance compared to 2012 R2

$
0
0

We run a combination of 2012 R2 and 2019 servers in separate clusters. We are experiencing a frustrating issue with our 2019 Hyper-V Servers. VM to VM network speeds are inferior on the 2019 hosts compared to identical VMs on the 2012 R2 Servers (around 1/3 of the speed)

We approached Microsoft and they suggested that they could see a number of network errors on the external NICs, so I approached the vendor (Dell). They suggested a couple of firmware updates to the NICs and the FC cards, which we performed. They also suggested a downgrade of the Intel NIC drivers – I had already tried the ones from the Intel site to see if this improved matters.

When this didn’t fix the issue Dell then wanted to go down the route of replacing hardware, which I resisted since we were having the same performance issues on all 6 hosts & it simply isn’t possible that all the hosts have the same hardware fault.

I then decided to create a Private VSwitch on one of the 2019 hosts. I connected my test VMs to this switch and experienced the same poor network speeds, which leads me to believe that the issue is unrelated to the NIC hardware or drivers, but the issue lies more fundamentally with how 2019 handles VSwitch traffic compared to 2012 R2

I have tried a number of "Fixes" suggested online, such as disabling VMQ and RSC, but these made no difference.

Has anyone else experienced this issue?

Hyper-V Manager over a VPN not able to connect

$
0
0
I have setup a Hyper-V server in a workgroup setup.

I have used the following steps to achieve this, which is all working on my local LAN.

My router supports multiple LANs, and I am able to use the Hyper-V manager between them as well.

What I have not been able to get to working is when trying to access the server with the Hyper-V Manger over my VPN.

Steps I used to allow Management access for WorkGroup:

On the Hyper-V Server:
Ran PowerSHell as Administrator
Ran: SConfig.cmd
Selected options 4 Configure Remote Management, then 1 Enable Remote Management
Selected option 3 Add Local Administrator, added Windows Username being used on the Remote Computer

On the Remote Client PC:
Ran PowerShell as Administrator
Ran the following commands to add Hyper-V server as turster host, and add administrator password

Set-Item WSMan:\localhost\Client\TrustedHosts -Value 192.168.1.100 -Concatenate
cmdkey /add:192.168.1.100 /user:administrator /pass:

Ran this to check host were added:
Get-Item WSMan:\localhost\Client\TrustedHosts

Ran: dcomcnfg
Open component services --> computers
Right-click -> my computer -> properties
Select "COM SECURITY" tab
Under "ACCESS PERMISSIONS" select "edit limits"
Select "ANONYMOUS LOGON", and tick "remote access" under ALLOW


So on my local LAN, I can use the Hyper-V to access the server 192.168.1.100 from other LAN on 192.168.5.10.

But when I try this from a remote PC via a VPN, which is on IP 10.0.0.10, it does not seem to be able to even see the Hyper-V service running.

I can ping and RDP to the server hosting the Hyper-V system, but the Hyper-V manager is not able to connect.

I tried turning off all the firewalls, but still could not get any joy.

All my desktop logins are using the same Username and Passwords.

Thought to try and see if someone could suggest anything that may assist me with this.

Thanks in advance for any comments.

Unable to Live migrate server

$
0
0

Hi

I'm having a issue live migrating a server to another hyper-v cluster.

It is this specific server as other servers can be moved without any issues.

the error message i get in VMM is:

'VirtualMachine'

Failed to transfer log files information: The data is invalid. (0x8007000D)

Log files information transfer failed for virtual machine 'SADA1': The data is invalid. (0x8007000D).
Unknown error (0x8011)

on the destination server i get event id 20940 in Hyper-v-vmms event log:

'VirtualMachine' Failed to transfer log files information: The data is invalid. (0x8007000D).

I have not seen this error before and have been unable to find any info regarding the event ID.

Anyone have any insight?


Error Setting VMQ MaxProcessors on LBFO Switch Independent Team

$
0
0

We are attempting to set the VMQ for both NICs on a dual-port Intel X520. They are currently in a LBFO team with Switch Independent and Dynamic set.

However when using Set-NetAdapterVMQ with the 'MaxProcessors' property, it gives an error:

Set-NetAdapterVMQ : No matching keyword value found. The following are valid keyword values: 1, 2, 4, 8, 16
At line:1 char:1
+ Set-NetAdapterVMQ -Name "NIC1" -BaseProcessorNumber 2 -MaxProcessors  ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (MSFT_NetAdapter...426E65C8AE98}"):ROOT/StandardCi...rVmqSettingData) [Set-NetAdapterVmq], CimException
    + FullyQualifiedErrorId : Windows System Error 87,Set-NetAdapterVmq

I find several sites using that command with many values without issue. I did find a single post here that states that this error would only appear for those using Switch Dependent on their team.

https://blog.apps.id.au/hyper-v-and-vmqs-mythbusting/

So why are we getting this error for a Switch Independent team? Is it because these NIC ports are on the same single card?

Viewing all 8743 articles
Browse latest View live


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