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

HyperV - VM startup order?

$
0
0

We have several VM's that auto start after reboot of physical server.  Its a slow painful process when all of the VM's concurrently auto start (maybe 30 minutes before they all finish).  The DISK IO is especially high during this process.   Is there a way to sequence VM startup so that VM A starts first then VM B starts second? 

Currently on Win2008 but moving to Win2012 in the near future.


HyperV Network Adapters causing issues for the guest OS

$
0
0

Intro

I work for a managed IT services company that takes care of a large amount remote sites for a single organisation, each site larger than a certain size gets a Hyper-V Server running Server 2008r2 with one Guest OS running windows server 2008r2, this Server provides File, Print, DC and SCCM Content Distribution services for that site. Whilst we're migrating a new site into our system the Guest OS has two Virtual NICs - one that is connected the new network the other is connected to the old network, this is achieved using VLANs and allows us to move data easily between the Old and the New.

The initial Problem

Recently we installed a new server at a site and migrated it into our system. All has been going fine for the last two weeks but today just as we were doing the final shutdown of the old equipment and moving our gear into the cabinet something happened. The Hypervisor and Guest came up after a shutdown during the move and for some reason the Virtual NICs that were attached to the Guest didn't seem to be working. So, a few things were tried.

These are the steps we've taken so far.

  1. Tried to uninstall/reinstall the NIC on the guest, this resulted in the device manager sitting at the "uninstalling" window for at least an hour, so it was assumed that this step failed
  2. Tried Shutting down the Guest, it sat at "Stopping" for about half an hour, So it was assumed that this step failed
  3. Tried Shutting down the Host, it sat at "Shutting Down Hyper-V Management Services" for about another half an hour, so it was assumed this step failed
  4. Triggered a Hard reset
  5. The Hypervisor comes back up, the Guest OS autoboots, tried shutting down and it stalls again, tried editing the settings but they take.
  6. Repeat of Steps 2-4
  7. The Hypervisor comes back up, the Guest OS autoboots, before trying to shut down the guest change the Guest OS settings so that it will not boot automatically, tried shutting down the guest and it stalls again
  8. Repeat of Steps 2-4
  9. The Hypervisor comes back up, the Guest OS does not autoboot, try removing the NICs and Add back in one
  10. Start the Guest
  11. The Guest OS still has issues with the adapter
  12. Try shutting down the Guest OS and it hangs again
  13. Repeat of Steps 2-4
  14. The Hypervisor comes back up, the Guest OS does not autoboot, Removed the NIC from the Guest
  15. Start the Guest
  16. No issues with the Network and sharing center but also no NICs
  17. Start DevMgr and remove the disconnected devices hoping that it is just them causing the issues
  18. Shut down the Guest OS, it shuts down cleanly
  19. Add in a NIC again
  20. Start the Guest
  21. Guest OS has issues
  22. Repeat of Steps 2-4
  23. The Hypervisor comes back up, the Guest OS does not autoboot, Removed the NICs from the Guest
  24. Repeat of Steps 15-18
  25. Decide to try using a legacy adapter instead of a normal one
  26. Boot Guest
  27. The Guest OS doesn't have any issues
  28. It appears that everything works

The Issue Now (and my questions)

This fix is about as temporary as it gets, Legacy Network Adapters only allow 100mbps and this will cause issues further down the road with this site, its size and how intensively our users use the File sharing Services on the server.

Has there been any recorded occurrences of the Hyper-V adapters causing issues for the Guest OS?
Does anyone have an idea how I could fix this issue?
Is there some kind of patch that will fix this issue?

If all else fails we can rebuild the Guest OS but the amount of effort and pain that would take is quite unattractive....

Planed failover stuck on "fail over to replica server"

$
0
0

i have 2 Windows server standard 2012 with hyper-v role installed. Both are domain members.

i have several VM in server2. I configured replication with kerberos authentication on 2 virtual machines to replica server1. the status of replication its ok. Then i want to test the planned failover feature. I shutdown the VM and trigger the "planned failover" but it get stuck on "fail over to replica server" action for about 1 hr until i cancelled it. I try it with the other VM with same results.

Event viewer say nothing about errors on aplication, system and the different hyper-v event logs.

what could be the problem on this situattion ¿?


TeKi

All the virtual machine are showing 95% of Memory usage

$
0
0

Hi team,

We are having 2 Virtual machines in Hyper-V, they are allocated memory respectively 20 gb & 4 gb. Both system showing 95% usage in the task manager, but when we individually check the memory used by all process it about 30 - 40%.

When we re-start the VM, immediately it taking 93%. even before all the process or services start running on this system.

Hyper-V server performance monitoring for Hosts and VM's

$
0
0

Hi,

I have installed Microsoft Hyper-V Server 2012 R2 on a Server and created 10 VM's on it. One of the VM is running very slow.

How to monitor the performance of VM's and the host. Is there a good article or documents where in I can apply the same to my machines and get the details of what is causing the issues.

Thanks

XP/SP3 & Hyper-V RC1 - cannot upgrade integration services

$
0
0

 

I have two XP / SP3 vitrual machines, and on each one, after I dismiss the "found new hardware" wizard, and try to install the Integration Services, I receive the "A previous installation og Hyper-V integration services has been detected"

 

I click OK to "upgrade or repair", and I get the following error message:

 

"An error has occured: Fatal error during installation."

 

My event viewer doesn't seem to have any relevant information.

 

Ideas?

 

Karl

[Forum FAQ] Ethernet Resource Pool in Hyper-V

$
0
0

Symptom


When you perform Live Migration or Export/Import between Hyper-V Hosts, you may have a technical issue saying VM cannot find the network switch. (Figure 1)


The following configuration errors were found for virtual machine “Name”.

Could not find Ethernet switch “Name”.


Figure 1


Solution


To avoid this error, we can enable Ethernet Resource Pool on two Hyper-V hosts (test005, test010) and we can follow the steps below to configure it.


Step 1: Configure VM and vSwitch


In this demo, we create an internal virtual switch named “Pool-Internal” on host test005, and connect the “Pool-Test” VM to “Pool-Internal”. (Figure 2 and Figure 3)


Figure 2


Figure 3


Step 2: Create Resource Pool


We use PowerShell command “New-VMResourcePool“ to create an Ethernet pool.

New-VMResourcePool -Name TestEthPool -ResourcePoolType Ethernet

To add the Virtual switch to resource pool, we use “Add-VMSwitch”. (Figure 4)

Add-VMSwitch -Name pool-internal -ResourcePoolName testethpool


Figure 4


Step 3: Configure Resource Pool


We can see Resource pool is available in the settings of the VM Pool-Test on Test005. (Figure 5 and Figure 6)


Figure 5


Figure 6


Step 4: Create Resource Pool on another Host


Use the same commands in steps 2. (Figure 7)


Figure 7


Step 5: Perform Live Migration or Export/Import


We are able to export the VM “Pool-Test” and import it into Hyper-V Host test010 successfully. (Figure 8 and Figure 9)


In the procedure of importing, it will not prompt the option of selecting network connection, and it still connect to same pool.


Figure 8


Figure 9


Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

vm2dmp.exe supporting Hyper-V 2012 R2

$
0
0

For education purpose, I am currently researching how memory content can be extracted and analyzed from snapshots and saved states from Hyper-V. Hyper-V saves this information in files with the extensions *.vsv and *.bin. To convert these files to a usable dump full memory dump (*.dmp), the "Hyper-V VM State to Memory Dump Converter" (vm2dmp.exe) was released in January 2010 (http://archive.msdn.microsoft.com/vm2dmp). However, this tool works only on files created with Hyper-V Version 2 (Hyper-V/Windows Server 2008 R2). When snapshots or saved states created on Hyper-V 2012 or 2012 R2 are tried being converted, the tool fails.

It seems that the format of the *.vsv and *.bin files has changed and the converter tool is not capable of processing the changed file format. Does anyone know about any changes from Hyper-V Version 2 to Version 3 or the new file format? I guess the format specification is not public available. However, it would be of enormous help to have the possibility to be able to convert those files created by Hyper-V Version 3 for the purpose of analysing as well.

I understand that it might not be possible to have the format specification of the snapshot files for further research. But as the vm2dmp.exe converter tool already exists for the previous version of Hyper-V, I believe that providing a tool or the information about the snapshot file format is worth a discussion. Provided with this information, it would ideally be possible to extend the existing or implement a new conversion tool to support a broader range of Hyper-V versions. I could imagine that this could also possibly lead to new capabilities in snapshot migration.

I appreciate any replies with ideas and further information.

Thanks,
Christian


Virtual Switch Will Not Connect

$
0
0

I am on a physical box with Windows Server 2012 R2. All updates have been applied and the Hyper-V role is installed.

My motherboard has four network interface ports. All of which get valid IP addresses from the DHCP server (and have Internet access). When trying to create a virtual switch on one of these NIC's, it doesn't work. Take a look at the screenshots below:



Importing Virtual Machines

$
0
0
I have a hyper-v server that got the BSOD so I reinstalled the OS and my machines were saved on another drive.  I tried to import the vms but I can't get the network connectivity going.  I created a virtual switch (VLAN 98 Port 1) but its not allowing me to connect to anything from the virtual machine.  Please help.  Thanks.

Hyper V internal network no ping between real and virtual server

$
0
0

Hi

I have a 2012 server with a static 192.168.1.102 ip address and a 255.255.255.0 subnetmask. This server can be pinged by other servers. 

On this server I have Hyper V installed, and configured a virtual internal network switch. 

In Hyper V, I installed a 2012 server, using the virtual internal network switch, with the static 192.168.1.111 ip address and 255.255.255.0 subnetmask. The virtual server can ping other virtual computers using the same virtual internal network switch.

However, the host server can't ping the virtual server and vice versa. What am I doing wrong? I there something else that needs to be configured?


Install OS on VM over Windows Server Core

$
0
0

Hello there.

I'm starting to deploy a virtualization environment based on a server core installation of windows server 2012 R2.

But, I just faced the following doubt: Is there some way to install an OS on a VM at that environment without use the Remote Hyper-V Manager?

It's important to say that I've already installed the Hyper-V role and created the VM on the quoted server.

I thanks in advance.

Lucas Gustavo.


Lucas Gustavo

windows 2008 loses dns ip address

$
0
0
Greetings, I have some windows 2008 servers running in Hyper V, but sometimes lose the dns ip address, there a bug with windows 2008?

Time Services and Virtualized Windows Server 2012 DC's

$
0
0

I am finding what seems to be a lot of mixed recommendations for handling time synchronization on virtualized domain controllers and am not exactly sure which recommendations to follow.

For example, http://social.technet.microsoft.com/wiki/contents/articles/12709.time-services-for-a-domain-controller-on-hyper-v.aspx seems to indicate that Time Service Integration should be left (at least partially) intact between the DC and Hyper-V whilehttp://technet.microsoft.com/en-us/library/dd363553%28v=ws.10%29.aspx seems to indicate that I should disable Time Service Integration completely. However with the 2nd link it is unclear whether or not it applies to Windows Server 2012 or not (the beginning of the article states "This topic will be updated in order to make the guidance applicable to Windows Server 2012.")

I have two Hyper-V 2012 Servers each running a Windows Server 2012 virutalized domain controller, one is the primary for our network and the other is a secondary. What are really the best practices for configuring time synchronization for primary and secondary Windows Server 2012 based virtualized DC's?

Thanks in advance.

Hyper-V and Display resolution

$
0
0

Hi there,

 

I am trying to increase the display resolution to 1600x1050 for my virual server (Hyper-v), but the max I can get is 1280x1024.

I installed the Integration services and all the updates for the host os (win 2008 Enterprise) and guest os (win 2003 R2 Enterprise).

 

any idea?

 

Thanks,

LOA


Second drives on Hyper-V guests failing suddenly

$
0
0

In past 2 months or so, we have lost 3-4 Hyper-V guest systems that had a second drive attached via the virtual SCSI adapter. Up until this time, these servers have run flawlessly for 3 years+. The drives appear on the host, but if you try to access them, they tell you that the disk cannot be found. However, the .vhd is full size and sitting in the SharedCluster storage folder where they belong.

Even if I create a new server or drive from scratch, in short order the second drive becomes unusable, even if I create it as an IDE device instead of SCSI.

I have 2 host servers running 2008 R2 Enterprise connected to a Equallogics SAN via iSCSI in a 2 node cluster.

Oddly, the boot drives seem to not have any issues, on old or new servers. It's only the second drive. Very odd, and scary. Any ideas out there?

SQL support for Hyper-V Replica

$
0
0

One of the requirements for allowing Hyper-V replicas of SQL is to enable the PowerShell parameter -EnableWriteOrderPreservationAcrossDisks (KB956893). I have Hyper-V hosts running Windows Server 2012 SP1. It would appear that this flag is already set to $true when checking Get-VMReplication. Does anyone know if this parameter is enabled by default? The help pages do not say. Thanks.




Hyper-V guest boots to recovery console after shutdown

$
0
0

I experience the following scenario:

After a hyper-V host (W2008R2 Ent.) is restarted, the guest VMs (W2008R2 Ent.) boot randomly to recovery console. This means some of the VMs boot correctly into Windows server environment while others boot into recovery console. Whether the recovery console is booted does not depend on the particular VM i.e. on one occasion a given VM boots correctly next it boots into recovery. Most frequently this happens after updates have been installed and the hyper-v server restarted.

Neither the system log or the application log reveals anything out of ordinary, shutdown procedure is executed in a standard manner without any problems. The same about the bootup after hitting cancel in recovery console. There is no mention about entering the recovery console in the log.

Can you please guide me through troubleshooting. I suspected that the hyper-v host shuts down before the guests are all off but in this case I would hope to see a notification from the system that the previous shutdown was unexpected which does not happen.


Hyper V CSV not working on 1 server

$
0
0

hello

we are running a 3 server hyperv setup with windows server 2008 r2 datacenter.

we are using cluster shared volumes for these 3 servers.

the servers are connected to the storage via 2 methods...  isci  and a sas cable.

we created 4 cluster disks and this setup worked for about a year.  all three servers see the csv... live migrates work.. among the three servers and its all good.

about three weeks ago.. 1 server just stopped seeing the csv drives/folder.

when u click on the csv folder in the local drive it freezes explorer... even though on that bad server all the validations check out.. no errors just a few warnings..

in the event viewer for the storage we see timeout to the cluster and then bad network path errors...

but network wise everything pings out and has no issues..

after multiple restarts and updating drivers and storage management stuff... it still 2 that works and this last one doesnt see it for no good reason..

can anyone help?

2012 R2 VMs crashing with BSOD "Critical_Structure_Corruption"

$
0
0

I've used the search within that Forum, but I did not find any suitable hints or Solutions.

Host is Windows Server 2012 R2 Datacenter with Hyper-V Role enabled. On that Host several Generation 2 VMs are running with Windows Server 2012 R2. Those VMs regularily chrash with "Critical_Structure_Corruption" BSOD.

I found a hint that Intel's HAXM Driver could be responsible for this, but afaik it is not used in my case. For ESX there is a workaround to select CPUID mask.

Hardware of the affected host:

- Intel XEON X3470
- Ìntel SATA RAID Controller
- 16 GB RAM

The Dumpfiles are located here:

https://onedrive.live.com/redir?resid=D23F5B3DC2B36670%21158

Doing the analysis by myself, I could not find any hints within there.

Two more advises:

- Generation 2 VMs with Windows Server 2012 RTM (non R2) on the same host do not crash!
- Gereration 2 VMs with Windows Server 2012 R2 on another host do not crash, too!

Any ideas?

Thanks in Advance,

Thomas


Kind regards, Thomas

Viewing all 19461 articles
Browse latest View live


Latest Images