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

Add of a Windows 8 VM on a server 2012 Hyper-V

$
0
0

Hello,

I have a server (dual CPU) 2012 Standard Hyper-V, running 2 VM server 2012.
Till there, no problem.

For a "technical" use (VoIP server), I want to install a Windows 8 VM on this hypervisor.

1) Is it allowed (by Microsoft licensing) to add one (or more) VM on this 2012 hypervisor ?

2) If yes, which type of Windows 8 license should I buy ?

Thanks in advance for your help.


Hyper-V Replication Implementation question

$
0
0
I have two Hyper-V 2012 servers. I want to setup replication between them but I wanted to clarify a few things.  My plan is to put 3 VM's on each Hyper-v Server and then replicate them to the other servers. So Server A has 3 VM's and Server B has 3 VM's. In case of a server failure the servers on Server A will failover to Server B and vice versa. This also applies to the VHD's. I want everything to replicate between the two. And I need to make sure that the process is automatic so if storage fails the vm's will fail over. I just want to make sure the Hyper-V Replication will work in this way.

Vincent Sprague


Server 2012 R2 w HyperV Role - Guest NICs disconnecting during backup Event ID 12598

$
0
0

Hello, we are seeing Guest VM's disconnect from the network in the event logs during our backup window. We are using CommVault 10 SP8 on Hyper-V 2012 R2 with Hyper-V role, we are fully patched and using the current Integration Services. We see this on both stand alone Hyper-V servers and clusters. The servers are being backed up with VSS and are not going into a saved state as far as I can tell, they are being hot backed up.

We are seeing event ID 12598 network adaptor disconnected  from virtual network on the host logs under Hyper-V-SynthNic. I would like to try and stop this from happening so monitoring software will stop marking servers offline. Any ideas?

Hyper-V 2012 R2 Remote Management with Windows 8.1 using Microsoft Account (Workgroup)

$
0
0

Hello,

I've set up a Hyper-V 2012 R2 Server and tried to manage it from a Windows 8.1 with a Microsoft Account. Everything is in the same workgroup. After many searches, the only way is set up the server for remote access, install RSAT and log on with an Administrator account from the server in Server Manager console.

So, this situation generates a question: since it's impossible to set up a Microsoft Account in Hyper-V server as a local user, it's impossible to use "the same account and password" way to establish a link between server and desktop? I must use a remote account for connection? Why Windows 8.1 local account and online account can't be merged as a single account?

By the way, there are some consoles that cmdkey doesn't work, so it's not an option.

Best regards.


Herleson Pontes MCT | MCITP | MCSA | MCTS | MCP | MOS http://www.herlesonpontes.com.br – herleson@hotmail.com

Losing Access to Cluster Shared Volumes: Cluster Shared Volume 'Volume1' ('CSV Disk1') has entered a paused state because of '(c0000435)'

$
0
0

Hi,

Just built a Server 2012 R2 Hyper-V failover cluster connected to Equallogic 4110 storage arrays with latest firmware and HIT kits. 
When creating a clone or vm from a template we see that the cluster loses access to the storage csv volume that is hosted on the equallogic storage with the following errors:

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

Can anyone shed any light onto this issue?

Full details below:

Log Name: System
Source: Microsoft-Windows-FailoverClustering
Date: 06/08/2014 09:31:17
Event ID: 5120
Task Category: Cluster Shared Volume
Level: Error
Keywords: 
User: SYSTEM
Computer: SVR1
Description:
Cluster Shared Volume 'Volume1' ('CSV Disk1') has entered a paused state because of '(c0000435)'. All I/O will temporarily be queued until a path to the volume is reestablished.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-FailoverClustering" Guid="{BAF908EA-3421-4CA9-9B84-6689B8C6F85F}" />
<EventID>5120</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>38</Task>
<Opcode>0</Opcode>
<Keywords>0x8000000000000000</Keywords>
<TimeCreated SystemTime="2014-08-06T08:31:17.330643100Z" />
<EventRecordID>36230</EventRecordID>
<Correlation />
<Execution ProcessID="2336" ThreadID="3524" />
<Channel>System</Channel>
<Computer>SVR1</Computer>
<Security UserID="S-1-5-18" />
</System>
<EventData>
<Data Name="VolumeName">Volume1</Data>
<Data Name="ResourceName">CSV Disk1</Data>
<Data Name="ErrorCode">(c0000435)</Data>
</EventData>
</Event>


Microsoft Partner

VM formated in 4K allocation unit in a csv formated wtih 64K allocation unit?

$
0
0

Is it bad to have VM formated with 4K allocation unit, on a CSV volume which is formated wtih 64K allocation unit?

Is it bad to mix VM formated with 4K and 64k allocation unit, on a CSV volume which is formated wtih 64K allocation unit?


VHDX support for guest OS query

$
0
0

Hopefully someone can point me in the direction of an MS document that can answer this, or provide an answer here.

Is it an MS supported configuration to use the VHDX hard disk file format for a drive assigned to a 2008 R2 guest VM running on a server 2012 R2 Hyper-V host?

I've found info that states (correctly) that VHDX is only supported in server 2012 Hyper-V (at the hypervisor level) and that it isnt supported in 2008 R2 Hyper-V but nothing as to whether it is supported to use VHDX files with 2008 R2 guest VM's on 2012 Hyper-V......

Fingers crossed someone can give me a definitive answer!

Thanks

Matt

Unable to Remove VM Snapshot: Catastrophic failure (0x8000FFFF)

$
0
0

Quite simply, I have a VM with two snapshots, and I can't delete them.

When I run Get-VMSnapshot -VMName <VirtualMachine> | Remove-VMSnapshotin an elevated PowerShell console on the hosting Hyper-V server, I get the following error:

Remove-VMSnapshot : '<VirtualMachine>' failed to remove checkpoint. (Virtual machine ID
D68C0DC1-E83E-4CCD-90FB-63374FA02AF2)
Cannot delete checkpoint: Catastrophic failure (0x8000FFFF). Checkpoint ID 04CB915D-4ADC-42DF-9584-2420F6626DE9.
Virtual machine failed to generate VHD tree: 'Catastrophic failure'('0x8000FFFF').
At line:1 char:66
+ Get-VMSnapshot -VMName <VirtualMachine> -ComputerName <Hyper-V Host> | Remove-VMSnapsh ...
+                                                                  ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [Remove-VMSnapshot], Virtualiz
   ationOperationFailedException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.RemoveVMSnapshotCommand

Remove-VMSnapshot : '<VirtualMachine>' failed to remove checkpoint. (Virtual machine ID
D68C0DC1-E83E-4CCD-90FB-63374FA02AF2)
Cannot delete checkpoint: Catastrophic failure (0x8000FFFF). Checkpoint ID 672C1FCD-A989-4510-8AF8-009E007F44B5.
Virtual machine failed to generate VHD tree: 'Catastrophic failure'('0x8000FFFF').
At line:1 char:66
+ Get-VMSnapshot -VMName <VirtualMachine> -ComputerName <Hyper-V Host> | Remove-VMSnapsh ...
+                                                                  ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (Microsoft.HyperV.PowerShell.VMTask:VMTask) [Remove-VMSnapshot], Virtualiz
   ationOperationFailedException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.RemoveVMSnapshotCommand

This hyper-V host is also managed by a VMM server, but I get the same error from the VMM server when I run the Remove-SCVMCheckpoint cmdlet.


Hyper-V connected to SAN, NPIV

$
0
0

Good day.

We need to install new HP 3PAR storage for our Hyper-V clusters.

Do we really need to enable NPIV on our SAN switch ?

We have no blade servers.


SQL clustering

iscsi initiator in guest on physical cluster

$
0
0

I am having a difficult time with using iscsi on a guest machine and could use some help.

Physical Hosts (same config on each)

NIC 0-1 Teamed with 0-2

NIC 0-2 Teamed with 0-1

NIC 0-3 Management

NIC 0-4 iscsi fabric a

NIC 0-5 iscsi fabric b

NIC 0-6 Heartbeat/LM

Virtual switches

Virtual switch using multiplex driver for team (VLAN 100)

Virtual switch using NIC 0-4 (VLAN 200)

Everything is working perfectly except the virtual switch for iscsi. I configure it but when I do a trace route to the iscsi SAN it ends up being routed via the teamed switch which is a different VLAN. If I do a route print it does show the traffic should go out the NIC 0-4 virtual switch but simply does not. I also can't ping it from other devices on the VLAN 200.

The way I set it up was just create a virtual switch off of NIC 0-4, add a NIC to the VM with that vswitch and entered VLAN 200 for it.

Any ideas what else I can look at?

How to reclaim hdd space after compacting VHD in hyper-v

$
0
0

I have a virtual machine installed on Windows Server 2008 using Hyper-V.  The VM is using Windows 7 as its OS.  I had originally set the size of the dynamic disk to 40 GB but soon learned that wasn't large enough and expanded it to 110 GB.

Now I an no longer running the VM and need to reclaim some of that space while keeping the VM intact.  I have run the compacting wizard, and it says the disk is now 24 GB with a maximum size of 110 GB.   Yet all of that space is still allocated for the VM's use.  How do I reclaim the empty space?

I have tried to go into the VM and shrink the current volume, but it says I don't have enough space to do so.

I appreciate any suggesions as I really need to reclaim some of that hdd space.

Thanks!

Disk Configuration Question for Performance

$
0
0

Hi,

I am looking for some advice on what the best way to configure my disk system is for performance when using Hyper-V. Currently I have two midline 7.2k SATA disks used for the hyper-V OS in RAID 1, and then 14 x 10k 600GB SAS enterprise disks in RAID 10. The RAID 10 is where all my VM’s exist on, but not directly on the physical disk, I use a product called StarWind which consumes almost all of the physical disk space, this is a virtual SAN and I use this for my CSV in the cluster, the VM’s all exist on this starwind disk, there is a tiny amount of overhead but I don’t think that’s really where my problem lies. We have 12 Virtual machines, so there is 1 spindle per VM, however it’s in RAID 10 so does this actually mean I have 7 spindles for 12 VMs?

The entire system almost grinds to a halt whenever I am copying new VM’s onto this host. I can’t use any other RAID type except for RAID 1 or 10. I know RAID 0 would give me better performance but we are not willing to take the risk. Now, it is my understanding that RAID 1 and 10 are essentially the same with the same performance and capacity, because of this I chose RAID 10 so I can take advantage of the combined capacity, but I am wondering if this is the best configuration.

I can think of a few other variations:

  • A single RAID 10 with one large partition but multiple CSV’s instead of one large one
  • A single RAID 10 with multiple partitions and a CSV on each partition
  • Multiple RAID 1, each having a single partition and a single CSV

Reading this site, there are a few pointers I have taken away regarding disk performance, a couple below I have questions about.

http://www.altaro.com/hyper-v/23-best-practices-improve-hyper-v-vm-performance/

Point 6 says “Use separate volumes for each VM. Since the administrative tasks of a virtual machine are controlled by its own process (VMWP.exe), keeping several virtual machines on a single volume will cause more Disk I/O operations from each worker process. Hence, it is recommended to use separate volumes for storing virtual machine files (VHD, VHDx, checkpoints, and XML).

Does this mean the arrangement I propose in my second point above – multiple partitions and a CSV on each partition? The term “Volume” seems to be a bit ambiguous depending on where you read

I believe point 14 to be incorrect though. “De-fragment Hyper-V Server regularly or before creating a virtual hard disk. It is advisable to defrag Hyper-V Server disks where the VHD and virtual machine configuration files are stored regularly or before creating a large virtual hard disk file.

It is my understanding that defrag only tends to work well if there are many files on the disk, on the physical disk in my case there is one massive starwind file so I don’t think defrag on the physical will do anything, defrag in the starwind disk might help but it is mostly large VHDX files – will defrag really make much difference?

Additionally, I don’t have any generation 2 VM’s and there’s nothing I can do about this right now, all data disks use SCSI channels on the VMs, all VHDX are fixed size.

Also, a slight side question but kind of related – I have both an exchange server and SQL server running as VM’s (the log files already exist on separate VHDs, but on the same physical RAID 10 disk), does my physical disks used for log files need to match those used for the DB, or can they be slower lower class disks… for example, if I place a 7.2K disk in with a RAID made up of 10K disks, it is my understanding that the entire RAID will lower its performance of the slowest member – is this true with log files and databases, if the log files are on slow disks will the database also go slower to match the pace of log files being written?

many thanks

Steve

Reboot guest - receive new nic

$
0
0

(This isn't a citrix issue.. it's HyperV - I think - but Citrix background below just for info. The HyperV part seems to be killing me here. This incident relates to )

A slight problem has resurfaced during Citrix provisioned image update. The citrix side of is it kinda academic, the reason it's being a pain is in the image, the virtual machines have two NICs, one to boot off of (a legacy adapter), and one for citrix ICA traffic (synthetic).

This has always worked great, ICA is bound to the right one and job done. All the VMs boot off the same provisioned image and we're off to the races.

Today I updated the citrix image - when I boot *some* VMs, it decides the synthetic adapter has somehow changed, and installs a new one. Which ICA doesn't bind to as it's not there at boot time, instead it attempts to bind to the non-routable boot nic and of course clients then can't connect.

I'm at a total loss to explain how the guest has decided it has a new NIC in there. If I show hidden devices, I can see the old one of course, but the fact it's not there until the device has been installed is causing me a problem.

For fun, I booted the server I was using back on the old image, the one that had worked perfectly well - and it pulled a new NIC instance, just as the new image did. This leads me to suspect something is up with the host as of course the October image hasn't changed, but I can't figure out what. Making matters worse, there are 5 servers running on that host, all on the same image - and the one I rebooted is the one showing this behaviour. The others are fine. As these are provisioned images, they ALL boot off the same one, and any changes are discarded upon reboot.

Any ideas? Host is 2008R2 datacentre, guests are 2008R2x64 standard.

Thanks

AW


Bit of background - we've a Citrix XenApp 6 farm which provides desktops and apps to thin client devices. There's around a dozen physical hosts, running in the region of 45 VMs that the clients in turn to connect to. We've two base images (using Citrix provisioned image) that are updated monthly and all guests boot off one of those.

Fixed VHDX sizing recommendations

$
0
0

Hi,

I am setting up a new Hyper-V 2012 R2 host. I got a 8TB RAID5 dedicated to the planned virtual file server data disk. I have another RAID on the host for the host OS and yet another RAID on the host that will house the VMs including the OS disk for the file server.

Our backup solution does not support raw disks, so please do not suggest I use raw disks.

My question is:

Purely from a performance perspective, should I split the 8TB data disk into 2 (or more) fixed VHDXs at 4TB each or am better off with just 1 fixed VHDX at 8TB?

Any other reasons why several VHDXs might be better than just one big one?

Please don't tell me what's supported by Microsoft, I know whats supported, I'm asking what's best for performance and if there are any other reasons why several VHDX is a better option over 1 big.

Thanks.

VM can't be exported to local SDD, error 0x80070005

$
0
0

Hello

I have a test server with Windows 2012 R2 installed, which acts as a standalone Hyper-V Server (not joined to a domain). Among others there are two VM's (Windows 7 and Windows Vista) that I had transferred from a Windows 2008 R2 server. Both can be started and stopped without any problems, I can add and delete snapshots etc.

When I export the Windows Vista machine, all is ok. However, when I try to export the Windows 7 machine to a local SDD (drive E), I get the following error:

An error occurred while attempting to export the virtual machine "CL1" (E1FF00DC-B841-4D80-8FCE-4D6D39BA2370). Error: General access denied error (0x80070005).

What can I do to solve that? The suggestions I found so far, either didn't apply to my case or didn't solve the problem. I tried adding "Everyone" with full access to the VM source folder, but the error message keeps popping up at the very end of the export process.

Please note: Drive E is NOT a connected network share, it's really attached locally to the computer and in fact is the same drive, where all the active VM's are stored.

I need to mentioned a few additional points, which might be important.

  1. Both VMs have differential hard disks connected to base disks.
  2. The Windows Vista VM could be imported to Windows Server 2012 R2 without problems. - I first exported it in Windows Server 2008 R2, imported it in Windows Server 2012, exported it again, and finally imported it in Windows Server 2012 R2. For the Windows 7 VM, that didn't work. I had to restore the data from a backup to the new folders and manually add them to Hyper-V.
  3. One of the base VHDs of the Windows 7 VM is on drive C instead of E and when I move it to the folder, where the other VHDs are and try to repair the connection, I get an error message stating that the superior element can't be set for the virtual drive. I do suppose if I could repair that connection successfully, the problem with the export would be solved as well.

Does anyone have a suggestion what I could try to do to solve the problem?


Server 2012 / Hyper-V 3.0 Failover Clustering - Two Nodes, No Shared Storage

$
0
0
Guys, I want to create a two-node Hyper-V failover cluster without using shared storage (i.e., each server is using only direct-attached storage). Both machines would be running Server 2012 with Hyper-V 3.0 and have identical hardware. Can it be done??

Shaun

No Sound on virtual Windows 2008 R2 terminal servers

$
0
0

Hello. I have a hyper-v server with 3 terminal servers (in fact there are two hyper-v with a totall of 6 terminal servers).

Hyper-V server is W2K8R2 and so are the terminal servers.

Users connect to the terminal servers using RDP and are unable to play sounds locally on their thin and fat clients.

I installed Desktop Experience and offcourse done the steps below.

Win2008
  1. Start -> Run -> services.msc
  2. Change the Windows Audio service from 'Disabled' to 'Automatic' - and start it.  
  3. Lauch the Remote Desktop Session Host Configuration utility by going to START -> RUN/SEARCH -> and typing entering the following command: tsconfig.msc <ENTER>
  4. On the right-hand pane, double click on 'RDP-TCP'
  5. Select the 'Client Settings' tab
  6. Clear/Uncheck the Audio and video playback check box
  7. Log off the system and launch your RDP client.
  8. Before you connect to the system, click the Options button/arrow to expand the RDP session options.
  9. Click the ‘Local Resources Tab’ and under ‘Remote audio’ click the ‘Settings’ button.
  10. On the window that pops-up, under ‘Remote audio playback’ click ‘Play on this computer’ and click OK.
  11. Connect to the virtual machine and you now have sound!
  12. (quick test, you can use START -> RUN -> c:\windows\media\tada.wav  (it may prompt you to configure Media Player for first usage).

After this, the users are still unable to play audio in their terminal session.

They have boxes or headphones connected to their devices and are able to play audio local on their fat clients. (Windows pc's)


Does anyone has more idea's?

Restore Image to Hyper V

$
0
0

Hi,

I am currently trying to restore a 2008 r2 image which is .VHD extension to Hyper V.

I have created a VM (501GB) and added it as a disk into disk management. The file of the back up is 146GB which is on a external HDD (500GB). So based on that the destination disk is larger.

I am restoring from a shared location and have attached physical drive as IDE Controller. Physcial drive is offline.

I have run diskpart > clean also.

I keep getting this error " 

No disk that can be used for recovering the system disk can be found" 

On searching this error it came down to the physical size of the drive which in my case is fine.

Can anyone help with what may be causing this error? Am i missing something? Driver that may need to be installed?

This is the first time i am installing image on Hyper V so could be missing something crucial



Connectivity problem in Windows Server 2012 R2 is configured to use LBFO on a NIC teaming network adapter

$
0
0

Hi 

I have one problem in my Windows 2012R2 server with Hyper-V Cluster . In this server i have Four Port NIC, and i configured Teaming with two NIC ports, one for Heartbeat and one is free. Server was works fine all theway. suddenly this server is not reachable over the network. but server was running and all my Guest VM's are moved to other Host machine. i can able to connect this server by using hearbeat IP not through Production (Team) IP. what i saw there is yellow exclamation (Seems to be warning) after i disabled and enabled Teaming, Network comes up and i was able to access the server over production network.

Do you have any idea about this issue.

i found some hotfix which is almost same not exactly same.(http://support.microsoft.com/kb/2953202). for me server got disconnected during the server operation.

How ever i found one for Windows 2012 not for R2 http://support.microsoft.com/kb/2908243 

 


Kris


Disabling Disk Write Cache for a Windows Server 2012 Domain Controller Running as a Hyper-V Guest

$
0
0

Hello,

We have a physical server running Windows 2012 Server Standard with the Hyper-V role enabled. One of the guest systems is a Windows 2012 Server Domain Controller. We are getting the following error message in the System Event Log:

Event ID: 32 - Source: disk - Description: The driver detected that the device \Device\Harddisk0\DR0 has its write cache enabled. Data corruption may occur.

In addition to this, there is the following event in the Directory Services Event Log:

Event ID: 1539 - Source: ActiveDirectory_DomainService - Description: Active Directory Domain Services could not disable the software-based disk write cache on the following hard disk.

Hard disk:

c:

Data might be lost during system failures.

I checked the properties of the logical disks on the host server, and the setting 'Enable write caching on the device' isnot selected on both logical drives.

The update KB2855336 is installed on the host server.

The guest server is using a virtual IDE controller for the hard drive, and the virtual hard disk is VHDX.

When I check the properties of the disk drive within the gues OS (virtual HD ATA device), the setting 'Enable write caching on the device' is selected, and there is a warning that says: "This device does not allow its write-caching setting to be changed."

I have yet to find a clear answer through the forums on if the above log entries can be disregarded, or if there is still additional work that needs to be done to ensure we do not lose AD if the host server crashes.

I am moving my customer from physical DCs to all Windows Server 2012 virtual DCs, and I need to know if I need to have a physical server running as their DC with the FSMO roles.

Any help would be appreciated.


Viewing all 19461 articles
Browse latest View live


Latest Images