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

Hype-V live migration?

$
0
0

Which OS can have a live migration?

OS

Live   (Y/N)

64-bit   edition of Windows 10

 

64-bit   edition of Windows 7

 

64-bit   edition of Windows Server 2008 R2 Enterprise

 

64-bit   edition of Windows Server 2008 R2 Standard

 

64-bit   edition of Windows Server 2012 Standard

 

Red   Hat Enterprise Linux 6

 

Unknown

 

Windows   7

 

Windows   Server 2003 Enterprise Edition (32-bit x86)

 

Windows   Server 2003 Standard Edition (32-bit x86)

 

Windows   Server 2003 Standard x64 Edition

 

Windows   Server 2012 R2 Standard

 


James


Guest VLAN anomoly some tagged guests work, and some do not

$
0
0
We have a strange situation with guest vms. The setup is a standard 2 node Hyper-v failover cluster with a 4 10Gb NIC team per host. After successfully building two server 2012R2 guests and assigning the vNic to the appropriate VLAN using the hyper-v machine nic option settings and connecting it to the vSwitch all was well.  The machine can connect to the untagged "native" management vlan and any other tagged vlan we have created on the physical switch and communicate with all internal machines on any of those vlans and the internet when we change the network settings accordingly in the guest settings and network connections.  We had two such guests working for several days without issue and then one of them lost the ability to communicate on any vlan other than the untagged management vlan literally overnight.  Any new machines built from scratch now have the same problem.  When checking Get-VMNetworkAdapter -all and Get-VMNetworkAdapterVlan all machines report okay and are properly assigned.  The mac addresses of the machines do not show up in arp cache on the switch or firewall unless they are in the native vlan.  However, one of the original guests still works fine no matter what vlan and ip assignment we give it or what node it is on.  All other aspects of networking remain fine, live migration, cluster and internet traffic etc.  The new guest machines are patched to exact same level as the previous guest that still works fine and all settings are identical between the guests including VMQ, tcp offloading etc.  Any suggestions would be much appreciated. 

Live Migration Network Drop

$
0
0

I'm running a Hyper-V cluster(2016 TP5) and my Microsoft VMs are reporting event ID 14, task category 1003.  Event text is "Miniport NIC 'Microsoft Hyper-V Network Adapter' network has changed."  This is logged in the VM every time I live migrate to a different Hyper-V host.  I'm RDP'ed in to the VM when it live migrates, and I don't lose my connection.  However, some of my apps are very sensitive and lose their connection during the live migration.  So, I have two questions.

1) Is this event normal for a live migration?  It's only informational, so I'm assuming it's normal.

2) Is anyone running any type of sensitive app(database or live stream of data) and seeing an impact to their applications from this?  I have had to turn off Dynamic Optimization because of the hit the apps will take.


EDIT: It looks like one missed ping is expected based on this thread.  Frustrating, but seems like this is expected behavior and "you should just write better apps".

Hyper-V Switch Vlan Tagging Issue

$
0
0

I'm trying to get vlans set up and I'm having an issue

I am using PFSense Firewall Virtualized in hyper-v

I'm trying to get vlans set up and I'm having an issue
Set up is as follows:
1 PC Running Server 2012 with Hyper-V Enabled with 2 Nic Ports
3 VMs
1 CiscoSG300 10 port small business switch
1 Laptop for testing Ports on Switch

PFSense in Hyper-v VM with 2 Virtual NICs
1 nic is attached to 1 physical nic acting as WAN
2nd nic is attached to 2nd physical port acting as LAN


PFSense is set up with 2 vNICs 1 is attached to a vswitch that is attached to 1 physical NIC Actinga s WAN PORT
2nd vNIC is attached to 2nd Hyper V Switch that all the Other VMs are attached to that is also attached to the 2nd Physical NIC Acting as LAN PORT
LAN Port is connected to a Cisco Small Business 10 port Switch


Other VMs
1 With AD,DNS,DHCP(With IP Address Scopes set up for Vlans)
1 For File Server


PFsense is setup as follows:

LAN          10.100.1.1/24
VLAN 2     10.100.2.1/24
VLAN 25   10.100.25.1/24
VLAN 100 10.100.100.1/24
VLAN 150 10.100.150.1/24


VLANS are set up in PFSense and Configured correctly

Ran this command on the Hyper-V Server to set the vNIC for LAN in the PFSENSE VM to Trunk mode and allow the VLAN IDs

Set-VMNetworkAdapterVlan -VMName PFSENSE -Trunk -VMNetworkAdapterName LAN -AllowedVlanidList 1-150 -NativeVlanID 1

VMName  VMNetworkAdapterName Mode     VlanList
------        --------------------           ----     --------
PFSENSE    LAN                              Trunk    1,1-150
PFSENSE    WAN                             Untagged

My Other VMs are set up with the vlan tag turned on and they are working an will pull an ip address and can talk to devices on other Vlans

My issue is the Physical Cicso Switch doesn't seem to be passing traffic

The Switch is Configured as Follows:

10 port switch
Switch IP 10.100.2.200

Port        Mode         VLANID
1            Access         2    Untagged
2            Access         25  Untagged
3            Access         25  Untagged
4            Access        150 Untagged
5            Access        150 Untagged
6            Access        100 Untagged
7            Access        100 Untagged
8            Access        100 Untagged
9            Access         2    Untagged
10          Trunk         1,2,25,100,150 Tagged

Port 10 is connected to the Lan port on the Physical Server witch is attached to the V-Switch that PFsense is attached to but I am unable to get anything to pass to this switch in pfsense I cant even ping the switch 10.100.2.200

Any suggestions on what I have wrong here?


Hyper-V host network cards change & re-config

$
0
0

I need to replace network cards in Hyper-V 2012 R2 hosts

Any easy way to carry on the config? Or do I need to remove it & done it again from scratch?

Setup was originally done pretty much like that:

https://www.starwindsoftware.com/blog/deploy-hyper-v-vm-switches-and-vnic-consistency-with-powershell

Seb

Plug a device into virtual machine

$
0
0

Hi guys.

We have an USB key which contains some license file. The USB key does not behave as "normal disk".
is there a way that we could connect this device on hyperv host and from there "push" the connection to VM?

With best regards


bostjanc

Hyper-V Guest Memory Demand appears to be wrong

$
0
0

I have a hyper-v guest that is displaying an odd behavior.  Both Host and Guest are running 2012 R2 server core.   The guest is a DC/DNS/DHCP/Print server.  Printing is very low volume.  Both host and guest are current on updates, including integration services.  

The guest is configured with Dynamic Memory using the following settings:

Startup: 1024
Minimum: 512
Maximum: 6144
Buffer: 20%

The issue is that the Memory Demand reported by the host doesn't reflect the memory current in use on the guest. Here is an example:
Guest Memory Available: 1.6 GB
Guest Memory Usage:1.6GB (100%)
Host Assigned Memory: 1682MB (1.6GB)
Host Memory Demand: 1446MB (1.4GB)

You will note that I have 6GB available to the the guest, which its not using, and a 20% buffer that its not getting.  It appears to me that the Host is behaving correctly because it thinks the guest is at 85 percent utilization (it ticked up to 1.7GB Assigned shortly after this reading).  What I can't figure out is why the host thinks this guest is using less than it is.  What is also interesting is that it seems to scale with increased memory.

Any ideas?

 


Joshua Shaw

Hyper-V AVHDX files and Dell AutoSnapshot Manager

$
0
0
I'm running Windows Server 2012 R2 and the guests are on iSCSI targets. Using the Dell AutoSnapshot Manager from the host, AVHDX files are created while the tool coordinates quiesceing the operating system to make an application consistent snapshot on the SAN.  This works great, but sometimes an ADHVX file gets orphaned and are not merged afterward, and I want to know about it immediately.  Is this activity logged somewhere?  I can't seem to find anything. 

Blank Setup Screen during 2012R2->2016 Upgrade

$
0
0

Greetings.
Basically making a copy of this thread from another resource, but "when I run the setup wizard after "Making Sure you are ready to install" screen the next screen is empty" (c) Mayank

Did anyone else have the same problem? What's the workaround to this issue? I can't afford complete reinstalling here, since I work remotely.

______
~ ShadowDweller


Separate NIC for VM Migration

$
0
0

Hi!

We have 4 Teamed NICS in our Windows 2012 Hyper-V Servers. Is it better to remove one NIC from teaming and fix it for VM Migration among Servers?

Secondly, is it better to use a different IP Range for migration network? Does it increase the speed of copying process?

Thanks.

The drive or network connection that the shortcut "terminal server.ink" refers to is unavailable. Make sure the disk is properly inserted or network resource is available and try again

$
0
0

All the users are disconnected from the session and get the error : The drive or network connection that the shortcut "terminal server.ink" refers to is unavailable. Make sure the disk is properly inserted or network resource is available and try again

This happens randomly to all the users - Windows server 2008 R2 Standard loaded on a VM

Hyper-V Server 2016 - Creating VM Switch blocks all traffic on interface

$
0
0

I have a Zotac CI323 mini PC. I planning on running Hyper-V Server 2016 with a pfSense guest for routing and firewalling.

The PC has two gigabit interfaces - both are Realtek 8868G chips.

I intend on using one for the LAN connection, and the other for WAN.

My problem is that when I create a VM Switch on the LAN interface ("Ethernet"), all traffic is blocked. My host and guests cannot communicate on that interface. Analysis with Wireshark shows, for example with pings, that an ARP is sent out from the host, and the remote computer sends back an ARP reply, but presumably that reply never gets back to the host once it reaches the interface. Removing the VM Switch restores connectivity.

Meanwhile, my intended WAN interface ("Ethernet 2") works fine with a VM Switch enabled - traffic passes without any problems, from the host and from the guest. Despite being the same chipset.

So far, I've tried the following steps:

Disable firewall

Reset IP stack

Configure static/DHCP IP on interface

Install latest Realtek drivers (v10.010.0714.2016)

Install latest Windows updates.

Verified switch VLAN port settings.

Checking NIC settings using NVSPBind.

CSV volume issues

$
0
0

Hi,

We had network issue in our office and our VMs iscsi CSV volume got corrupted. What I did:

1. Removed CSV volume from the cluster completely.

2. On disk management after reconnecting iscsi volume I found is as foreign.

3. I added foreign disk and tried to mount to some folder. But was not able to access and it asks for format.

4. Can not format as volume has all data and also can not add it to cluster as cluster say no suitable disk available. All I see is:



Is any way we could get CSV back?

Thanks

Hyper-V Server 2016 Live Migration

$
0
0

Hi guys,

Maybe you can help me with this.

Just upgraded my lab from 2012 R2 to 2016 Hyper-V (cluster). I have 2 Hyper-V 2016 HV1/HV2 and 1 management machine M1 (Windows 10). Upgrade was completed with no issues.

Issue: Before upgrade Live migration was working with no issues (i have 1 VM on local HDD on one of the hosts). Now if i want to migrate the VM in question from one host to other one is failling with "No credentials are available in thesecurity package (0x8009030E)" giving the fact that Constrained Delegation is in place. I perform this operation from M1 machine.

I had no issues on Hyper-V 2012 R2. I have latest RSAT.

Tahnk you.

 

Installing Hyper-V 2016 on a USB memory stick

$
0
0

Hi!

I've been using VMware in the past, but I'm currently setting up a 2016 std server, where I'd like Hyper-V 2016 to run on a USB stick. I've heard that this is a good idea, especially when you're trying to preserve disk space.

2012 R2 has a write-up on how to install Hyper-V to a USB memory stick, how about 2016? 

Is it still a good practice?

Which USB drives are recommended? The ones listed from the 2012 R2 article are not available anymore.

Regarding licensing, if I install Hyper-V 2016 on a USB stick, does the Standard license allow me two instances of Server 2016 to run on that hypervisor?


VHDs

$
0
0

Hi there

we are using host server and 4 virtual server

VHDs ON host server seems to be full , only 22 gb space left , how can I increase the space in it.

Thanks

Devan

Hyper-v Network management category changed to "Public"

$
0
0

I recently configured NIC Teaming on a new 2012 r2 Hyper-V server in our environment. From that NIC team 3 virtual converged networks were setup. One of those virtual network adapters is used to manage our Hyper-V Host server.

The issue were experiencing is that the management NIC is being categorized as "public network" instead of a "domain" network. This Host server is joined to the domain and does not have any virtual machines configured yet. Each of the three net adapters were setup with separate VLANs and QOS.

The only time I can get this server to stay in the "Domain" category is if I disable and re-enable the network adapter or if I restart the Network Location Awareness service. The Host will stay in this category until it is rebooted.


newest version broken: cant start a session on an additional screen only!

$
0
0

Way it used to be:

I used to be able to start a hyper-V-vc on my additional screen (1920x1200).
Advantage: when connecting I could "share" guest drive with vc and benefit from higher res.

Since a while now that doesn't work anymore:

I can still start a session and log on to vc and use it BUT:
it always wants to start on main screen (1920x1080)
If I choose connect I can share my drive D with the vc BUT even if I move the vc to the OTHER screen (1920x1200) the vc WILL NOT PICK UP the high resolution, so I'm stuck with a 1920x1080 res on a 1920x1200 screen.
So either I can share D with vc using lower res OR I can use higher res but CANT share D.

I'm running Win10 with Hypoer-V-Manager 10.0.10586

This didn't use to be an issue.

Can somebody explain how to work around this of just repair it in next version?

Thanks


If you don't dig, you won't find it

Server 2016 Hyper-V Virtual Machine Always Turns Off

$
0
0

If I try to restart a virtual machine, hyper-v always turns them off instead of rebooting.  I have to use the hyper-v manager to manually start every instance if a restart was issued within the VM.  It does not seem to matter what OS the VM is, it happens with Linux, server 2016 and 2012 R2 instances.

I notice an error:  'VM-****' could not reinitialize. (Virtual machine ID *******-****-****-****-************)

I thought at first it might be permissions but the hyper-v host is in an OU with blocked inheritance.

What might be causing VM's to fail to reinitialize? 

Live Migration throughput: running vs off

$
0
0

Hi,

I have two hosts who's Live Migration interface (a teamed interface of 2 x 1Gpbs NICs) are directly connected to each other (no switch involved).

If I move a running VM, I see the throughput in Task Manager at around 600 Mpbs.
If I move a turned off VM, I see the throughput in Task Manager at around 1.9-2Gbps

I'm just curious why moving a running VM takes such a hit. Is Hyper-V throttling it on purpose? 

Some observations...

  • I have moved several running VMs and they all transfer with the same 600Mbps throughput.
  • The Load on the server at the time was virtually nil - the transfer was done out of business hours with no other tasks (eg backup) happening
  • The storage in both hosts is RAID10 (8-disk, 15K SAS) so fast enough to saturate a 2Gbps link (as shown above)

Can anyone suggest a reason? If you have a similar setup (teamed LM network) then what are your speeds?

Thanks


Viewing all 8743 articles
Browse latest View live


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