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

Migration of VM's and their vhd's from a physical server running Hyper-V and Win Server 2K8R2 SP2 to different servers on Hyper-V cluster

$
0
0

Hi,

I will be performing a migration between physical servers and I would like to ask for some advice regarding the migration process:

We currently have a physical server with Hyper-V running Windows Server 2008 R2 Enterprise SP2, which is hosting 4 virtual machines. These virtual machines now need to be migrated to our cluster servers. The four cluster servers are all running Hyper-V with Windows Server 2012 Datacenter edition and they are our failover cluster servers.

My question is related to how would I go about moving the four virtual machines including their vhd's and all data associated with them to our cluster servers? --- Can I move everything (virtual machine folders, snapshot folders, and the vhd's) all at one time?

For example,. the four virtual machines that need to be moved are located in their respective folders:

-D:\Hyper-V\Virtual Machines\PE Apps --- contains 2 vhd's

-D:\Hyper-V\Virtual Machines\PE Itasca --- contains 1 vhd

D:\Hyper-V\Virtual Machines\PE License --- contains 1 vhd

-D\Hyper-V\Virtual Machines\PE Staff --- contains 1 vhd's

The above folders contain subfolders: snapshots, virtual machines, and vhd's. How would I go about moving these to our Hyper-V cluster? Furthermore, the 4 four virtual machines have their own virtual network---Will this change with the migration or will their configured virtual network stay as is?

PE Staff will only have its storage vhd migrated and not the vm itself. How would I go about migrating its storage vhd to a virtual machine on the Hyper-V cluster?

Thanks in advance




Edit Hard disk.

$
0
0
I have a VM server 2012 running and have tried to expand the disk space through the edit and expand feature. It was at 60GB and I increased it to 130.  I cannot seem to get it to expand past the original 60gb so get running out of disk space.

Hyper-V VM Windows Server 2003 R2 SP2 Network Problems

$
0
0

Hi Guys,

I am trying to setup a new VM in my lab (I am using windows 8.1 in my host)  with Windows Server 2003 R2 SP2. I already installed the integration services in that VM, the network adapter is ok (Hyper-V network adapter). Well, everything it seems to be ok, but my W2K3 Machine keeps getting 169.xxx ip. My host is wireless , the virtual switch is ok, since I have other 4 VM (W2K8, W2K8R2, W2012, W2012R2) working fine with that switch and having access to the internet, just this VM with W2K3 is not working. 

Do you guys can help ?

Thanks


Hyper V Virtual Machine Fails to start when physical drives are added

$
0
0

I have a single physical server in my test setup and I am experimenting with virtualization.

The Hyper V Host is Server 2012 R2 Standard.  Currently it is running in the Essentials Role plus also running Flex Raid with 7 physical hard drives.

I am attempting to set this up correctly by making the host only function in the Hyper V Role and shift the Essentials role to a virtual machine and move Flex Raid to another virtual machine.  I am running into a roadblock with the 2nd step (the Flex Raid virtual machine). 

I successfully created the virtual machine, installed Server 2012 R2.  It runs fine with no errors.  I then took the physical hard drives offline and tried to attach them to the virtual machine.  When I tried to boot it up the VM begins to start, it then crashes and restarts 7 times, and then finally crashes.  I get a 7 identical critical alerts that says

'VM was reset because an unrecoverable error occurred on a virtual processor that caused a triple fault. If the problem persists, contact Product Support. (Virtual machine ID )

I have 7 physical hard drives that I added, so it appears that there is 1 alert for each physical drive.

If I remove the physical drives, the VM starts back up without a problem.

I then tried to add a single physical hard drive and then tried to start the VM.  The crash and reboot sequence I saw previously returned, but it did it only once and I only received one of the critical alerts (again matching the number of physical drives).

Unfortunately the error message is not the most helpful so I'm not even sure where to turn next.  Does anyone have a clue?

If it matters, the 7 physical drives are SATA drives, connected through an IBM M1015 SAS Controller.  Is this possibly a compatibility issue?  Or do I need to pass through the controller to to the Virtual Machine.  I looked through the settings but nothing jumped out at me to do this.

Virtual Switch Weird Performance

$
0
0

Hi hoping someone can point me in the right direction here.  I have an underperforming external vswitch.

I am testing using Lantest (Client Server) so using memory to test throughput so storage is taken out of the equation.  Setup is Hyper V 2012 r2 cluster (2 node) patched.  I have removed antivirus and firewall is disabled.  I have been through all turn off VMQ turn of offload etc over the past few days, and nothing makes a difference.  Here are the figures that are odd and not up to par with what should be happening.  NIC's are Intel I350-T4 using latest Intel Driver, VMQ disabled but all other offload enabled. All integration services are up to date. I have tried using the latest drivers, the 2nd latest and the MS one.

Test physical server (not HV Host) to NIC on Hyper V Server (assigned to external vswitch) - 800Mbps read 800Mbps write

Test physical server to virtual guest (2008 R2) 120Mbps read 750Mbps write (odd the write is different here) so its my guest receiving traffic which seems sluggish.

Test physical server to both nodes external vswitch NIC (after enabling allow management to share) 800Mbps both ways

Test VM to VM on same host on private network 125Mbps both ways. 

Test VM to VM each on separate host using external vswitch around 125Mbps both ways.

VM performance is great within RDP session, low cpu low diskq etc.  Networking latency is good, but throughput is terrible,

There is no bandwidth management set within guest settings, there are no QOS policies set.  If I do throttle the guests using bandwidth management I can see that working.  If I remove it I get the figures above. 

Seeing I can get great performance using the NIC that I have assigned (its actually now a team, tested it single and teamed) the only factor that sits in the middle is the vswitch.  Considering the poor performance with a private switch which should absolutely fly, there is something horribly wrong, or something I have overlooked. 

Thanks for reading, hopefully someone can point me in the right direction.



1st VM can connect, but second cant??

$
0
0
I have a Windows 2k12 host server where I've installed Hyper-V and have 1 VM running. I configured a virtual switch attached to the physical NIC of the host server and was able to configure the static IP and gateway to get internet on the child system. Now I'm trying to make another child system and I've duplicated the same exact settings, except IP and MAC address of course....and this VM is not able to ping the gateway of the host, or the host...and of course not reach the internet. Can someone tell me whats going on? Why can one child reach the internet and not the other? I've disabled all firewalls just to remove that as a possibility...but what could I be missing? I repeat, both child VMs are identical twins with the exception of their IP addresses and assigned MAC IDs.

stop: c000021a (fatal system error)

$
0
0

windows 7 professsonal 86x

the windows system process terminated unexpectedly with a status of 0xc0000006 (0x7724x950 0x0085ef28).

the system has been shut down. 

am using RLG  model: MGSONE

cpu: intel D2500-1.8GHz

HDD: 250GB SATA

RAM: 1GB DDR 3

please what might be the possible course.


how to take local drive backup in hyper-v core server

$
0
0

Hi,

thanks for advance,

   In server1 we have C and E drive. I upgraded hyper-v 2012 core server in C drive and configure 3 VM's and 'E' physical drive have some data or directory is there so i need to backup entire E drive and restore in C drive VM 1 but not possible to move the data from Physical drive to VM so i want to move from server1 'E' drive to  server2 'F'drive could you guide me how to do this in windows powershell

Thanks,

Veeramani V


Windows server not connecting on lan in same subnet

$
0
0

I have one Server having Windows Server 2008 SP1 - Operating System and having hypervisor roles where two virtual machine exist on same machine.

Suddenly it's not connecting over the LAN but existing virtual machines are communicating well on same VLAN network.

I have disable firewall and check all the services but it not coming over the lan again.

need help to comeback this machine on lan.

Hyper-V VM can't start with VHD attached, error 0x80070422

$
0
0

Hi,

i'm in a big trouble with Hyper-V on a Windows 2008 R2 server. Hardware is a HP Proliant DL360 G7. Role are DC, Hyper-V (yes, i know it's not recommended), AV client is Kaspersky Endpoint Security 10.2, and everything was working fine for more than a year. Here is the full story, with the first part of problem i resolved.

First part:

I had problems with HP NIC (nc382i) when trying to update drivers to last version, and with HP Network Config Utility. I updated NIC drivers, then reboot, and i had the BSOD on boot, even in safe mode. So i had a look to minidump with debbugger, to find reasons, and it seems the ksecdd.sys driver was the culprit (cryptographic kernel driver), but didn't get why, unless Kasperksy had to to something with it...anyway, i was able to boot by using the last good know configuration, and then I removed the virtual switch on Hyper-V, dissolve HP network team (4 NICS), update drivers, then HP NCU, then tried to add a new Hyper-V virtual switch, all of these of course with VM stopped, and with autostart disabled on host reboot. I had BSOD only in normal mode, no more on safe mode, so i used again last good known configuration, removed Kaspersky Endpoint Security, HP team, and virtual swith, used all drivers which were old working versions, made again HP team, virtual switch, and everything went fine, at last! Boot with no errors, network was up and usable, all services were fine. Maybe it isn't important, but the only thing i realised is that network takes long to be up on reboot...

Now, second part with actual problems: i tried to start VM in Hyper-V...and i had the famous errors:

Microsoft Emulated IDE Controller (Instance ID {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}): Failed to Power on with Error 'The service cannot be started, either because it is disabled or because it has no enabled devices associated with it.' (0x80070422).

And events ID 12140, 12010 and 12030

No matter what VM i tried to boot, it won't. Even if i try to create a new one, same issue.


I had a look everywhere to find solutions, so i tried with no luck :

- Change registry key to let correct a timing issue with FSDepends.sys and withVHDMP.sys ("Start" REG_DWORD at "0" instead of "3" in "HKLM\SYSTEM\CurrentControlSet\Services\FsDepends") then reboot

- Verify all access to registry, files, etc. with procmon utility to find a security problem

- Uninstall ARCServer BrightStor Backup, clean in safe mode any trace of Kaspersky withkavremover utility

- Reverse to old HP BIOS which i know is working on others servers with same configuration

- Verify again access to file and registry while trying to boot VM with procmon utility

- Removed Hyper-v role, then after reboot, install all same HP drivers for NICs, HP NCU, which are working on others servers, then reinstall Hyper-V role, create new VM...

- Verified many times files integrity with sfc (online and offline...)

Finally, i was able to boot a VM, only if i remove attached VHD, and i use only a DVD on IDE Controller, for booting for example on a Windows Server ISO. If i use an SCSI Controller, even without a VHD attached to it, i have other error:

Microsoft Synthetic SCSI Controller (Instance ID {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX}): Failed to Power on with Error 'Insufficient Memory' (0x8007000E).

So i think the problem is with kernel driver, vhdmp.sys, or something likevdvroot.sys, but i don't know how to correct this, and i'm in a dead end...is someone know for example what means the0x80070422 error ? How can i verify kernel driver integrity?...

Any suggestion will be greatly apreciated, thanks!

Hyper-V live migration failed

$
0
0

There is Hyper-V cluster with 2 nodes. Windows Server 2012 R2 is used as operating system.

Trying to live migrate test VM from node 1 to node 2 and get error 21502:

Live migration of 'Virtual Machine test' failed.
'Virtual Machine test' failed to fixup network settings. Verify VM settings and update them as necessary.

VM has Network Adapter connected to Virtual switch. This vSwitch has Private network as connection type.

If I set virtual switch property to "Not connected" in Network Adapter settings of VM I get successful migration.

All VM's that are not connected to any private networks (virtual switches with private network connection type) can be live migrated without any issues.

Is there any official reference related to Hyper-V live migration of VM's that have "private network" connection type?

Hyper-v cannot be installed because of SLAT missing

$
0
0

Hi all

Windows 8 does not installs hyper-v. It grays "hyper-v core" and says it cannot be installed because the processor does not have a second level address translation capabilities.

This Lenovo R61 had installed before the 2.0 hyper-v and it was ok. Is this because o SLAT?

Below is the output of coreinfo. Read on some link from this forum that the windows 8 desktop needs SLAT but the server version does not.

My main server for virtualization is Core 2 Duo E8400... so I'm a bit worried of the future. I want my Core 2 Duo processors to still use Hyper-V 3 at least!

By the way, it installs ok on my i7 720QM and is running perfectly. But notice, it does not have EPT!!!

 

Thanks

Adelino

 

Lenovo R61

Intel(R) Core(TM)2 Duo CPU     T8100  @ 2.10GHz
Intel64 Family 6 Model 23 Stepping 6, GenuineIntel
HYPERVISOR      -       Hypervisor is present
VMX             *       Supports Intel hardware-assisted virtualization
EPT             -       Supports Intel extended page tables

 

ACER Aspire 8942

Intel(R) Core(TM) i7 CPU       Q 720  @ 1.60GHz
Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
HYPERVISOR      *       Hypervisor is present
VMX             -       Supports Intel hardware-assisted virtualization
EPT             -       Supports Intel extended page tables


Adelino Araujo

Independent Mouse in Hyper V w/ Windows 8.1

$
0
0

Hi, 

I am trying to run a windows automation tool on my VM while I am working on the local computer. The automation tool needs to control take control of the mouse. However, the mouse in Hyper V is actually shared between the two windows (local and VM) instead of being independent of one another. Is there a way to have two independent mouses? Say when the mouse goes into the VM window, it controls it but when it leaves the window, the mouse remains in the VM window. Or could the mouse/keyboard controls be turned off? 

File service gone after moving virtual machine in Hyper-V

$
0
0

We have file server virtual machine with vhd system disk and connected data on physical drive.  All users (800) have folders  on the attached disk. After exporting and importing virtual machine to the new Hyper-V file service is gone. We moved the data disk too the new machine too. What we are doing wrong? I tested also just copy vhd and create virtual machine, but we encounter the same problem. We was forced to recreate shares manually (script). Why file service is not preserved??

Regards

Rafael

Hyper-V guest NICs fail

$
0
0

So I got two new servers a Dell R620 and a R720 running Hyper-V on Windows 2012 R2 all clients on them are 2012 or 2012 R2.

All NICs are Broadcom NetXtreme, 2 quad port per server, I am currently running 15.6.0.10 drivers with 7.6.15 firmware on the R720 and 16.2.0.4 drivers and 7.8.16 firmware on the R620. No guest NICs are teamed.

In the last 2 weeks I had two guest NICs in hyper-v (with a few days between) on the R620 and 1 on the R720 fail to a point where the NIC cant communicate with the network, getting a 169.x.x.x IP address. I delete the NIC in the Virtual Switch Manager, re-add it and everything is fine again. I don't allow the managing OS to share the network adapter, for the most part, I use 1 NIC per VM.

I recall this happening back with Hyper-V 2008 R2 as well, but generally at the time of a driver update or some sort of change. These Hyper-V hosts have no received any drivers, firmware or Microsoft updates anywhere around the time of these failures.

Any ideas?



Cannot do online backup of 2012 VM within 2012 R2

$
0
0

Hi, I have several Windows 2012 VM's running on a 2012 R2 host. None of these VM's can do an online backup. They both have a SCSI controller installed, and all the HyperV integration services installed. For a 2008 R2 HyperV host, theHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\ScopedSnapshots registry entry needed to be added.

Does this also need to be added when 2012 R2 is the host?

What's the difference & best practice

$
0
0

I'm wondering the following scenario which is best to go and what's the difference.

1. Install Windows Server 2012 on VM (Hyper-V Server 2012) and create nodes / instances from Hyper-V Server. 

2. Install Windows Server standalone and use the Hyper-V inside for other virtualisation purpose.

I do notice that if I go with scenario number 1, the nodes (VMs) installed on Hyper-V does not detect / support USB printer / ext HDD. Is this correct? or is there driver supporting this? 

Also, what are the difference between using Hyper-V Server to create the VMs or create the VMs in Windows Server as the host machine?

Thank you.

Problems accessing virtual disk 2 while backing up to virtual disk 3

$
0
0

This is an Exchange 2013 Server installed on Windows Server 2012 Standard in a Hyper-V environment.  The Exchange databases are on E:.  If I run a backup of E: with local virtual disk F: selected as the destination, database errors (event id 508 and 218) appear in the application event log and Exchange stops responding.  All of the disks are fixed, not dynamically expanding.  I was not able to locate any related events in the system event log.  No errors occur if we backup across the network to a share.  This is why I believe it has something to do with the Hyper-V environment.  Any ideas?


Tina M. White Boundless Data

No Boot from USB Support

$
0
0

I have been looking for a logical method to use to boot from USB for Hyper-V, as I would like to test a new boot sequence I have placed on it before attempting it on an actual computer, but there is no sure method to allow me to do so and myflash drive doesn't support diskpart => offline. When will this issue be addressed?

With the Tech industry of boot media abandoning booting from CDs and should I even mention 3.5 floppy? Why has such an integral method of boot media been ignored in a brand new piece of software that for all intent and purposes should DEFINITELY support booting from USB Flash?

I would love a Microsoft Expert's official answer on this if you would please, thank you

Hyper-V R2 NIC questions

$
0
0

Hi,

I'm new to hyper-v and I have some questions to ask. My hyper-v is Hyper-V 2008 R2.My current setup is I have 1 physical nic and is both shared by management OS and two VMs. When I unhecked the "Allow management operating system to share this network adapter" I'm all of a sudden unable to connect to the host machine. How do I turn this back so I can access the management machine again?

Another question is this. I have configured the switch port to where the physical nic of host machine as trunk. Now, my physical servers are all in VLAN 50. Do I have to configure the nics of my VMs to use vlan 50?

If I use two physical nics, 1 for the management os and another for the VMs, do I need to assign an ip to the second physical nic for the VMs? Also, if the nic of the management gets disconnected will the connection of the VMs get disconnected also given that they are on a separate physical nic?

I want to use two physical nics for the VMS and team the nics together for fault tolerant. What is the powershell command to do this?

Thanks Very much in advance!

Viewing all 19461 articles
Browse latest View live




Latest Images