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

2012 R2 Hyper-V Licensing questions

$
0
0

Hello,

I am trying to figure out how Hyper-V licensing works.

Part one:

I understand that with a Windows Server 2012 R2 Standard license, you can have a Server 2012 R2 Standard host and have two Server 2012 R2 Standard virtual machines with the Hyper-V role. If I were to have four VMs, I would need two Server 2012 R2 Standard licenses. If this is incorrect, please correct me.

Does this only count for volume licensing? What about a purchased license, OEM license, or SPLA?

Part two:

If I am using Hyper-V Server 2012 R2 (free), and I have four Server 2012 R2 Standard VMs on the host, do I need four Server 2012 R2 Standard licenses, or does the two VMs rule still apply, so I would only need two Server 2012 R2 Standard licenses?

When Hyper-V Server 2016 is released, would I still be able to use two Server 2012 R2 Standard licenses for four 2012 R2 VMs even though the host is Hyper-V Server 2016?

Thanks!


Hyper-V cluster with Shared Storage; two nodes only?

$
0
0

Is it possible to build a Hyper-V cluster with just two physical servers sharing local storage via Shared Storage -- no SAN, just the two physical boxes running both Hyper-V clustering and the Shared Storage clustered via SMB 3.0?  

I'd think a four-server scenario would work (Hyper V clustered on one pair, shared storage clustered on the other), but was wondering if doing this with just two physical servers would be possible (or recommended).

Thanks!

Mouse Freezes at end of primary installation of Guest O/S

$
0
0

I have Hyper-V 2012 Core running and Hyper Manager on Win7 (a VM on a Mac).

Have just initiated first installation of an XPProSP3 machine but:-

Having reached the point where the mouse is used it won't operate.

I get a small square which can move and I understand this can be the mouse pointer but on the Guest screen there is also a normal mouse pointer that is frozen in the middle of the screen.  In fact clicking the mouse inside the Guest will wake it up but the Start button doesn't react nor does right or left click...

I can release the pointer from the O/S but what I need to do from within the Guest is navigate to where SP3 is located as well as the Integration Service files are and finish off configuring the machine but right now I can't.  And I can't even RDP because the service probably isn't running.  

I rebooted the VM in the hope that might clear things but I didn't get any further.  

Is there anyway of running the Guest machine from the Server Console?

Is the fact that I am running a virtual Win7 machine (with Parallel tools - similar to Integration Service) confusing things?

Any help / pointers greatly appreciated.

Jean

Shared VHDX

$
0
0

Hi ,


I have one Hyper v host with windows server 2012 R2 , This host workgroup and not domain member .

I install 2 virtual machine to create guest cluster and i want to enable shared VHDX to have Quorum

This 2 Virtual machine will be host SQL FCI, so i need shared storage and i want to use shared vhdx

so please i need  the steps to do it .

Thanks


MCP MCSA MCSE MCT MCTS CCNA

Creating Virtual Machines on windows 10 and forcing VM Configuration version to 5.0

$
0
0

So I am building some Lab VMs on my windows 10 workstation.  This creates a machine with a configuration version of 7.0.  If I want to move that VM to Server 2012 R2 it needs to be configuration version 5.0.  Seems there is no way to go backwards.

Just to be clear I am not talking about machine generation that is selectable at initial creation.

Is there a way to specify configuration version to ensure compatibility with Server 2012 R2?

Does the configuration version have any effect on the VHD/VHDX?

 

Unable to edit the Virtual Hard disk setting(SCSI controller) on a Virtual machine.

$
0
0

Hello All

I am unable to edit the virtual hard disk of my guest VM running on a Windows Hyper-V 2012 host. This is a virtual hard drive on a SCSI controller. The "Edit" option is greyed out.

PS C:\Windows\system32> get-disk

Number Friendly Name                            OperationalStatus                    Total Size Partition Style
------ -------------                            -----------------                    ---------- ---------------
0      HP LOGICAL VOLUME SCSI Disk Device       Online                                838.33 GB MBR
1      HP LOGICAL VOLUME SCSI Disk Device       Online                                838.33 GB GPT
2      HP LOGICAL VOLUME SCSI Disk Device       Online                                  1.64 TB GPT
3      HP LOGICAL VOLUME SCSI Disk Device       Online                                  5.73 TB GPT
4      HP LOGICAL VOLUME SCSI Disk Device       Online                                  5.73 TB GPT
5      HP LOGICAL VOLUME SCSI Disk Device       Online                                  3.27 TB GPT
6      HP LOGICAL VOLUME SCSI Disk Device       Online                                  3.27 TB GPT
7      HP LOGICAL VOLUME SCSI Disk Device       Online                                  5.73 TB GPT
8      HP LOGICAL VOLUME SCSI Disk Device       Online                                  3.27 TB GPT

This issue is happening on all the guest VMs on the particular Hyper-V host.

Can someone help me on this?

Hyper-V guest failover cluster file server

$
0
0

Hello,

Environnent is full Windows Server 2012 R2.

I have a Hyper-V cluster on which I host a testing fail-over cluster file server with 2 guests. Guest cluster is running and file server role installed and running fine with many shares on it. For now a single drive is hosting the data.

Since it is impossible to resize a shared vhdx I wonder if I choose the right solution for my needs. File servers has to be VMs.

What would be the solution to extend the data drive when it will get full ? Any solution without multiplying the number of volumes ?

I would like, as I'm used to be on open source environments, to end up with a full failover file server on which I could extend the data volume without down time and to avoid using twice the necessary storage as for a DFS cluster with replication.


Thank you.

How to Clone VMs in Hyper-V

$
0
0

 

I was playing around with Hyper-V but I didn't see an option to clone VMs.

 

Is there any way to clone VMs in Hyper-V


Windows 10 Build 10240 Managing Hyper-V on 2012 R2 Datacenter Cannot Connect

$
0
0

So, we have a total of six Hyper-V servers in our environment. All six were installed from the same Server 2012 R2 Datacenter ISO. I have been managing these from my Windows 8.1 machine with no issues. I got ahold of Windows 10 build 10240, and I am running into an issue connecting to the servers now.

The strange thing is that I CAN connect to one of them. I cannot figure out what is different on this one server from the other five. Windows updates maybe? I migrated all the VMs off one of the servers I cannot manage remotely, performed all Windows Updates, and I still cannot connect to it.

I am reading that Windows 10 should be backward-compatible with managing Hyper-V on 2012, but on connection, it appears a WMI namespace is missing that the Windows 10 tools are trying to connect to.

I am not trying to use alternate credentials (I read this will NOT work from 10 to 2012 R2). Any ideas why this is not working? Several Google searches have not told me anything so far. I realize Windows 10 has not officially been released yet, but a few of us are testing the waters for compatibility issues.

I would appreciate any help anybody can offer.

Eric

Issue with Backup Hyper-V machine

$
0
0

Greetings,

Scenario:

I am using Windows Backup  build-in software for my Physical Server, which runs Hyper-V with 2 virtual machine(DC and Terminal)

when backup is finished I am receiving Successfully with Warnings on the Hyper-V machines

===============================================

Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: 4E2F335A-E588-4742-8BD5-5568723398C8
   Caption     : Online\ DC
   Logical Path:
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 800423F3
   Detailed Error Message : The writer experienced a transient error.  If the backup process is retried,
the error may not reoccur.



Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: E5F04A2F-28A9-4239-A0BB-80BD73822D58
   Caption     : Online\Terminal
   Logical Path:
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 800423F3
   Detailed Error Message : The writer experienced a transient error.  If the backup process is retried,
the error may not reoccur.

regards,

Ash


SQL Server 2008 Guest Storage Advice

$
0
0

How should my Guest OS be configured which will host a  SQL 2008 instance to maximize the performance ?

Should I have the VHDX on a separate LUN vs SMB vs Cluster Storage, please advice.

I have a full SAN available to me...

TIA


SV


VM on windows server 2012 R2 essentials

$
0
0

Hello.

I'm working on a server box that I want to run windows server 2012 R2 essentials.

A license that I already got my hands on now.

The thing is that I also want to work with web development on a Apache server on Linux and there for I need a virtual CentOS server.

But do win srv 2012 R2 essentials support hyper-v host of a VM?

Or do I need to work on get virtual box on my server for VM?

Hyper-V with Simple Storage Space CSV

$
0
0

I'm looking for ways to improve the performance of our virtual machines, mainly through IO, because I believe that CPU, RAM and networking are pretty well taken care of.  Ever since Server 2008 R2 with Hyper-V we've had issues with disk latency.  Most of which was resolved by upgrading to 2012 R2 with the new CSV technology and SMB 3.0 backend.  We're still seeing issues though, and I really need to track down what's causing it, because of VM performance isn't anywhere near where it should be.

We recently invested in a new SAN array, not just for virtualization, but it utilizes quad 8Gb controllers and currently has several shelves of disks (important to note they are all 7.2k, but striped heavily for increased read and write operations).  I'm interested in testing this array to see how it compares, but I'm looking for suggestions on how to implement it properly.  My main idea is to get several disks presented to our host nodes (most likely 2TB each), place them into a simple storage space (with no redundancy) and then use that storage space as a CSV for the Hyper-V cluster.  I'm sure the SAN will allow the host to utilize all allocated space/IOPs for a specific LUN, but the host operating system will most likely not support channeling as many IOPs as we need into one LUN with FC overhead, processing power allocation to one LUN and so on.  My feeling is this will help us by allowing the host to load balance the load across several disks, even if they are from the same array, hopefully helping it to utilize more available IOPs.

Any thoughts on this? Or even if it will work?

hyper-v set/remove-vmharddiskdrive looks to have shoddy implementation

$
0
0

I wrote following script to attach and de-attach HDD from VM using powershell commands, but I can not even start debugging since it wont accept the --vmname as valid. It kinda works on FDD equivalent commands though:

SCRIPT CONTENT:

write-host "disconnecting FDD from minix development machine..."
Set-VMFloppyDiskDrive -VMName minix.dev.win7 -Path $null
write-host "disconnecting HDD from minix development machine..."
Remove-VMHardDiskDrive --VMName minix.dev.win7 -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0 

write-host "connecting FDD to minix boot machine..."
Set-VMFloppyDiskDrive -VMName minix.boot.system -Path J:\hyperv.fdds\fd0.vfd
write-host "connecting HDD to minix boot machine..."
Set-VMHardDiskDrive --VMName minix.boot.system -Path J:\hyperv.hdds\minix.boot.1024mb.vhdx -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0

RUN RESULT:

PS C:\scripts> .\hyperv.start.minix.boot.ps1
disconnecting FDD from minix development machine...
disconnecting HDD from minix development machine...
Remove-VMHardDiskDrive : A positional parameter cannot be found that accepts argument 'minix.dev.win7'.
At C:\scripts\hyperv.start.minix.boot.ps1:5 char:1
+ Remove-VMHardDiskDrive --VMName minix.dev.win7 -ControllerType SCSI -ControllerN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-VMHardDiskDrive], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.HyperV.PowerShell.Commands.RemoveVMHardDiskDriveCommand

connecting FDD to minix boot machine...
connecting HDD to minix boot machine...
Set-VMHardDiskDrive : A positional parameter cannot be found that accepts argument 'minix.boot.system'.
At C:\scripts\hyperv.start.minix.boot.ps1:10 char:1
+ Set-VMHardDiskDrive --VMName minix.boot.system -Path J:\hyperv.hdds\minix.boot.1 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-VMHardDiskDrive], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.HyperV.PowerShell.Commands.SetVMHardDiskDriveCommand

PS C:\scripts>

As far as I understood, I passed valid parameter to remove-vmharddiskdrive:

https://technet.microsoft.com/en-us/library/hh848563.aspx

Anyone care to explain? 



How to cleanup a failed shared-nothing VM migration

$
0
0

Hoping the community can help...

I was in the middle of moving a couple of Hyper-V 2012 VMs this afternoon using the standard move operation on the source server (I've done this a bunch of times with no issues, except today).  While moving the VMs, a drive failure occurred in my destination server.  I have since repaired the destination server and am ready to move the VMs as I attempted to do earlier.

Now when I try to move any of the servers I was trying to move earlier (running or not), I get a messagebox that contains the following:

"The move operation completed, but Hyper-V could not delete a temporary version of this virtual machine that was created on the destination computer."

After digging through some logs, I also found this:

Virtual machine migration operation for 'VMname here" failed at migration destination 'destination host here'

I've done some other digging through the programdata folder and others but am still at a loss.  I'm hoping someone out there has some thoughts for me.

Thanks!


Windows 2016 TP3 error: The TPM device on "virtualmachinename" cannot start because Isolated User Mode is off

$
0
0

Hi guys,

I added TMP virtual device to Windows 10 virtual machine guest in my Windows Server 2016 TP3 Hyper-v server. Then when try to start the VM, Hyper-V stop the startup process and show me an error saying:

The TPM device on "virtualmachinename" cannot start because Isolated User Mode is off

Some idea?

Best regards,

JD

Server 2012 Replication Error VHDX Replication Access Denied

$
0
0

I have a virtual file server that will not replicate due to the storage VHDX that is installed under the SCSI Controller as a virtual hard drive.  The drive contains all the file shares for the file server.  The VHDX was initially created on different VM which was the DC.  If i remove the VHDX the file server will replicate fine but not with the SCSI VHDX installed.   I have tried to put the SID of the VM all permissions seems fine the SID of the current host VM is listed under permissions.  I even created a new VHDX under Hyper-V manager and copied the contents under the Hyper-V manager but I still get the same General access denied error (0x80070005). Any help will be greatly appreciated.

Here are the Exact errors that I receive from the replication health maybe this may shed some light.

Event ID 32074
Hyper-V successfully enabled replication for primary virtual machine 'FileServer' (Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx)

Event ID 16370
'FileServer' cannot create the storage required for the checkpoint using disk C:\ClusterStorage\volume2\data.vhdx:General access denied error (0x80070005).
(Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx)

Event ID 18012
Checkpoint operation for 'FileServer' failed. (Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx)

Event ID 33676
Replication operation for virtual machine 'FileServer' failed: General access denied error (0x80070005).
(Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx) (Primary server: 'FCNode01.MI.local', Replica server: 'Replica02.MI.local')

Event ID 32042
Hyper-V failed to generate initial replica for 'FileServer': General access denied error (0x80070005).
(Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx)

Event ID 33680
Replication operation for virtual machine 'FileServer' failed.
(Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx) (Primary server: 'FCNode01.MI.local', Replica server: 'Replica02.MI.local')

Event ID 32086
Hyper-V suspended replication for virtual machine 'MIFileServer' due to a non-recoverable failure.
Resume replication after correcting the failure. (Virtual machine ID xxxxx-xxxx-xxxx-xxxx-xxxxxxxxx)
                                     

Convert VHD to ovf

$
0
0
Please let me know if there is any way to convert VHD to OVF

Santosh sethi

Problem with backup Hyper-V VM's.

$
0
0

Hi,

please help, I don't know what to do. I tried everything from another forums, but with no results.

Below is described my server.

SERVER:
Host - windows server 2012 R2 std
VM1 - DC windows server 2012 R2 std
VM2 - SQL windows server 2012 R2 std
When trying to make backup with windows server backup, I get the message: Completed with warnings.
On both VM's is installed Integration Services.

Error message from backup:
Writer Failures
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
Instance Id: {C0DE739E-E7C3-4D76-95B0-87B5CF682F0D}
Writer Name: Microsoft Hyper-V VSS Writer
Writer State: 0
Failure Result: 81000112
Application Result: 0
Application Message: (null)
   Component: 3B0C7323-C11A-4EE5-B997-05FCC63EF813
   Logical Path:
   Component Result: 8100010D
   Component Message: Component reports path on network share which cannot be snapshotted. (0x8100010D)
   Component: 993CF905-E399-4C4C-B3D7-5CFB617429F4
   Logical Path:
   Component Result: 8100010D
   Component Message: Component reports path on network share which cannot be snapshotted. (0x8100010D)
*-----------------------------*


Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: 3B0C7323-C11A-4EE5-B997-05FCC63EF813
   Caption     : Online\GDC01
   Logical Path:
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 8100010D
   Detailed Error Message : Component reports path on network share which cannot be snapshotted.



Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: 993CF905-E399-4C4C-B3D7-5CFB617429F4
   Caption     : Online\GSQL01
   Logical Path:
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 8100010D
   Detailed Error Message : Component reports path on network share which cannot be snapshotted.



*-----------------------------*

Unable to start Windows 10 VM

$
0
0

Hi All,

I recently install Windows 10 (10586.318) enterprise edition on my Lenovo W541 machine with UEFI and secure boot options in BIOS. I have installed hyper-v role on it to test nested virtualization (TPM and secure boot specifically). I have enabled 'Isolated User Mode' and enable device guard GPO setting. I have configured a test Windows 10 VM with Secure boot and TPM options check in it's properties but when I try to start the VM I get this error:




Device Managers show I have TPM 1.2 on my system. Do I need to perform any other steps to get this work? Error thrown by VM is not much friendly either. Deselecting TPM option in VM properties works fine.

Any help would be appreciated.

Viewing all 19461 articles
Browse latest View live




Latest Images