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

Catastrophic Hyper-V failure, what happened?

$
0
0

I have two Hyper-V HA clusters setup with one replicating to the other. Each cluster has 2 2012r2 Hyper-V hosts and is pointed to a SMBv3 file server for storage.

Saturday morning the primary(Active) cluster started randomly moving VM's from one server to the other. Went in and manually moved everything back like I wanted it and seemed ok.

Sunday morning I have NO VM's left. Every VHDX on EVERY VM is completely trashed... Booting into OS recovery on the VM and going to command prompt shows that it does see the partitions on drives but sees the file systems as RAW. Trying to open or mount the VHD's on the host or on the storage server both result in a File or Directory is corrupted and unreadable.

Thankfully the replica cluster did it's job and I booted everything back up.

What on earth could have happened on the first cluster to kill ALL the VM's? I have never seen the like, 12 VM's all at once have their HDDs trashed, I want to figure out what went wrong so I can make sure it doesnt happen again.

Anyone have any thoughts?


Hyper 2008 R2 ran out of space with avhd file

$
0
0

Hi,

My customer is having a Server 2008 R2 host with 1Tb vhd file and over 800Gb avhd file.

I have no space to merge and compact them.

What can I do?

Thanks!

Edward

Disk performance 6x slower in HyperV 2012 R2 VM with SSD software and hardware arrays

$
0
0

Hi,

My hyperv runs on 2012 R2, it has two array filled with SSDs

1- raid1 array with two Crucial M400 256GB drives using PCIe Hardware RAID controller

2- Software Storage Space array in parity mode with three 512GB Crucial M400 SSD

Diskmark result on the host, Array 1 exceed 800MB/s read speed and 430 write, array 2 does 1500MB/s Read and 262MB/s write

Diskmark result on the VM (fixed size with gen2 iscsi mode, similar result no matter which array the VHDX is hosted on): 250MB/s read and 174MB/s write

Any idea why such a big difference ?

UPDATE: tried running two indentical VMs from Array 2, and run the test on both at the same time and got identical results ! so it seems like Hyperv is limiting the speed PER VM, what am i missing ?




How to improve Hyper-V Guest server’s network speed to minimize the backup window.

$
0
0

We have 10G Ethernet card on 3 physical server and this servers are connected through 10G Ethernet switch. But I observed that when I copy data from one host server to other host server guest machine I got maximum ~250-650Mbps.

Can anyone help me to improve this network speed?


dilip patel

Different Hard Drive Sizes

$
0
0

Hi there, 

I was wondering if anyone would be able to help. We are adding more storage to one of our exchange database drives as it is running out of storage space. I added the new space through Storage Manager. The drive was 1630GB in size and I increased it by 100GB to 1730GB and it displays as this on Storage Manager but when I go to Hyper V Manager and the settings for the Exchange server the hard drive displays as 1630GB and not the new size. 

When I go into the server itself I do not have any unallocated space either to make this drive bigger.

I was wondering if there is anything I can do with regards to getting my space back and increasing the drive on Exchange as I am currently missing 100GB somewhere.

Thanks, 

Failed to create external configuration store in \\xxx..the username and password is incorrect.

$
0
0

Hi 

Its a test environment .

I have two hyper-v host which was hosted in VMware workstation which was running in my machine.i have one dc in one of my hyper v host and the other hyper v host is also joined in the domain.But my machine is not in domain but all are in same subnet.

I Have created a share in my  local machine and shared to full permission.And this share i need to create it as storage for my VMs.

When i trying to create the Vm in any of the host i'm getting the below error after giving the network path for the store.

"Failed to create external configuration store in \\xxx..the username and password is incorrect."

The share iam created is already mapped with the both hosts.

What might be the cause of error ,Please help somebody.


Regards Roo

Unresponsive/slow VM while formating SCSI disk - Event ID 129.

$
0
0

Hello,

whenever I build new VM on our Server 2012 Hyper-V and add new SCSI disks, the VM becomes very slow while formatting those disks.

The "quick" formatting takes unusally long, for 20 GB disk it might take few minutes, for 200 GB it may take 30 minutes or more.

System Windows log is flooded with events:

Event ID: 129, Source: storvsc

Reset to device, \Device\RaidPort0, was issued.

It happens with either Integration tools versions: 6.2.9200.20873 or 6.2.9200.16384.

Hyper-V failed to enable replication for virtual machine 'Machinename': Incorrect funciton. (0x8007001)

$
0
0

When enabling replication on several VM's, I receive Hyper-V failed to enable replication for virtual machine "virtualmachinename": Incorrect funciton. (0x8007001). However this error doesn't happen to all VM's and it isn't related to any particular host.

I've traced this down to a VSS error, however when running ">vssadmin list providers", I receive the following indicating there are no errors:

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2012 Microsoft Corp.

Writer name: 'Task Scheduler Writer'
   Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
   Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
   State: [1] Stable
   Last error: No error

Writer name: 'VSS Metadata Store Writer'
   Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
   Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
   State: [1] Stable
   Last error: No error

Writer name: 'Performance Counters Writer'
   Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
   Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
   State: [1] Stable
   Last error: No error

Writer name: 'Cluster Shared Volume VSS Writer'
   Writer Id: {1072ae1c-e5a7-4ea1-9e4a-6f7964656570}
   Writer Instance Id: {fab685fb-d333-4744-b46a-c63fc6360737}
   State: [1] Stable
   Last error: No error

Writer name: 'Microsoft Hyper-V VSS Writer'
   Writer Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
   Writer Instance Id: {5583acc3-a218-4ce6-bce9-93ff551ad8aa}
   State: [1] Stable
   Last error: No error

Writer name: 'System Writer'
   Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
   Writer Instance Id: {dd5f1635-d7ce-434b-84f7-9aaf216d5339}
   State: [1] Stable
   Last error: No error

Writer name: 'Cluster Database'
   Writer Id: {41e12264-35d8-479b-8e5c-9b23d1dad37e}
   Writer Instance Id: {0a0f16ab-b57a-4403-9059-1ea7aa3abc90}
   State: [1] Stable
   Last error: No error

Writer name: 'ASR Writer'
   Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
   Writer Instance Id: {ce09aaff-1515-4240-b5a5-8c2710a4163a}
   State: [1] Stable
   Last error: No error

Writer name: 'Shadow Copy Optimization Writer'
   Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Instance Id: {faee5f76-086d-454c-afdb-4f8391c0ed7d}
   State: [1] Stable
   Last error: No error

Writer name: 'BITS Writer'
   Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
   Writer Instance Id: {2b649ed6-9451-40d8-b45d-e11f171aca87}
   State: [1] Stable
   Last error: No error

Writer name: 'Registry Writer'
   Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
   Writer Instance Id: {3cd0e01a-62a9-4ba4-b6dc-277a66719ae0}
   State: [1] Stable
   Last error: No error

Writer name: 'WMI Writer'
   Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
   Writer Instance Id: {f10f17aa-c8e7-42ee-84df-ed2bbf3ac187}
   State: [1] Stable
   Last error: No error

Writer name: 'COM+ REGDB Writer'
   Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
   Writer Instance Id: {45e94e87-c253-45d5-942a-462f3fece288}
   State: [1] Stable
   Last error: No error

The providers I'm using are:

Provider name: 'Microsoft CSV Shadow Copy Helper Provider'
   Provider type: Software
   Provider Id: {26d02d81-6aac-4275-8504-b9c6edc5261d}
   Version: 1.0.0.1

Provider name: 'Microsoft CSV Shadow Copy Provider'
   Provider type: Software
   Provider Id: {400a2ff4-5eb1-44b0-8a05-1fcac0bcf9ff}
   Version: 1.0.0.1

Provider name: 'Microsoft File Share Shadow Copy provider'
   Provider type: Fileshare
   Provider Id: {89300202-3cec-4981-9171-19f59559e0f2}
   Version: 1.0.0.1

Provider name: 'Microsoft Software Shadow Copy provider 1.0'
   Provider type: System
   Provider Id: {b5946137-7b9f-4925-af80-51abd60b20d5}
   Version: 1.0.0.7

Provider name: 'Dell EqualLogic VSS HW Provider'
   Provider type: Hardware
   Provider Id: {d4689bdf-7b60-4f6e-9afb-2d13c01b12ea}
   Version: 4.6.0

Has anyone run into this before?


-Jeremy Houp


How to properly remove virtual machine from failover cluster using Powershell

$
0
0

Hi, 

I am trying to remove a virtual machine role from a Windows Server 2012 R2 Failover Cluster. I have been using this command:

Get-ClusterResource -Cluster $ClusterName | Where {$_.OwnerGroup -like $VMName} | Remove-ClusterResource -Force

This command works partially - after it completes if I run Get-ClusterResource it does not list anything related to this virtual machine. However, if I open Failover Clustering MMC, I can still see the VM listed, but next to it there is an error message saying:

"A virtual machine resource was not found in clustered virtual machine 'VM01'."

If I try to remove VM from Failover Clustering MMC, there is no problem.

Can anyone suggest of a proper way to remove virtual machine role from failover cluster, but it has to be completelly done from Powershell?

Thanks in advance.

Repair Windows 2008 R2 in VM

$
0
0

Hi All,

we have one hyper v server and inside being installed with 2 VM, VM A and VM B. VM A has issue with the IIS, hence we would like to do the windows 2008 R2 repair. May I know what is the correct procedure to perform windows repair?

Thanks.

How to properly move a VM to another physical server

$
0
0

Hi folks,

I have two Dell R-170 servers both running Server 2008 R2 and Hyper -V, each with two VM's installed and running.  One of the physical servers is beginning to run low on disk space.  I would like to move one of my VM's (about a 200Gb .vhd) from one server to another, so I will havce 3 VM's on one server and only one on the other at least temporarily.  Likely I will move a smaller one from the one machine to the other later on to balance them out.

Anyway, the VM I want to move is a SBS 2008 server, which is running Exchange and is the DC for the domain.  Any special considerations based upon that information?

I want to make sure I do the right steps to properly move that VM from one physical server to the other and have it come back online smoothly.  Can someone point me to the proper steps to take?  Here is what I think they are, but I'm not 100% sure.

Shutdown the VM on the current physical server.

Copy the VM's .vhd file to either an external drive or network copy to the new physical server.

Create the VM in Hyper-V on the new server, get the network configured  (Can you copy the settings from the old host?)

Boot the VM on the new server and it should work now?

Tell the VM on the old server to not restart except manually, then after verifying all is working well on the new host, delete the VM and the .vhd file to recapture disk space.

Can someone point me in the right direction to do this properly.  Since it's my DC and my Exchange server I really want to do this right the first time.

Thanks!

Shared Nothing migration WMI api

$
0
0

Hi All,

I am implementing shared nothing migration using WMI in HyperV 2012 R2. I am looking for APIs to implement it. I found following link about migration https://msdn.microsoft.com/en-us/library/hh859762(v=vs.85).aspx but I could not figure out exact API to implement it. Can anybody help me to figure out the API and provide me with some pointers to proceed.


Clustered File Server Share with VM VHDX Parent Disks Crashes on Failover Migration

$
0
0

Hi

Sorry for the very long title.

I currently have testing environment on 2 Windows 2012 servers, both have Hyper-V, Failover Clustering, and the Cluster itself set-up. I have iSCSI storage, that is setup on a third server with Windows iScsi Target Software, this is the cluster storage. 

On Server 1, which hyper-v is installed I have a VM, Gen2 VHDX differencing disk, with 2012 parent disk. This has no problems booting up and runs fine.

I have setup a General File Server Role within the Failover Cluster Manager, and on that created a SMB Application share. 

On that share I can move the parent disk for the previously mentioned VM. 

When I try to then live migrate or failover that File Server onto another cluster node, the VM crashes. 

Is it possible actually have a highly available store for parent disks? If so, how would I go about implementing it?

Thanks

Configure Hyper-V host to provide access to an HBA to a VM

$
0
0

We have a QLogic HBA attached to one of our Hyper-V hosts and it is visible by the host itself. Our Backup Exec server is on a VM on this host and need access to this HBA as the HBA is directly connected to our HP Tape Storage. Previously the server was on a VMWare host, which we had 'Passthrough' enabled for this card, but in Hyper-V there is no 'passthrough' option. I created a vSAN and added the connected port to the vSAN, then added a Fiber Channel Adapter to the VM. But as soon as I start the VM, I get the following errors:

Event ID 12004: Synthetic FibreChannel Port: Failed to start reserving resources with Error 'Insufficient system resources exist to complete the requested service.' (0x800705AA).

Event ID 32161: Operation for virtual port (C003FF02CE760006) failed with an error: No physical port available to satisfy the request

I'm out of ideas, have been reading for the past 2 weeks and haven't been able to find anything. Any ideas?

Licensing of Windows Server 2012 Standard to Datacenter

$
0
0

Hi Everyone,

I have a single license for Windows Server 2012 Standard, which covers my two socket (processor) Server.

My research indicates that this license provides me with two VOSEs (Virtual Operating System Environments), or in essence the use of two Virtual Machines through the Hyper-V role of the Server.

I really need to increase the number of VMs running on my Server. Ideally I would like to start running between 6 - 8 Virtual Machines, with a variety of Windows Operating Systems, which include Windows Server 2003, Windows Server 2008 R2, and Windows 7.

What are my best licensing options here? Am I better off buying additional Windows Server 2012 Standard licenses, or is the Datacenter edition of this operating system a better choice?

Finally given that I have already purchased the Standard edition is it possible to get a discount / upgrade price if I decide to purchase the Datacenter version?

Any help here will be greatly appreciated.

Kind Regards,

Davo


Hyper-V network card problems

$
0
0
Guys I put together a basic Hyper-V lab on Windows Server 2012 R2 in order to learn Hyper-V. The problem I'm running into is network cards. For my ESX lab I use the Intel Pro 1000 PT which works great. I installed a Pro 1000 PT in my Hyper-v systems I am able to use native teaming with no problems it works very well. The problem starts when I create a team and attach the team to a virtual switch. The Hyperv host becomes unstable and starts crashing constantly. So I would like to ask what all Intel or Broadcom nic are you guys using that is stable?  BTW I even converted the PT1000 to an Intel I350-T2  and disabled VMQ and SR-IOV still same problem the host crashes constantly. I don't have much experience with Hyperv thus the reason I want to learn it all of my experience is on ESXI. I am shocked that Hyperv seems to be so picky when it comes to network cards.

crash dump

crash dump file: C:\Windows\Minidump\070415-29562-01.dmp
This was probably caused by the following module: e1r64x64.sys (0xFFFFF80085CDEED8)
Bugcheck code: 0xD1 (0x10, 0x2, 0x0, 0xFFFFF80085CDEED8)
Error: DRIVER_IRQL_NOT_LESS_OR_EQUAL
file path: C:\Windows\system32\drivers\e1r64x64.sys
product: Intel(R) Gigabit Adapter
company: Intel Corporation

Hyper V 2012 R2 Cluster

$
0
0

Existing Setup:

1. Currently Hyper V is installed on DXBHYP17 (Standalone Server)

2. Total 8 Virtual Machines are running on it

3. 2 TB of LUN is mapped to DXBHYP17 (1.5 TB of data used)

4. Teaming is configured

5. 2TB additional LUN is mapped to DXBHYP17 for backup of VM’s

Requirement:

1. Customer want to make cluster of DXBHYP17 and DXBHYP18

2. All the VM’s has to be migrated to 3TB CSV from 2TB LUN

3. Later 2TB Existing LUN and 2TB Backup LUN should be converted to CSV after successful migration of           VM’s to 3TB CSV

Plan of Action:

1. We have to make DXBHYP18 ready for cluster creation

2. Cluster should be created for DXBHYP17 and DXBHYP18 with 3TB CSV

3. VM’s should be migrated from 2TB LUN to 3TB CSV

Note: I would need to understand here do i need any additional precautions here before creating the cluster.

Also if any one has done it before please share the steps.

Configure Hyper V Failover Cluster on Window Server 2012 R2

$
0
0

I have 3 node cluster of hyper v and configured csv all machine working fine but after run backup machines get paused, so i have removed backup agent, during starting one virtual machine csv volume get un accessible and all machine pertain to that csv get offline. subjected are the errors.

Cluster Shared Volume 'Volume2' ('Volume2') is no longer accessible from this cluster node because of error '(1460)'. Please troubleshoot this node's connectivity to the storage device and network connectivity.

Cluster Shared Volume 'Volume2' ('Volume2') has entered a paused state because of '(c0000015)'. All I/O will temporarily be queued until a path to the volume is reestablished.

after troubleshooting i found a patch for the related issue but its not working for window server 2012 R2,

Windows8-RT-KB2838669-x64: its not running so kindly assist how to get this fix.


Talha Faraz Malik

Hyper-v multi server and multi storage cluster

$
0
0

Hi,

We have 10 physical servers and 3 SAN iSCSI storage devices. We think about clustering all servers to Windows 2012 R2 Hyper-v cluster and to use all storage devices that host servers could be able to access them. We think to use CSV volumes for VMs. Will we be able to do this? Any considerations? For now we have only 2 host hyper-v cluster with CSV volumes and it works fine.

Thanks

Request a comprehensive guide on hyper-v

$
0
0

Hello.

at first excuse me for my bad English, it's not my native language.

I 'm a novice with hyper v and i need help to virtualize my personal home server.

i have 2 systems: a laptop with windows 8.1 pro (client) and a PC with windows server 2012 R2 Hyper-v enabled. (diffrent workgroups)

[laptop ip: 192.168.10.1] - [PC ip: 192.168.10.2]

1)how assign static ip to each vm?

2)Is it possible to automatically create virtual machines from template and set static ip automatically? (can be done with DHCP?? it is important when an VM created it's IP must be static, and when vm deleted ip back to pool[completely automatic])

3)how create a user group that have an limited right (shutdown,reset) [not admin] to control vm from console [just for controling vm not any other work]? please explain it.

4)when i try to connect vm console from my laptop (with hyper-v virtual machine connection) it say error loading vm->you dont have premission... Contact the administrator of the authorization policy.

5) Suppose we have 3 client that want connect to their VM. so client 1 must see just VM1 and not to be able see another vm in the list for connect. What should be done ?

6)how set login password for client?

If a person answers the questions  step by step with the images , has been a great help to beginners.

thank you.


Viewing all 19461 articles
Browse latest View live




Latest Images