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

SAN Storage Migration with Hyper-V 2008 R2 CSV

$
0
0

Dears

Our customer has configured 2 node Hyper-V Cluster with CSV   connected to an Old SAN Storage The Host Operating System is Windows 2008 R2.

We are planning to migrate the data from the old storage to the new storage. ( Both Storage boxes are connected via Fiber)

With regard to the Migration can we do  the below if so please provide some guidelines related to the Hyper-V queries.

(We are trying to avoid the Storage based migration)

- Connect the new storage   to the servers

- Create the LUN same as in the old storage and assign it to the servers

- Create a new CSV  and point it to the new luns in the Failover Cluster Manager

- Use the export/import function to move the VM's from the new storage to the old storage

- Once all the vm's are moved create a new LUN for the quorum and re-configure the cluster to use the new quorum

Are the above steps will perform a error-free migration if so

- Can we delete the old CSV and dismount the old storage at this stage.

Also these VM's (Exchange and SQL) has seperate LUN's assigned for the Exchange and SQL data , Does these data will be exported when we use the export/import feature of the Hyper-V to migrate the virtual machine

Your Valuable response in this regard is highly appreciated.

Regards

Muralee


Virtual Machine Cpu

$
0
0

Hi,

I have 2 Server that are Hyper-v,

I have on the Hyper-v 2 terminal servers,

On 2 servers i give them 4 CPU, the CPU almost 100% i cant increase the CPU more than 4 CPU ? or that i have a another way ? 

Thanks

Zahi

Domain controller VMs using dynamic VHDx corrupt after power failure

$
0
0

Over the past couple of months I have experienced 4 dead 2008 R2 SP1 domain controllers after power failure on Hyper-V 2012 hosts. The domain controller VMs will start after power failure and have varying degrees of file system corruption. In each instance the corruption has rendered the domain controller unusable. The problem has not occurred with every power failure, but in testing the failure rate has been over 10%.

The Hyper-v 2012 hosts are as follows:

  • Dell PowerEdge r720 with flash backed write cache on Raid controller
  • Dell PowerEdge T710 with battery backed write cache on Raid controller
  • Dell PowerEdge T310 with a single SATA hard drive and write cache disabled
  • Generic system with a single SATA hard drive and write cache disabled

The VM configuration experiencing corruption is as follows:

  • Each VM was created from a base 2008 R2 SP1 syspreped VHDx image template file (40 Gigs)
  • The image template was originally created as a VHD and was then converted to a VHDx
  • The VHDx file has 512k sectors instead of the native 512e of VHDx files (a result of VHD - VHDx conversion)
  • Each VM was assigned 1024 Meg RAM and 1 virtual processor
  • The domain controllers were created by promoting the base 2008 r2 install to a DC after base image deployment
  • Only one corrupt VM was not running the 2012 integration components. The rest were running current 2012 integration components

I have done extensive testing on this issue and the problem for me seems to revolve around the VHDx file format. I have managed numerous Hyper-v installations since the original 2008 server version was released and I have never seen corruption like this until 2012 and VHDx.

For the past few days I have been testing fixed sized VHD VMs on a 2012 host and I have not been able to reproduce the data corruption issue. I seem to only be able to reproduce the problem when using dynamic VHDx files. I have not done any testing on 2012 hosts with fixed size VHDx files or dynamic VHD files.

It would be great to hear from anybody else experiencing similar issues so that we can compare notes and hopefully get to the bottom of this problem.


Delete snapshot subtree fails

$
0
0

Windows 2008 R2 SP1 Datacenter with Hyper-V role installed.  OS on drive C.  Hyper-V configured to store everything on drive D.

Created a snapshot of a VM prior to installing software update on VM.

Update was successful.

Shut down VM, then in Hyper-V Manager attempt to either Delete snapshot subtree or Delete Snapshot in order to merge.

Get failure message:

An error occurred while attempting to delete the selected snapshot subtree.

<server> failed to remove snapshot.

Have restarted machine and VMMS.

Nothing else I can find online to resolve this.

Rick


HyperV Virtual Switch binding to Wireless WiFi network

$
0
0

Greetings all,

I believe that the basic problem is that I cannot bind a WiFi NIC to a Virtual Switch.

I have Windows 8.1 Pro. The computer has a wired NIC and a wireless NIC (both Intel). The CPU is Gen 3 i7 and supports HyperV. I had 3 VM's running. The  VSwitch was setup as an external shared switch binding to the WiFi and all 3 VM's could connect to the internet and the local LAN. Everything was working as it should.

I updated the NIC drivers, and a problem started. The wifi works for the local computer without issues.

The VSwitch is no longer valid. I deleted it. I cannot create a new Virtual Switch binding to WiFi. I CAN create a Virtual Switch binding to the wired NIC. I installed an external Cisco USB WiFi, and even that cannot be used in the binding.

The error occurs after following the following steps ...

1. Run HyperV Manager as Admin

2. Click Virtual Switch Manager

3. Create New External Virtual Switch

4. Select WiFi NIC for the External network.

5. Check Yes for Allow management operating system to share network adapter

6. Click OK.

ERROR IS AT THIS POINT. The error is ....

Title - Error applying Virtual Switch Properties changes

Text - Failed while adding Ethernet switch connections

Details - Ethernet port '{GUID}' bind failed. The system cannot find the file specified. (0x80070002)

What I have tried, in various orders and multiple times ....

1. Reinstall NIC

2. Delete Drivers and install again

3. Install original drivers

4. Install new CISCO USB NIC - cannot bind VSwitch to this as well. Same error.

5. Remove HyperV and reinstall HyperV

6. NVSPBind

7. NVSPScrub.js - cannot get this to run - error is C:\NVSPBind\nvspscrub.js(354, 5) Microsoft JScript runtime error: Unable
an instance of Msvm_VirtualSwitchManagementService: Invalid class

I am close to reinstalling the whole OS. Any ideas will be greatly appreciated.

Thanks!

HyperV and Remote Desktop Connection

$
0
0
I have a HyperV MS server running MS Server 2008 R2.  The primary server and two of three VMs connect via Remote Desktop.  One of the three VMs does not.  All four servers are configured the same vis a vie Remote Desktop.  So why doesn't the one VM allow remote desktop connections?

Which is better Microsoft 2012 R2 teaming or HP teaming for Hyper-V ?

$
0
0

hi,

I Plan to use network teaming on our hyper-v host 2012 R2

I want to know which is recommended HP Teaming or Microsoft 2012 R2 Teaming 

Hyper-V on Desktop (Same PC as is running the Guest OSs)

$
0
0

Desperately searching for a way to run Hyper V (non-Windows role) (Type 1 - Baremetal.)  on my desktop machine and run ALL OS's as guests. I like the idea of just running the VMS without another OS running the Hypervisor and the HV running the guest OS. Waste of resources plus Windows 8.1 Recovery is dodgy at best. VMs can be copied and snapshotted with ease.

Can this be done ????

Thanks,

Pat Garvey


 

r


Can a Hyper-V image run on a server in a different forest?

$
0
0

Hello Community

    On a network there are 2 forests (forestA and forestB).   

    There is a trust relationship between the 2 forests,

    There is a system developed in forestA.

    The system  in forestA will have Hyper-V applied to it.

    Can the Hyper-V image created on the system from forestA run on a server
in forestB or can it only run in the forest it was created in?
    Thank you
    Shabeaut

Disable Quick Migration and Save State

$
0
0

Hello,

Is there any way at all to either disable the use of quick migration in a cluster, or saved state in hyper-v? we want to totally avoid the use of saving state by accident or deliberately (or caused from Monday morning tiredness) because we host VMs with SQL and Exchange and this can cause issues with having stale data when some replication technologies such as DAGs are used.

thank you

Steve

Hypervisor disables Sleep and Hibernate on Windows Server 2012R2! Why? How to solve?

$
0
0

Hi,

according to the official documentation of Microsoft, Hyper-V does not block Sleep and Hibernate on Windows Server 2012 and Windows Server 2012 R2.

From powercfg I get the following output:

The following sleep states are not available on this system: Standby (S1) The system firmware does not support this standby state. An internal system component has disabled this standby state. Hypervisor Standby (S2) The system firmware does not support this standby state. An internal system component has disabled this standby state. Hypervisor Standby (S3) An internal system component has disabled this standby state. Hypervisor Hibernate An internal system component has disabled hibernation. Hypervisor Standby (Connected) The hypervisor does not support this standby state. The system firmware does not support this standby state. Hybrid Sleep Standby (S3) is not available. Hibernation is not available. The hypervisor does not support this standby state. Fast Startup Hibernation is not available.

I already installed a graphics device driver to prevent the graphics device from blocking Sleep and Hyper-V. So this should not be an issue.

What can I do to enable Sleep and Hibernate?

Regards,

Daniel

Hyper-V-VmSwitch Event id 106

$
0
0

I have Windows Server 2012R2 with Hyper-V role installed. I,m using network Team.

When the server starts I receive a error - Hyper-V-VmSwitch EventID 106 - in system event log.

Log Name:      System
Source:        Microsoft-Windows-Hyper-V-VmSwitch
Date:          07.01.2014 18:13:48
Event ID:      106
Task Category: None
Level:         Error
Keywords:     
User:          SYSTEM
Computer:      csmavrtcl06.nlb.si
Description:
Available processor sets of the underlying physical NICs belonging to the LBFO team NIC /DEVICE/{CE5C164C-31C5-4EE7-AD31-CC2A1B2E6813} (Friendly Name: Microsoft Network Adapter Multiplexor Driver #2) on switch 25051EB0-C449-4504-A024-DB3F2D16591F (Friendly Name: ClusterSwitch) are not configured correctly. Reason: The processor sets are not identical when LBFO is configured with min-queue mode.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Hyper-V-VmSwitch" Guid="{67DC0D66-3695-47C0-9642-33F76F7BD7AD}" />
    <EventID>106</EventID>
    <Version>0</Version>
    <Level>2</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2014-01-07T17:13:48.156559500Z" />
    <EventRecordID>3455</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="60" />
    <Channel>System</Channel>
    <Computer>csmavrtcl06.nlb.si</Computer>
    <Security UserID="S-1-5-18" />
  </System>
  <EventData>
    <Data Name="NicNameLen">46</Data>
    <Data Name="NicName">/DEVICE/{CE5C164C-31C5-4EE7-AD31-CC2A1B2E6813}</Data>
    <Data Name="NicFNameLen">47</Data>
    <Data Name="NicFName">Microsoft Network Adapter Multiplexor Driver #2</Data>
    <Data Name="SwitchNameLen">36</Data>
    <Data Name="SwitchName">25051EB0-C449-4504-A024-DB3F2D16591F</Data>
    <Data Name="SwitchFNameLen">13</Data>
    <Data Name="SwitchFName">ClusterSwitch</Data>
    <Data Name="QueueMode">1</Data>
  </EventData>
</Event>

Prevent creation child object SPC "windows virtual machine"

$
0
0

The creation of the SPC "Windows Virtual Machine" is causing problems for AD operations.  Computers with this child SPC object cannot be deleted using automated scripts and this is causing workflow problems where we are using Hyper-V to stage sample client OS computers.

Is there a way to prevent or stop Hyper-V from making that SPC object for client OSes?  I would like to make it so that the Client OSes on a particular Hyper-V host do not create extra SPC objects in AD.  This way I don't have to re-write all my scripts and services that Delete computer accounts from AD.  When computer objects have child objects, I think they become containers in the eyes of AD and so cannot be deleted using AD calls that work fine on computer objects that do not have children. 

A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic

$
0
0

Experts !

Windows 2012 R2 Cluster.

2 Physical NICs dedicated for Hyper-V data traffic. These two NICs are used to create a team using Windows teaming (Switch Independent + HyperV Port) and this teamed interface is used for HyperV Virtual Switch.

I am getting the below warning frequently.

Log Name:      System
Source:        Microsoft-Windows-MsLbfoSysEvtProvider
Date:          11/12/2013 1:37:55 AM
Event ID:      16945
Task Category: None
Level:         Warning
Keywords:      Classic
User:          N/A
Computer:      MSHVCLUSTER6N1
Description:
MAC conflict: A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic Microsoft Network Adapter Multiplexor Driver
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-MsLbfoSysEvtProvider" Guid="{387ed463-8b1b-42c9-9ef0-803fdfd5d94e}" EventSourceName="MsLbfoProvider" />
    <EventID Qualifiers="32768">16945</EventID>
    <Version>0</Version>
    <Level>3</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-11-11T21:37:55.871565200Z" />
    <EventRecordID>4861</EventRecordID>
    <Correlation />
    <Execution ProcessID="4" ThreadID="6100" />
    <Channel>System</Channel>
    <Computer>MSHVCLUSTER6N1.INSIDEVIRTUALIZATION.COM</Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="DriverObject">
    </Data>
    <Data Name="Member">Microsoft Network Adapter Multiplexor Driver</Data>
  </EventData>
</Event>

And while checking the Interface and MAC, the warning is true.

name                                                                   MacAddress
----                                                                      ----------
MANAGEMENT                                                     00-17-A4-77-00-6E
HEARTBEAT                                                          00-17-A4-77-00-6C
Ethernet                                                             00-17-A4-77-00-6A
LIVEMIGRATION                                                  00-17-A4-77-00-68
DATA-2                                                                00-17-A4-77-00-66
DATA-1                                                                00-17-A4-77-00-64
vEthernet (HCT-PRODUCTION-LOGICAL-SWITCH)                   00-17-A4-77-00-66
DATA-TEAM                                                          00-17-A4-77-00-64

While I did the same configuration using SCVMM for my Windows 2012 HyperV clusters, the fabric was deployed from SCVMM and hence the team and the virtual switch was just one. In the similar way, How should I do this with out SCVMM ?


Cheers ! Shaba

iSCSI shared virtual disk

$
0
0

Hey,

I had on my synology a iSCSI Lun created.  Now I connect this iSCSI lun with my Windows Server 2012R2. Create on this connection a VHDX virtual harddisk.

When I try to ad this vhdx file to an VM as shared disk I become the error that the storage is not the right for shared virtual disk.

Thanks for help

Stefan  


Viele Grüße Stefan

Kontakt unter Info@IT-Kiessig.de


VM's Stuck in "Backing Up..." State

$
0
0

We are using System Center DPM 2012 SP1 to backup our Server 2012 Hyper-V Cluster and sometimes we have VM's that are stuck in a state of "backing up..." on the Hyper-V manager however DPM and the VSS Writers both say that the backups have failed. We are unable to migrate or shutdown the guest VM's that are stuck in this state. 

So far the only workaround we have found is to fail all the VM's that are not in this status to another host, then kill the cluster service on the host with the stuck VM's to force them to migrate to another host which also causes an unexpected reboot of the guest. 

I was wondering if there is any other method to cancel or get the VMs out of this state and/or fail them over to another host without having to kill the cluster service?

Sporadic TCP packet loss on guest VMs on one server

$
0
0

I have two HP DL 380 Gen8v2 servers -- identical hardware.  Using Windows Server 2012 R2 DC.  Up to date Windows updates and HP service packs.  Both have the HyperV role enabled and are joined to a VMM 2012R2 server.  I'm using a single logical switch with two uplink ports in a team.  Host1 has no issues at all and everything works fine.  On Host2, all guests have very sporadic TCP performance -- yet the host is perfectly fine.  Sustained transfers (using iperf) go from 3Gbit down to 0 and back up again constantly.  RDP is unusable.  UDP and ICMP packets have no problem.

I've tried disabling VMQ on the NICs on Host2 even though they seem to not be causing a problem on Host1.

The NIC cards are HP FlexFabric 10Gb 2-port 554FLR-SFP+, configured as 2 x 10Gbit NICs.  These are rebranded Emulex cards -- not sure of the Emulex model.

There are no errors or warnings in the Windows App/System event logs.

Does anyone have a clue as to where I should look?  Has anyone seen this very odd behavior before?

VLAN Trunk using Set-VMNetworkAdapter cmdlet

$
0
0

Hello,

Does anyone have expereince with Trunkking in Hyper-V?

We have four VMs using VLAN IDs: 2,4, etc.

One VM 2008R2 is setup as a Router. What we want is to allow 2008 R2 VM to accept traffic from VLAN IDs 2 and 4.

Please see image below for the configuration made:

As you can see in image above, Red1 and Blue1 VMs are configured with 2 and 4 VLAN IDs but none of them can ping the gateway (2008 Router VM). 

Thank You,

AL

Cannot start imported Hyper-V VM: The Security ID structure is invalid (0x80070539).

$
0
0

I haven't seen any mention of this in any of the forums. I'm attempting to import a virtual machine to a Server 2012 R2 Hyper-V system. Normally this is fairly straight-forward. However, the imported virtual machine will not start. I'm getting the following error message:

[Window Title]
Hyper-V Manager

[Main Instruction]
An error occurred while attempting to start the selected virtual machine(s).

[Content]
'Unnamed VM' could not initialize.

An attempt to read or update virtual machine configuration failed.

[Expanded Information]
'Unnamed VM' could not initialize. (Virtual machine ID )

'Unnamed VM' could not read or update virtual machine configuration: The security ID structure is invalid. (0x80070539). (Virtual machine ID 223C7883-08C2-43ED-B5D1-7ABFC0940F64)

I'm not familiar with what is going on here. Any ideas?

Thank you.

Pet peeve: Numlock of Host

$
0
0
OK, I am sorry if this may seem "childish", but I have to let know my little frustration about the Hyper-V manager and the VM windows that keep changing the state of my Numlock!!!!!!

I want it ON, but everytime I open a VM, it keeps switching it to OFF, and for the love of me, I can't find a way to make it stop that...

There, I feel better, and who knows, maybe this little thing may get corrected in the final version ;)

Serge
Viewing all 19461 articles
Browse latest View live




Latest Images