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

Visual Studio Emulators for Android doesn't work on Windows 10

$
0
0

Hi,

When I try to start emulator the start task fails, with message like below.

10.08.2015 14:06:01: [Critical] Unable to add user to the Hyper-V Administrators group. Exit code 2220.

I was using it on Windows 8.1 where it worked well on the same PC. This proves that my PC meets all requirements and it is properly configured. After clean install of Windows 10 emulator doesn't work. 

Hyper-V on my PC is running well. I can create and run 32 and 64 bit vm's. There is problem with creating android vm's by vs emulator. There is no group "Hyper-V Administrators" and it can't be created.

Tried these solutions:
http://blogs.msdn.com/b/virtual_pc_guy/archive/2010/09/28/creating-a-hyper-v-administrators-local-group-through-powershell.aspx

http://blogs.msdn.com/b/virtual_pc_guy/archive/2008/01/17/allowing-non-administrators-to-control-hyper-v.aspx

also i tried to recreate InitialStore.xml for Hyper-V with needed group and operations but without success. It seems that hyper-v bundled with windows 10 doesn't require any special group to run, create, manage and remove vm's, switches, etc. Emulator thinks different and it can't assign me to group which does not exists. 


hyper v server can't ping or be pinged, even locally, Mgmt tools will not connect. Windows update works great.

$
0
0

I successfully installed Hyper-V Server 2012 R2 and installed all required updates from Microsoft update. My Hyper-V server is in a workgroup and will not be in a domain. It has a static IP address and a dns server and gateway set. It seems to work great. I added the corefig utilities just to make life easier and they work. I used a usb drive and plain old windows copy to install them.

As I said, Windows update works great.

My problem.

I can't connect remote management tools to hyper-v server.

I can't ping to or from the hyper-v server. I made sure that the server said I should be able to use ping. I can't ping local or internet sites from hyper-v. Remote access tools can't see hyper-v. I did see hyper-v for an instant from a win 8.1 Hyper-V management console, but then it was gone.

I want to install a pfsense router vm and a windows pc vm once I can get to it. I'll figure out the virtual switches for it later. 

I've tried turning off the server firewall. It made no difference. The corefig utilities have a remote desktop item. I tried it a couple of times. It seemed to auto config so I turned it on and off a couple of times. (no, that didn't cause the problem, it was an attempt at a fix after lots of other trials.)

It's a pretty ordinary network. Hosts file edits should not be necessary because it doesn't seem to be normal for most installs.

How can I fix the connection problem?

Many thanks if you can help me.







Windows Server 2012 Hyper-V Replica general access denied error

$
0
0

Good morning:

I am seeing a "General access denied" error when attempting to replicate a VM from an on-site 2012 cluster to an off-site 2012 cluster.  Both clusters are Hyper-V 2012, each with their own Replica Broker configured.  Each broker configuration uses Kerberos, constrained delegation (configured to allow each locations hosts to be source and destination on the other), and a unique CSV storage path at each site.  When I right-click a VM and enable replication (from our primary site/cluster), I type the hostname of the replica broker for the destination site, ensure Kerberos port 80, compression enabled, select the VHDXs to replicate, use only the latest recovery point, begin immediately, send over network, and receive the following message:

Enabling replication failed.  Hyper-V failed to enable replication.  Hyper-V failed to enable replication for virtual machine 'virtual machine': General access denied error (0X80070005). (Virtual Machine ID unique ID).

What is very weird is that replication works in the opposite direction.  That is, from our secondary site to our primary site.  I can see the replication progress in Hyper-V Manager on that VM's host. 

Fixed vs Dynamic disk and SQL Server Databases on a Hyper-V 2012 R2 VM.

$
0
0

I'm looking for up-to-date information on this.  Are there big disadvantages to running SQL on a VM with dynamic disk?

I remember in the past it was recommended to used fixed disk for SQL.  But that may have been for Windows Server 2008 R2 and perhaps Server 2012.

With Server 2012 R2, is there any compelling reason we shouldn't use SQL server databases on dynamic disk?

Server 2016 TP3 -- Hyper-V, Error Applying Shared Drive Changes

$
0
0

I have 2016 TP3 installed in a test environment as my Hyper-V server with an ReFS volume where the VM's are stored.

When I try to add a shared drive to my attempts to build a FileServer using a shared drive (vhds) I get:

Error applying Shared Drive changes

failed to add device 'Virtual Hard Disk'.

The storage where the virtual hard disk is located does not support virtual hard disk sharing.

Cannot get information for attachement '<location of the vhds file on the ReFS volume>

The storage where the virtual hard disk is located does not support virtual hard disk sharing.

Any ideas?

This also does not matter if I store the file on the NTFS volume where the OS is stored.

Does this matter if the OS is BIOS or UEFI?

Ststic IP address changing to DHCP

$
0
0

Hello,

I have configures a Hyper-V Server 1212 host with a static IP address.  When I connect to the host and try to create a Virtual Switch so that I can connect as I add a VM, the creation fails and the Host's IP address is changed from Static to DHCP.  Did I miss something in the setup?

Thanks

what is formula or logic of purchasing HYPERV

$
0
0
what is formula or logic of purchasing HYPERV or VMware for instance if I buy HP G8 server 2 processor and 120 GB RAM so how many VM's I can allocate what is the formula?

Virtual switch problems on a production host

$
0
0

Hi everyone,

I'm hoping to get some help that might point me in the right direction to solve a big problem with one of my host Hyper-V servers.

My host has 4 NICs and three out of the four are assigned to be used in Hyper-V. The other day, I needed to add a VM to that host and I assigned an unused NIC (vNIC2) to the new VM. I found the VM could not get on-line so I started digging deeper. The other 3 NICs are working fine. Only vNIC2 is non-functional. Hyper-V isn't showing any issue with it, but it doesn't pass any data.  Eventually I got around to checking the Device Manager of the host. Under network adapters, I find two issues:

1)Hyper-V Virtual Switch Extension Adapter

This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)

An object ID was not found in the file.

2) Microsoft Hyper-V Network Switch Default Miniport

This device is not working properly because Windows cannot load the drivers required for this device. (Code 31)

An object ID was not found in the file.

I tried to reload drivers but it tells me the best driver is already installed.

I had read somewhere to try and remove the virtual switch from the virtual switch manager and then re-add it. I got a blue screen of the host each time I tried to remove a vNIC from the virtual switch manager. That was real bad. I have 4 production VMs on this host that I can't afford to lose. All the VMs use local storage and one is a mail server with 1TB of data. I don't think it's safe to do a live migration of the mail server to allow me to take this host off-line and rebuild Hyper-V. So, I'm looking to fix it in place. Does anyone have experience with this?

Hyper-V host is a Supermicro server with 3 different RAID 10 arrays. 1- Host OS  2- VMs   3- Mail store
64 GB of memory, 2 processors, 16 cores each @ 2.6GHZ

Server 2012R2 - fully updated

I did run bluescreen view and got 
driver: ntoskrnl.exe
Address: ntoskrnl.exe+14f9a0

I don't think that show anything that is helpful so I zipped the dump files in case anyone knows how to read them.

I really appreciate the help.



0x0000003B BSOD System_Service_Exception rdpdr.sys - 2008 R2 SP1

$
0
0

I have several servers that crash when I log in to them, physical & HyperV VMs. RDPDR.SYS looks to be causing the issue.

Anybody know of a hotfix that may cure this problem?

Windows 2008 R2 Web Server SP1 running on Dell hardware.

How to pass the ResourceSettings parameter in C++?

$
0
0

I want to add a Hard Disk to the Virtual Machine/

How do I pass the second parameter in C++?

uint32 AddResourceSettings(
  [in]  CIM_VirtualSystemSettingData      REF AffectedConfiguration,
  [in]  string                                ResourceSettings[],
  [out] CIM_ResourceAllocationSettingData REF ResultingResourceSettings[],
  [out] CIM_ConcreteJob                   REF Job
);

Here is the link to the method

https://msdn.microsoft.com/en-us/library/hh850020(v=vs.85).aspx

Thanks

Guru

Best options for VMs under Hyper-V, Raid options and SAS, Core/Thread to VM ratios? Supermicro raid?

$
0
0

At this point, we are building another hyper-v host server in our environment.. we have about 35 virtual machines spread over 3 hyper-v hosts at this point.. most of these servers are 5+ years old and only 8 core machines with sata enterprise drives. In the past i've created raid6 arrays that hold all the servers on one box plus maybe another raid6 array for a passthrough disk to a virtual box as well.

On one of the older boxes we run a virtual 16GB instance of sql server 2008, as well as application tiers for TFS, Sharepoint 2013 etc.. we also have two Exchange 2010 VM's.. one of which is 300+GB..  these types of applications spread over 3 hosts..

These days these old boxes are seemingly dragging.. too many vms on one box for sure.. way beyond the old one box per core rule... as many as 14 on one box alone (8 cores)..

Now we come to today.. this is what i've been spec'ing for a new build:

CPU:   E5-2650 v3 2.3 ghz x 2   (10 cores, 20 threads on each cpu)

Motherboard: X10DAI-B 

Chasis:  SupermicroSC846BE1C-R1K28B 4U, sas3/sata single expander

Supermicro was suggesting going with one of these 3 supermicro cards.. saying that they cant guarantee other brands will work such as Areca (unless its the lsi-avago chipset).. anyone have experience with supermicro?

Card 1

Card2

Card3

The debate is on this new box.. going with raid6 vs raid10.. also if sas3 is overkill on either of these, or maybe just for raid6, and the option of going with an enterprise sata drive array should be considered?

Raid10, seems like a big suck of drive slots.. though maybe I dont need to have more than 3 drives in a stripe x 2 for this, to beat out say the performance of Raid6.. which normally i always use at least 4-5 drives for Raid6.. perhaps there is a calculator to compare RAID10 with less in the stripe vs Raid6 with more.

Any thoughts on the best route to take here?

This will all go on Hyper-V under Windows Server 2012 R2 x64.. Ill also have a second dual port nic card, so that each VM has an option of VirtualNetwork #1 or #2 as i've done in the past with the other hosts.

And with the new CPU, does the old one VM per physical core still apply.. or is it one per thread since this new CPU is hyper threaded?

I'm considering doing VM replication down the road as well.. to help for situations where one host goes down..

Thanks in advance for any suggestions



Tech, the Universe, Everything: http://tech-stew.com Just Plane Crazy http://flight-stew.com


RDP to a Windows 2012R2 VM over WAN.

$
0
0

HI, I hope this is the right place to post.

I have a Win 2012R2 HyperV server and I created a basic Win Svr 2012R2 VM with 1 vhdx file. Works fine.  I shut down the VM.  I then copied the vhdx file to another Win Svr 2012R2 HyperV server across the WAN. I added this new vhdx as a VM server.

Things looked fine.

I just noticed that when I RDP to this new VM across the WAN, it is sooo slow. I can’t bounce around its File Explorer’s C:.   I can RDP to its Hyper-V server over the WAN just fine. 

From the other LAN, I can RDP to the VM and work just fine, and its host server.

I removed the Enable virtual machine queue and Enable IP sec task offloading on the VM’s settings.

Still I can’t RDP to it over the WAN and do anything…?

Anyone have any good advice…?


Tom Karpowski...

Failed to do live migrate virtual machine to another node in Failover Cluster in Server 2008 R2

$
0
0

Failed to do live migrate virtual machine to another node in Failover Cluster in Server 2008 R2

Getting below Error Message

Error ID  1205 : The Cluster service failed to bring clustered service or application '<Virtual machine>' completely online or offline. One or more resources may be in a failed state. This may impact the availability of the clustered service or application

Error ID 1069 : Cluster resource 'Virtual Machine Virtual Machine' in clustered service or application '<Virtual Machine>' failed.

I am using ISCSI as Shared Storage Volume (CSV)

I can able to do live migration successfully for other virtual machine in same environment. only 1 VM can't perform live migration. 

Thanks,

hyper-v paused critical status error on disk space issue

$
0
0

Windows 2012 R2 with MS Hyper-V

3 x SQL 2012 Server on 3 x different host as virtual machine

only one of the SQL server over WAN status changes to paused with disk storage issue and there is 1TB of disk available on host machine

I have to restart the virtual machine to make it operational


Muhammad Mehdi

Ghost/Hidden Network Interfaces

$
0
0
Hi guys,
we have a problem with network management in the guest virtual machines with Windows Server 2008. We have created a VM with WinSrv 2008, we have deleted it leaving the vhd because we had to move it in another partition, but when we create a new VM attaching its original vhd WinSrv 2008 shows 3 network interface inside the guest OS (2 of which are hidden and not viewable in the device manager even with the &quot;show hidden device&quot; option) and the device manager create a new network adapter with the name &quot;Microsoft Virtual Machine Bus Network Adapter #3&quot;. With a guest VM with WinSrv 2003 the behavior is different and the device manager shows only one interface with the default name &quot;Microsoft Virtual Machine Bus Network Adapter&quot;. How can we remove these hidden/ghost interfaces? We hope you can help us quickly because next week this virtual environment should be perfectly working.

Have a nice day.

Windows 10 Build 10240 Managing Hyper-V on 2012 R2 Datacenter Cannot Connect

$
0
0

So, we have a total of six Hyper-V servers in our environment. All six were installed from the same Server 2012 R2 Datacenter ISO. I have been managing these from my Windows 8.1 machine with no issues. I got ahold of Windows 10 build 10240, and I am running into an issue connecting to the servers now.

The strange thing is that I CAN connect to one of them. I cannot figure out what is different on this one server from the other five. Windows updates maybe? I migrated all the VMs off one of the servers I cannot manage remotely, performed all Windows Updates, and I still cannot connect to it.

I am reading that Windows 10 should be backward-compatible with managing Hyper-V on 2012, but on connection, it appears a WMI namespace is missing that the Windows 10 tools are trying to connect to.

I am not trying to use alternate credentials (I read this will NOT work from 10 to 2012 R2). Any ideas why this is not working? Several Google searches have not told me anything so far. I realize Windows 10 has not officially been released yet, but a few of us are testing the waters for compatibility issues.

I would appreciate any help anybody can offer.

Eric

Hyper V Guest Operating system recovery

$
0
0

Hi All,

I am new to Hyper V . I would like to know all possible options to recover a guest operating system from failure.

What would be the minimum downtime required to bring back a corrupted guest operating system. Can Hyper V start the guest Operating system from latest snapshot in case of guest OS failure ?

Is there any other mechanism available to quickly bring back the guest OS?

We are not in favor of clustering two guest operating system using Microsoft cluster to achieve high availability.

Thanks.

IIS on Hyper-V Server 2012 r2

$
0
0

I have a server running Hyper-V Server 2012 r2 and I would like to install IIS on this server. Every tutorial I have found seems to not work with this setup. I am beginning to think that Hyper-V Server 2012 r2 cannot even run IIS.

Can someone confirm for me whether it can be configured or not? I want to end this wild goose chase early if possible. Thanks

UPDATE: thank you for your reply's. I have implemented a vm within hyper-v and it is running IIS. It works well now.

Just a side note for this, I ended up adding a hyper-v from hyper-v manager. In my case I used server 2012 data center. Everything is working flawlessly.



Port Access Control Lists (ACLs) - Where is it saved , and what happen if VM moved to another host

$
0
0

Hi ,

As per my knowledge  Port Access Control Lists (ACLs)Rules are applied of Virtual switch port

But when i moved a vm to another Host  , Its ACLs rules are moved too

So i want to understand if these rules are recorded in the vm xml file or not?

and how it moved to another host ?

thanks


Ramy

Unable to access Windows 2012 R2 Hyper V Server from Windows 7 Desktop

$
0
0

Hi,

I have installed W2k12 R2 using below steps - 

1. Installed HyperV Role - Reboot Server

2. Went to Server Users and Groups - added domain user into DOM and HyperV Administator Group

3. Went to AZMAN.MSC and created one Admin Role and then added this in Role Assignment. Then added domain user into this.

4. Went to WMI Control and enabled that user two control - remote enable and Enable Account in CIMV2 and Virtulazation. 

Reboot Server....Then went to domain member windows 7 PC and tried to access server through hyperV Manager but It is giving "You do not have the required Permission to complete this task. Contact the admistrator of the authorization.

This is my third HyperV Server in Network, i already configured two servers using these steps so i dont see i am missing any steps. 

One more thing about my problem - I am using Windows 7 64 Bit where i have HyperV manager 6.1 installed and trying to access Windows Server 2012 R2 Server. 

I also tried cmdkey so that should not be any issue..

Any idea ?? What should i check and try



Viewing all 19461 articles
Browse latest View live




Latest Images