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

Add VM ID to VHD permissions

$
0
0
When I make a copy of a vhd file and try to mount this file to a new VM, I get an error stating that the VM does not have permission to access the VHD:

An error occured while attempting to start the selected virtual machine(s)

(VM NAME) failed to start.
Microsoft Emulated IDE Controller (Instance ID .....   : Failed to Power on with Error 'General access denied error'

IDE/ATAPI: Counld not attach '(file location)' to location 0/0 of IDE controller. Error: 'General access denied error'

Account does not have sufficient privilege to open attachment '(file location)' Error: 'General access denied error'
.........

When I look at the file permissions, the VM GUID ID is not listed and this is why I get the access denied errors. I know that i can give everyone full control on the file and get it to work - or recreate a new vhd - along with some other workarounds, but I want to add the VM ID to the permissions list.

How do you add the VM ID to the permissions list on the file?

Analog modem with Hyper-V 2012 guest?

$
0
0

I have just migrated a Windows 2003 guest VM from Virtual Server to a Windows 2012 Hyper-V host.  I had forgotten that the guest used a modem for a fax application.  I know that Hyper-V 2008 did not support a serial modem redirection to a guest OS.  Does Hyper-V 2012 support this?  Note that this is a SERIAL modem, not a USB modem.

Thanks,
Joe

How to make a Hyper-V 2012 cluster perform

$
0
0

Hello,

I am in the final stages of selecting components for Hyper-V 2012 cluster and SAN, I am interested in people's opinions on what the best tweaks for improved performance.

SAN will be 8G FC (eg 3PAR 7400 / Compellent SC8000 / NetApp VNX 5500) with 30-40 Tier-1 disks, 20-30 Tier-2 disks, possible some SSD.

Servers will be 2 CPU (eg E5-2680), 256GB Memory (16x16 1600Mhz), 3 x 146 15K in RAID-1 + spare, 2 x single port 8Gb HBA, 4 x 10GB NIC, 4 x 1GB NIC

Introducing 10Gb switching for east-west traffic that will most likely be connected to 6509-E core using multiple 1Gbps.

Where would you spend money if you wanted to increase performance ?

SSD for the SAN ?

10Gbps from rack switching to 6509 core ?

Upgrade CPU to E5-2690 ?

Fusion IO ?

One vendor suggested having SSD for the Hyper-V OS drives.

I do realise I have provided little details on the workload, assume typical small business, 1000 users, 60 guests, file, print, exchange, sql, sharepoint. Backup is on seperate hardware using DAS.

Thanks

Microsoft Server 2012 licensing

$
0
0

Hi,

We want to install Hyper-V service in 4 servers as part of HA and DR. We have already enough Windows 2012  Std licenses to cover all 4 physical servers and all guests running in one physical server (around 25). My question is: will these licenses cover VM moving from one host to another, and from Primary to DR site.

Thank you

Cluster Migration Guide - Storage Steps.

$
0
0

Hi all,

I'm in the middle of clustered hyper-v migration. I have two node cluster to be migrated to 2012 cluster.

I got following replies from ther guys that Cluster migration would be best way to do this.

http://social.technet.microsoft.com/Forums/windowsserver/en-US/e8d900d4-6ce7-4713-8913-df144f7decbd/migrate-2008-r2-clustered-vms-to-2012

But I need all steps on storage side. I wathced the cluser migration video on edge and as far as I understand during migration both of my nodes should access to same LUNs and storage. And before actual migration I will take offline SAN access from legacy node. Is that process right?

What is the action name on storage side to show same LUNs to different clusters?

Do I need important points to consider? Is there a risk to lose all my data?

And how will I take offline SAN access from legacy node? LUN masking or what?

I need these steps since i will pass them to my storage guys.

Thanks in advance.

How to import hyper-v s2008r2 exported vms in hyper-v s2012r2?

$
0
0

My name is Florin Nicolescu and I am a MCT.

I usually want to promote last MS technology in my classes.

So I want to use s2012 r2 hyper-v as host for my MOC courses VMs which are created by s2008 r2 hyper-v export (ver 1 vms).

I already switched to s2012 hyper-v and things seems to work ok.

Now I want to switch to S2012 r2 Hyper-v.

I saw that support for ver 1 VMs is discontinued in s2012 r2 hyper-v. (thanks to Taylor Brown)

So import in s2012 r2 hyper-v of an exported s2008 r2 hyper-v vm is no longer possible

For now the only workaround I identified is to import the vms in a s2012 hyper-v and copy each Virtual Machine folder with the new content done by import (and it works).

Is any tool or powershell cmdlet that can transform the .exp file obtained by export in s2008 r2 into {guid).xml file and a folder with the same name as the xml as it happens during the import of ver 1 vm in s2008 r2/s2012?

 All the best

 

Florin (Nicolescu)

florin@learningsolution.ro

Same disk copy in VM very slow compared to network copy (HyperV 2012)

$
0
0

I have a weird behavior on some of my VMs:

Host OS Windows Server 2012 with Hyper-V

Guest OS both 2008R2 and 2012

Storage Equallogic SAN, iSCSI

Gigabit ethernet

The host is connected to a 1 GB Volume where the VHD of the VM are stored

If I copy a large file (say a template .VHDX)  from the HD of the host, via network, to the drive (a. VHDXfile ) of the guest, transfer speeds are acceptable (start well over 300 MB/s then stabilizes to 80 MB/s), and compatible with the virtual gigabit network card on the VM

If I copy the same file on the VM (a simple ctrl-c ctrl-v on the same disk, but the same results happen copying from one drive (VHD) to another) the copy speed crawl to a 17 MB/s average and it's generally unstable.

I've seen many posts about the opposite behavior, slow network speeds and fast internal copy speeds and I can say that I have VMQ disabled on both my host and guest machines.

What could be the cause of this issue?

Thanks in advance for any help that you may give.

Can I.. three non-clustered 08r2 (enterprise) guest VM upgrade individually to 2012 datacenter VMs

$
0
0

There is a plethora of information out there about migration of clustered 08r2 VMs to 2012 VM as is there also a ton of info on upgrading the 2008 R2 host to 2012.

What I cannot find, is in a non-clustered, non-HA scenario, for a small customer running Lync, TMG, and File services off of one host, containing those three VMs, they want all four (the one host and thee guest VMs, all Hyper-V 2008R2 Enterprise) to be 'Upgraded', to 2012.

Can the Hyper-V 2008R2 Enterprise Hosts be safely upgraded one-by-one, within the VM, to 2012 Datacenter or do we have to treat it  in theory as a cluster and use migration tools?

Since all three are in production, after redundant backups are made, the goal would be to bring each guest from 09r2 to 2012 up one by one, test overnight, and then test in production before moving into a new cluster...

Thanks!

B


Hyper-V Clustered VMs stuck on Pending after host Restart

$
0
0

Hello Gyus,

I have very big Proplem and I really need your support guys, I have Hyper-V cluster with four node hosts, all hosts running windows server 2008 R2 SP1 with all Hyper-V hot fixes installed, I have created 1000 VMs using VMM 2012 Console successfully, the environment is to be used with VDI, VMs has assigned Legacy Network card to boot from network and get Windows 7 OS, everything is working perfectly, however, if I restart one host, the VMs will be moved to other hosts and stuck on Pending for ever, I have then to disable autostart from the cluster console and start the VMs one by one.

Please let me know if there is a solution for this issue, it is illing time and if for some reason one host failed while production, people wont be able to work.

Regards..

Nour


Nour

Hyper-V 2012: Disk and VSS Questions

$
0
0

Hey everyone,

Still pretty green to Hyper-V 2012, and have a few questions I'm hoping someone can help me with;

1) What is the recommended disk space requirement for Hyper-V 2012 itself? I'm looking to get a Sata DOM which are expensive and generally very small on the capacity side of things. Would 4GB be enough, or should I get 8GB? The cost difference between 4Gb and 8Gb is significant, so would appreciate any Microsoft links showing disk space recommendations for Hyper-V 2012.

2) I plan on having all VM system virtual disks located on SSD. For backup I'm planning on taking a Volume Snapshot of the partition my VM's are located on and storing it on a regular spinning media Sata HDD. Just wondering, will the use of this regular Sata HDD slow performance of the VM's in anyway.

3) I seem to remember a paper from VMware showing that for their products the performance difference between fixed and dynamically assigned disk space was very narrow these days. Is there any significant performance benefit to using a fixed disk over dynamic in Hyper-V 2012?

Windows Server 2012 Hyper-V Network Driver Problem

$
0
0

Hi,

I created virtual server on Windows 2012 Hyper-V on Dell Power Edge R 720.

Then I migrated my Physical Machine Windows XP SP 3 on Hyper-V the Network Driver not install on it.

Therefore i can not access to machine.

Thanks in Advance

Regds

TeeJay


TeeJay

Expand virtual hard disk

$
0
0

Hi

I have a VM with a single virtual hard disk. This had a capacity of 40gb. It was running out of space so I:

  • shut down the VM
  • from hyper-v manager, selected "Edit Disk"
  • using the "Edit virtual hard disk wizard", located my vhdx file
  • choses to "configure disk" with a new size of 61gb

All seemed to go ok but when I restarted my VM I found the C drive only had 40gb capacity.

Could anyone please let me know where I went wrong?

Thanks

Rob

Hyper-V live migration failed with error 0x8009030E

$
0
0

I have three servers.

Server A - Windows 2012 data center with Hyper-V role
Server B - Hyper-V 2012 server
Server C - Windows 2012 data center as SMB server

All servers are in the same domain that is a Windows 2003 domain controller. Both server A and B are configured for delegation to each other following the instructions from step by step as this pagehttp://technet.microsoft.com/en-us/library/jj134199.aspx (Configure and Use Live Migration on Non-clustered Virtual Machines). My account is a member of domain admins and is also added into the local administators groups on the both servers.

When I tried to move a virtual machine from server A to server B, I got the following error.

-----------------------------------------------------------

Virtual machine migration operation failed at migration source.

Failed to establish a connection with host 'serverB': No credentials are available in the security package (0x8009030E).

The Virtual Machine Management Service failed to authenticate the connection for a Virtual Machine migration at the source host: no suitable credentials available. Make sure the operation is initiated on the source host of the migration, or the source host is configured to use Kerberos for the authentication of migration connections and Constrained Delegation is enabled for the host in Active Directory.

[Expanded Information]
Virtual machine migration operation for 'share-win7templ-diff1' failed at migration source 'serverA'. (Virtual machine ID 250EF943-3A89-4E30-8643-E01563AF3889)

The Virtual Machine Management Service failed to establish a connection for a Virtual Machine migration with host 'serverB': No credentials are available in the security package (0x8009030E).

Failed to authenticate the connection at the source host: no suitable credentials available.

-----------------------------------------------------------

Any advice is appreciated.

Nvidia Tesla in a virtual machine

$
0
0

I have a server with Windows Server 2012 and with an NVIDIA Tesla M2075 GPU that I would like to utilize in a virtual environment. Specifically, users should be able to log on using Remote Desktop on a virtual machine on this server and use the GPU for computing purposes. Is that possible, can this GPU be exposed in the VM somehow or force the VM to use the hardware for computations?

HyperV VM gets DHCP from but no external access

$
0
0

I've WS2012 with HyperV installed on my lab PC, the PC has only one NIC so I added a USB Ethernet adapter for testing.

When a VM connects using the USB Ethernet adapter, it gets an IP Address by DHCP from the router, but no external access, it can only access the virtual switch but no external access.

The host is able to access the internet normally using the USB Ethernet adapter.

the VM is able to work normally if I use the integrated NIC.

any ideas why no network access after DHCP assigns the IP address

I tried using static IPs, same result.


Migrate VMware guest with RDM to Hyper-V 2012 using SCVMM

$
0
0

Hi,

IS it possible to do a migration of a VMware guest that has several disks attached as RDM's using SCVMM V2V?

I have added in the ESXi Server to SCVMM already and Host is set to OK

OR, is it a case of having to do a COLD Migration (SvMotion) on the vmware guest and have vmware convert the RDM's to vmdks first and then use SCVMM to migrate the 6 disks

Thanks


Need help with super slow 1 way move between hosts

$
0
0
Hi guys. I need help please.  I've got 2 Dell Poweredge T320s running Hyper-V 2012 Core.  Both with 4 512GB SSDs in a RAID 5 and 4 Broadcom NICs.  Anyway, when I try to move a VM from Host 1 to Host 2, it is super slow taking hours to move a few gigs.  However I can move a VM from Host 2 to Host 1 at Gigabit speed.  So, it is just a 1-way problem for some reason.  I've tried with and without NIC teaming (windows),  I've tried turning off VMQ, and Checksum Offloading but neither helped like others have suggested it does.  I've tried with and without Jumbo Frames, but nothing has resolved my issues.  I can use a command line to copy VHDs from server to server at 108+MB/s! (1GB speed) so it is just when moving VMs that it takes forever from Host 1 to 2.  Any advice would be appreciated.

Corrupt I-Beam and Wait Cursors on Windows 7 Guest

$
0
0

I have an application that draws corrupted I-beam and Wait cursors.  There may be other cursor modes affected, but I haven't investigated them. The client is a Windows 7 x64 guest running on Hyper-V Server 2012 Datacenter Edition.  The sequence to reproduce the issue may appear slightly complicated, so bear with me.

The Windows 7 x64 Hyper-V guest  RDP's to a jump server running Server 2012 Standard on which the application runs.  After much struggle, I finally found that lowering the Hyper-V video adapter's acceleration one notch to the left (on the Windows 7 x64 Hyper-V guest) allows the application to draw cursors correctly.  The Hyper-V guest is managed through the native vmconnect.exe Hyper-V console. The corruption doesn't occur with the mouse arrow, but does occur with the I-Beam and Wait cursors. There is no corruption on any cursors directly within the Server 2012 Standard edition (jump server), only the application that the jump server executes.

I have verified that physical Windows 7 x64 clients do not exhibit this issue with the RDP/application, only the Hyper-VM client.  I prepped a secondary Windows 7 x64 client just to be sure the problem wasn't specific to the installation.  The issue still occurs.

I have fielded a support request to the application developers, but when work-around can be found by changing video acceleration on the Hyper-V guest, I have to suspect it's a bug in the Hyper-V video adapter.

Has anyone experienced this issue on a Hyper-V guest?  I see postings relating to physical video adapters which prompted me to adjust acceleration on the Hyper-V video adapter.

Best practices for VHDX: Dynamic vs. Fixed size disks

$
0
0

Hello,

We are in the middle of a project where we roll out about 500T of disk space literally all across the globe, all virtualized on Hyper-V 2012 using DAS storage. As you all can imagine, using dynamically expanding .vhdx disks would be a huge time-saver during the rollout.

However, I could not find any clear statement from MSFT that dynamically expanding .vhdx files are OK or recommended for production environments. Can anyone point me to a reliable source which I can use in official project documentation (i.e. MSFT whitepapers, best practice documents or the likes)?

Thanks in advance,

Volker

No Internet access on VM's

$
0
0

I have two 2008 R2 Enterprise SPK1 VM servers that that cannot access the Internet. Each of these servers reside on two different physical Hyper-V 2008 R2 Enterprise servers, other VM servers on these Hyper-V servers can access the internet just fine. I have compared settings between the servers that can access and cannot and also disable the firewalls on the two servers without access to no avail. There is no other network connection issues other than Internet access and one of the servers is an Exchange server that is passing email just fine. Has anyone seen this before and have a resolution?

Viewing all 19461 articles
Browse latest View live


Latest Images