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

Hyper-V failed to enable replication

$
0
0

Dear sir,

Problem : Hyper-V failed to enable replication for virtual machine 'xxx' : Cannot create a file when that file already exists. (0x800700B7). Virtual machine ID 27bxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx

Replication scenario : I am getting this error while i am enabling the replication again as it was disturbed so i need to re-enable it. But getting upper error.

Replication for other two VMs are running. But other replication of two VMs are stopped so i have removed the replication and deleted the VM folder from replica. still it is showing as above and not enabling the replication.

Please help.

Mitesh.


Blue Screen Error during starting Windows Server 2008 R2 (VM on Hyper-v WinSvr2012) Using a Physical to Virtual (P2V) VHDX

$
0
0

Hi There,

I'm trying to migrate one of my physical Windows Server 2008 R2 to Virtual Environment (Hyper-V on WinSvr2012).

(The original physical machine had multiple partitions on the windows HDD and 2 other boot able OSs where installed on 2 of those partitions ...) So anyhow,  After heaps of trouble shooting and fixing the boot records, it finally started booting the Windows but when it got to loading C:\windows\System32\Drivers\Classpnp.sys

and it crashed, a blue screen poped up saying "A Problem has been detected and windows has shut down to prevent damage to your computer ... ) and then system got rebooted automatically.

I have tried chkdsk, also tried copying a new classpnp.sys to replace the old one but no hope. I don't think is not a damage file issue. Not sure, but it is probably related to changing the HDD devices or SCSI/IDE controllers?

Adjusting chunk size for virtual harddisks

$
0
0

My data partition with VHD images is constantly run out of space. So I decided to repartition the drive in the next days. While doing that, I will redo most or all images files to sparsify the data inside the guest. There is one issue:

To reduce the amount of space needed on the host I want to reduce the "allocation chunk size" for (dynamically expanding/ sparse) virtual harddisks. Its my understanding that if a guest is writing to a filesystem block the host does actually allocate more than the "guest block size". For example, if a guest ext3 filesystem has blocksize 4K and it writes to block #123, the host will not just allocate space for this singe 4K block at offset #123. It may allocate a much larger chunk in case the guest attempts also to write ti #124. And so on.

A few months ago I read somewhere that this "allocation chunk size" can be adjusted. Either when the VHD image is created, or globally for all images. It was done with some powershell cmd AFAIK.

For my purpose I want to reduce it to a minimum, even if it comes with some performance cost.

How can this property be adjusted?

Thanks.

Olaf

Hyper-V Disk I/O examination and troubleshooting

$
0
0

I have a 2 node 2012 failover cluster with appox. 20 VMs shared among them. We are seeing massive file access slow downs on our virtual file servers when users are copying big files to the file server. I was wondering if there was a tech note that could has disk I/O best practices in a cluster environment. Would I start looking at counters at host level or VM level? I have tried to even the I/O load by spreading the VHDX files over multiple luns. CPU/Memory/Network Utilization looks fine. Seems to be a disk I/O issue, but how do I verify?

Thanks for your time

Are multiple external vSwitches possible to create using same TeamedNIC ?

$
0
0

Hello,

I'm having this difficulty to create multiple external vSwitches using NIC teaming. SwitchIndependent is the only option I can utilize since I just have one Layer 2 switch. With LoadBalancingAlgorithm i'm leaving it to PowerShell (-WhatIf usually report it will use 'TransportPort' if no algorithm specified to determine that for me, since the objective is to be able to carve multiple external switches (for management, VMs traffic, clustering etc) using  NIC teaming based on only two physical NICs in server.

Hyper-V Server 2012 R2 has identical 2x GBoE NICs installed. Say NICs are named GBNIC1/GBNIC2. They both are connected to same switch. First I create a NIC teaming using following:

1. Create NIC team using GBNIC2/GBNIC2

new-NetLbfoTeam -Name TestTeam -TeamMembers GBNIC1,GBNIC2

Above command results in a team; having a teamed NIC with name "TestTeam". Now this team is ready to host external switches.

2. Create external switch based on teamed NIC "TestTeam"

Next I would like to create an external switch. 1st external switch is created using following command:

new-VMSwtich -Name e-vSwitch1 -NetAdapterName TestTeam -AllowManagementOS 0

Above command results in an external switch created fine.

3. Create additional external switch based on same teamed NIC "TestTeam"

After 1st external switch "e-vSwitch1" is created, repeaing same command in step2 with a different value for -Name (for example "e-vSwitch2") it complains stating the "TestTeam" interface is already bound to another exetrnal swtich.

Question: Can we not create more than 1 external switch using NIC teaming ?  was this not the purpose of NIC teaming; to be bale to carve out multiple external networks and breaking free from one external swtich--to--one physical NIC in host?  

Please advise where/what is wrong?

Regards,

Shahzad. 

failed to start worker process: server execution failed

$
0
0

I've been trying to get windows phone 8 emulator working with no luck. This lead me to find out that it's not emulator problem, but hyper-v itself. I installed new VM and when starting it, I'm getting the following error after it attempting to start for about 5 minutes:
"Name" failed to start worker process: Server execution failed (0x80080005)
I've checked cpuid for compatibility with virtualization (vmplayer works ok)

I don't see anything in windows event log, but Hper-V-Worker/Admin log has the following entry:
The Virtual Machine Worker Process has lost its connection to the root\virtualization WMI namespace: General access denied error (0x80070005). As a result, some WMI operations may not function correctly. To correct the problem, try restarting the Windows Management Instrumentation service.

and Hyper-V-VMMS has the same message as above about worker process not starting.

I've tried re-reinstalling hyper-V with no success.

Thanks for any help.

Why is Hyper-V Server so heavily domain-oriented?

$
0
0

I'm asking this question as someone who has worked with VMWare, and has a tiny amount of time playing with Citrix XenServer.

I'm spinning up Hyper-V Server 2012 R2 for lab testing, and there is something I don't get.  Why is Hyper-V Server so focused on having the server as part of a domain?

Normally, I'd want my hypervisor (in my mind at least) *not* to be on a domain (something that of obviously isn't an issue with ESXi or XenServer).  I don't know what physical machines I'll have apart from the hypervisor (small organization) and I'd rather have the hypervisor be stand-alone, and then my VMs can be on the domain.  However, I've found right away that this seems to create management issues that require workarounds to connect to them using a single Hyper-V Management console. 

This doesn't bode well for me, because the network I have inherited has multiple domains (one at each location).  If I make them Hyper-V, I can't easily use the management console as easily from my one traveling laptop, because it might not be on their domain.

I'm not the most experienced sysadmin in the world, but it seems a little counter-intuitive to not make it simpler whether your base hypervisor is on a domain or a workgroup.  Or is it just me?


Everyone gets everything he wants. Me, I wanted to be a sysadmin. And for my sins --they made me one.

Hyper V and Vlan

$
0
0

hello I have a VM with a virtual switch, I assigned inside the setting of the VM a Vlan Id,  I have 2 virtual network, one is to connect my VM to internet and the other is to connect to my LAN, when I create the Vlan how that works in my physical switch, do I have to set the ports with the Vlan Ip address, what Ip address do I have to set in the port of my physical switch , that one that I am using in my VM or that one of my virtual switch, do I have to do all the recommendation in the creation of a Vlan in a physical switch?, like set all the parametres in the physical switch, or all those connection is already made with Hyper V? how it works then the ACL? kind of lost.

Thanks


Error creating virtual machine (Client Hyper-V, Win 8 Pro)

$
0
0

I'm using an AlienWare M14 machine. I tried to create a virtual machine locally using Client Hyper-V on Windows 8 Pro, but it still doesn't work (took me a lot of time). I added the Hyper-V features in "Turn windows feature on or off", and all of the requirements to run Hyper-V are fulfilled (SLAT, BIOS, 64 bits, ...) (I attach the msinfo32 output in this post). At the last step in creating a virtual machine, it says "... The system cannot find the path specified... (0x80070003)" (for details, check my attached image). I googled, tried some solutions but still no luck so far.

Thanks for any help.

What are Microsoft equivalents of VMWare products?

$
0
0

Hi,

I am familiar with the VMWare products - Player, Workstation and ESXI and want to know what the Microsoft equivalents are. The host will be either Windows 7,8, 2012 and the guests will also be those. I am looking into producing VM's to help with product evaluations and development.

I have heard about Hyper-V but I don't understand if this is a client or server system.

Can some explain what are the equivalents of VMWare Workstation, Player and ESXI?

Thanks

Jason

Does integration services need to be removed when converting a Hyper-V VM to ESX?

$
0
0

We run Hyper-V on Windows Server 2008 currently for our Dev/Test.  We have a VM that doesn't belong in our environment and needs to be moved to our Prouduction which uses ESX.  When doing the V2V conversion do we need to remove Integration Services first?  This post suggests that since Integration Services is only enabled through the bios when started on a Hyper-V Host.  If the VM is converted to VMware Integration Services won't be started.

http://windowsitpro.com/windows-server-2012/uninstall-hyper-v-integration-services-windows-server-2012

Can someone confirm for me if this is true?

Thank you.

Clarification re: export-VM on 2012 R2

$
0
0

Could someone please explain to me exactly how the live export is working? 

If I export a live VM that is running MS SQL, for instance, is there any danger of my database becoming corrupt when the exported VM is subsequently imported somewhere else? 

Previously if i wanted to take a live-ish copy of a running VM, i'd script the process of a VSS shadow creation, excluding the writers I didn't need, copy the VHD off and start it up somewhere else. I presume i no longer need to do this? 

Cheers!

Nick 

Using MobaXTerm to connect to OpenSuse?...

$
0
0

Hi,

Running 2012 R2 Server as my main OS, have OpenSuse 13.1 installed as a Guest and using MobaXTerm to connect.  Only successful connecting with SSH, but not with the VNC.

VNC Settings: IP 192.168.0.100, Port 5901.  When I try to connect and briefly I see the Suse background and then it closes giving me the message "Connection closed".  I can browse the file system using the Windows File Explorer and when I try IE I get this:

I'm assuming this is the same reason why the VNC is closing, but I added MobaXTerm to Windows Firewall for Private and Public access.  Not even successful with TightVNC added:

So what do I need to do now to get this to work for VNC?  Thanks!...


Code is like a box of chocolates!...

Hyper V 2012 server in workgroup enviroment with a windows 7 32 bit VM created , no network device detected

$
0
0

I have virtual switch created in the host and assign it to the windows 7 (32bit) VM through windows 8 RSAT tool in setting/network device.

however when I started windows 7 VM,  in device manager it's "unknown device" and when I tried to install the broadcom netstream gigabite ethernet driver , which is the one host had , windows 7 says it can not start the network .

please help , thank you,


Just FYI, new Windows Server 2012 R2 RRAS Multitenant Gateway Deployment Guide

$
0
0

New! Windows Server 2012 R2 RRAS Multitenant Gateway Deployment Guide

This new guide is available on the Web at http://technet.microsoft.com/en-us/library/dn641937.aspx. It is also available for download in Word format at TechNet Gallery athttp://gallery.technet.microsoft.com/Windows-Server-2012-R2-37eb8e17.

If you work for a Cloud Service Provider (CSP) or an organization that's planning on deploying cloud technologies, you might be interested in the new Windows Server 2012 R2 RRAS Multitenant Gateway Deployment Guide.

You may already know that in Windows Server® 2012 R2, the Remote Access server role includes the Routing and Remote Access Service (RRAS) role service. (It also includes DirectAccess and Web Application Proxy, however those role services will not be discussed in this article.)

The new deployment guide demonstrates how to use Windows PowerShell to deploy RRAS as a virtual machine (VM)-based multitenant software gateway and Border Gateway Protocol (BGP) router that allows CSPs and Enterprises to enable datacenter and cloud network traffic routing between virtual and physical networks, including the Internet.

You can use the gateway with VM networks by using either Hyper-V Network Virtualization or Virtual Local Area Networks (VLANs) - but using Network Virtualization is recommended due to VLAN limitations such as difficult management and a limited number of available VLAN IDs.

If you're using System Center Virtual Machine Manager (SC VMM), you can use SC VMM to deploy Windows Server Gateway; however even if you are using SC VMM, you can manage the gateway with the same Windows PowerShell commands that are used for the RRAS Multitenant Gateway. (Some Windows Server Gateway features are configurable only with Windows PowerShell.)

For information on deploying Windows Server Gateway with SCVMM, see the Test Lab Guide: Windows Server 2012 R2 Hyper-V Network Virtualization with System Center 2012 R2 VMM, athttp://www.microsoft.com/download/details.aspx?id=39284

With the RRAS Multitenant Gateway, you can create site-to-site VPN connections between your tenants' physical locations and your cloud datacenter. You can also provide tenants with point-to-site VPN connections that allow tenant Administrators to access and manage their VM resources from anywhere. The RRAS Multitenant Gateway also allows you to configure Network Address Translation (NAT), so that tenant VMs can access the Internet, and you can deploy dynamic routing by configuring the gateway and tenant gateways with BGP.

Thanks -


James McIllece



DEPLOYMENT OF HYPER-V IN WINDOWS SERVER 2012 DATACENTER EDITION

$
0
0

Hi,

We want to create one virtual environment in hyper-v. We have license for windows server 2012 data center  edition. We will install hyper-v role in the server. So, please tell us that the data center license includes the hyper-v license?

Regards,

Pritam Kr Biswas

Hardware Specifications for the following

$
0
0

I want to set up the following virtual environment with the following and would like to know if this hardware spec will be able to run this. Hope for some feedback on this. Users is 20.

Server Hardware Spec :

2 X Intel Xeon E5606 2.13Ghz Processors
96 GB RAM
6 X Seagate 600GB SAS 15000RPM Drives setup in RAID 10
2 X Seagate 1TB SAS  72000RPM Drivers setup in RAID 5

VM's to be running the following

VM1Windows 2012  -  Domain Controller and File Server
VM2  Windows 2012  - Exchange Server 2013
VM3Windows 2012  - SQL 2012 
VM4 Windows 2012  - Great Plains
VM5 Windows 2012 - IIS 

 

Virtual Machine Loses Network when Unchecking 'Enable Virtual Machine Queue'

$
0
0
Hi all, interesting situation I discovered today. I built a three node 2012 R2 hyper-v cluster and set up a teamed nic and enabled virtual machine queue on the nics. After that, I set up the base and maxprocessors on the teamed nics just like you're supposed to that allow the virtual machine queues to be assigned to the different processors. I set up about 10 virtual machines after that and everything is working just like it should. Then I remembered that there is a limited number of virtual machine queues and each virtual machine has the virtual machine queue option set to enabled by default.  So I shut off a virtual machine, brought up settings, opened up the Hardware Acceleration options under the Network adapter and unchecked "Enable Virtual Machine Queue" and restarted the virtual machine. I no longer had network connectivity. As soon as I 'Enabled Virtual Machine Queue' in settings, the network connectivity would come back.  It's not supposed to work like this, is it? It does this for every virtual machine I have. Anybody know why this is?  Any feedback appreciated.

Hyper V mouse input not captured over RDC on Server 2012

$
0
0

Hi,

I am using Hyper V and can't click a button due to mouse input not capturing. I have read similar posts in this website and not found the answer yet. I am connecting to the server using RDC and running hyper-v there. 

When my machine is running, I have checked in settings and all of my integration services are enabled. If I click Action and press Install Integration Services Setup Disk then it loads the disc but I don't know how to run that disk, or don't know if I have to if the check boxes for all the install integration services are ticked.



When I physically go to my server and run the Hyper V from there, I don't get the "Mouse Input is not captured" message when I click in the virtual machine but even when I try and press the button nothing happens

Any help would be greatly appreciated, 

Nick


VMs - Network Disconnected though network is available

$
0
0

Hello There,

I have Windows 2008 R2 Core based HyperV cluster with some VMs on it.

VMs running Windows 2008 R2 Standard OS everything is Ok except that network interfaces on VMs shows disconnected despite having connectivity to the network.

And when i restart the VMs i can't connect remotely unless i login to the machines through VMM / HyperV console.

Please suggest.

Regards,

Maqsood


Maqsood Mohammed Senior Systems Engineer MCITP-Enterprise Admin & ITILv3 Foundation Certified

Viewing all 19461 articles
Browse latest View live


Latest Images