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

What is the best practice(s) for confirming VHDX are good (not corrupt file system)

$
0
0

Hello,

At our company, we use Veeam to back-up all VMs on our Hyper-V servers.

We ran into an issue, when we needed to restore a sharepoint 2016 server.

The VHDX that contained the MS-SQL database files was corrupted.

** We had several weeks of SUCCESSFUL VEEAM Backups** that when restored, were corrupt.

Veeam support's response is that it is a Microsoft issue.

What is the best practice to test/confirm or otherwise verify that a VHDX and its file system is not corrupt?

The point of backups is to mitigate risk, I can't imagine that we are the only company to experience this or ask this question.

This question is NOT about backups, it is what is the best practice to ensure what is being backed up is valid.

Thank you.


The processor does not support second level address translation (SLAT)

$
0
0

While attempting to install HPer-V on Windows server 2016, I encountered the error

"Hyper-V cannot be installed: The processor does not support second level address translation (SLAT)"

I run coreinfo.exe -v on the server and got the result below.

Intel(R) Core(TM)2 Quad CPU    Q9500  @ 2.83GHz
Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
Microcode signature: 00000A0C
HYPERVISORHypervisor is present
VMX        Supports Intel hardware-assisted virtualization
EPT       Supports Intel extended page tables (SLAT)

I now confused as to whether the processor supports SLAT or does not. Is there somewhere I need to enable SLAT?



Command or script to uncheck/disable Backup (volume shadow copy) inside Hyper V's Integration Services

$
0
0

Hi,

BackupAssist could not back a VM SQL server if Backup (volume shadow copy) is checked inside the Hyper V/Integration Services. Can you help with a command or script to stop/uncheck Backup (volume shadow copy)?

Thank you so much.

VM's do not start after reboot

$
0
0

Hi,

I've two hyper-v nodes that after a reboot (caused by Windows update) do not restart VMs... :(

VMs are configured with "shut down guest operating system" and "always start" settings.

Hyper-V is 2016, guests are 2012. They also are replicated (VMs from a host to the other host).

If I start them manually, they start without any problem.

Any idea? :(

Managing huge amout of VMs

$
0
0
Coming from VMware I used to group my different departments in Resource pools, both for Resource control and for easy overview of my companys different departments. Is there a way to group VMs in Failover Cluster Manager, Virtual Machine Manager or Admin Center?

Hyper-V loses the abiity to receive mouse clicks

$
0
0

Hello to Vincent and all,

We've got an odd issue with the mouse.  While I don't understand why this is happening, I am wondering if anyone has a workaround. 

The issue occurs when I attempt to resize a virtual machine, and then do not click 'OK' when we see the 'do you want to keep these settings dialog'.  Rather, I move away from this dialog and hold down the mouse.  When the virtual machine resizes ( reverts to its original resolution), the mouse is still active, but the ability to click is lost. 

 

Has anyone seen this?  Does anyone have a workaround to get the mouse back?

Thanks,

-Mezz

hyper v win 10 pro not active

$
0
0

hello,

anyone able to help me with a hyper v issue. i am using win 10 pro build 1703, and when i look for the hyper v and select it.. it is greyed out for hyper v platform/ hyper v hypervisor

when i try to activate it, it says failed

please can someone help me resolve this frustrating issue.

Windows Server 2019 Datacenter boot loops after enabling Hyper-V

$
0
0

I took my Windows Server 2016 Datacenter test server in my home lab (Dell R710 with two X5650s and 32GB of RAM) and installed Server 2019 Datacenter on it to try out the new features that are centered around VMs (Hyper-V) and data deduplication. The OS install went fine, but after enabling Hyper-V in Server Manager, the system goes through its normal reboot that occurs during Hyper-V enablement, then it proceeds to boot loop. Windows Server 2019 install media's boot repair does not fix the issue, and I cannot get in via Safe Mode. Any advice would be greatly appreciated.


How to Install and configure Hyper-V on Windows Server 2019

$
0
0

Hi,

Presumably because WS2019 just came out, I can only find 1 YouTube video which explains from A-Z how to install and configure Hyper-V on WS2019. Unfortunately, that video is without sound and is very blurry, so I can't really see what the demonstrator is doing.

I am a total newbie at virtualization. I would greatly appreciate it if someone could point to a video or written tutorial on how to do this.

TIA,

mlavie


Hyper V cluster: shutdown all nodes

$
0
0

Dear,

We are running a HyperV cluster with 2 nodes (shared storage, SAN).

We've wrote a powershell script to shutdown all VM's in case of a shutdown command of our UPS (get-vm | stop-vm -force). After this script has ran, we shutdown the physical HyperV node.

When power has been restored, the UPS sends a WOL packet to the 2 physical hyperv hosts.

How should we auto start all vm's again? I've tried to setup the priority in the hyper v failover cluster, but however: the VM's does not auto start again... When I configure the auto restart in the hyperv manager: it works: but these settings does not remain after a migration to another node.

Basically we want a full auto shutdown and a full auto restart in case of a power failure.

Can someone give me some insights in the case of a power outage? We want to automate this procedure as much as possible...

Kind Regards, many thanks.

Pieter


Hyper-V Virtual Machine Management Service doesn't respond, cannot stop/restart

$
0
0

Hello, I've been running a functioning virtualization set on a small Server 2016 install, running a half dozen VMs. Everything was working fine for months, but I let Windows update last night and when it rebooted suddenly none of the VMs would startup. When I attempted to check them with the management tool it tells me it's connecting to the Hyper-V Virtual Machine Management Service, and it never stops saying that except to sometimes say it cannot be reached. This is all locally on the server, not remotely. This has not happened in the past. When I attempt to stop or restart the Hyper-V Virtual Machine Management Service it takes a long time and then ends with Error 1503 saying that it cannot stop the service as it took too long to respond.

I tried rolling back the update, and that changed nothing unfortunately. This is pretty disastrous for me, hopefully someone can help me out!

Edit: As far as I can tell none of the VMs boot, none appear to be on the network switch, and I cannot access them through any means.

The Get-VM command hands powershell, and whether the service is stopped or not (which is does eventually stop after 10+ minutes) the network switch information in the Hyper-V configuration area for switches never becomes available.

Nvidia Quadro P4000 DDA Error Code 43

$
0
0

Hi

We use a Nvidia Quadro P4000 on a HPE DL380 Gen10 with Windows Server 2016 Hyper-V and Passtrough the Card with DDA to a Windows Server 2016 VM.

W've installed the latest drivers. But after a while, without any user input, the card shows the error code 43.

How do I route traffic for private network between two Hyper-V?

$
0
0

I have got two Hyper-V hosts connected by external vSwitch. On one host I have few VMs connected to the private vSwitch and few VMs on the another one as well using private vSwitch. Now I would like to make VMs on both Hyper-V hosts visible to each other. I have deployed two RAS servers.

I have configured RIP protocol on external vSwitch on both VMRouters.

I can ping from VMRouter1 external vSwitch IP and private vSwitch IP on VMRouter2 and vice versa.

I cannot ping from VM2 VM1 as well as private vSwitch IP on VMRouter1.

Current configuration Windows Server 2016:

Hyper-V 1

VM1
Private NIC: 10.0.0.1/24
Gateway: 10.0.0.2
VMRoute1
Private NIC: 10.0.0.2/24
External NIC: 10.10.11.0/24

Hyper-V 2

VMRoute2
Private NIC: 10.0.0.3/24
External NIC: 10.10.11.1/24
VM1
Private NIC: 10.0.0.4/24
Gateway: 10.0.0.3


Windows 10 VM hosed by Windows Update today - "C:\Windows\system32\config\systemprofile\Desktop is unavailable"

$
0
0

is there a way to roll back an automatic Windows update, or otherwise recover this hosed VM?

While I was away from my PC (Win 10 Pro host running Hyper-V), a Windows 10 VM it hosts decided to update itself. The VM had been working fine since it was created last year (with usual automatic updates) until now.

The VM boots to the login screen, then says "This might take some time" and "These updates help protect you in an online world" and "Leave everything to us" hahaha! (plus "Don't turn off your machine"). Some ten minutes later there's a popup:

Popup Title: "Location is not available"   

Popup text: "C:\Windows\system32\config\systemprofile\Desktop is unavailable. If the location is on this PC, make sure the device or drive is connected or the disk inserted, and then try again ..."

Clicking OK to dismiss the popup gets a black desktop with only a recycle bin. Clicking the Start button does nothing. Task Manager shows no processes, and no users.

Winkey+R lets me run stuff (if it's on the path), internet is OK (ping, git, etc., work) but networking won't do NET USE  (gets system error 1222)

Any ideas for diagnosing/fixing the problem would be greatly appreciated. This VM is my development system; I do have an old VM Checkpoint but will lose my tailored environment if I revert to that. Luckily all source files are in github

thanks

How Do I Migrate Hyper-V Licenses From One Server 2012 R2 to Another?

$
0
0

Hi,

I have 2 Server 2012 R2 systems (1 old, 1 new). The older system has some unused Hyper-V licenses that I would like to migrate to the new system. How do I go about doing that?

Thanks!


Manually merged snapshots, but last one "Failed to merge the virtual disk."

$
0
0

I've manually merged snapshots but when trying to do the last to the main VHDX I keep getting the following errors;

Failed to merge the virtual disk. (Event ID: 15272 Hyper-V-VMMS)

Another error which is raised at the same point is Event ID: 27260 Hyper-V-VMMS


The description for Event ID 27260 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

D:\Appdata\Hyper-V\Hyper-V Replica\Virtual hard disks\453D5471-5901-47EF-A9B8-3F0A30D5C46A\somevm_E6C5B11E-FDD4-438D-A90C-351C00BF84FA.avhdx
%%2147943065
0x80070299

The locale specific resource for the desired message is not present

The snapshot I'm trying to merge is 600GB, the parent main-disk is 1TB. There's 1.92TB of free space on the disk. Running Windows 2012 R2. Google didn't really direct me anywhere useful unfortunately

Windows 10 PXE boot "DHCP failed" in Hyper-V PoC test lab

$
0
0

Hi all,

I've used a high-end PC running Windows 10.  Installed Hyper-V and set up a test lab as per: Test lab instructions

The only deviations are:

  • It's not connecting to the internet through the external-poc switch (the switch is set up correctly, but our domain proxy is so locked down it's not worth the effort);
  • Instead of the prepared W7 image, I've used a copy of one of our W7 machines.

I then work my way through the sequence in Windows 10 PoC MDT

Reference image is created without issue.

Updating PC1 to W10 works fine, presumably because the process begins in W7 after it's contacted the DHCP. 

Applying the image to PC2 and PC3 (which are "bare metal" VMs) results in the following failure:

I've gone through the guides twice and can't see where I've going wrong.  Can anyone offer guidance on which step I've not done correctly?

Command or script to uncheck/disable Backup (volume shadow copy) inside Hyper V's Integration Services

$
0
0

Hi,

BackupAssist could not back a VM SQL server if Backup (volume shadow copy) is checked inside the Hyper V/Integration Services. Can you help with a command or script to stop/uncheck Backup (volume shadow copy)?

Thank you so much.

Windows 2012 Hyperv-V Dynamic VHD Keeps Expanding - Can I Convert To Fixed VHD?

$
0
0

Hi Everybody, 

We are running Windows 2012 R2 Hyper-V Server, and our main production server VM is running Windows 2012 R2 on a dynamic VHDX on a 700GB partition. This VM has been running successfully for about four years without much trouble. 

A database application was installed last week, and since this has happened, I've seen the hard disk space being reduced day by day until now we are reaching a point where the whole partition will soon be full. Within the VM, the disk usage does not increase, but the VHDX is growing by about 8GBs per day. 

What I think is happening is that there is some process that they are running at night that is copying a huge amount of information and then deleting it, which gives us a sort of white space effect. So I will have to down the server some evening to get back the white space. I'm just wondering if I should use the opportunity to change the disk to Fixed VHDX and if this would help with the problem. 

Any advice appreciated. 

thanks, 

Jonny. 

dynamically growing VHDX Debian Stretch

$
0
0
Hello, there,

we host some Debian Stretch (9) virtual machines on our Hyper-V. I configured these systems as Generation 1 virtual machine and used dynamically growing VHDX files as hard disk.

The odd thing is that the hard disk files (VHDX) grew to the configured maximum size of the hard disk, although the operating system only used 20-40% of the hard disk.

On Windows machines, the size of the hard disk file is always about the same as the size of the system that is occupying the hard disk.

What could be the reason for this?

As I understood it, the guest Windows recognizes the virtual hard disk as SSD and sends TRIM commands to the host. Thus Hyper-V knows which sectors are no longer in use and can reuse them. Is it necessary to enable such a feature in Debian? With ext4, for example, this is the discard feature.

Is it also better to switch to the second generation of virtual machines? I also wonder if it is better to connect the virtual hard disk via a SCSI controller or IDE controller?
Viewing all 19461 articles
Browse latest View live


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