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

Teaming NICs and Assigning to VMs

$
0
0

Hi!

Is it better to team the NICs on Hyper-V Host and then assign it to VMs after creating the virtual switch or assigning separate physical NICs is better if there are only 2 or 3 VMs.

Thanks.


Performance of VHDx

$
0
0

If I am hosting dynamically expanding VHDX files on storage that has - for the sake of argument - unlimited throughput and IOPS, at what stage will the dynamically expanding nature of the container being to be a bottleneck?

Is there any documentation i can read that will help be understand this? Ideally, how this may affect writes when load testing etc. 

 Thanks very much. 

Not able to manage virtual machines when they are off in a Windows 2012 Hyper-V cluster environment

$
0
0

Hi I'm wondering if anyone else has encounter this weird problem: I have a 3-node Windows 2012 enterprise hyper-v cluster. If a virtual machine is shut off I can't manage it. When I right click on the virtual machine and choose Settings it gives me an error" Hyper-V encountered an error trying to access an object on computer "hyper-v-host1" because the object was not found". But if I move the virtual machine to a different node then everything will be fine(doesn't matter if I move it back or not). To me it feels like the host is not able to refresh the virtual machine's settings and by moving the VM it is able to refresh and let me change the settings after.

Any help is appreciated.

Windows 2012 server cluster configuration

$
0
0

Hi Gurus

I have a quick question. I am setting up a brand new infrastructure. It consists of two servers, two switches and an iSCSI SAN. I have not done Hyper-v clustering before and hence have the following questions. The server has 4 X 1GB NICs and 2 x10GB iscsi Nics.

  • I believe I can use MPIO on the iscsi Nics. With the 1GB NICs can I use 2 for VM access and 2 for live migration? What is the best or most logical practice in this regard?
  • Should the cluster nodes be on different subnets/vlan?
  • How do I tell Hyper-v which network to use for the live migration?
  • I believe as a minimum I need to create 2 LUNs, one for the quorum disk and the other for the VM storage. Will any of these need to be a CSV?
  • If I use the NICs as explained above, should the iscsi, live migration, vm all be on separate subnets/vlans?
  • Also is it necessary to use SMB for the quorum disk and VM storage, or just provisioning the LUN and making them available to the server is enough?

Any help will be greatly appreciated. Thanks in advance.

Regards


initial replication fails repeatedly

$
0
0

2102R2 hosts. Start initial replication for VM and after a period of time it fails, I resume replication and it goes on for a while longer and fails again. The event log shows Event ID 33680, followed immediately by 32086, followed immediately 32022. I cannot figure out what is causing the failure and the event id's provide no information. I am not sure how to start troubleshooting this one.

thanks


davidh

Hyper-V replication, certificate on the second nic which is on the replication network?

$
0
0

Hi,

I'm using Windows server 2012 R2, have servers at remote sites, replication is going fine on the primary network, however I have a replication network and would like to move the traffic there. 

I have the certificate installed, but it won't resolve and show as available in the Hyper-V settings when I try to select certificates; I suspect that's because of a name resolution problem.

I.e. primary nic is hv01.hv.mydomain.local; hyper-v settings seem to default to that, and certificates that resolve to that name (*.hv.mydomain.local or hv*.hv.mydomain.local) show up.

I've added entries to dns on the replication network, and the local hosts file for Rep01.hv.mydomain.repl and I can traceroutes between the sites over the replication network.... stumped as to how to get the certificate in there?

Best regards,

S'

Ping from VM to ouside fails: 'Redirect Network (New nexthop: ...)'

$
0
0

Hi,

after installing Visual Studio 2013 Ultimate with the Windows Phone 8 "emulator", my old Hyper-V VM cannot access the outside network anymore. My network is like this, the VM uses the PC's shared network IP as the gateway.

[ PC-NIC (shared with internal switch 1) ] <-> [ Hyper-V internal switch 1 ]

                                                          <-> [ Hyper-V external switch ]

                                                          <-> [ Hyper-V internal switch 2 ]

The last two Hyper-V switches were created automatically recently by the VS2013 setup. Since then my VM won't ping to any network except its internal network anymore. The PC's NIC is shared with the internal switch1, to which the VM is connected to.

When the VM tries to ping an outside network, its gateway, the PC, replies with a redirect message:

'Redirect Network (New nexthop: [ IP of PC/gateway (shared network IP) ])'

I can connect the VM again by using the external Hyper-V switch for instance, but I'd like to keep the old setup. Is this possible?




Unable to start vmms service as an domain admin user

$
0
0

I am not able to bring up the Hyper-V manager service on 2012 ssytem as a domain admin user Failure encountered is "Error 1297: A privilege that the service requires to function properly does not exist in the service account configuration".

Secondly,

If we bring up Hyper-V manager service as local system user then connection from SCVMM2012R2 is failing with  "Contact the virtual machine manager administrator to verify that your account is a member of a valid user role and then try the oepration again ID:1604"


Hyper-V DR Scenario

$
0
0

I have a customer who has a production Hyper-V cluster managed by VMM (all good). Their DR site has a separate infrastructure which is not managed by VMM in any way.

Can we use Hyper-V replica for example as the storage between live and DR is clustered at a storage level to replicate the configuration to another cluster rather than the full VHDX?

I can achieve this using Orchestrator but reliance on another product is not ideal.


Please don't forget to mark posts as helpful or answers.
Inframon Blogs | All Things ConfigMgr

Bind external device into Hyper-V by bridging adapters and using VLAN?

$
0
0

Hi,

i tried several hours and researched the web but no solution.

I am running a Windows Server 2012 with Hyper-V virtualizing several networks. Each network is in its own vlan (Network 1 = Vlan 100 , Network 2 = Vlan 200,  Network 3 = Vlan 300 etc.). They are all connected to an external network vSwitch TESTNET.

This vSwitch TESTNET is connected to one NIC on the host. I can send/receive VLAN tagged packets to this NIC from outside and it works. I can reach the corresponding networks.

NOW I have an external device which I have to physically connect to that server on a new NIC. It has to be placed into Network 1 means be reached directly from there.

The first idea I got is to bridge this network connection with my vSwitch Testnet. Due to the fact that the virtualized Network 1 is in a vlan I also tag the new NIC with Vlan 100. Several attemps later I still can't get it working.

1.) Is it possible to bridge a vSwitch with a physical NIC? Will the tagged vlan packets from the physical NIC be sent to the corresponding VMs with the same vlan configuration over the vSwitch Testnet?

2.) Or Do I need to create another vSwitch for the second NIC for my external device? And afterwards bridge these two vSwitches together?

3.) Or is the only way to add this network device to a virtual router in a virtual machine?

Hope somebody can help me.

Regards DrWho

Upgrade Windows Hyper-v 2012 R1 core to windows Hyper-v 2012 R2 Core

$
0
0

Hi all,

          is it possible to upgrade stand alone hyper-v 2012 R1 core server to hyper-v 2012 R2 core server?could anyone guide me the process of upgrading? I really appreciate your help. Thank u so much in advance.

          




how to install hyper-v on windows 8 ?

$
0
0

How to install hyper-v on windows 8 ?

I want to install virtual PC but after some research I came to know that windows 8 no longer support virtual pc and it has been replaced by something called hyper-v.

I just bought a Windows 8 laptop.

I tried looking into windows on / off features (in control panel) and there is NO hyper-V.

I know why I don't have hyper-V because after doing some research it seems like it is only available on windows 8 PRO.

Here is comparison chart: http://en.wikipedia.org/wiki/Windows_8_editions#Comparison_chart

I have Widows 8 on my laptop (NOT Windows PRO).

Now in this situation, how to install hyper-v on my laptop ?

Also, will I be able to run windows 7 virtually on my windows 8 laptop using hyper-v just like virtual pc ? like switching in windows between OS ? If I cannot do this and hyper-v does not work like virtual PC then I don;t think hyper-v will be useful to me at all and i don't wanna figure it out if it is not useful in any way ?



Checking Host and guest VM's processor,memory utilization in hyper-v

$
0
0

Hi,

We have a Dell Server with 12 processors and 256GB RAM.

Installed Hyper-V server 2012 R2 as the host OS and configured 10 VM's with windows server 2008 R2 and 2012 as the guest OS using Hyper-V Manager.

Everything was fine till yesterday... but few servers are running pretty slow,so checked one of the VM guest.it shows memory utilization as 80%.

How and where do I check the all the VM guest and host servers processor and memory utilization ?

I checked this blog http://blogs.msdn.com/b/tvoellm/archive/2009/04/23/monitoring-hyper-v-performance.aspx. In the blog, there is mention on performance counters,but I could not figure out how to monitor or get the details of those counters for review purpose. what tools should we use or need to enable any settings in the hyper-v manager .

Wanted to know ,is there anything I need to enable to monitor those and will that affect the presently running nature of VM's and Host server ?

Thanks.




Poor IO on fixed VHDX disks 2012 R2

$
0
0

I have a 7 node 2012 R2 Hyper-V cluster (failover cluster) with SCVMM.  The backend storage is a Netapp 2040-2, cluster-mode, and I'm using SMB 3.0 for my storage protocol.  The hosts each have 4 1Gb bonded NICs using LACP and TransportPorts.

When I first setup the cluster, I did some testing from the guests and found that I could write to the storage at or near the speed of the network, 4Gb/s (512MB/s).  This last week, applications started performing slowly and I found that I could now write to the storage at only about 30MB/s.

I checked the storage, network, found no problems or bottlenecks.

Finally, I created a VM directly on the hyper-v host which is has not been added as a resource to the failover cluster and was not created via SCVMM.  This VM can write to the same storage (same volume, share, spindles, etc) at almost 4Gb/s.  I can test simultaneously with any VM on any one of my 7 hyper-v hosts and it continues to have excellent IO performance and the VMs inside the cluster continue to have poor IO performance.

I have run packet traces to try to determine if anything could be wrong with the conversation between hyper-v and the storage, but found no issues.


Server 2012: Enabling replication hangs

$
0
0

Hello All,

I have setup replication between 2 Hyper-V 2012 server clusters. When enabling the replication of a VM, everything looks fine. The Replica Server is found. All settings are correct and the replica server is reachable over the used tcp port.

When I click finish, I see a progress bar, stating "Enabling Replication..." which never disappears. Only when hitting Alt-F4, the bar disappears, but then I'll get back to the wizard.

It doesn't matter what setting a set for initial replication.

How can I troubleshoot this?


You know you're an engineer when you have no life and can prove it mathematically


Moving a replica VM to different storage location

$
0
0

We have 2 Hyper-V Clusters, one for the primary site and one for the DR site.

We would like to replicate VMs between the two locations.

The VMs are spread across numerous CSVs on the primary site. Some VMs have their system VHDs on one CSV and their Data VHDs on other CSVs.

We would like to replicate these VMs across to the DR site and fail back when the primary site comes back on line. I have 2 questions.

1) When we fail back to the primary site do the VHDs replicate back to their original locations or the location specified by the replica broker?

2) We don't want all the VHDs on one CSV in the DR site. To move the Replica's to a different VHD is it just a question of pausing replication, using Failover Cluster Manager to move the VHDs to a different location on the DR cluster and then resuming replication? Will further changes be replicated to the new locations?

Thanks in advance for any help given.


Darren

Usage of Grant-VMConnectAccess

$
0
0

Hi,

Can someone please clarify the usage (and any extra steps) of Grant-VMConnectAccess?

I have attempted to run this cmdlet and while the Get-VMConnectAccess does show that the permissions have been granted, using any of the tools that the technet article suggests (Hyper-V manager, Hyper-V VM Connection) do not work for that user, I get the error:

"You do not have permission to do this task. Please contact administrator of the authorization policy for the computer 'localhost'"

There are some articles that suggest after using this cmdlet that you need to add the user to the “Hyper-V Administrators” group, and while I have tried that and it works, it voids the purpose of the cmdlet because it gives the user full access to all VMs on that machine.

Has anyone successfully used this cmdlet to apply security to a subset of VMs on a Hyper-V host? The TechNet description appears that this is what it is designed for.

Thanks.

Can't RDP into 2012 R2 across VPN

$
0
0

I can RDP into a Hyper-V 2012 R2 server across the local LAN with no problem.

However I'm getting a black screen and timeout disconnect when trying to RDP into the same server across Hamachi VPN. The clients connects and I can authenticate. The active LAN session is terminated after authentication, but the session never fully loads at the remote client.

Inbound firewall rules are identical; outbound rules are set to Allow. In fact I disabled the firewall completely on Server5, but didn't see any improvement.

Here's the basic summary:

Server1: Hyper-V 2012

  • Workgroup mode (same workgroup)
  • Can RDP through local LAN, Win8.0 client
  • Can RDP through Hamachi VPN, Win8.1 client

Server5: Hyper-V 2012 R2

  • Workgroup mode (same workgroup)
  • Can RDP through local LAN, Win8.0 client
  • Can not RDP through Hamachi VPN, Win8.1 client

On Server5 I'm getting this Information-level entry in the Application event for the VPN connection, but not for the LAN connection:

Log Name:      Application
Source:        Windows Error Reporting
Date:          2/24/2014 4:17:11 PM
Event ID:      1001
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      Server5
Description:
Fault bucket , type 0
Event Name: IMECustomerEvent
Response: Not available
Cab Id: 0

Problem signature:
P1: IPX Assertion
P2: 0KOR
P3: KorIME.exe
P4: 6.3.9600.16384
P5: KorIME.exe
P6: 6.3.9600.16384
P7: Windows\feime\Modern\IMEexe\common\CImeKeyboardInputProvider.h
P8: 489
P9: 
P10: 

Attached files:

These files may be available here:
C:\ProgramData\Microsoft\Windows\WER\ReportQueue\NonCritical_IPX Assertion_b991e9b37c61384f40913141a13bc6244838d85e_00000000_cab_0bd31f2c

Analysis symbol: 
Rechecking for solution: 0
Report Id: 8d1c73f2-9dba-11e3-8128-60a44cacfde6
Report Status: 4
Hashed bucket: 
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="Windows Error Reporting" /><EventID Qualifiers="0">1001</EventID><Level>4</Level><Task>0</Task><Keywords>0x80000000000000</Keywords><TimeCreated SystemTime="2014-02-25T01:17:11.000000000Z" /><EventRecordID>293</EventRecordID><Channel>Application</Channel><Computer>Server5</Computer><Security /></System><EventData><Data></Data><Data>0</Data><Data>IMECustomerEvent</Data><Data>Not available</Data><Data>0</Data><Data>IPX Assertion</Data><Data>0KOR</Data><Data>KorIME.exe</Data><Data>6.3.9600.16384</Data><Data>KorIME.exe</Data><Data>6.3.9600.16384</Data><Data>Windows\feime\Modern\IMEexe\common\CImeKeyboardInputProvider.h</Data><Data>489</Data><Data></Data><Data></Data><Data></Data><Data>C:\ProgramData\Microsoft\Windows\WER\ReportQueue\NonCritical_IPX Assertion_b991e9b37c61384f40913141a13bc6244838d85e_00000000_cab_0bd31f2c</Data><Data></Data><Data>0</Data><Data>8d1c73f2-9dba-11e3-8128-60a44cacfde6</Data><Data>4</Data><Data></Data></EventData></Event>

And then this in the RdpCore event log:

Log Name:      Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational
Source:        Microsoft-Windows-RemoteDesktopServices-RdpCoreTS
Date:          2/24/2014 4:17:11 PM
Event ID:      101
Task Category: RemoteFX module
Level:         Warning
Keywords:      
User:          NETWORK SERVICE
Computer:      Server5
Description:
The network characteristics detection function has been disabled because of Reason Code: 2(Server Configuration)..
Event Xml:<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="Microsoft-Windows-RemoteDesktopServices-RdpCoreTS" Guid="{1139C61B-B549-4251-8ED3-27250A1EDEC8}" /><EventID>101</EventID><Version>0</Version><Level>3</Level><Task>4</Task><Opcode>16</Opcode><Keywords>0x4000000000000000</Keywords><TimeCreated SystemTime="2014-02-25T01:17:11.239563700Z" /><EventRecordID>1199</EventRecordID><Correlation ActivityID="{F4205F55-5495-4FD8-887B-37B578810000}" /><Execution ProcessID="1320" ThreadID="1856" /><Channel>Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational</Channel><Computer>Server5</Computer><Security UserID="S-1-5-20" /></System><EventData><Data Name="ReasonString">Reason Code: 2(Server Configuration).</Data></EventData></Event>

Google searches on all of the above have produced nothing usable.

I'm at the end of my research rope.

Any ideas?

Thanks,
Jeff Bowman
Fairbanks, Alaska


Disk signature error while backup virtual machine

$
0
0

Hi,

Since we installed the new version of Data Protection Manager 2012 R2, we get issue messages while backing up Windows Server 2008 R2 or 2012 R2 virtual machines. 

At every backups we will find the followings in Event Viewer:

Log Name:      System
Source:        partmgr
Date:          18.2.2014 21:40:34
Event ID:      58
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      server01.domain.local
Description:
The disk signature of disk 2 is equal to the disk signature of disk 0.

This last line is repeated for each disk.

Sometime this line is preceded by the following:

Log Name:      System
Source:        VDS Basic Provider
Date:          20.1.2014 20:08:58
Event ID:      1
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      server01.domain.local
Description:
Unexpected failure. Error code: D@01010004

The registry is growing up with remaining entries under:

HKEY_LOCAL_MACHINE\SYSTEM\MountedDevices
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2

May someone help me? Thank you

Regards,

Samuel

Cannot delete the "UndoLog Configuration" folder after removing Hyper-V Replication from a VM running on a 2012 R2 cluster

$
0
0

After removing the replication from a VM in our 2012 R2 Hyper-V Cluster, I have tried to remove all of the files manually from storage (CSV), as per standard practice in 2012, and yet the "UndoLog Configuration" folder is unable to be deleted due to the "<VM GlobalID>.xml" file contained within the folder still being in use by the SYSTEM process.

I would like to clean up the directory from storage, but also, if the Hyper-V replication is required in the future then you cannot store or move the "VM Storage" to this same folder on the same CSV, as this folder already exists.

Is there a way to remove these files or another process to remove the replication of a VM in 2012 R2?

Viewing all 19461 articles
Browse latest View live




Latest Images