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

대전오피 {uuzoa2.com } (유유닷컴) 대전오피


전주오피 《uuzoa2.com 》 →유유닷컴← 전주휴게텔

광주오피 “uuzoa2.com ” (유유닷컴) 광주건마

Hyper-V unusuable on win10 1809 - default switch disables wireless interface

$
0
0

Hello,

I'm trying to setup hyper-v on a lenovo t470 with windows 10 1809 enterprise.

The laptop has 3 ethernet interfaces: Ethernet,Wireless and Mobile LTE

The default switch is "automatically" bundled/linked to the rj45 ethernet network interface (Intel I219-LM, see picture below) and automatically "instantly disables" the wifi interface which I'm using for my network connectivity.

As a consequence I don't have any connectivity and it is also impossible to add f.ex. a new switch and bundle/link it to the wifi interface, as the wireless interface is _not_ listed in the available interfaces.

To be able to have a working network, I need to "disable" the hyper-v "vEthernet (Default Switch)" in "network connections". By disabling the switch. After disabling the switch it instantly renables the wireless interface, and I'm able to use it. Unfortunately, at times you disable the "vEthernet (default switch)" and it renables itself ...  ???

What is going on ....?

So if hyper-v is installed:
1) the wireless network is not working until I manually disable the "vEthernet (Default Switch" interface in the network connections.
2) Of course, no VM have Internet connectivity as the "vEthernet (Default Switch)" is linked/bundled to the standard rj45 ethernet port which has no connectivity/cable (as I don't have a rj45 cable connected).

I would really appreciate some help.

I've tried to uninstall & reinstall hyper-v, repair network connections etc ... nothing worked.

Thanks a lot!
Didier


Removing a CSV

$
0
0

Windows Server 2016 With Storage Spaces Direct:

My first CSV is a 2-way Mirror that I want to remove. I have used "Move Virtual Machine Storage" to emtpy Clusterstorage\volume1". All VMs are running OK on another CSVs now. However there is 1 file left on volume1:  \Hyper-V\shared\Groups\groupregistry.vmcx. The file cannot be deleted. The cluster looks OK if I set the CSV to offline and remove the file, but before I removed the CSV i noticed that VM migration between nodes did not work. As soon as the CSV was enabled again everything went back to normal, and a new file groupregistry.vmcx was created.

Is the cluster dependent on volume1, or is this configurable? How can I get this disk removed and replaced? Or can the disk be reconfigured as a 3-way Mirror or Parity?

An arithmetic error has occurred. Event id 28007

$
0
0

Hi,

I have a Windows Server 2016 DC Hyper-v cluster.

On one node I receive strange error

"An arithmetic error has occurred while computing the aggregate value for metric definition 'Aggregated Normalized I/O Operations Completed'. This will occur when the result exceeds the maximum allowed value."

Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          3/12/2019 4:29:05 PM
Event ID:      28007
Task Category: None
Level:         Error
Keywords:      
User:          SYSTEM
Computer:      test.test
Description:
An arithmetic error has occurred while computing the aggregate value for metric definition 'Aggregated Normalized I/O Operations Completed'. This will occur when the result exceeds the maximum allowed value.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VMMS" Guid="{6066F867-7CA1-4418-85FD-36E3F9C0600C}" />
    <EventID>28007</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2019-03-12T14:29:05.816553000Z" />
    <EventRecordID>14598</EventRecordID>
    <Correlation />
    <Execution ProcessID="3944" ThreadID="8732" />
    <Channel>Microsoft-Windows-Hyper-V-VMMS-Admin</Channel>
    <Computer>test.test</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <UserData>
    <VmlEventLog xmlns="http://www.microsoft.com/Windows/Virtualization/Events">
      <Parameter0>Aggregated Normalized I/O Operations Completed</Parameter0>
    </VmlEventLog>
  </UserData>
</Event>

I can't find any reference to the event id 28007 in the documentation.

Any help would be greatly appreciated.



Windows Server 2012 R2 - Hyper V having trace route issue

$
0
0

Dear Team,

We are facing one problem in our Hyper V environment. Hope you guys can help me out. Let me explain it what the issue was,

We have installed Hyper V role on windows server 2012 R2 and the machine was up to dated with windows patches. Then we createdExternal vSwitch and Internal vSwitch. On the Host we assign the Internal vSwitch IP address as 192.168.137.1 and subnet 255.255.255.0

Then We shared the internet from the External Adapter from the host machine to Internal Adapter.

After that, we created a Virtual machine and assigned the Internal vSwitch to that Virtual machine. Once we done all the configuration, Internet was working fine. But when we try to ran trace route from Virtual machine we are facing an issue,

1st hop having packet loss and it reach to the Default gateway (Internal Adapter IP)

2nd hop shows request timed out

3rd hop – its fine from this hop and it reach to the host IP address, from then on its usual traffic without timed out.

Below screenshot for your reference,

We would like to know, whether we have done the configuration in right manner, or it normal behavior in Hyper V.

Please let us the know, if any change is needed.

Note: If this is not a right channel to discuss this, kindly redirect to appropriate channel. Thank you

Best Regards,

Arun

Snapshot Merged but still Mapped on VM setting HDD

$
0
0
Hello All

we had some orphan file which have been merges but still shown on VM disk Hard Drive as you can see in the photo , should I shutdown the Vm and remap the disk .

(Body text cannot contain images or links until we are able to verify your account.)



I could not insert the image 

Best Regards 

Sid 

Live Migrations No Longer Working After January 2019 Updates

$
0
0

We have a problem after the January updates (50 plus blades with AMD Bulldozer Family 15h processors) We have 400 plus VMs hosted on our hyper v clusters (Server 2012R2 and SCVMM 2012r2), and after January updates can no longer live migrate. We have put the KB4490512 update on one of the hosts but it requires a reboot, which in turn would require us to power down our VMs as we are unable to migrate them off now.  Is there/will there be a fix to enable us to not have to reboot the hosts?  or is there/ will there be a workaround to enable us to live migrate the vms ?

Hopefully there will be as this will cause a lot of business disruption.

Any help would be much appreciated

Regards

Andrew

Replicate virtual machines from Hyper-V server 2012 r2 to Hyper-V server 2016

$
0
0
The primary system is installed with Windows Server 2012 r2 standard. The failover server will be installed with Windows Server 2016 Standard. There is problem witch migration / replicate virtual machines from Hyper-V 2012 to Hyper-V 2016. Replica server (windows server 2016) restarts itself.

Hyper-V 2016 VMs stuck 'Creating checkpoint 9%' while starting backups

$
0
0

We have a two clustered W2016 Hyper-V hosts, every couple of days one of the hosts gets stuck when the backup kicks off. In Hyper-V manager the VMs all say 'Creating checkpoint 9%' It's always the same percentage 9%. You can't cancel the operation and the VMMS service refuses to stop, the only way to get out of the mess is to shutdown the VMs, and hard reset the effected node. The backup works for a few days then it all starts again.

The only events I can see on the effected node is:

Event ID: 19060 source: Hyper-V-VMMS

'VMName' failed to perform the 'Creating Checkpoint' operation. The virtual machine is currently performing the following operation: 'Creating Checkpoint'.

Can anybody help please? Cluster validation is clean. Hosts and guests are patched up.

Veeam leaves a Recovery Checkpoint after backup job is run?

$
0
0

Hello, 

I tend to have a few VM's with "leftovers" from Veeam Backup Jobs - and the only way to delete them is by doing this :

https://blog.workinghardinit.work/2015/10/15/remove-lingering-backup-checkpoints-from-a-hyper-v-virtual-machine

Get-VMSnapshot -ComputerName "MyHyperVHost" -VMName "VMWithLingeringBackupCheckpoint" | Remove-VMSnapshot

Hyper-V is running on Server 2016 Datacenter with Veeam Backup and Replication 9.5 Update 3
https://www.veeam.com/kb2353

So - anyone else experiencing this?

Extending or creating a volume

$
0
0

Platform

Hyper V Server 2016 
Management platform: Server Manager and native Powershell

 In the the image below you will notice spare space on a local drive where I wish to add another volume or partition. UsingComputer Management via Server Manager, the option is not available. How can I do this with HyperV? 

Thanks


MIS5000

migration

$
0
0

Hi,

The internal storage used on our Hyper V host filled up this is roughly 3tb in space, I setup a NAS and did a copy but this failed due to permissions.  So I am re-doing the copy using robocopy to copy all permissions on the file.

When i originally did the attachment of the disks i saw the following errors;

14140 - failed to add device 'Virtual Hard Disk'. (Virtual machine ID 84E969FE-CF32-44E9-82F0-0EFF52A8010D)

12620 - 'TONSSQL01': Cannot get information for attachment 

16010 - The operation failed.

I then tried creating a new VM and adding in the disks and I was still unable to do this;

error 1300 - Failed to creat external configuration store and error 15268 - failed to get disk

I then ran ICalcs to give the machine ssid access to the vm and this failed.

My question is if i'm using robocopy to copy the files with all attributes and permissions will this fail again?

Thanks.

Cannot live migrate 2 of 12 VM's in FCM on Server 2016

$
0
0

Cannot live migrate 2 of 12 VM's in FCM, when trying to live migrate these 2 VM's they get to around 48% and then the live migration stops. We've tried many things to resolve this, I'm just wondering if we've missed something.


Troubleshooting steps taken:

1. Settings > Management > Name, check for Notes in the properties 
2. Check for files or lock folder in C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines 
3. Adjusting VM migration timeout using HKEY_LOCAL_MACHINE\Software\Microsoft\Microsoft System Center Virtual Machine Manager Server\Settings\LiveMigrationTimeoutSecs 
4. Verifying no other users are canceling live migration
5. Verifying the cluster nodes have identical hardware 
6. Attempting to migrate to a different node
7. Running the Cluster Validation Wizard within the FCM to test the cluster
8. Questioning if underlying issue appears to be not with the cluster itself, but the VM 
9. Verifying cluster host live migration success for other VM's
10. Uninstalling Veeam to verify Veeam is not causing issues during backup
11. Attempting to live migrate VM with PowerShell 
12. Verifying BIOS revision is same on all 4 nodes 
13. Verifying Jumbo packets are disabled on all NICs. 
14. Confirming where VHD resides and if permissions are correct on location
15. Attempting storage only live migration, which was successful
16. Moving MRT & RCD files and attempting to live migrate which was not successful
17. Trying to live migrate after a successful quick migration
18. Tried enabling Processor compatibility mode
19. Verifying patch level of cluster nodes
20. Check for XML file cache at C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines Cache 
21. Editing Registry for NetworkBufferCount at HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Virtualization\Migration 
22. Considered disabling Hyperthreading but cannot be done
23. Verified VM's do not use shared VHD Sets 
25. Verified vCPU and vRAM among guest VM's 
26. Verified Processor > NUMA, does "Maximum amount of memory (MB)" matches the same setting under Memory > RAM or Memory > Maximum RAM



Cannot delete checkpoints

$
0
0

Hi,

We have a Windows 2012 R2 VM with checkpoints which we are unable to delete and getting the below message. Now the only way to fix this is to export the VM to a different location and then import it again. Will it merge the VHDs with checkpoints or what is the proper way to get rid of check points without losing the data?

Hyper-V build 1703 generation 2 PXE has faulty ARP implementation

$
0
0

Since build 1703 came out for Windows 10 Enterprise x64, with Hyper-v enabled, the ARP protocol does not work correctly in a Gen2 vm during a PXE boot. The result is that the DHCP protocol does not work in a gen2 vm, and thus, pxe booting is broken in a gen2 vm on the 1703 build.

Host and guest are on subnet: 10.1.29.x /24
DHCP server IP: 10.1.1.3
PXE server IP: 10.1.1.3

Here is correct ARP behavior, on a gen1 vm, notice arp for default gateway mac address, and subsequent successful DHCP, then successful download from the WDS server at 10.1.1.3.

gen1-vmguest-1703host-ARP-correct

Here is the faulty arp behavior as found in a Gen2 vm on the same host as above.Notice the ARP protocol trying to get the mac address of a remote subnet IP. Anyone that understands the ARP protocol recognizes immediately that this can never work.

gen2-vmguest-1703host-ARP-failure

Somewhere during the 1703 dev cycle this ARP regression was introduced. This needs to be investigated by the developers as there is no way to "configure" how hyper-v's gen2 embedded PXE code implements the ARP protocol.

Please don't comment regarding "how to pxe boot in hyper-v" this PXE infrastructure is perfect. UEFI and BIOS based physical PCs on the 10.1.29.x subnet can PXE boot just fine from 10.1.1.3. Additionally, reverting the host hyper-v OS back to 1607 build, gen2 vms can successfully PXE boot. The ARP traffic change is the smoking gun for this regression.

This ARP bug is only present in build 1703, with a generation 2 vm.

Hope this is useful to help get this critical regression bug fixed.

-Ben

Hyper-v guest doesn't have access to Host VPN connection

$
0
0

Hi guys!

Setup:

  • Corporate laptop (windows 10)
  • Tested also with Server 2016 + Hyper-v and the problem is the same
  • Running Hyper-V server
  • Connected to corporate VPN with Forcepoint software which forwards all traffic to corporate network
  • Hyper-V guest (Windows 10) doesn't get access to internet (works fine without the VPN)

First I thought well I should make and external virtual switch for the VPN adapter but it doesn't show in the list (WLAN + LAN adapter shows up). We have routed all traffic throug VPN. I've tried to search solutions from internet but haven't found any (tried lots of them but none seems to be working) working solutions. Is this something I can not make work?


How to correlate scsi disks between Hyper-V Parent and VMs using virtual fibre channel (vfc)

$
0
0

I have a scenario with 6 Hyper-v VMs (Win2k12R2) and all data disks in VMs are over virtual fibre channel (vfc).

Each VM has 20 disks. 4 paths to each mpio device. (80 scsi devices from parent)

From the parent, I would like to be able decipher which scsi disk goes to which VM

I can run on parent: "devcon.exe find scsi\vmlun"

or

get-ciminstance win32_pnpentity and filter out the hyper-v luns

I get back deviceID or PNPDeviceID, but these do not match what is in the VM. (devcon listclass diskdrive)

I was hoping someone can shed some light on how to get the correlation between the two, so I can see if a scsi device is not making it into the parent.

TIA!

How to find the GUID of a VM by using Powershell?

$
0
0

Hi all;

Is there any Powershell cmdlet to list the GUIDs of VMs?

Thanks


Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Viewing all 19461 articles
Browse latest View live


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