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

Hyper-V - no mouse when booting to non-windows guest. Can we get a legacy mouse?

$
0
0
I am using Hyper-V and more often that I like - I need to boot an ISO based utility such as Hirens, Ultraboot, BartPE, WinPE, LiveCD or GParted to fix a VHD guest os.  But in doing so - I never have mouse movement and most of them I cannot use due to no mouse.  How can we support the guest OS with repair tools when we cannot even boot with some mouse support?  What do others do?  

I would think MS should have made this work or at least give us a Legacy Mouse for hardware to install like Legacy Network adapters which let networking happen.

Any ideas how to get around this?


Hyper-V 2012 + IBM Blade Center S

$
0
0

Hi  everybody.

I want to know if anyone here have implemented Hyper-V 2012 on a IBM BLADE S hardware. I'm asking this because of the storage subsystem. IBM didn't release the multipath drivers of this equipment for Windows Server 2012, and as Microsoft recomends, the best pratice is to use the manufacturer's driver.

Effect of restarting Hyper-v host?

$
0
0

On a machine running Hyper-v, what happens to the guest VMs when the host does a restart or shutdown.

If I put the server on a UPS, can I setup a clean shutdown when I have a power failure?

Changing the Hyper-v host

$
0
0

Help please,

I currently have a number of guest VMs running under Windows 8 as the host. I am thinking of replacing Windows 8 with Hyper-V Server 2012 as the host. Can I just replace Windows 8 as the host with Hyper-V Server 2012 and what is the best way to do this?

Start / Stop of a vm via scheduled task fails when no user is logged on

$
0
0

Hello,

I want to start / stop my two hyper-v virtual machines in a scheduled task. I use Windows Server 2012.

For this purpose I created two cmd-scripts which calls a powershell-script.

vor64.cmd:
chcp 1252
C:\Windows\System32\WindowsPowerShell\v1.0\Powershell.exe -noninteractive -nologo -command "& 'c:\batches\vor64.ps1'"

vor64.ps1
stop-vm -name "vm1" -force
stop-vm -name "vm2" -force

The nach64.cmd/nach64.ps1 looks similar only stop-vm is replaced with start-vm.

The scheduled task are configured to run under the administrator-account.

The scripts work fine if I start them via explorer: vm stops and start again.

They will although run fine as a scheduled task if the administrator is logged on while the task is executed. But they will not work if no user is logged on the server console.

Why?

Stefan Westner


Shared nothing Live Migration Fails at 65%

$
0
0

I have multiple identical Hyper-V hosts (not clustered) with Server 2012 Datacenter on them.  When attempting to migrate machines

from one to the other (Share-Nothing), The will go to 65% and then they will fail.  The error that I get is:

'HYPERV07'. (Virtual machine ID xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx)

Virtual hard disks information transfer failed for virtual machine 'VM1': This

operation returned because the timeout period expired. (0x800705B4). (Virtual Machine ID

xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).

Failed to receive data for a Virtual Machine migration: This operation returned because the timeout period expired.

(0x800705B4).

The operation timed out.

Some migrations will succeed, and some will not.  It doesn't matter if I do it with the machines live or shut down.  The Hosts are on the same subnet, in the same domain.  I have the Kerberos delegation configured for the hosts.  Each host has a ten gig interface (active) and a 1 gig interface (standby) in a NIC Team.  I get the same error if I try to migrate them from the GUI or Powershell.  Any help would be appreiated.


Fix a WiFi Hyper-V Switch

$
0
0

I am getting a "Failed while adding Virtual Ethernet switch connections"  when trying to establish a virtual switch over a WiFi connection which I had previously used.  The details say "Ethernet port {GUID} bind failed.  The requested resource is in use. (0x800700AA).  "

Uninstalling and reinstalling the WiFi adapter changed the value of the GUID but still same error message.

There is no vEthernet adapter showing in the adapter properties window. My assumption is that the adapter is hidden from view in the window and / or there is some binding stored in some xml files or registry keys someplace linked to the Virtual Switch that needs to be manually cleaned.  However, I have not yet found where these are. 

Has anyone figured out a good way to resolve this issue?

Configure updates in Windows Server 2008 R8 on a VM (HyperV)

$
0
0

Hello,

On my VM, I cannot change the settings for "Configure updates" because when I click on this link (Server Manager/Security information) nothing happens. Not any error message.

In the host machine, I can change these settings.

Any idea ?

Thanks for your help


Install OS on VM using PowerShell

$
0
0

Is there a PowerShell command that lets you run on the Windows install on a newly created VM with the install ISO mounted. I've found the PowerShell for everything but installing the OS.

Thanks,

Mike

CA - Diferent VSIDs same RRID comunication (how do we configure routing between different VSIDs in the sam RRID)

$
0
0
Hi All,

How do we configure routing between different VSIDs in the same RRID?
I have 2VMs in different VSIDs 4501 na 4502, but in the same RRID. How do we configure communication between them on Hyper-V?
Can some give me an example of the configuration. Do we use add-VMNetworkAdapterAcl cmdlet, or something different?

Thanks,
Zarko

Hyper-V Questions for a noob! :-p

$
0
0

So I'm checking out Hyper-V 2012 with SCVMM 2012 SP1 and have some questions. The article I have been reading (well one of them lol) is this one: http://blogs.technet.com/b/scvmm/archive/2013/01/08/virtual-networking-in-vmm-2012-sp1.aspx

I'm trying to wrap my head around this so let me explain my current network:

  • Citrix XenServers
  • Each server has a management NIC and two NICs that are teamed together for virtual machine traffic
  • The teamed NIC's are trunked on my switch and handle VLANs
  • We have many VLANs and each VLAN is configured with XenCenter

I'm wanting to get away from using VLANs and was looking into the networking virtualization with Hyper-V. It looks promising but it does look pretty complicated. Right now our firewall handles routing between the VLANs (if needed) but as you may have guessed the Firewall is not going to be able to handle the traffic for like our SQL cluster and File server cluster that is on different VLANs from the client machines (using redirected folders).

So can Hyper-V do this:

  • All virtual machines are part of a single domain and single network (10.10.0.0/16).
  • All tenant virtual machines cannot communicate with other tenant virtual machines
  • Ability to allow tenant virtual machine to talk to certain PHYSICAL servers (such as SQL if the tenant has SQL)

We use Citrix Xenapp 6.5 (also XenDesktop 7) so there are certain machines that each tenant will HAVE to talk to (Delivery Controllers, XenApp servers, domain controllers, etc).

Does Hyper-V have the capability of these type of ACL's or is there something else I should be doing/designing the network infrastructure better?

Thanks in advanced!

is getting to WMI of VM possible via host?

$
0
0

i need to query hosted VMs for some OS parameters. i can query for FQDN and/or IP of the machine but as they are in numerous VLANs and are secured with FW and are in several domains... it will not be possible to make it as for normal server.

as Integration Services gives some kind of bridge between host and guest i was thinking that maybe there is some way to query internal OS of VM somehow through it?

same question in reverse: how would you automatize some administrative tasks on VMs on hosted environment?

...of course i know it's against security blablabla ... anyway maybe there is some backdoor giving access to VMs q:


-o((: Leliv

Live Migration failed using virtual HBA's and Guest Clustering

$
0
0

Hi,

We have a Guest Cluster Configuration on top of an Hyper-V Cluster. We are using Windows 2012 and Fiber Channel shared storage.

The problem is regarding Live Migration. Some times when we move a virtual machine from node A to node B everything goes well but when we try to move back to node A Live Migration fails. What we can see is that when we move the VM from node A to B and Live Migration completes successfully the virtual ports remain active on node A, so when we try to move back from B to A Live Migration fails because the virtual ports are already there.

This doesn't happen every time.

We have checked the zoning between Host Cluster Hyper-V and the SAN, the mapping between physical HBA's and the vSAN's on the Hyper-V and everything is ok.

Our doubt is, what is the best practice for zoning the vHBA on the VM's and our Fabric? We setup our zoning using an alias for the vHBA 1 and the two WWN (A and B) on the same object and an alias for the vHBA 2 and the correspondent WWN (A and B). Is it better to create an alias for vHBA 1 -> A (with WWN A) and other alias for vHBA 1 -> B (with WWN B)? 

The guest cluster VM's have 98GB of RAM each. Could it be a time out issue when Live Migration happen's and the virtual ports remain active on the source node? When everything goes well, the VM moves from node A with vHBA WWN A to node B and stays there with vHBA WWN B. On the source node the virtual ports should be removed automatically when the Live Migration completes. And that is the issue... sometimes the virtual ports (WWN A) stay active on the source node and when we try to move back the VM Live Migration fails.

I hope You may understand the issue.

Regards,

Carlos Monteiro.

Npar & HyperV

$
0
0

Hey all. I have a really odd problem.

I have 2 hosts in a hyper V cluster. I have NPAR going on a Broadcom NIC. so 8 partitions. I am only using 3 of them. I disabled the rest.

I have setup one partition for the host. One for the VMs and one for live migration between the 2 hosts.

The host partition and VM switch partition are on the same VLAN untagged.

The problem I am having is I cannot ping the host from a VM the host is running!

If I live migrate the VM to the other host I can suddenly ping the original host it was running on but not the new host it's on now.

It's like NPAR is not allowing the VM switch partition to ping the host partition??

Why doesn't Hyper-V have a reboot button?

$
0
0

An idle but something that niggles me since moving from XenServer to Hyper-V. How come the console doesn't have a reboot button? It's got a restart but that's a nasty "reset button" thing and not a clean restart. Shirely, if it has a shutdown button and then a start button, it's feasible to have a reboot button?

Not a big thing. Maybe R2 ;-)

Cheers, Rob.


Server 2012 Hyper-V Host Not Responding

$
0
0

The issue has happened on 2 different hosts in the last two weeks, and we haven't been able to find out exactly what is causing this so I am hoping to get some help.

5 Node Server 2012 Hyper-V cluster.  Monitored using SCOM and also using VMM (2012 SP1).  In VMM we noticed that the server in question was showing as not responding, all the VM's were fine, and VMM shows that the WinRM service is not OK.  The service is running on the host, but the host cannot be RDP'd to, we can't login to the console, and we can't connect to the cluster via Cluster Manager because in both instances the host in question was the Cluster owner.  Our "solution" has been to shutdown the VMs on the host and then forcefully reset it, and after that everything is fine.  However, I am hoping to get to the bottom of what is going on.

This is the exact same issue as described HERE, but there isn't a solution given.  Here is a chronology of events that I gathered from the event logs.

From the logs you can tell that the issues started on 7/7/2013 at 5:38 PM

 

From Application Event Log:

Error 26001, Microsoft.SystemCenter.VirtualMachineManager.2012.Report.VPortUsageCollection

 

Got null results from Select Connection from Msvm_SyntheticEthernetPortSettingData where InstanceId='Microsoft:3E323714-F9A3-4384-A2D7-3466B3FED595\\6D14D559-7676-4D9B-82A7-F5F1199601FA'  .  Different instance IDs.

 

Basically happened every 30 minutes until 1:49AM on 7/9.  I rebooted the server around 11:45 PM that night.

 

From System Event Log:

Event 1, VDS Basic Provider

Unexpected failure. Error code: 48F@01000003

There are a lot of these errors.  These errors still occur even when the WMI Performance Adapter messages are appearing normally

 

7/7 5:26 PM

Event 7036, Service Control Manager

The WMI Performance Adapter service entered the stopped state.

 

7/7 6:06 PM

Event 7036, Service Control Manager

The WMI Performance Adapter service entered the running state.

 

7/9/2013 8:27 AM

Event 7000, Service Control Manager

The Device Setup Manager service failed to start due to the following error. The service did not respond to the start or control request in a timely fashion.

A lot of these errors

 

7/9/2013 8:35 AM

Event 7011, Service Control Manager

A timeout (30000 milliseconds) was reached while waiting for a transaction response from the SCVMMAgent service.

 

7/9/2013 8:46 AM

Event 7001, Service Control Manager

 The System Center Virtual Machine Manager Agent service depends on the Windows Remote Management (WS-Management) service which failed to start because of the following error:

The service has not been started.

 

Once the WMI Performance Adapter Service stopped stopping/starting again, in the Operations Manager log you start seeing warnings like these:

7/7/2013 5:30 PM

Event 21402, Health Service Modules

 

  • Module was unable to connect to namespace 'ROOT\MSCLUSTER'

 

  • Module was unable to connect to namespace 'ROOT\CIMV2'

 

  • Summary: 1 rule(s)/monitor(s) failed and got unloaded, 1 of them reached the failure limit that prevents automatic reload. Management group "MY_DOMAIN". This is summary only event, please see other events with descriptions of unloaded rule(s)/monitor(s).

 

  • Forced to terminate the following process started at 5:27:36 PM because it ran past the configured timeout 180 seconds.
  • Command executed:        "C:\Windows\system32\cscript.exe" /nologo "ConsecutiveSamplesTwoThresholds.vbs"A_SERVER_NAME

 

Followed by errors like this:

7/7/2013 5:37 PM

Even 22402, Health Service Modules

 

Forced to terminate the following PowerShell script because it ran past the configured timeout 30 seconds.

 Script Name:        PowerShellScript

One or more workflows were affected by this. 

Workflow name: Microsoft.Windows.HyperV.2012.VMReplicationHealth33412.Monitor

Instance name: A_SERVER_NAME

Instance ID: {EA9D5CBC-577D-C262-CBFC

 

Forced to terminate the following PowerShell script because it ran past the configured timeout 30 seconds.

 Script Name:        PowerShellScript

One or more workflows were affected by this. 

Workflow name: Microsoft.Windows.HyperV.2012.VMReplicationHealth33414.Monitor

Instance name: A_SERVER_NAME

Instance ID: {EA9D5CBC-577D-C262-CBFC-4F5037B38E50}

Management group: MY_MANAGEMENT_GROUP

The WinRM Service was running on the host (I was able to check it remotely using Powershell), I cannot say for sure about the SCVMM Agent Service, I don't remember.



MCITP | VCP4

How to Release a Converted VHDX?

$
0
0

I just converted a differencing VHD to a fixed VHD, but when I try to start the VM to which I attached it, I am told it is already in use by another process, effectively stopping the startup.

I looked at Task Manager, but I didn't see ConHost.exe running, so I am believing the Convert-VHD process has terminated.

I shut down the entire Hyper-V server but that didn't release it.

I tried moving the file using Windows Explorer, but it can't because it is in use by something, which validates the original situation.

Ideas?

Hyper-V .VHD error Event IDs: 12140, 12620, 14140 failed to add device 'Microsoft Virtual Hard Disk'

$
0
0

HP Proliant ML150, Windows SBS 2008 SP1, all updates applied.
System was running fine until a Windows Update was applied. Problem was not noticed until after the appropriate system restore points had been removed so I cannot restore to a working config.

When attempting to start a Virtual Machine, edit or create a disk I get a error:

Error Applying Hard Drive Changes

Failed to add device 'Microsoft Virtual Hard Disk'.

Cannot open attachment 'C:\Hyper-V\xxxxxxx.vhd'. Error: 'The process cannot access the file because it is being used by another process.'

Cannot get information for attachment ' C:\Hyper-V\xxxxxxx.vhd'.

Cannot open attachment 'C:\Hyper-V\xxxxxxx.vhd'. Error: 'The process cannot access the file because it is being used by another process.'

Event Logs show:
Event ID 12140 - '[Virtual Machine Name]': Cannot open attachment 'C:\Hyper-V\xxxxxxx.vhd'. Error: 'The process cannot access the file because it is being used by another process.' (7864368)

Event ID 12620 - '[Virtual Machine Name]': Cannot get information for attachment ' C:\Hyper-V\xxxxxxx.vhd'.

Event ID 14140 - '[Virtual Machine Name]' failed to add device 'Microsoft Virtual Hard Disk'.

The file exists and in the proper directory. The file was restored to an older version. The permissions were reset (all the way to everyone:Full control). The file is definitely not in use. I can modify and delete the file. Removed and re-added the Hyper-V role as an attept to solve but to no avail.

Thanks for any help 

Windows Server 2012 - Can occasionally not access second virtual hard drive inside a VM

$
0
0

I run Windows Server 2012 RTM Hyper-V and I can occasionally not access the second virtual hard drive (dynamically expanding VHDX) attached to the VM through the virtual SCSI controller. I can however access the first hard drive that is connected with the virtual IDE controller.

I get the following warning in the event log under “Administrative Events” every 30 seconds when this happens:

  • Log Name: System
  • Source: Storvsc
  • ID: Storvsc
  • Message: “Reset to device, \Device\RaidPort0, was issued.”

I get this error once or twice a week and it has caused serious problems since one of the virtual servers that have this problem is a fileserver and the second hard drive contains all the data.

The only quick solution to the problem that I have found is to force the virtual machine to stop using the “Turn Off” feature since a normal shut down does not work (stops at shutting down the event log or similar) and then start the virtual machine again.

You can also wait for about 30 minutes or longer until the disk for some reason becomes accessible again by itself.

My research into this problem shows that:

  • Only 2 of the 10 VMs running Windows Server 2012 RTM that I have, have this problem.
  • Both these VMs have a second virtual hard drive (dynamically expanding VHDX) that cannot be accessed for 30 minutes or longer.
  • Check Disk of the virtual hard drive shows no errors.
  • The second hard drive is attached to the virtual SCSI controller.
  • I can find no problems at all with the physical storage on the (not related) 4 hosts that I have. The problem exists only in the VMs.

I have now attached the second virtual hard drive to the virtual IDE controller to see if this permanently fixes this problem (i.e. does not happen for at least a week).

Is there something wrong with the virtual SCSI controller or the virtual SCSI device driver that comes with Windows Server 2012 RTM? Does anyone else have this problem?

Compare two different Virtual Machines (Hyper-V)

$
0
0

Here is my scenario;

I have currently 2 different VMs running on two different hosts, they are supposed to be exact copies of each other and have services be able to fail over to either or but one has been failing to fail over and services have been locking.

I was wondering is there an application/program I can use to compare services/programs or windows updates installed/scheduled tasks on each VM and compare the differences to each other? or would I need to manually do this?

Viewing all 19461 articles
Browse latest View live


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