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

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


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

Is Hyper V secure against malicious software?

$
0
0

Is Hyper V secure against malware? To be more specific, there is a possibility that I may encounter malicious programs (malware testing or otherwise) on my virtual machine, and something that I do not want is for the malware to transmit itself from the virtual machine to the host machine. Is Hyper V secure against this? 

If not, to which degree is the host machine protected? Would Hyper-V be "safer" or "more secure" than Virtualbox or VMware in any way?

I intend to run Windows 10 on the virtual machine, if this information is relevant.


Appropriate type of checkpoint for Malware testing

$
0
0

Suppose that the virtual machine (using Hyper-V) has been infected with Malware, running the Windows 10 OS. In order to restore the virtual machine to the "clean state" before it has been infected, is using a standard checkpoint appropriate, or is using a production checkpoint appropriate? Is there no difference?


Recovery Not Locating Backups to Recover VM

$
0
0

Hello Community,

I am running a Server 2016 physical machine with Hyper-V which has two VMs.  The first VM is a DC and the second is a file share server that also has a backup share for all network devices.  The drives for the VM are offline on the physical device in order to be recognized by and attached to the VM.  I need to perform recovery operations on the file server, but when booting to the installation disk, it cannot find the disk with the backups, not matter which IDE controller I put it under and even if it is back online on the physical device.  When attached to the VM, I get error 80070035 and when on the physical machine I get error 80070001.

I was installing an email server and database on the same file server and the SQL database started acting strange.  I performed a system state recovery on the live machine, but after reboot, it goes to a blue screen with a loading circle.  After days, I still cannot login.  I rebooted the main server and turned off and back on the VM to no avail.  I need to recovery the OS, but apparently do not know how to get the VM / installation ISO to locate the disk with all of the backup files.  Any help will be greatly appreciated.

Fortunately, the VM functions normally even though it will not provide a login screen.  The files shares are located on a different disk altogether and I am willing to reinstall Server 2016 to rebuild the VM if cannot perform a recovery.  Because of the pass-through disks, I also do not have a snapshot.

Justin

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 2012, cannot get DHCP addresses on VM guests using external switch 2

$
0
0

I can't seem to get dhcp addresses on the guests using a 2nd external switch I made.  Each external VM switch is on a different router with DHCP.  Both switches get an IP addresses from routers, and I can ping both from core console.  Both switches are configured the same (external/share with host/no vlan). Guests work fine if I put them on switch 1. However when I use 2 the guests will not get an IP.  The working switch is a Broadcom NetExtreme 57 connecting to a Uverse gateway/modem. The non-working switch is an Intel pro/1000 MT Desktop connectling to a low-end Belkin router.  

Here is what I tried...

assigned a static IP...still no connection or packet flow

tested DHCP on router on other devices...works, range is 192.168.2.4 thru 2.98

tried unchecking share with host option in hyper-v manager...no difference

tried using vlans option in manager...no difference

tried uninstalling and reinstalling the guest network adapter...nothing (remember it will work on switch 1 anyway)

This setup works in Server 2012 with Hyper-V installed.  However now I am using Hyper-V core 2012.  

Guest OS is Freezing/Locking Up/Not Responding (Windows Server 2008 R2)

$
0
0

I have seen this problem with a number of virtual machines. The VM hosting environment is running Hyper-V 2016 and Hyper-V 2012 R2. This issue happens on both versions of Hyper-V.

I run a variety of guest operating systems including Linux, but this problem is only affecting VMs that run Windows Server 2008 R2. I have a small group of remaining 2008 R2 guests scattered around the environment. The server freezes up and stop responding to ping and RDP requests. At the console, CTRL+ALT+DEL does not work. The only way I've been able to recover the VM is by performing a hard restart / power-cycle. 

When I try to shutdown the VM, it will enter a "stopping critical" state and cause network interruption to all the other VMs on the same host. At this point it becomes impossible to get the VM back online until the original Hyper-V host is rebooted. Live migration will work for the other VMs on the host, but it will fail for the unresponsive 2008 R2 server.

I'm wondering if this is some kind of bug for 2008 R2 guests. It's been occurring randomly across multiple Hyper-V hosts.


Creating Linux VM's using a kickstart script.

$
0
0

I need to build out some Linux VM's (OL-7) and don't want to manually add the networking/config info. There is already repository setup for bare metal linux hosts that will do what I want, but I'm not sure how to add the kickstart file to a new VM that is booting up. My guess is to connect the virtual floppy, but I'm not sure where/how to create the virtual floppy using the correct format Hyper-V/Microsoft wants.

Has anyone done this before or have a good tutorial URL for this?

Thanks

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

Hyper-V role not remove

$
0
0

Hi,

I've tried to uninstall Hyper-V role using both GUI and Powershell method but I can't remove that. When the server restart I get the following error in Server Manager:

Any help would be appreciated.

Thanks


Why does the merge process cancel itself?

$
0
0

Hello,

After a backup job there is often an AVHDX file lingering.   Every time the replication occurs it seems to get a little further e.g.  replication occurs after the backup is complete and merge may get to 2% then it just says cancelled.  5 minutes later, replication occurs again and it may get to 3% and so on and so on until about 8 hours it may complete the merge.   I've tried adjusting the replication cycle and it seems to make no difference if it is at 5 minutes or 15 minutes.

What is causing the merge process to self cancel?

I can always shutdown the VM if I don't mind 300 people with torches and pitchforks hunting me down but I'd like to be able to get the merge to not self cancel.    A manual merge always seems like a bad idea unless you shutdown the server in which case it is unnecessary as the merge process occurs on its own if you shut down a VM but then I have that whole angry mob thing to deal with.

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.

Pet peeve: Numlock of Host

$
0
0
OK, I am sorry if this may seem "childish", but I have to let know my little frustration about the Hyper-V manager and the VM windows that keep changing the state of my Numlock!!!!!!

I want it ON, but everytime I open a VM, it keeps switching it to OFF, and for the love of me, I can't find a way to make it stop that...

There, I feel better, and who knows, maybe this little thing may get corrected in the final version ;)

Serge

Hyper V replication

$
0
0

Hi

My environment has been built on windows server 2012 R2 and i want to enable hyper v replication

I want to know hyper v replication limitations ?

My VMs which need to be replicated ( Exchange , SQL , WEB with NLB , File server cluster)

Thanks


MCP MCSA MCSE MCT MCTS CCNA


STOP error after installing Update Rollup 1 for Windows 2000 Server

$
0
0
Hello, I'm having a problem with a clean install of Windows 2000 Server as a guest under Windows Server 2008 R2. I installed from the original disk and updated to SP4 via network install file. All other updates were applied via WSUS. Here's the order everything was installed with reboots between each:

Clean Install
SP4 Upgrade
Install Integration Services
Joined Domain
Install Updates

Using snapshots, I was able to narrow it down to Update Rollup 1 for Windows 2000 Service Pack 4 (KB891861). Without this pack, the server runs fine, but if I install it, I get the following STOP error on next boot.

STOP: 0x000000CE (0xEB040000,0x00000000,0x80458399,0x00000000)
DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONS
This driver may be at fault :vmstorfl.sys

Address EB040000 base at EB040000, DateStamp 00000000 - vmstorfl.sys
Address 80458399 base at 80400000, DateStamp 384d9b17 - ntoskrnl.exe


I noticed this update pack has some SCSI related known issues, but the KB article notes a different stop error. Is this a Hyper-V specific problem?

How to migrate the virtual machine in winserver 2012 to the virtual machine of winserver 2016

$
0
0
As I mentioned in my question, how can I migrate a virtual machine from Windows 2012 to Windows 2016? I know that it can be done by importing and exporting, it is ok. However, I now restore the virtual machine files in Windows 2012 directly to Windows 2016 through third-party software. I use the symbolic link to add permissions to the migrated virtual machine through icacls. The file recovery of the virtual machine is successful, but this The virtual machine registration failed, and the virtual machine could not be found in Windows 2016. Please give me some guidance.

How to shrink a VHDX Hyper-V disk

$
0
0

I had a great deal of trouble shrinking a Hyper-V VHDX 250GB fixed disk that was 50% full. I was hoping for a best method for shrinking vhdx hd files.

In the virtual machine I tried

* defrag - shows 84% and decreases as I try more attempts

* disk manager - shrink to smallest space and leave empty space unused

In Hyper-v control on the host machine I tried

* edit disk - compact

* edit disk - convert -failed

* edit disk - copy to new file and then tried all the above unsuccessfully

On the host machine I tried

* powershell Resize-vhd in many iterations but all failed

Finally, I used Paragon Hard Disk Manager to create a HyperV image backup to a .vhdx. then I used Hyper-V to convert it to a expanding hard disk, and the new hard drive changed from 250GB to 100GB.

Thanks!

Hyper v machine stuck in Boot Manager loop

$
0
0

Hi,

We had a stroage issue with our hyper v machines i've had resolved this and merged disks together, and got the main VHDX to like the chains of VHDX's used.

I then edited the machine settings to use the vhdx that was taken down before all the stroage issues were resolved, the Hyper-V machine now boots but boots into a Windows Boot manager loop.

It then has to solve the problem put in the Server 2012 disc and run 'repair my computer' when i do this it takes me into a loop.  The error displayed is;

FILE; \WINDOWS\SYSTEM32\winload.exe

status; 0xc000000f

info; the application or operating system couldn't be loaded because a required file is missing or contains errors.

I've then tried to boot into last known good config the same issue;

copied over the reg keys using bcedit same issue;

Tried to run the cd and the boot loop continues;

On a test machine i was close to rebuilding it but i would lose all configs etc this is our sharepoint site that had errors.

Any help would be great.

connecting to virtual machine management service

$
0
0

Hi Techies,

We have server 2016 on IBM x3650 server, facing issue with hyper-v when i open hyper-v manager getting "connecting to virtual machine management service".

We tried below troubleshooting steps.

1.restarted hyper-v management services and WMI

2. rebooted two times.

Any one had experience on this issue, help on this.

Regards

Vajram Gajengi

Viewing all 19461 articles
Browse latest View live