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

Hyper-V crashes when using the Samsung NMVe driver with the 960 Pro SSD

$
0
0


This weekend I've got my brand new Samsung 960 Pro.I've installed the Samsung NVMe Driver Version 2.1

When creating a new virtual machine, the computer crashes with a BSOD; 

Stop code: DRIVER IRQL NOT LESS OR EQUAL

What failed: secnvme.sys



Creating a virtual machine on my old SATA drive works like a charm. I use Windows 10 Pro, with the Jan 2017 updates. I've been using the new drive for two day's now, and it only seems to happen with Hyper-V. If coping other big files, the system stays stable. 



Recover deleted Hyper-V VM xml file

$
0
0

Hi ,

I have following issue:

I import Hyper-V VM and after this I delete the same VM and now xml file is missing.

My questions are:

1.Does it possible to recover xml file because I have no backup and how if it is?

2.Does it possible when i import Vm to set Hyper-V to make a copy of xml indeed to make a symbolic links to original xml ?

Another test wich i did is that i do copy paste of original xml to another folder and after this i repeat the same procedure "import and delete VM" and after this when i tried to import copied xml file it popup Error.

Thank you for help guys!

how do you close a virtual disk? Mark it as closed by attribute?

[2016 Hyper-V] unable to snapshot / backup guest cluster - Add-VMGroupMembers not working

$
0
0

We have a 2016 datacenter Hyper-V cluster. On them we have a SQL 2014 guest-cluster with Server 2016 VM's. For them to be snapshotted you would have to create VMGroups. I have lots of issues with that though. I can create a group, but not add members to it. Also I cannot get these groups removed anymore. I started out with a 2012R2 guest cluster, but when we moved from Hyper-V 2012R2 to 2016, the 'old' shared VHDX cannot be backed up anymore. So we had to move to VHDS. After that we still couldn't do it. So it turned out we had to move the guest cluster OS to 2016 as well. So we did that. And now it's still not working.


PS C:\Users\<my-account>> new-vmgroup -name test -GroupType VMCollectionType


Name           : test
InstanceId     : 1c7c4301-e5ba-417a-b204-1ce5a47a7d21
GroupType      : VMCollectionType
VMMembers      : {}
VMGroupMembers :
CimSession     : CimSession: .
ComputerName   : NLEVHYV04
IsDeleted      : False


PS C:\Users\<my-account>> Add-VMGroupMember -VMGroup (Get-VMGroup test) -VM (get-vm testVM1)
PS C:\Users\<my-account>> Get-VMGroup test


Name           : test
InstanceId     : 1c7c4301-e5ba-417a-b204-1ce5a47a7d21
GroupType      : VMCollectionType
VMMembers      : {}
VMGroupMembers :
CimSession     : CimSession: .
ComputerName   : NLEVHYV04
IsDeleted      : False



PS C:\Users\<my-account>> Add-VMGroupMember -VMGroup (Get-VMGroup test) -VM (get-vm testVM2)
PS C:\Users\<my-account>> Get-VMGroup test


Name           : test
InstanceId     : 1c7c4301-e5ba-417a-b204-1ce5a47a7d21
GroupType      : VMCollectionType
VMMembers      : {}
VMGroupMembers :
CimSession     : CimSession: .
ComputerName   : NLEVHYV04
IsDeleted      : False



PS C:\Users\<my-account>> Remove-VMGroup test

Confirm
Are you sure you want to remove group "test"?
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): y
Remove-VMGroup :
At line:1 char:1
+ Remove-VMGroup test
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Remove-VMGroup], VirtualizationException
    + FullyQualifiedErrorId : OperationFailed,Microsoft.HyperV.PowerShell.Commands.RemoveVMGroup

PS C:\Users\<my-account>>





So when adding VM's as per the sparse documentation I can find on this, I get no error at all. However the VM does not get added. testVM1 is actually a clusternode with shared VHDS disk (first node), testVM2 is just a regular VM.

I can't find any errors or even anything at all related to these groups in the eventlogs. I assume more people must have ran into this?


Manage Server 2012 R2 Hyper-V from Win 10 LTSB 2016 client = "...could not access an expected WMI class..."

$
0
0

Trying to access Hyper-V running on Server 2012 R2 from Windows 10 LTSB 2016 and I only get an error:

The Hyper-V Management Tools could not access an expected WMI class on computer....

Same server accessed from Windows 8.1 H-V Management Tools is working fine.

Anybody any idea?

According to this it should be no issue

Seb


V2V - On ESXi currently - Server 2012R2 with SQL2014 to Hyper-V

$
0
0

Besides powering off the SQL Server, removing VMWare tools and configuring vNICs, are there any other precautions I need to take? Ill use Microsoft Virtual Machine Converter 3.1.

thanks

Can't create a VM on Server 2016. Generic Error.

$
0
0

Howdy,

I have a 2016 server setup with Hyper-V installed.  When I try to create a new VM I get all the wya through the wizard and then get an error that just says:

New Virtual Machine Wizard
The server encountered an error while creating <VM Name>.
Creating the virtual machine failed.

If I click OK it just takes me back to step 1 of the wizard.  I tried creating the VM on the local C drive as well as on am SMB 3.0 share which is where I actually want it to go.  I also specified that I'd connect a hard drive later and left the network to "Not Connected".  The error isn't very useful and I'm not sure where to go dig to get a more descriptive error.

Any guidance would be much appreciated.

Thanks.

Licensing and using backup feature

$
0
0

I was wondering about licensing a simple server setup with replication server. Here is the configuration I am planning.

Server 1: Windows 2012 r2 standard, install the OS with Hyper-V role. 1 VM

Server 2: Windows 2012 r2 standard, install the OS with Hyper-V role, replication from Server 1.

1. Will I need to purchase 2 Win 2012 licenses? My server 2 is only used to replicate and as a fail over if server 1 goes offline.

2. Am I allowed to install the backup and restore feature on the Hyper-V windows install or is the only role and feature allowed Hyper-V?




dynamicly expanding vhdx strange behaviour

$
0
0

Hi,

look please at a screenshot...

D: partition is on dedicated vhdx and set as dynamically expanding.

The strange thing I cannot explain:

1.The VHDX size is 100 GB

2. in Windows I have 39GB of free space

3. When in Hyper-V manager the Current file size is about whole 100GB

For example for partition C: on dedicated VHDX it correctly matches Windows free space and current file size.

The final result is that total VM folder size is influenced by 100GB current file size. So I am loosing 40GB.

Why it could happen? Should I convert the drive to gain back 40GB. It is not a static drive...

Thanks.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

Delete or Merge Checkpoints

$
0
0

I have a few production VMs that have a number of Checkpoints. Can I shut the VM down and delete the checkpoints or do I need to merge them?

Thanks


Rob Nunley


Roaming Profile

$
0
0

I have inherited a SBS 2011 server and all user profiles are setup as roaming.  Where are all the files sync to the server stored?  I have found a folder call users\profiles\username.v2\  I cannot access the username folders even when logged into the server as Administrator.

There is also a \redirected folders\username but all folders are empty.


Gary Reid

DIsk Space

$
0
0

HI All,

I have two Hyper-V hosts, where we have few vm's. I need to find the disk space of those vm's, Is there any script that can help for the same.

Regards,

Abhinav


Abhinav

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

Network properties and shaes not working on Windows 2008 R2 Hyper-V virtual server

$
0
0

I’m running Windows 2008 R2 as a Hyper-V host. I have 5 VMs running on this host, all Win 2800 R2. On one of the hosts, I’m no longer able to modify the network configuration since patching this weekend. When I go into Network -> Properties it shows the server is on a domain and the access type is Internet, but the Connections field is blank, where on all of my other VMs it says “Local Area Connection” and it’s a hyper link to modify the network adapter properties.  See below:

Also, from this server I cannot access shares on other file servers and the shares on this server cannot be reached. I can sign into the computer from both the Hyper-V host and from a remote console and it does reply to a ping command by the VM server's name.

I have rebooted the servers, I have removed the virtual network card and reapplied but nothing has helped.

The patches that were applied were KB3212642, KB3212646, KB3205402 (2 January security and quality rollups and 1 December .NET rollup packages) and KB3045316, the SQL 2008 SP3. These same patches were applied to about 20 other servers, none had issues.

Any ideas or suggestions?



Cannot Remotely Import VM from SMB Share

$
0
0

Let me start by saying, I've followed just about every guide I can find on delegation and permissions and virtually everything works just fine except for this...

I created a VM using Server 2012 R2 Hyper-V. That server was created on, stored on and exported to a Server 2012 R2 File Server, all using my workstation (Windows 8.1) to remotely manage the Hyper-V server. That should be proof that delegation works perfectly fine (being able to create a VM and export it on the SMB share remotely, right?)

My user account, workstation computer account, and the Hyper-V server account all have full rights to the SMB share (NTFS and Share Permissions). To clarify further, my user account is a domain admin.

However, when I go to import the exact same machine that I JUST exported successfully I get the error: Hyper-V did not find virtual machines to import from location '\\FS01\Hyper-V\Exports\Server2012R2\' - The folder '\\FS01\Hyper-V\Exports\Server2012R2\' could not be found. You might not have permission to access it.

Here are some outputs to show that I've, hopefully, configured everything correctly:

PS C:\Windows\system32> Get-SmbDelegation FS01
WS
HV02
PS C:\Windows\system32> Get-SmbDelegation HV02
WS

WS:
Get-WSManCredSSP
The machine is configured to allow delegating fresh credentials to the following target(s): wsman/*.domain.local

HV02:
Invoke-Command -ComputerName HV02 -ScriptBlock {Get-WSManCredSSP}
The machine is configured to allow delegating fresh credentials to the following target(s): wsman/FS01.domain.local

This computer is configured to receive credentials from a remote client computer.

FS01:
Invoke-Command -ComputerName FS01 -ScriptBlock {Get-WSManCredSSP}
The machine is not configured to allow delegating fresh credentials.
This computer is configured to receive credentials from a remote client computer.

I should also not that it works fine if I remote desktop to the HV02 server and do the import.


Hyper-V replica and host at the same time

$
0
0

Hello,
I'm trying to understand if Windows 2012 R2 Hyper-V server can run a normal workload at the same time as accepting replication from a remote Hyper-V server that's also configured as host for other VMs as well as replication server.

Basically two locations with Hyper-V server or cluster replication between each other.

Is that technically possible to implement? 

For some reason, I can't find anything that mentions this setup.

Thank you.


Memento Mori


dynamicly expanding vhdx strange behaviour

$
0
0

Hi,

look please at a screenshot...

D: partition is on dedicated vhdx and set as dynamically expanding.

The strange thing I cannot explain:

1.The VHDX size is 100 GB

2. in Windows I have 39GB of free space

3. When in Hyper-V manager the Current file size is about whole 100GB

For example for partition C: on dedicated VHDX it correctly matches Windows free space and current file size.

The final result is that total VM folder size is influenced by 100GB current file size. So I am loosing 40GB.

Why it could happen? Should I convert the drive to gain back 40GB. It is not a static drive...

Thanks.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

SCVMM Logical Network Settings

$
0
0

Hi Experts

Trying to learn Hyper-V networking with Server 2016 and came across some important options available on SCVMM Logical Network Settings options.

I have 5 NICs and I would like to use according to below settings.

Management - 1 NIC

iSCSI - 1 NIC

Public Communication (External) - 2 NIC (Team)

CSV - 1 NIC

While creating Logical network I'm asked to select below options 

(1) One Connected Network with Two check boxes (A) Allow new VM networks created on this logical network to use network virtualization. (B) Create a VM network with the same name to allow virtual Machine to access this logical network directly. 

(2) VLAN based independent networks

(3) Private VLAN networks.

My concern/s

What are the use of these all three settings and how my Host network setup will fit on these three settings and their sub-settings? In another words, what setting will be suitable if I want to configure management network in my Hyper-V, Hosts? It One connected network then what are the significant of two check boxes available under this option.


Regards


Multiside Hyper-v Cluster: Access to storage of other site

$
0
0

My company has a geocluster/multisite hyper-v cluster. We have 2 close Datacenters/Sites
We have 2 hyper-v hosts on Site1, 2 hyper-v hosts on Site1, quorum in remote office.
We have 1 HP 3PAR on Site1 and 1 HP 3PAR on Site2. We have SAN replication. We use CSV
The design is OK and valid by Microsoft....

My questions are only for learn in depth:

1) Could hosts on site 1 access to storage on Site2 or always access storage on Site1 ??
2) If 2 hosts on site1 are off and storage on Site2 is off, I supppose that any VM can start, not ??

VM periodically fails with NMI Hardware Failure

$
0
0

I have a simple Server 2016 Standard running Hyper-V.  No raid, just a two disk, Core i7 with 16GB memory.

Virtual machines are Windows 10 Professional v1607 installed as a Gen2 (UEFI).

A couple of weeks ago, my Win10Pro UEFI VMs would randomly blue screen with NMI Hardware Failure.  There is nothing in the server logs and nothing I've been able to dig up so far from the VM.  It might BS in 5 minutes or 5 hours or 5 days.  This even happened on a VM of a clean install.

I thought it might be the host hardware, CPU or memory, so I moved the VM to another physical server but the problem came with it; periodically.

Then it stopped happening on both servers for 5 days; today it happened 4 times in 30 minutes on a VM I was building up.  Checkpoints for the win!

All VMs are worked on in audit mode.

Help?

Viewing all 19461 articles
Browse latest View live




Latest Images