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

Error apply Shared Drive changes- Hyper V

$
0
0

Hi Guys,

Currently I had created a VM in Hyper-V.

I have a issue when Apply the Share Drive to my VM.

The error show as above.

Any suggestion ? 

Thank!


Windows Server 2016 Choose and option screen every time it reboots (can Continue to OS just FINE)

$
0
0
I have a windows server 2016 VM (on hyper-v) that always boots to the Choose an option screen (has the options Continue, Use a device, troubleshoot, and turn of your pc) every time it reboots to install updates. None of the other VMs do this, just this one. I click Continue and every time it loads into the OS just fine, but it's irritating to have to connect to the hypervisor to perform this manual action every time that the server runs updates. There isn't any media (dvd/iso) mounted with windows server on the host or the VM, either.

Nested Virtualization on a Server 2012 R2 Standard running Hyper -V

$
0
0

Hi,<o:p></o:p>

<o:p> </o:p>

I have a Standard 2012 R2 Server with Hyper - V Role installed on it. I have created 3 VMs in the Hyper - V with 2016 Operating System. Now i want to install Hyper - V Role on these 3 VMs and furthure install VMs on them. In other words, i want to do Nested Hyper - V Virtualization in 2012 R2. But when i try to install Hyper - V Role on these VMs then i got an Error. I have enabled MAC Spoofing and disabled Dynamic Memory. <o:p></o:p>

Kindly guide me accordingly as i need to Install VMs in a Nested Environment at the earliest.<o:p></o:p>

Regards,<o:p></o:p>

Vikram.<o:p></o:p>

Hyper-V Virtual Management Service is getting Terminated

$
0
0

Hi All, 

I am trying to run Hyper V on my System ( Windows 10 Pro , 1809 ) Build 17763.104 , 16 GB RAM

I cant connect to the Management Service and Getting below Error 

"

The Hyper-V Virtual Machine Management service terminated with the following error: 
Ran out of memory"

However, I haven't even created any VM's yet , and its a fresh OS Install

Can any one suggest what to look into next ? Cant seem to find this issue Online except for users who are trying to run VMs and getting out of Memory 

Add-VMNetworkAdapterExtendedAcl and IPv6 subnet in RemoteIPAddress

$
0
0
I see a strange behavior with Add-VMNetworkAdapterExtendedAcl and IPv6. When a rule with a IPv6 subnet in the RemoteIPAddress is used, other matching allow rules are ignored.
Windows Server 1809 17763.55

Demonstration

$VMName = "my.vm.local" 
$SwitchName = "External" 
$ExternalIP4 = "1.1.1.1/30" 
$ExternalIP6 = "2:3:4:5::/64" 

VMNetworkAdapter = Get-VMNetworkAdapter -VMName $VMName | Where-Object -Property SwitchName -EQ $SwitchName

# remove all acls from VM
Get-VMNetworkAdapterExtendedAcl -VMName $VMName | Remove-VMNetworkAdapterExtendedAcl

# Allow SMTP 25 (later referred as Rule 1)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -LocalPort 25 -Protocol "TCP"-Weight 10 -Stateful $True

# Traffic between VMs with external IPv6 (Rule 2)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -RemoteIPAddress $ExternalIP6-Weight 11

# Block all incoming
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Deny" -Direction "Inbound" -Weight 1

What I'm expecting is that telnet 2:3:4:5::4 25 works. However this is not the case.

Now if I exchange the weight of rule 1 and 2, it works as expected:
# Allow SMTP 25 (later referred as Rule 1)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -LocalPort 25 -Protocol "TCP"-Weight 11 -Stateful $True

# Traffic between VMs with external IPv6 (Rule 2)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -RemoteIPAddress $ExternalIP6-Weight 10

What is interesting, is that it works correctly when using a IPv4 subnet:

# Allow SMTP 25 (later referred as Rule 1)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -LocalPort 25 -Protocol "TCP"-Weight 10 -Stateful $True

# Traffic between VMs with external IPv6 (Rule 2)
Add-VMNetworkAdapterExtendedAcl -VMNetworkAdapter $VMNetworkAdapter -Action "Allow" -Direction "Inbound" -RemoteIPAddress $ExternalIP4-Weight 11



Separate LiveMigration dedicated host vNIC in S2D HCI ?

$
0
0

Hi,

There are many ways to Rome. One area I'm still struggling with is when to separate network traffic in a Hyper V cluster. And when not.

What we do now is the following, and seems to work I guess.

- 6-node S2D HCI HyperV cluster
- 3 vNICs on a logical vSwitch, which uses Embedded Teaming
- vSwitch is uplinked with 2X10GB Mellanox RDMA to physical world

The 3 vNics in each hosts are assigned as;

1) Management vNic
2) S2D Storage A (for cluster/S2D traffic using SMB3 Direct/RoCe)
2) S2D Storage B (for cluster/S2D traffic using SMB3 Direct/RoCe)

And off course, the regular VM traffic plugs into the vSwitch also, but these vNics are not shared with the ManagementOS.

So where does that leave my Live Migration traffic within the cluster ?
Well it's set to also use Storage A and B by limiting it to those IP Subnets. This automatically makes my Live Migration traffic also use RDMA etc. But it also means the QOS Weight set on the port-profile is the same and shared (Cluster and Live Migration)

The other way I guess is to add a 4th vNic and make that specifically be used for Live Migration. Allowing you to also use a dedicated port-profile for it (with dedicated weight). This is what we usually did before we went with S2D.

I'm guessing both will work it properly configured. But which one is preferred or does is really not matter at all ?
Any thoughts ?

Greetings,
Richard


Hyper-V Manager in Windows 2019 and Windows 10 1809 - 'turn off VM' no confirmation?

$
0
0

I know Server 2019 has been pulled, but I downloaded the ISO from VLK before it was pulled so we are still testing it. It was pulled because of the Windows 10 document issues, which has not anything to do with this issue.

In Hyper-V Manager, when I 'turn off' a VM, in both Windows 10 1809 and Server 2019 (with GUI) Hyper-V manager, there is no confirmation question anymore, which is potentially dangerous. The setting whether or not a confirmation should be asked used to be stored in "%appdata%\Microsoft\Windows\Hyper-V\Client\1.0\user.config";

        <setting name="NeedToConfirmFlag" type="System.Int32">
            <value>-1</value>
        </setting>

However that setting doesn't make any change anymore. Can anyone else confirm this before I create a ticket about that? Or might anyone know if there's a simple fix?

Hyper-V Replica Error 32022 recurring every 2 hours exactly during initial replication

$
0
0

Hello,

I have a problem with the initial Hyper-V replication of one of my VMs and I'm out of ideas. I will realy appreciate some help. The replication health goes critical with event ID 32022. Then replication resumes after one minute and exactly after two hours (+/- 2-3 minutes) the error repeats. Both my Hyper-V host servers (primary and replica) are Windows 2016 Datacenter.

Currently both my servers are located next to each other (over a switch). 

I'm trying to replicate 4,2 TB distibuted into 4 virtual disks and it takes a lot fo time, However the same issue occurs even when trying to replicate with the VM turned off (so no changes to its virtual disks).


So every two hours, I have in the log the following::

---

Event ID32022

The description for Event ID 32022 from source Microsoft-Windows-Hyper-V-VMMS cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event: 

[My VM name]
1386FE00-0F0F-4931-9FB3-6C71993F335B
%%2147952454
0x80072746

The locale specific resource for the desired message is not present

---

Followed by:

Event ID 32315

Hyper-V failed to replicate changes for virtual machine '[My Vm]' (Virtual machine ID 1386FE00-0F0F-4931-9FB3-6C71993F335B). Hyper-V will retry replication after 1 minute(s).

---

Thanks for your help in advance!

Regards


Cross Post: Resize Window *Frame* and Not Its Contents

$
0
0

Since there seem to be two Hyper-V forums now. 😁

https://social.technet.microsoft.com/Forums/windowsserver/en-US/b48288f2-2e96-40d0-b206-2df3cf959d44/resize-window-frame-and-not-its-contents?forum=win10itprovirt

Cross Post: Experiencing Rendering Problem in Hyper-V Instance

How to setup SMB Network drive connection on HyperV Server?

$
0
0

I'm used to work with VMWare ESX before, I have some basic knowledge of HyperV.

Except this one:

I want to mount my network location \\NAS\OperatingSystems\ to my HyperV server, so I can access my iso files fast and quickly when installing new machine on my HyperV test and education lab.

I known you can do this via gpo network drive connections but than a user needs to login.  When you boot up HyperV there is no user logged in so?

Thanks!

Windows HyperV checkpoint behavior difference between 2016 and 2012R2 with storage failure

$
0
0
I am using Windows 2016 HyperV with HA file share exposed from Windows 2012R2. I observed that checkpoint creation succeed for HyperV 2012R2 with storage fail-over, but fails for Windows 2016. After analysis found, 2012R2 do persistent open for all his VM memory, storage and config file. But, Win 2016 do it for storage disk only. Why such difference is here?

Its kind of funny how the windows server 2016 trial being installed on a hyper-v forces itself to find the wifi connection which is disabled and cannot be changed and I think i know why that is. last time i purchased the windows server 2012 r2 essentials

$
0
0
Its kind of funny how the windows server 2016 trial being installed on a hyper-v forces itself to find the wifi connection which is disabled and cannot be changed and I think i know why that is. last time i purchased the windows server 2012 r2 essentials  it was at best a bogus experience.  I now realized that one cannot win against this kind of odds and its a lost cause.  I will never buy a windows server again.

Upgrade Windows Server 2012 R2 Datacenter to 2016 Datacenter

$
0
0

Dear Team,

I am using windows server 2012 r2 datacenter edition over there using hyper-v. There are lots of VM over hyper-v and want to upgrade windows server 2016 datacenter edition

Is it possible to upgrade without losing any data like we are using on an AD, IIS on VM of Hyper 

After upgrading, we want the same data

As we use the metrology the option keeps files and data is greyed out.

Thanks and Regards

Vipin Jeswani

Disable SSL & Early TLS on Windows Server 2012 R2 Running ARR

$
0
0

Hi All,

I wanna get some confirmation. I am in the midst of getting a PCI DSS compliance and one of the requirement is to disable SSL and Early TLS on our servers. I have 2 ARR Servers and want to know if there are any major impact if I disable these 2 components. Is there any proper way available to disable them with less impact to my environment?

FYI, my environment is currently running Microsoft Azurepack with SCVMM, SCOM and SCSM.

Thanks and Regards,

Arieff Majid


Cluster Shared Volume (CSV) Host Issue

$
0
0
I have a pre-production environment with two hosts setup in a Hyper-V cluster. Both hosts are setup exactly the same and both are setup with a CSV mapped to an external storage array. Both hosts are connected to the storage array using external SAS connections via HBA's installed in each server. The cluster passes the cluster validation test. I can successfully live migrate VM's between the hosts, etc.

The host that's designated the owner of the CSV can read and write directly to the storage array via the external SAS connection, as expected. The non-CSV owner can access the CSV as well, but all read/writes do NOT cross the external SAS interface directly to the storage appliance and instead all I/O goes out the network interface to the other host (CSV owner) and then to the storage array via the other host.

If I change the CSV owner to the malfunctioning host, the problem reverses. It seems that whichever host is the non-owner of the CSV will not directly send storage I/O to the storage appliance via the SAS connection and instead sends the traffic across the network to the CSV owner.

Failover Cluster Manager on both hosts shows the cluster shared volume. The CSV is also mapped to both hosts at C:\ClusterStorage\Volume1. If I copy a file from the local host to the CSV on the CSV owner, the file transfers directly to the storage appliance via the external SAS interface at roughly 12Gbps (SAS interface speed). If I copy a file from the non-owner CSV host directly to the mapped CSV, the storage I/O goes out the network interface to the other host at approx. 2-3Gbps and then the other host (owner) sends the storage I/O to the storage appliance.

The network adapter that's being used for storage I/O is the cluster only interface on the 192.168.1.0/24 network. 

Hardware Setup:
Host 1
External SAS connection to the storage array
MPIO enabled
Two 1Gbps NIC's teamed for guest traffic to the corporate network - 10.13.0.0/20
One 1Gbps NIC for management traffic 10.13.0.0/20
One 10Gbps NIC for cluster only - live migrations - 192.168.1.0/24

Host 2
External SAS connection to the storage array
MPIO enabled
Two 1Gbps NIC's teamed for guest traffic to the corporate network - 10.13.0.0/20
One 1Gbps NIC for management traffic 10.13.0.0/20
One 10Gbps NIC for cluster only - live migrations - 192.168.1.0/24

adding a software raid disk C, to a hyper-converged infrastructure

$
0
0

Hey Guys,

I have a 2 *LIVE* node S2D infrastructure, with storage pool configure and running,

one of the servers has only 1 SAS DISK used for OS, and we want to add a software raid for it,

my problem is:

once i add the physical disk to the server, it automatically joins it to the S2D storage pool, 

i used remove-disk from the storage pool, but i still cant see the disk from disk-part or disk management to configure software RAID mirror,

what am i missing,

Thank you,

Cannot replicate one of VMs

$
0
0

Hello.

we have problem replicate one VM.

Host WS2012R2, VM Guest WS2012R2

When i try replicate another it works.

Eventlog:


Microsoft-Windows-Hyper-V-VMMS


EventID18012

Found stale snapshot entry

after that

EventID33676

Replication operation for virtual machine 'XX' failed: The system cannot find the path specified. (0x80070003

Eventlog analytic:

Found stale snapshot entry (A1687DC8-4A47-4A21-86C1-FE596C6A033D) in snapshot list for realized VM A282D9F0-DD3A-4B79-96EE-CAAF661990A0 - ignoring snapshot!

ConfigRepository::StoreConfiguration failed to import VM configuration (HRESULT 0x80070003)!

I try vssadmin list snapshots - nothing

I try disksnaphot and list snapshots - nothing

In HV manager, no checkpints

Look at system volume information - nothing , only small old DPM bitmap files ( dpm uninstalled)

Integration tool current and working

Have anyone any idea what to do?

Thanks, Jan

Hyper-V performance hit on Intel Optane

$
0
0

Greetings everyone,

 

I'm having an odd situation where the low queue depth random reads and writes on an Intel 905P (Optane, 960GB) PCIe card are cut drastically when running within a Hyper-V VM.  This happens on a Dell R740XD server with dual Xeon Gold CPU's as well as an AMD 1950X workstation, both times using a fully updated full GUI version of Windows 2016.

 

For testing, I'm using CrystalDiskMark 5.2.0, default settings.

 

On bare metal, queue depth 1 random reads are around 63500 IOPS and random writes are around 60000 IOPS.

However, if I install the Hyper-V role on that same computer, install a brand new VM that is running a fully updated version of Windows 2016, and then run the benchmark, the random reads and writes are down by around 2/3 to 16700 read IOPS and 16000 write IOPS.

 

Example Data:

Intel 905P on bare metal (Threadripper 1950x) - HyperV role not installed
CrystalDiskMark 5.2.0 x64 (C) 2007-2016 hiyohiyo
                           Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes

   Sequential Read (Q= 32,T= 1) :  2709.755 MB/s
  Sequential Write (Q= 32,T= 1) :  2378.800 MB/s
  Random Read 4KiB (Q= 32,T= 1) :   503.756 MB/s [122987.3 IOPS]
 Random Write 4KiB (Q= 32,T= 1) :   473.558 MB/s [115614.7 IOPS]
         Sequential Read (T= 1) :  2461.759 MB/s
        Sequential Write (T= 1) :  2204.791 MB/s
   Random Read 4KiB (Q= 1,T= 1) :   259.845 MB/s [ 63438.7 IOPS]
  Random Write 4KiB (Q= 1,T= 1) :   245.729 MB/s [ 59992.4 IOPS]

  Test : 4096 MiB [D: 0.0% (0.2/894.3 GiB)] (x5)  [Interval=5 sec]
  Date : 2018/10/30 14:22:12
    OS : Windows Server 2016 Server Standard (full installation) [10.0 Build 14393] (x64)
  

Intel 905P inside a VM on the same hardware
CrystalDiskMark 5.2.0 x64 (C) 2007-2016 hiyohiyo
                           Crystal Dew World : http://crystalmark.info/
-----------------------------------------------------------------------
* MB/s = 1,000,000 bytes/s [SATA/600 = 600,000,000 bytes/s]
* KB = 1000 bytes, KiB = 1024 bytes

   Sequential Read (Q= 32,T= 1) :  2702.230 MB/s
  Sequential Write (Q= 32,T= 1) :  2367.909 MB/s
  Random Read 4KiB (Q= 32,T= 1) :   516.844 MB/s [126182.6 IOPS]
 Random Write 4KiB (Q= 32,T= 1) :   494.393 MB/s [120701.4 IOPS]
         Sequential Read (T= 1) :  2184.590 MB/s
        Sequential Write (T= 1) :  1975.321 MB/s
   Random Read 4KiB (Q= 1,T= 1) :    68.513 MB/s [ 16726.8 IOPS]
  Random Write 4KiB (Q= 1,T= 1) :    64.880 MB/s [ 15839.8 IOPS]

  Test : 4096 MiB [E: 0.1% (0.1/126.9 GiB)] (x5)  [Interval=5 sec]
  Date : 2018/10/31 6:13:05
    OS : Windows Server 2016 Server Standard (full installation) [10.0 Build 14393] (x64) 

 

The only files on the 905P are a second disk in the VM that I'm running the benchmark on.  The OS disk is on another separate drive.  I've tried both a fixed size VHDX, a dynamically assigned VHDX, as well as a physical hard disk attached, all with the same basic result of the QD1 numbers being much smaller.

 

As this is happening on a Dell R740XD server and an AMD workstation (non-dell), and I've tried other 905P drives just to rule that out, I'm left with Hyper-V.  What I think it might be is some storage IO default throttling in place, but I do not know where to look.

 

For reference, for a project at work we installed dual Intel P4800X (enterprise version of the 905P) for a 2012 SQL server for TempDB as it helped increase performance.  The server is a Dell R740XD, and I would like to virtualize the instance and take advantage of the SA benefit of unlimited virtualization since we have all the physical cores licensed (Enterprise).  Upon initial set up of the physical server before HyperV I ran benchmarks on the 4800X and all looked great.  Once the Hyper-V role was installed and the VM was running I saw the very reduced performance.

I was able to duplicate my results using the 905P, so that is where my testing is happening now.

Any thoughts on where to look?

Appreciate it everyone,
Mark

Hyper-V switch changes to internal automagically

$
0
0

I have a 2012R2 server running Hyper-V.    Everything has been running just fine until I arrived this morning to find one of the VMs on the system not talking on the network.    Turns out the web server VM has a hard coded address of 172.16.0.111 but is not communicating.   Further investigation unearthed the fact that the ONLY VSwitch on the host was set to "Internal".   HyperV failed to allow me to change this back to external.   Creating a new VSwitch for external access worked fine.   I moved all VM's onto this newly created External switch and all is fine.   Oddest part of this issue is that the original and only VSwitch was set to External and working fine until this morning.  

I can get into details regarding hardwares, etc. but I wondered if anyone else had seen such behaviour.    The host has seen no changes in the past 10 days, patching etc. and was rebooted 10 days ago without issues.

Viewing all 8743 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>