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

Convert SQL Server, Domain Controller and Exchange server from VMware to Hyper-V

$
0
0

Hello. I am in a project migrating from VMware to Hyper-V. I have doubts on the migration of the SQL server, Domain Controllers y Exchange Servers. Is it possible to do the conversion "online"? Does official documentation exist in the matter?

Some servers have RDM disk, does some recommended procedure exist?

We will have System Center Virtual Machine Manager...best virtual machine converter? Disk2VHD?

Thank you very much.


SQL 2014 clustering on Guest Hyper-V

$
0
0

Dear Support

I am installing failover cluster on Hyper-V on Guest level. I already added to drives as CSV but when i am running SQL setup as failover cluster, its giving me below error



Muhammad Faheem

USB Device appears as RAW in Hyper-V Core

$
0
0

I have a Dell server with Hyper-V Core hosting a Server 2012R2 VM as well a a couple of smaller Linux VM's.

I've plugged in a 6TB USB disk, which I formatted as NTFS with my Win 7 laptop, to use for backup. The disk shows up in the HV Host as Raw. I was going to set it off line in the HV Host and pass it through and mount it on the Svr 2012 guest.

Why doesn't the HV host see it as formatted? Is it too big? Does it not like the USB caddy? I would have expected the HV Host to mount it as drive D. Should I reformat the disk using a Win 8 or 10 machine?

Any suggestions...

Thanks in advance

Ken

Ubuntu 14.04 LTS hangs at install 'creating ext4 file system'

$
0
0

Hi guys,

I've noticed a fatal error issue when Installing Ubuntu 14.04 Desktop on Hyper-V for Windows 10 Pro 10586.  The install hangs at partioning disk from within Ubuntu.  

My hyper-v host throws this matching critical event at the same moment:

'Chef' was faulted because the guest executed an intercepting instruction not supported by Hyper-V instruction emulation. If the problem persists, contact Product Support. (Virtual machine ID 8895146E-C175-4CA5-B7A6-57E1D6E48290)

Anyone seen this before?  I've tried two separate downloads of the ISO, and error checked them both, same issue no matter what.  


If this post was helpful, please vote up or 'Mark as Answer'! More of this sort of thing at www.foxdeploy.com

Hyper-V windows 7 embedded standard VHD install integration services not working

$
0
0
My existing VM (windows 7 embedded standard) is not letting me install integration services. Has anyone been able to do it, is there somewhere I can find this "integration disk" that will install this on this windows 7 edition? The current integration disk does not support windows embedded standard. 

You must restart your computer to apply these changes (rundll newdev.dll,pDiDeviceInstallNotification Pipe\PNP_Device_Install_Pipe_1

$
0
0

Hi,

 I have a Hyper-V VDI environment where I created a golden image and use it to create the pool VMs. However, when I create the golden image I never received this Windows Dialog when log in (restarted several times as well) but when the pool VMs are created, I received this Window Prompt every time I log into these pooled VMs.

Command Line: rundll newdev.dll,pDiDeviceInstallNotification Pipe\PNP_Device_Install_Pipe_1{c616........


Tuan

Event 3040 "VM Could not Initialize" when Win2012R2 Hyper-V host is joined to domain.

$
0
0

We cannot get any VMs to start on our new Windows Server 2012 R2 Hyper-V host when it is joined to the domain. Not even VMs that a newly created on local disks. Every time we get Event 3040 "VMName Could not Initialize <VMguid>".

We have:

  1. Confirmed hardware is good. Virtualization Technologies enabled in BIOS. (Brand new Dell R730 in this case, but the problem has also occurred on IBM and HP servers in company).
  2. Confirmed all SPNs are correctly set in AD an locally.
  3. Checked permissions as best we can according to several other articles.
  4. Confirmed NT VIRTUAL MACHINE\Virtual Machines has "Logon as a Service" and "Create symbolic Links" Rights.
  5. Confirmed Hypervisor is set to launch automatically in BCD.
  6. Created new VMs locally and tried to Start them - get 3040.
  7. Tried to connect to SAN based VMs - get 3040.
  8. Cleared Hyper-V caches in %ProgramData%
  9. Run BPA - only the usual warnings about backup etc.
  10. Tried Join/Unjoin/Install Hyper-V role in various combinations.
  11. Confirmed no Group Policies being applied that could affect this area.
  12. Monitored with ProcMon. Only clue was "Invalid Parameter" when trying to access .vsv or .bin files for test VM.

This behaviour only occurs when we add the host to the domain in preparation for Clustering.

Server is fully patched. no anti-virus installed, no firewall issues. Plenty of hardware capacity.

Are there any deeper logs we can interrogate?

Anyone got any clues, please?


Ray Cockshell

after exporting check points how to import them again ?!

$
0
0

Hi All

i have exported my checkpoints ... , and deleted them... now how to import them ?

regards


how to backup hyper-v VMs

Failover cluster 2012R2 deleted VM cannot have the folder deleted

$
0
0

Hey guys.

I have a bit of a problem.

I have a Failover cluster 2012R2 and a bunch of VMs. The problem is that one of them (from a 40 batch I've created about a week ago) - that is VM22 - cannot have the folder deleted because of the VM's xml file which seems to be in use. I've remove the VM from failover cluster, from the hyper-v and when I moved on to delete its folder from cluster shared storage, i got the messages saying that the xml file is in use.

I didn't use this VM as a parent for another one, I'm not using its files in another VM (or at least not intentionally).

What would be the best scenario to check who or what is keeping the files open?

Thank you,

Gabriel

P.S. I'm not using SCVMM to manage the cluster.

DiskConfig in Unnattend.xml works with Generation 1 VMs and not in Generation 2

$
0
0

HI all,

My Hyper-v VM, generation 2:

iscsi 0 HDD 32Gb (should be C:) attached to the VM, all switches by default in configuration.

My Unnattend.xml file, which still works with VM´s in generation 1:

<DiskConfiguration><Disk wcm:action="add"><CreatePartitions><CreatePartition wcm:action="add"><Extend>true</Extend><Order>1</Order><Type>Primary</Type></CreateParti</CreatePartitions><ModifyPartitions><ModifyPartition wcm:action="add"><Active>true</Active><Label>OS</Label><Order>1</Order><PartitionID>1</PartitionID></ModifyPartition></ModifyPartitions><DiskID>0</DiskID><WillWipeDisk>true</WillWipeDisk></Disk></DiskConfiguration>

I guess I´m missing anything in the config, but dont get what. All works fine, but in the installation moment I guet the error that "no drive/volume/partition is able to be set as active"

Error 0x80300024

Many thanks in advance, any help appreciated.

Pablo


Hyper V Server 2012 R2 - With 2 VM - Server 2008 R2 and SBS 2011 - Microsoft Hyper-V VSS Writer now offline

$
0
0

Hi,

I have posted this on experts exchange without any success.

After an upgrade from Hyper-V Core 2012 to Hyper-V Core 2012 R2 the guest Microsoft Hyper-V VSS writer is offline.

As this was an unexpected result I recreated the configuration on a new test installation.

Extract of diskshadow - list writers for 2012

      * WRITER "Microsoft Hyper-V VSS Writer"
            - Writer ID   = {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
            - Writer instance ID = {393ba3c8-8806-4800-9a81-327597a6bcd5}
            - Supports restore events = TRUE
            - Writer restore conditions = VSS_WRE_ALWAYS
            - Restore method = VSS_RME_RESTORE_IF_CAN_REPLACE
            - Requires reboot after restore = FALSE
            - Excluded files:
            + Component "Microsoft Hyper-V VSS Writer:\C68D1BEC-350D-4614-9D5E-F0984E21A289"
                  - Name: C68D1BEC-350D-4614-9D5E-F0984E21A289
                  - Logical path:
                  - Full path: \C68D1BEC-350D-4614-9D5E-F0984E21A289
                  - Caption: Backup Using Saved State\test

Extract of diskshadow - list writers 2012 R2

      * WRITER "Microsoft Hyper-V VSS Writer"
            - Writer ID   = {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
            - Writer instance ID = {58cf5bda-7dbe-4a89-ae59-4d44d3d9279c}
            - Supports restore events = TRUE
            - Writer restore conditions = VSS_WRE_ALWAYS
            - Restore method = VSS_RME_RESTORE_IF_CAN_REPLACE
            - Requires reboot after restore = FALSE
            - Excluded files:
            + Component "Microsoft Hyper-V VSS Writer:\C68D1BEC-350D-4614-9D5E-F0984E21A289"
                  - Name: C68D1BEC-350D-4614-9D5E-F0984E21A289
                  - Logical path:
                  - Full path: \C68D1BEC-350D-4614-9D5E-F0984E21A289
                  - Caption: Offline\test

The Hyper-V Core Host is up to date with recommended and additional updates I moved to R2 for the improved replication feature and do not want to downgrade.

Does anyone know if this bug/feature will be fixed or do you have a fix?

Thanks

moving VMs from node to node

$
0
0

Windows Server 2012 R2

we initially have 3 nodes of Hyper-V hosts and were moving VMs left and right (between nodes) without any difficulties. the other day, due to the availability of a blade (an Oracle blade) we made it into a Hyper-V host and added to the list of Hyper-V hosts available from the FailOver Cluster Manager.

so we created a new VM in that new host (let's call it hyper-4), installed Windows and stuff. the VM booted fine and is accessible on the network. now here comes the tricky part, existing VMs available in other hosts we cannot move into hyper-4. however, VMs created/started in hyper-4 we can move to any available hosts.

so what we do for the meantime if we want all VMs to be able to move effortlessly between hosts is we shutdown a VM, move it to hyper-4, bring it up in hyper-4, after that the VM can be move to any available hosts.

what i don't get is why the need to start a VM in hyper-4 first before said VM can be moved to any Hyper-V hosts?

MS Windows Components requirement to setup Windows Server 2012 R2 with Hyper-V OSE

$
0
0

Hi,

I will setup a Virtual Server Farm using Hyper-V, I have 2 Physical Servers and on each Physical server will have 5 Hyper-V OSE running on either Windows 2012 Standard R2 and Windows 2008 R2. Aside from buying licenses of Windows Server 2012 R2 Standard for Hyper-V OSE, what are other MS Licenses I need to purchase to properly run all Hyper-V OSE. I also consider to activate Hyper-V Clustering from Physical Server 1 to Physical Server 2 in case Physical Server 1 went down. Do I need MS licenses such Microsoft System Center 2012 R2  for Virtual Machine Manager too, to run this kind of setup? What other licenses should be considered?

Thanks in advance.

Nald

Events 14050 (failed to register SPN) and 10016 (DCOM permissions) - can't use Hyper-V manager

$
0
0

Hi,

Various versions of this question have been asked on the forums and a bunch of different solutions suggested. I've tried all of them but so far with no luck, and that includes saving and running the PS script to increase the TCP port range.

What I really don't understand is how I've got to this point. Everything was running just fine, I could access my Server 2012 R2 machine running Hyper-V from my Windows 10 desktops no problem. Then suddenly one day it stops working. NOTHING CHANGED in my config!

Hyper-V manager works fine locally, so if I RDP to the Server 2012 R2 box I can then bring up Hyper-V manager and launch a VM console etc. The issue is specifically across the network, ie. some sort of firewall problem. My group policy prevents me from simply turning off the firewall although of course I could change it locally for the server machine.

Does anyone have any ideas or ideally a step-by-step to solve this? I've getting 14050 precisely every 2 minutes, and the 10016 DCOM permissions message each time I reboot. I also have event 516 from the DFSN-Server precisely every hour in the "warning" log which in some way relates to namespace but I don't know if that's relevant.

Thanks in advance for your help.

Jeremy


AVHD Keeps growing while VM is idle

$
0
0

I have an enviroment for automated testing where I configure 40 VMs (20 Windows 7, and 20 Windows Server 2008 R2) for testing. Each VM is cofigured to use a differentiating VHD out of an template VHD. After some basic configurations is made on the Differentiating VHD we snaphot de VM. This snapshot is the starting point for our tests.

We use the differentiating VHDs to save disk space ( we use around 1/3 of the normal amount we would use with dynamic VHDs). The snapshots are used to get to starting point for our automated tests. We want to Always start from the same point and we test our application several times a day.

Here is the issue:

I've noticed this week that after I revert the snapshots on the VMs, the System Process (PID 4) start having  lot of disk activity on the .AVHD files. In between 100-400 MB/s. It varies a lot. The AVHD. files on the Windows 7 VMs goes from around 500 MB after snapshot restore to 14 GB. This goes on for several munutes. After some time it stops.

The VM is idle and doing nothing. This disk activity is affecting a lot the install times of our application on the VMs. Normal install time is around 1 minute on SSDs, but due to this disk activity it's taking up to 16 minutes. Whe this thing stops, install times goes back to around 1 minute.

Physical server has 192 GB Memory, 2 SSDs in RAID 0 and dual 6c XEON E5-2632 v2 @ 3.5 GHz processors. It's running on Windows Server 2012 R2.

The issue beeing, why does PID 4 do so much activity and increase de AVHD file while the VM is doing nothing?

Disk Queue Length always 100%

$
0
0

Hi,

 I have a cluster with 2 Hyper-V Nodes. Server 1 and Server 2 and both are 2012 R2. On server 2 where the disk queue length is always at 100%. This is because dedup?


Tuan

Newly added VM can't talk beyond virtual switch while other VMs can

$
0
0

I have a small Hyper-V host (created and configured by a prior admin), running Server 2012.  It has 4 physical NICs, one used for management, a second connected to an External Virtual Switch, and the other 2 disconnected.

There were two existing VMs running under the host: a Windows AD and a Windows File Server.  Both have no trouble talking to the host, or to the outside world, and vice-versa.  I am trying to add a third VM, but I cannot get it to talk beyond the Virtual Switch.

I have checked the settings on the individual VM configurations, and everything I can see on the Virtual NIC is the same for all three VMs.  They are all bound to exactly the same External Virtual Switch, and everything looks the same. 

The major difference in the new VM is that it is a CentOS Linux VM.  However, I have done this same thing on a larger Hyper-V host (one hosting more than a dozen VMs), with both CentOS and Ubuntu with no problems.  I have compared setups between the two different Hyper-V hosts and they are essentially identical to my understanding.

For this new VM, I first tried version 7 of CentOS, but when that didn't work fell back to version 6, which I had successfully used on the larger host.  No joy.  I have tried both manually assigning IP configs and using DHCP.  The new VM happily gets an IP by DHCP from the Windows AD server.  Whether manual or DHCP, it cheerfully talks to the AD and File Server which are on the same virtual switch.  But it absolutely will not talk to the Host or to the outside world.  Routes and gateway configurations all look right.  Just... silence.

Almost certainly I have missed something simple, but *what*?

UEFI Boot order options missing from Hyper-V host

$
0
0

I have two 2012R2 Hyper-V Hosts. On one of the hosts, I have no options to set UEFI Boot order, either on existing virtual machines, or on new ones. On the other host, all options are available. I have a series of powershell commands I run to create a Gen 2 VM.  Here is the output from the good Hyper-V host:

Here's the output from the bad host:

I am unable to add any boot entries, or modify:

Set-VMFirmware : The operation is not available.

So, something is wrong with this particular Hyper-V host, but I don't know what to troubleshoot - any ideas?

VDI solution planning with Windows server 2012 R2

$
0
0

Dear all,

We would like to setup a VDI solution but have a couple of questions, is there any can guide me to a correct way?

We are an educational institute and in our department there are 2 networks, one is public network 147.8.x.x, and the other is a private network 172.16.x.x, the private network serves our student laboratories computers. 

We have 2 AD servers running on 147.8.x.x network, and we have setup 3 additional servers running the RDWeb Access, Connection Broker and Virtualization Host services on the same network.  On the server with Virtualization Host services, we will configure additional NIC for a private network like 172.16.x.x, which we would like to serve the Hyper-V guests on the same server, which we emulate the situation like our student laboratories computers.

We have an existing UNIX-based VPN server, and DHCP server running to allocate IP addresses to computers.  We have searched some information on the Internet and found that some users may install a Windows-based DHCP server on AD to allocate IP addresses for its Hyper-V guests and install a RDS Gateway to either the RDWeb Access or Connection Broker server for Hyper-V Guest access between different networks.   But another solution is to install the DirectAccess RAS/Routing and Remote Access and enable the NAT routing.  May we know on our environment which solution should we choose?  We expect the student will connect through the existing VPN server and then connect our 172.16.x.x's Hyper-V guests, and to connect the Hyper-V guests from our existing student laboratories computers(172.16.x.x).

We would like to know which of the above solution or additional components would better be applied to our case.  Since we already have our own DHCP server running on UNIX side, we may consider to continue using it to allocate DHCP private IPs to Hyper-V guests, if possible.  For the part of Virtual switch, we still not familiar with it.  In case we need to setup a Windows-based DHCP server side the 172.16.x.x network, how can we control the DHCP broadcast to go to the Hyper-V guests only and how to avoid the Windows-based DHCP to allocate IP address to computers out of the Hyper-V guest?

Regards,

Patrick

Viewing all 19461 articles
Browse latest View live




Latest Images