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

Replication Test Failover Domain issues.

$
0
0


Hey Technet, we're a contractor company working under a much larger company, and we're tasked with having a backup site with Hyper-V replication.

Currently we have backups getting pushed every 15 minutes to our system. Paranoid people that we are, we prefer to spool up and run all the replications daily to make sure they are functioning. This includes running applications and checking on files in the database etc. The issue we are running into is that the domain controllers are being turned off on our AD replications by the Hyper V console. The reason why seems to be referenced in an article by Bill Mathers titled: "Support for using Hyper-V Replica for virtualized domain controllers"  (Unfortunately I can link anything yet)

It seems to be a microsoft safety feature to prevent conflicts, but we're hoping there is a work around for this. Currently we are running Test-Failovers on all the VMs and when we do we'll often have to run off Cached Credentials. Sometimes we get "No logon services". Its impeding our process of running a test lab under failover conditions.

Is there a way we can still complete our daily tests with this method while having functional test failover DCs?


Move vm configuration file to csv

$
0
0

We have a hyperv cluster. We use csv and not csv disks.

A vm has this config:

- Drive C on a .vhdx on disk1 (not csv). Also, config file is kn this disk1

- Drive D on a .vhdx on disk1

- Drive E on a passtrough disk2

- Drive F on a passtrough disk3

Sometimes we have issues on live migrations. This url https://technet.microsoft.com/en-us/library/hh831435(v=ws.11).aspx says....

Physical disks that are directly attached to a virtual machine (pass-through disks) are supported when all of the following conditions are met:

  • The virtual machine configured with one or more physical disks is running on a Hyper-V failover cluster.
  • The virtual machine configuration file is hosted on a Cluster Shared Volume (CSV).
  • The physical disks are configured as a storage disk resource under control of the failover cluster and are properly configured as a dependent resource for the virtual machine.

So, I need to move vm config file to a csv disk...what is the best option?

Time Loop - how did this even work for at least a year?

$
0
0

Hi,

not sure where to post this really so i've posted it here because of trying to configure time for existing virtual domain controllers

so, we have the following setup for how time works:

Server1 is a virtual domain controller, it gets its time from the integration components in hyper-v

Server2 is the hyper-v host, it gets its time from Server3

Server3 is a physical domain controller, it gets its time from Server1

The above was all shown using w32tm /query /source on each server

This causes a loop of dependencies, but out of curiosity - how on earth did my time not drift by hours/days/weeks in this setup - its been running for at least a year like this, its a closed loop. Neither Server1 or Server3 are the PDC, that's actually another domain controller not included in the above. Can anyone shed any light on this? it's no big deal, my time was only out by like 2 minutes but im puzzled by how it would be only 2 minutes because server1 would have accumulated some clock skew.

Cheers

Steve

Windows Server 2016 Hyper-V does not has Integration setup disc VMGUEST.ISO

$
0
0

I started to work on my server migration project 10 days ago.  For the best result, I converted the physical server into virtual machine first, then migrate it to the new Windows Server 2016 Standard (with desktop GUI).  The old server is Windows Server 2008 domain controller.  After I copy the VHD and set up as virtual machine in the Windows Server 2016.  In Hyper-V Manager, after I started up and login the server, there is no "Insert Hyper-V Integration Service Disc" option in Action menu.  I search but not found C:\Windows\System32\vmguest.iso .  All Windows updates are applied as of today, included KB3206632 (Dec 2016). I set up another Windows 2016 Server with Hyper-V role, the result is the same.

Since the virtual machine is Windows Server 2008 domain controller, I cannot start it up successfully without install the Integration Service disc.  At the end, I re-installed the computer with Windows Server 2012R2 with Hyper-V to do the migration.

Question on Logical Network Types

$
0
0

Hello,

I have a lab environment setup where I have two hosts connected independently to a pair of L2

switches. The hosts are connected to a tagged management VLAN with an independent subnet with a router-on-a-stick scenario where the router has a sub-interface for the VLAN. Then I want to go and create separate route-able VLANs with their separate subnets, my question is what is the best Logical Network type for this setup?

My initial thought is to use VLAN-based separate networks and set a network site for each VLAN and set the tags.

Thanks



General Access Denied Error - Hyper-V

$
0
0

Hi

We have a Hyper-V 2012 3 node cluster, the VMs are stored on a Server 2012 based 2 node Scale Out File Server.

We created this setup from new in October 2013 and it has generally worked OK since but we do get the occasional "General Access Denied Error (0x80070005)" when we try to live migrate a virtual machine.  The instructions in the below TechNet article do not work for us - the result indicates success but when we try the Live Migration again we get the same error message.

http://support.microsoft.com/kb/2249906/en-gb

I have in the past resolved this by removing the virtual machine from Failover Cluster Manager, migrating it via Hyper-V Manager, logging on to the destination Hyper-V host and re-importing it to Failover Cluster Manager from there.

However last night I was doing some system maintenance and went to drain a host via Failover Cluster Manager.  The host had around 20 VMs on it and only two VMs successfully migrated - the other VMs did not migrate and now I cannot move them from that host for love nor money!

The Event Log for FCM indicates they have the "General Access Denied" error.

I have tried the following:

  • Use instructions in above mentioned TechNet article (shows success, but same error happens when I try to Live Migrate)
  • Tried the method I have mentioned above (removing from FCM etc.).  Get the Access Denied message
  • Checking the folder permissions on the "Virtual Machines" folder where XMLs are stored.  Permissions appear OK for all Hyper-V hosts (also checked the VMs VHD permissions)
  • Trying the Live Migration directly on Hyper-V host rather than via a Constrained Delegation scenario
  • Checking Constrained Delegation in AD (seems fine as per when I set it up in October)
  • Checking permissions on the Scale Out File Server

With regards to the Scale Out File Server I have noticed in the past some odd permissions things going on.  I have seen the permissions for the Hyper-V hosts going from (for example) "Full Access" on "This Folder, Subfolders & Files" to random things like " Read/Modify" on "This Folder Only".  Manually changing the permissions back to Full Control resolves the issue, but does not stop it recurring again.

So I'm a bit confused really!  It looks like a mixed basket of permissions issues going on!  Some of our most critical machines are on that host at the moment and they cannot be moved.  Any suggestions appreciated.

Many thanks

iSCI vSwitch setup for Hyper-V VMs

$
0
0

Hi All,

We have 3 Hyper-V servers 2 of which are part of a cluster, 2 physical adaptors have been dedicated to iSCSI and LUNs are presented to the hosts for shared storage. Disk failover is controlled by the iSCSI MPIO.

We have a requirement for VM's to have direct iSCSI connection(s) to access the data on the disks, i think this is called a RAW connection (correct me if i'm wrong). To configure this my thoughts were to create two vSwitches and have each vSwitch connect to the physical iSCSI interface (all iSCSI vSwitchs will have the same name across all hosts).

With this is mind it raises questions:

  1. Is the correct way to do this?
  2. How do the VMs deal with disk failover events if the host is controlling the disk pathing via MPIO? My thoughts were to enable the 'NIC Teaming' option by ticking 'Enable this network adaptor to be part of a team in the guest operating system' within 'Advanced Features'. Would this allow the VMs to continue to work gracefully in the event of a  failover when the hosts utilises MPIO for redundancy/load balancing?

I look forward for all of you professional guidance.

Computer Unique ID to Restrict illegal copy

$
0
0

Dear Friends,

Please as I want to seek technical advice/help I have a question if we will convert physical computer machine to VM virtual machine my question after converted  it to VM CPU and bios ID will be identical of VM  as physical computer has or it will be different as we have situation to protect our developed software for illegal copy as it can be done by convert physical computer into virtual machine, I am seeking for any unique identity of computer which will be not remain same after converting pc into vm.

for further details following URL 

https://social.msdn.microsoft.com/Forums/vstudio/en-US/3df42e6a-90a0-4d25-aebc-6fd6e4fe20f0/computer-unique-id-to-restrict-illegal-copy?forum=vbgeneral

thank you.

regards, 

asad


asad


Exposing >4GB Graphics Card Memory to VM using DDA

$
0
0

Hello,

We have a Hyper-V Server 2016 with a PCIe graphics card with 8GB of memory exposed via DDA to a Windows 10 VM, but we can only see 4GB of graphics card RAM available from inside the VM. We used the "Set-VM -HighMemoryMappedIoSpace 8000MB" command and from the hypervisor we can see 8GB allocated, but it's not available from within the VM.

Is there an artificial limit within Hyper-V that is restricting DDA from exposing greater than 4GB of graphics memory? Or are we simply doing something wrong?

Thanks,

Trevor


Mount Server 2012R2 VHDx in Server 2016

$
0
0

Hi All

I am having issues mounting Server2012R2 VHDx files with PowerShell. When I try and mount the VHDx files I get the error 

Mount-VHD : The Hyper-V Management Tools could not access an expected WMI class on computer xxxx 

This may indicate that the Hyper-V Platform is not installed on the computer or that the version of the Hyper-V Platform is incompatible with these management tools.

I can however mount the images via Explorer.

Hyper-V Module for Windows PowerShell is installed ( As well as all other management tools)

Any help would be appreciated.

Thanks

Tim

Server 2016 w. Hyper-V - can't open Hyper-V Manager after HP SPP 2016.10 is installed

$
0
0

Hello Guys.

I have issues with opening my Hyper-V Manager local after I installed HP SPP 2016.10 bundle on my BL460c G9 blade.

This message pop's up : 

”An error occurred while attempting to connect to server ‘Server1’. Check that the Virtual Machine Management Service is running and that you are authorized to connect to the server. Hyper-V Encountered an error trying to access an object on computer ‘Server1’ because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.”

I suspect WBEM and/or HP Insight Management to be the reason for this not working - any other suggestions or people that have the same issue?

Hyper-V Manager works fine, when HP SPP is not installed - so I am pretty confident that this is related.

Anyone else experiencing the same?


Migrating from XenServer 7.0 to Hyper-V 2016 Server

$
0
0

Hi,

Over the last week or so I've been trying to get Windows VMs migrated from XenServer 7.0 to Hyper-V 2016 Server.

I have tried so many different methods such as:

  • Exporting to XVA format, then converting to OVF and extracting the VHD for attaching to a Hyper-V VM
  • Using disk2vhd on the live VM for the same
  • Running VMware vCenter Converter on the live VM
  • Starwind and other tools for converting exported VM formats to Hyper-V formats
  • And finally, Microsoft Virtual Machine Converter 3.1

I'm sure there are other methods I've tried, too, but without success. Usually, what happens with basic disk conversions is that Windows starts to boot (the logo displays), and then blue-screens with 'SYSTEM_THREAD_EXCEPTION_NOT_HANDLED'

Microsoft Virtual Machine Converter 3.1 gets to 100% on the 'Convert disk(s)' stage, then fails with 'The object invoked has disconnected from its clients. (Exception from HRESULT: 0x80010108 (RPC_E_DISCONNECTED))'. The firewall is completely disabled on the client and server as I had earlier issues, and BITS is installed on the server.

In terms of the versions of Windows I've tried to migrate, I've used Windows Server 2012 and Windows 10 Pro, both with the same results.

Any ideas? Thanks.

info about setting up a guest cluster in 2016 hyperv

$
0
0

Hi.

I try to find some information about setting up guest cluster using the new vhds format in hyper 2016.

i cant find any official info about which scenarios thats supported and howto actually set it up.

the feature im after is to be able to expand clustered disk online in a w2k12 r2 guest cluster is that even supported seen blogs that says no.

/regards Jorgen

Need to Enable Internet Access to the HyperV vm's in Internal Network

$
0
0

I am using Hyper-V server core to spawn two VMs. I have External Switch connected to a physical interface.

Is it possible to route my traffic from my Internal network to the External and vice versa?

If not, what are other ways I ensure my VMs to access the  internet.

10Gb external port mirroring throughput

$
0
0

I am doing some testing on using Hyper-V to do network monitoring, this monitoring involves a 10Gb network card configured as the source and a virtual machine as the distination to relay ALL the external traffic (utilising promiscuous mode) to the VM.

The equipment used is a HP Proliant DL360p Gen 9 with a Intel X520 10Gb NIC. using a traffic generator and WireShark on the host. In this config I can only get about 95% of the traffic being generated and fed to the NIC seen at the host.

Has anyone been doing any testing with throughputs in promiscuous mode with success? By throughputs I am talking about > 1Gbps and more in the region of 10 to 20Gbps?

Happy to provide more info on the config but interested to see if others out there are testing at > 1Gbps on Hyper-V 2016.    


0xc00002e2 On all DCs after leaving them off for about 3 months

$
0
0

back in October I used Disk2VHD to take copies of all my domain controllers and load them into a Hyper-V lab.  I had no issues working with them back then.

yesterday I attempted to start them up and work with them but they all failed on booting with a Stop error 0xc00002e2.

I attempted to take to original VHDX file from October and rebuild the lab, but each server produced the same error.

I understand this has to do with some corruption or issue with the AD database, but because its happened to all 3 and I am trying to figure out if its simply because they have been offline for so long or there is some underlying issue I am unaware of.

I've left DCs offline in a lab environment before for longer and had no issue restarting it.

Any feedback is appreciated.

FYI - They are all 2012R2 in Windows 2003 mode.



Hyper-V Replication Issue: Size of change tracking file exceeded the maximum size limit. (0xC03A0021)

$
0
0

We have a database server that keeps sending us this error: Hyper-V Replica failed to switch the log file for change tracking for virtual machine 'xxxxxxxxx'. (Virtual machine ID xxxxxxxxxxxxxxxxxxxxxxxxxxxxx) - Error: Size of change tracking file exceeded the maximum size limit. (0xC03A0021)

This usually messes with my replication, but it resynchronizes fine.

1) I'm not sure I understand what this error entails. What and where is the tracking log, and where can I expand the size limit of this tracking file? 2) I have a suspicion it has to so with resources on the machine. This is a database server with SQL server on it, and the issues usually occur when we're pushing this to production. This machine has dynamically expanding memory.

Does anyone have any input into this?

Best,

Windows 2012 R2 Cluster blue screens with 0x20001 11 27384d on NTOSKRNL.EXE

$
0
0

The blue screen is occurring randomly on all four nodes of my newly created Windows 2012 R2 Hyper-V Cluster.

Each Server:

  • HP BL465c Gen 8 (192GB/FC Connection to VNX)
  • All Drivers are current per HPSReports analysis by them
  • All EMC Drivers are up to date

Not all servers are rebooting at the same time.  They will sporadically do this with no event indicators of any failures prior to the event.  This appears to be a hyper-v memory management error which usually indicates bad memory or something like that, but this is extremely unlikely because the events are occurring on all four servers that are identical.  The only reason I can see this being the case is if I have some BIOS issue that is undiscovered as of it.  This can always be a possibility but HP has been pushing me to Microsoft because of the cross device consistency of this.

There simply is nothing in any log that shows a build up to this issue.

The other suggestion I am being given is to reinstall the server.  But that means the entire cluster as they are seeing the same thing.

There are references to this covering Windows 2008 R2 and one even shows a hotfix, but that isn't 2012 R2 and does not help as well.

Daren

Unable to install hyper-v on windows 2012 R2

$
0
0
i am trying to install hyper-v on window 2012  R2  server but getting the error : 0*80070005

Integration services cannot upgrade HAL

$
0
0

HI,

We migrated a SBS 2k3 to a virtual machine (host is windows 2k8 sp2 with Hyper-v) using disk2vhd.

We checked the update hal checkmark, but now we are running into a problem. The disk2vhd placed a virtual server hal in the VHD. As soon as we try to insert the integration services disk it keeps saying it has to update the hal and needs a reboot.

We say ok, it says it is updateing the Hal, it reboots and then comes again with the same message that it needs to update the hal. So we are in a loop.

Anyone familiar with this problem?

I was able to recreate the problem with a windows xp machine too.

Best regards,

Henry

Viewing all 19461 articles
Browse latest View live




Latest Images