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

vm-resourcemetering

$
0
0

when I try to get the vm details using GET-VM <vmname>cmdlet I get the attached error. what could be the issue ?

but when I give just >get-vm I get all the vm's running on the host.

I have few queries : where does the collected log files of vm-resourcemetering get stored ? Default window is every 1hour for collecting the data,how to increase it ?

without enabling resource metering can we get the vm usage details with just "measure-vm"  cmdlet  ?

Command : > measure-VM -VMName <vmname>

<vmname> : what should be the name here .. whether it's the computer name or the name displayed on the hyper-v manager ?

Thanks


Hyper-V with Windows Server Essentials in a VM - adding a second physical disk to VM - now VM will not start

$
0
0

Hardware previously had Windows Server Essentials 2012 running fine.

Current setup, base is Hyper-V 2012 with Windows Server Essentials in a VM, which has been installed a few weeks ago and is stable, but only on the main SSD.

I decided to try to configure so that the physical disks were available directly to WSE, hoping that the management of them would be easier.

I had one SCSI in the VM, and aside from the SSD boot disk, I was able to add 1 3TB drive, and it all works.  If I add a second 3TB drive,  the WSE VM will not start.   It tries to start, but goes back to off in a few seconds. 

I then decided to put the 3TB drives on a second virtual SCSI within the VM, to see if that was better.

No change, one drive ok, but two  and the VM will not start.

Then I booted the VM with the 1 3TB drive that worked, and then while the VM was on, I was able to add 3 more 3TB drives, and the VM stayed up.  I was able to create a storage space from the 4 drives, mirrored, thin provisioned, the standard WSE 2012 settings (I kind of wish it would give you a choice on these, but...).   Everything seemed to be working fine.

But, when the VM was stopped, it will not now restart.   I suppose I have to delete the 3 extra drives, which will cause storage pool disaster I presume.  

Seems odd that I can add them, and use them in WSE2012, but then it will not restart.   And they were on a separate virual SCSI controller from the "boot" drive.  

Any ideas?    (or let me know if this is the wrong forum... since the VM would not start, I am blaming Hyper-V...)

Thanks!

Ross

Differencing disk hyper-v Merge issue

$
0
0
I have a 2008 R2 server running hyper-v.  We have a Hard drive set up as type differencing.  This did not make sense to me as there is only one virtual machine running on the server.  I went to merge the drives into one, but here comes the problem.  There are 7 drives and I merged the 4th one with its parent by mistake.  Now the last three cannot find the parent VHD.  Is there anyway to resolve this?  Please if anyone could help it would be much appreciated.  I have no idea how to get this going again.  The backups are much too old to use.

Configure Single NIC card for multiple VLAN

$
0
0

Hi,

We have a Hyper-v server 2012 R2, One teaming configured for virtue al switch. we create virtual machine as windows server 2012 R2 with 2 virtual network from different Vlans. I need to enable multiple Vlan on my single virtual switch.

I know that it can be done with SCVMM isolation and Vlans, but with windows server 2012 Hyper-v I think it can be done through a powershell   !!!!

2 different Vlan on 1 NIC

Paused-Critical Disk(s) running out of space. Help please

$
0
0

Be grateful for some advice please.

I have a virtual machine which has just gone Paused-Critical Disk(s) running out of space on one of it's disks.

I am trying to work out how to recover. I cannot get into the VM to do anything.

I have read somewhere else that a solution is to move the VHD to a larger disk. The VHD currently fills the disk it is on.

What is the best way to do this? I notice that in Hyper-V manager settings for this VM it points to the AVHDX file on the same disk and not the VHD. So how do I change that after I move it?

I no longer have a Shutdown, Save option, or any other options except Turn Off. Advice there please. I obviously cannot move the VHD while it is running.

It's Home Server 2011 (Windows server 2008 I think) in the VM and I am using Hyper-V under Windows 8.1.

Dave

Live Migration - Failed to establish a connection because of an unsupported protocol version (protocol version 5.0)

$
0
0

I'm getting a not the disk and everything) back to the host I originally had it on.  Here is my setup:

Host 1 - Microsoft Storage Server 2012 Standard (NAS)

Host 2 - Microsoft Hyper-V Server 2012 (All connected virtual hard drives use the SMB 3.0 protocol to connect to the NAS - Host 1)

Delegation is setup on both of these hosts to include:

-Trust this computer, Use Kerberos only, Services - cifs, Hyper-V Replication, Microsoft Virtual Console Service, Microsoft Virtual System Migration Service

Live Migration is setup on both of these hosts to include:

-Enable incoming and outgoing live migrations using Kerberos

-Use any available network for live migration

I was able to migrate the VM from host 1 to host 2 with no problems.  But when I try to migrate the VM host 1 that's when I encounter the error. 

I saw a KB article similar to the issue I'm having but it only effects Server 2008 R2 (KB2705759)

I've rebooted both hosts but still get the error.  The VM that is on host 2 has it's hard drive on host 1 run's fine so there are no connection issues there. 

I've searched the Internet for this issue and keep coming up empty handed.  I even named the virtual switch on both hosts the same to see if that would work.  Please help!  I'd rather not do an export and import of the VM because I'm evaluating this product so I want to make sure it works before I put it into production. 

external drive on hyper-v

$
0
0

hello guys, if i use an external drive as vhd for a virtual machine in hyper-v and the virtual machine would be  on 24 hours and all year round. 

And it will be used as an ftp server. Therefore, it will be connected to the outside world.

Of course not ideal, but need to save cost.

Question is:

 If let's say the Virtual machine will get compromised, will the attacker gain access to the host system?

 


Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
IT Stuff Quick Bytes

Hyper-V with 2012 File Server running SMB3/SAN vs iSCSI SAN

$
0
0

Hello,

I admit I am by no means a Hyper-V specialist, however I am having difficulty grasping the benefits of using Hyper-V with a Server 2012 File Server.

From the article http://technet.microsoft.com/en-gb/library/jj134187.aspx and from http://www.microsoftvirtualacademy.com/training-courses/introduction-to-hyper-v-jump-start Part 4, they talk about configuring Hyper-V servers, that connect to a Server 2012 File Server.

Example scenario - we have 4 Hyper-V Hosts and are looking to create a Failover Cluster, 2 servers in each cluster. Our network is currently 1GBe and the hosts have 2 spare NICS

1) Connect the clusters directly to a SAN with iSCSI

2) Connect a Windows Server 2012 R2 File Server (or cluster) to a SAN. Present an SMB3 file share to the Hyper-V hosts.

Option 1 appears to be the better solution (unless I am missing something). They would have direct access to the storage and data would not have have to cross our network to the file server before retrieving information. Also are the file servers not "something else that could potentially go wrong"?

Are the benefits of ODX and other features provided by FS 2012 R2 going to provide a better solution?


CPU Usage and multiple VMs

$
0
0

Hi,

I've got a number of Hyper-V hosts running and I've recently had a request to run some CPU-intensive applications on some VMs on these hosts. I look at the task manager on the host machine and see that it's basically using no CPU power at all, so I think fine, we can make some VMs and see what happens.

I created a single VM, let's call it SecretProject01. I assigned this 32 virtual CPU cores as this is the maximum allowed. This seems to work fine. In Hyper-V manager I see this machine using about 90% CPU when we use 30 cores for the CPU intensive processes. On the host machine however, I still see ~1% CPU usage and that's it. So, I think fine, let's ramp it up a bit then... 

I export the VM SecretProject01 and import it again and increment the hostname and IP address by 1 to make it SecretProject02 on a different IP and spin it up. We then assign the processes to the CPU cores in the VM and it seems to run fine. However, on Hyper-V manager, I'm now seeing SecretProject01 using 50% CPU and SecretProject02 using 50% CPU. In Task manager on the host, I'm seeing ~1-2% CPU usage. Strange, but I think nothing of it and copy another VM.

Now I have SecretProject03 running as well (all on the same host) and in Hyper-V manager they are all showing running at 30% CPU usage, but the host is still showing minimal usage at ~1-3% CPU.

I'm utterly confused. Can anyone explain to me what is happening here? Is the host giving 32 virtual CPU cores to its VMs, and the fact that I've assigned 32 to SecretProject01, 02 and 03 means that it's now just sharing those 32 between the three VMs and reporting them using 30% each? I've tried reading some TechNet articles about CPU usage and Hyper-V, but my head almost exploded. I need it a bit more simply ;)

Cheers,

Andrew

Hyper-V Manager can't connect to Windows Hyper-V Server 2012 R2 Core

$
0
0

A short overview:

  • Server running Windows Hyper-V Server 2012 R2 Core "Adama", up to date
  • Core is accessible via RDP
  • Running VM with Windows Server Essentials 2012 "Apollo", also up to date and accessible via RDP
  • Apollo functions as a File server, AD Services haven't been activated yet, so there is a domain, but unused, everything goes via WORKGROUP
  • Client running Windows 8.1 Pro, up to date
  • All via local network

My situation:

Everything used to be running well, all the mmc snap-ins were available on the client, etc, etc... The last time I used the Hyper-V Manager on the Client has been more then a month ago. Today I fired it up, wanting to add a new VM for a postgresql DB, and I'm unable to connect to the Hyper-V server with the know error "An error occurred while attempting to connect.... Check that the Virtual Machine.... authorized to connect to ...."

I've been checking anything I can think of, all accounts seem to be in order via cmdkey, via mmc I can connect, but not to the Disk Management (Unable to connect to Virtual Disk Service), Device Manager. The Firewall isn't accessible anymore, but the Task Scheduler, Performance, Users, etc... are still accessible...

So in short, to me it seems to be a firewall issue, but I'm not well versed in the windows firewall and all it's possibilities, if anyone has any idea/suggestions?

Thanks & regards,

Fre

Boot from Hyper V Drive

$
0
0

Hello Everyone,

I need your expert input for an issue related to booting from my Hyper-V disk. I have following setup:-

a) Windows 8.1 Enterprise (Eval)

b) Windows Server 2012R2 Standard (Eval) running on Hyper-V's Virtual Disk

I login to Windows 8.1 and then login to Windows Server 2012R via Hyper V. Lately the performance of the Hyper V is not so good and thus I wanted to directly boot from Windows Server 2012R2 rather than going via Hyper V.

Since my Windows Server 2012R2 is on virtual drive, How can I directly boot from Windows Server rather than Windows 8.1.

I have a lot of data on Windows Server 2012R2 virtual drive and backing the data will be a cumbersome job. 

Regards,

Rpkash

 

VHDX file corrupted

$
0
0

Hi guys,Really need your help on this one.

I have a customer that uses Hyper-V on Windows Server 2012 RTM.

The earlier IT guy (who was fired today) have been running the whole setup on dynamic disks.

One of the disks have 3,5 TB of data, and is therefore a VHDX file.
Today because of the heat the RAID controller reset, and that sadly corrupted the VHDX file.
Almost all of the VM's are dead, but this VHDX file holds ALL of the company data - such as dokuments, pictures, contracts, profiles, homedirs, and so on (you probably get the picture).
To top it all, the (now fired) IT guy didn't really check on the backup jobs - so no backup at all.

This company really needs help. I tried Bing'ing and Googling everything but no help as it is a VHDX and not a VHD file.

Whenever I try to start the machine, all I get is "Attachment 'D:\VHDs\FILESERVER1.vhdx' failed to open because of error: 'The file or directory is corrupted and unreadable.'."

I tried attaching it in disk manager with no luck (it will not open). I read that extending the size with VHDResize could uncorrupt the drive could help (but sadly it does not support VHDX format).

I really need your help here. Please join in with every crazy idea available.. These guys really need help.

The guy that comes up with a solution will not only recieve the credit, but I personally promise you an ice cold beer if you ever get to Denmark..

Or if you live in a country that I will ever visit, I will buy you one in your town.

THANK YOU SO MUCH!!


Microsoft: MCP, MCTS, MCITP: SA, MCITP: EA || CIW: Associate, Security Professional || CompTIA: A+, Server+, Linux+ || Citrix: CCA on XenApp || HP: ASP, ASP:SMB || Astaro: ACA, ACE

Very Slow login to a VM DC

$
0
0

Hi there, 

We have a DC for a second domain running as a VM. Recently the time to login has been taking very long. What could cause this? How can i resolve it?

The host server is running Server 2008 R2. This problem just started happening a few weeks ago. 

EDIT: It also takes a long time to login with remote desktop. It takes about 5 minutes for the prompt for the login info to even come up. This is the only server that this is happening to.

Hyper-V over SMB 3 running slower than expected.

$
0
0

Hi,

Currently in the process of evaluating Server 2012 R2 with storage spaces/smb 3/ssd tiering etc...

My test setup is the following: 

1x Server 2012 R2 with 2x SSD and 2x Sata drives in a virtual disk with 75GB SSD tier and 1000GB Sata Tier.  10GB write-back cache.  The virtual disk is shared as \\fs-dev\storage\

network for above is a dual port NIC teamed with then two virtual interfaces on two different vlans.

1x Windows 8.1 Pro with hyper-v role installed.  Single NIC with hyper-v switch attached and allowing management operating system to share enabled.  

If I do a straight file copy from the file server to the workstation in either direction I max out the single NIC and get 110MB/s.  I can also see that the SMB 3 multi chanel is working as expected on the server and is load balancing across the two virtual NIC's

If I boot up a vm on the workstation with all its files on the remote server share.  The performance is considerably worse.  Sequential read writes are around the 60MB/s mark and random 4k read/write are ok, but certainly worse than expected.

I've bench marked the storage space directly on the server and can confirm it is easily capable of better performance that this.  All NIC's are 1Gbe

Note that both machines are at least quad core 3.6Ghz cpu's with 8GB ram so there should be no issues there.

Any suggestions on how to troubleshoot further or what might be the issue?  


Hyper-V Manager missing from tools menu

$
0
0

I've just installed a new domain. It has one domain controller (Windows Server 2012 R2), SVR0 and one Hyper-V Server (not the Hyper-V role...Hyper-V Server), SVR1. I joined SVR1 to the domain and now I wan to manage it from a Windows 8.1 client. I've installed RSAT on the client and I can open Server Manager no problem. The problem that I am having is that there is no sign of Hyper-V manager anywhere. Server Manager knows that SVR1 is a Hyper-V server but still there are no Hyper-V Manager links anywhere. I was expecting it to show up in the tools menu on Server Manager but it did not. I made sure that Hyper-V management feature is installed on SVR1, but still nothing.

What am I doing wrong?


Export-VM to a network share permission problems

$
0
0

Hello,

I am just getting into scripting backups of Hyper-V VMs using Powershell. I have using 2008 R for the Hyper-V host and 2008 R2 for the server with the network share. I am using Powershell Management Library. I have been able to export the VMs up to the local VM host. However, I have not been successful in exporting  to a network share. I get the stock message:

"Failed to create export directory with error 'General access denied error'(0x80070005): MyVMtoExport (98504EFC-2B8A-43A8-A14D-999B78CFB736)
Failed to create export directory."

I have read about and applied NTFS and share permissions on the folder on the network share. I have given full control to my domain account, the domain Admin account, as well as the machine account of the Hyper-V host.

I have been able to (as the same user), xcopy files from the Hyper-V host to the share. I have also been able to export the VM from Hyper-V manager to the share.

I have gone back an forth checking permissions, but can't seem to export the VM as myself or as the Hyper-V host machine account.

RSS & DVMQ with 1GB NICs

$
0
0
I'm setting up a WS12R2 Hyper-V Host.  Is there much benefit to setting up RSS on a NIC Team for the Hyper-V Management OS and DVMQ on a NIC Team for an External Virtual Switch if all the physical NIC's are 1GB and not 10GB?  I have Server with 8 x 1GB NICs.  Plan on using 3 NICs for MPIO to iSCSI SANs.  I think I've read that RSS is disabled by default for 1GB NICs, but that it can be changed.  Assume it defaults to disabled because there is not much value in using RSS & DVMQ with 1GB NICs.  Any comments greatly appreciated. 

Permissions issue moving VM to other drive

$
0
0

Hi

I'm running a single installation of hyper-v on a WS 2012 machine. It's not domain-joined and I'm logged in as the local admin account.

I'm attempting to do a move of my VM's vhdx file in hyper-v manager. I've only got local drives and I'm moving it from my SSD (C:) to my HDD (D:).

The steps I'm doing is in short: Move->Move vm storage -> Move only vm hard disk etc. The VM is actually powered off, but I've tried on powered on ones to. I know that live migration between hyper-v hosts requires a domain, but that's not of any interest until (if) I gets another server.

Event viewer is able to tell me this:
Storage migration for virtual machine '<name>' (DDC5063D-533C-4A35-8045-6CDE64EC4E17) failed with error 'General access denied error' (0x80070005).

Migration did not succeed. User does not have enough rights for 'C:\Virtualisering3\hyperv'.

2012 R2 Hyper-V VM Disk 2 has been surprise removed | An error was detected on device \Device\Harddisk2\DR2 during a paging operation

$
0
0

I have been scouring the internet for over a week now, and I cannot figure this one out. Some background... I am retiring an old physical file share server, and I am creating a new 2012 R2 VM on a 2012R2 DataCenter Core Hyper-V host. Creating the VM went without issue. It is configured as follows:

8GB RAM

4 CPU Cores

72GB system drive (C:\)

2TB data drive (D:\)

12GB page file drive (Z:\)

I have about 1.8TB of data to copy over from a physical box, so I am using RoboCopy. I have gotten about 1.5TB of data over, then the new VM's data drive (D:\) disappears and the copy fails. The disk no longer appears in Windows Explorer or diskmgmt.msc. The even log shows many event IDs 153 (The IO operation at logical block address 0x*** for Disk 2 was retried) and event IDs 51 (An error was detected on device \Device\Harddisk2\DR2 during a paging operation, and the last event when the drive disappears is a single Event ID 157 (Disk 2 has been surprise removed).

After racking my head over this for several days, I deleted the VHDX for the 2TB data drive, created a new one, and started the data copy all over... same issue. I completely deleted the VM and all files, reinstalled on new VHDX drives... same issue.

This leads me to think it is an issue with the Hyper-V host, but there are not event IDs pertaining to this, and the other 53VMs are running without issue.

I would SINCERELY appreciate any help with this.

Sorry for huge post, but thank you in advance!

Windows servers

$
0
0

Hi there,

we have windows server 2003 server which were on VM Ware and we have migrated them on to Hyper-V and if you clone the same server the mouse doesnt work at all. 

Action taken 

uninstalling Integration services on the cloned server and re installed from Hyper-V but doesn't work. 

I have run out of ideas have searched around but no luck please assist urgently. 

Viewing all 19461 articles
Browse latest View live




Latest Images