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

How to delegate specific Hyper-V actions only?

$
0
0

Hi,

If I want my colleagues to be able to manage Hyper-V VMs, I need to add them to the "Hyper-V Administrators" group on the server. I just would like to know if there is a way to add more granularity on those rights?

Some examples:

  • Allow people to manage a list of specific VMs, the others VMs will be kept under the "Administrator" (master of the universe) responsibility.
  • Give people the privileges to start/stop/manage checkpoints on VMs, but forbid them to delete VMs, modify betwork switches, etc.

Is there a solution? Thanks.


Windows Server 2016 setup not booting

$
0
0

Hi

Hyper-v running on Windows Server 2008 R2. When the Windows 2016 iso is loaded during boot it crashes with the message in screen one below.

I tried to update integration service by 'Inserting Integration Services Setup Disk' but I get second screen below. 

How can I load Windows Server 2012 from iso image in hyper-v on Windows Server 2008 R2?

Thanks

Regards

Pagefiles? To use them or not and where to keep them.

$
0
0

Howdy,

I did some research online and found tons of information on different ways to handle the Pagefile when running Windows.  I'm concerned with Windows Server 2012 R2 and 2016 and am wondering if there's any official best practices to use for the Hyper-V Guest VMs.  We use Dynamic memory for almost everything and never have anything hit the max or we up the limit.

Please feel free to respond with your setup.

  • Do you leave everything with the Windows Defaults so the Pagefile is on C and Windows manages it?
  • Do you leave it on C but specify a specific size?
  • Do you move the pagefile to it's own VHDX file to keep it separate?
  • If you move it, do you set a specific size or let Windows manage it on the new location?
  • Do you do something else?

We use Network Storage via Netapp or Kaminario and generally have a C and D drive for the OS and general Data.  We also have been creating a P drive to move the Pagefile to but I don't know if there's any benefit to doing so any more.

Thanks for any feedback, opinions, and anything else you have to offer.

i need to converty hyper v machine to physical machine

$
0
0

Hello ,,

i would like to convert hyper v machine to physical machine

and this machine holds the domain controller

thanks in advanced

Hyper-V 2012 R2 Cluster Issues

$
0
0
I have the following enviroment:

Active Directory (3 DC's) 2012 R2 Level
5 Nodes Hyper-V Server 2012 R2 Cluster (SMB2 as storage) with two NAS Windows Storage Server 2012 R2 (not CSV)
Each node has two networks (Clients & Cluster, 192.168.x.x, and Cluster 10.2.1.x)

I'm having some random issues, sometimes one server get evicted, when i rejoin that server to the cluster the difficulties appears, even this issues sometimes happens without
any server gettin evicted.

I cannot live migrate vm's to that problematic server, if i do a Quick Migration, the vm's migrates, but when i try to start it there are two possibles results:

- The VM never get started
- The VM moves to another node and then get started

The Clustering are reporting the following errors:

- Cluster node desacluster02 has been evicted from the failover cluster. (EventID 1011, Task Category: Node Mgr)
- The Cluster service failed to bring clustered role 'example' completely online or offline. One or more resources may be in a failed state. 
  This may impact the availability of the clustered role. (EventID 1205, Task Category: Resource Control Manager)
- Cluster resource 'Virtual Machine Configuration 'example' of type 'Virtual Machine Configuration' in clustered role 'example' failed. 
  The error code was '0x574' ('The target account name is incorrect.'). (what?!)
  Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  
  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet. (EventID 1069, Task Category Resource Control Manager)
- Cluster resource 'Virtual Machine Configuration 'example' of type 'Virtual Machine Configuration' in clustered role 'example' failed. 
  The error code was '0x43' ('The network name cannot be found.'). (what?!)
  Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  
  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet. (EventID 1069, Task Category Resource Control Manager)

Procedures already done:

- I checked conectivity among the nodes, both networks, and it's ok
- I rejoined the node with the problems
- I verified Sysvol/DFSR replication, it's ok
- I verified the rights/permissions in the NAS servers shares (computers$, and users involved)

Thanks in advance!

Error loading operating system v2v VMDK to vhd

$
0
0

Solved,
I have solved this now
http://www.netexpertise.eu/en/systems/windows/hyper-v-error-loading-operating-system-after-running-disk2vhd.html

I was selecting the wrong disk

I also had to follow
https://web.archive.org/web/20140831151616/http://www.xtralogic.com/testdisk_rebuild_bootsector.shtml

Hi all,

I need to convert a server 2003 VM from VMDK to VHD, I am currently using StarWind v2v, the conversation goes fine, when I setup the new VM up in hyper-v I get error loading operating system.

1. The VM is set up as a generation 1 VM with IDE no networking,

2. The 2003 os is 32bit SP2 which I found is the minimum for support in hyper-v

3. The host is running 1607 W10, the conversation took place of a different system running 1607 as well.

I have tried

Doing a generation 2 VM

following the below link, which only left me with a raw disk.

http://www.netexpertise.eu/en/systems/windows/hyper-v-error-loading-operating-system-after-running-disk2vhd.html

One thing

https://imgur.com/mHHVpGg

no partition table found


Internet connection lost on Hyper-V Virtual Machine after connecting to VPN

$
0
0

Sorry, I am entering the lion's den here and I apologise for my lack of knowledge here.

I am new to a job, and we use HyperV to connect to various customers using different VMs.

For one of our customers, I can go into the VM and from there access external internet sites such as Google, Bing etc.

The connection on the VM appears to use a Local Area Connection to access the internet.

When I'm on the VM, in order to access the customer's corporate system, I have to connect to a VPN, set up in a Cisco VPN application.

The problem I have is that while I can connect to the corporate application, I lose the ability to connect to external URLs.

For one of the problems I'm investigating, I need to be able to access an external URL, and not being able to do so means I have to keep bothering the customer, instead of being able to do the full end-to-end test myself.

It might be that connecting to the VPN loses the internet connection, but I do recall that when in my old job, I could work from home, and connect to work via a VPN using a Cisco VPN client, and access corporate applications, and external URLs at the same time.

However, I don't know enough about VPNs to know if that difference is just down to the way the VPN has been configured by the customer (e.g. disable internet connection).

So I thought I'd ask here for advice.

Any help much appreciated.

Images of relevant settings are here:

http://imgur.com/a/X076B


Thanks

PS - I did try to include images on this thread but was told: Body text cannot contain images or links until we are able to verify your account.

I never received the option to verify my account...




Hyper-V 2016 - Cluster, Replica or (stand-alone?) Live Migration

$
0
0

Hi all.

I've got the following hardware:

  • HP Proliant DL380p G6, 4 nics, local SAS storage
    146 GB RAID 1 - Hyper-V 2016
    600 GB RAID 5 - VM STORAGE
  • HP Proliant DL380p G6, 4 nics, local SAS storage
    146 GB RAID 1 - Hyper-V 2016
    600 GB RAID 5 - VM STORAGE

From what I've understood, a cluster setup is not possible, since the best practice, in my opinion, is to store the VMs on shared storage, like a SAN. I want to stay far, far away from any other solution, like storage spaces.

That leaves me with Hyper-V replica or stand-alone hosts with live migration?
What do I want to achieve: the same thing I do with Veeam: Host A, hosts VM 1 and 2 Host B, hosts vm 3 and 4.
Host A creates replica's of VMs 1 and 2, every x hours, to host B.
Host B creates replica's of VMs 3 and 4, every x hours, to host A.

VM 1: DC01 on server 2016 (PDC)
VM 2: RDS on server 2016
VM 3: DC02 on server 2016
VM 4: EXC01 on server 2016 (Exchange 2016)

Can this be done, with standard Hyper-V functionality?
I've read that Hyper-V replica should not be used with Exchange?
Do or don't?
I'm also not quite sure what Live Migration is, what's the difference with replica's?
Buying Veeam B&R would be the easy way out, but that's not an option.

Thanks in advance


Server 2016 Hyper-V Replica with VHDS

$
0
0

In Windows Server 2016 by using the new VHDS (sets) format of disk you are supposed to be able to use Hyper-V replica. However I can't get this to work. Has anyone got this working?

Shared diskHyper-V Replication not working

Windows & Linux VMs IP address loss after restart (include auto-restart and manual restart)

$
0
0

Currently I face a problem on my Hyper-V host that is my Windows and Linux VMs IP address will be loss after I restart the VM. I need to manual enter the IP address again every time it restarted. After I found out some articles, most of the articles are mentioned the integration services are outdated and need to be update. Therefore, I have update my Hyper-V hosts also installed the latest integration services to one of my Windows VM and it works fine. For Linux, I installed the Linux integration services 4.0 but after I restart the VM's IP address is still loss. Any idea or anyone had encounter this issue before? 

Thanks and appreciated.

Unable to start Hyper V hearbeat and other integration services on Windows 8

$
0
0

Unable to start Hyper V heartbeat and other integration services on Windows 8 , when I configured Hyper V on my machine last week it was working fine but since last two days i am unable to start the services ,I can start the Vm's but cant connect to it the error it throws is  'the application was unable to start correctly(0xc0000142).'click OK to close the application.

when i try to start the service 'vmicheartbeat' hyper v heart beat service and similarly other services except hyper-v virtual machine management which runs fine always, below is the error that I get when I attempt to start other VM services :

error message I see is 'service started on local computer then stopped.some services stops automatically if they are not in use by other services or program.'

Any suggestions ?



WS 2012 Hyper-v and Win 7 Virtual Desktop

$
0
0
I was trying to install a VM running Win 7 on a WS 2012 Hyper-V Host but there seems to be a problem with compatibility. My end goal is having a Virtual Desktop for our office that is at a remote location. I can get the software installed with no problems. But when I try to do a windows update  it will never go through. Then when I tried to finish the Virtual Desktop configuration it said that it wouldn't work. Can anyone please help me?

Zimman2004

Hyper-V manager from Windows 10 to Hyper-V Server 2016

$
0
0

Greetings,

I've installed the free Hyper-V Server 2016 (seems to be a core server). I'm not using a domain, just a workgroup.

When I try to remotely manage with Hyper-V manager on a Windows 10 box, I get "An error occurred while attempting to connect to server "IP." Check that the Virtual Machine Management service is running and that you are authorized to connect to the server.

I can remotely manage the server -- confirmed using "Computer Management" MMC to remotely access and manage some components of the server.

Using this page (https://msdn.microsoft.com/en-us/virtualization/hyperv_on_windows/user_guide/remote_host_management) and others as a guide, these are things I have done:

"Enable psremoting" on both client and server. "enable-wsmancredssp -role server" on the server. "enable-wsmancredssp -role client -delegatecomputer fqdn-of-server" on the client, except instead of fqdn I used IP address. What fqdn would I use in a workgroup?

I've also added the server as a trusted host to the client, via "Set-Item wsman:\localhost\Client\TrustedHosts SERVERNAME/IP -Concatenate -Force" except again I used IP address instead of server name.

I've also tried enabling the local administrator account on the client and giving it the same password as the administrator account on the server. I've also tried the "connect as another user" feature of the Hyper-V manager, via localhost\administrator or just administrator.

Finally, the very last step of the link I provided is to make a group policy change on the client in the System\Credentials Delegation\ area. I enabled "Allow delegating fresh credentials with NTLM-only server authentication" and added wsman/IP_address.

Any thoughts?

USB Pass Through / Com Port Via Named Pipes

$
0
0

I am currently in need of redirecting a Com Port to a Hyper-V Guest via named pipes from the Host Machine.

I cannot find any good documentation on the subject.

If Hyper-V supported USB Pass through like ESXi does i would just plug a USB Serial port and be done with it.

But alas Hyper-V seems not to support either.

How are people supporting older COM Port requirements on newer Virtual Machines?

And yes I have ESXi Servers, but in this particular implementation the Customer wants Windows 2008R2 Hyper-V.


Hyper-V Server 2012 R2 dont boot a VM with Server 2012 R2 from VHDX Gen.2

$
0
0

Hi all,

a 2k12 R2 host with Hyper-V role, build on ASUS P9D WS, i5-4440 with iRST soft raid won't boot a Gen 2 2k12 R2 VM guest ("Boot Failed. EFI SCSI Device").
Even Gen 1 don't boot.

The guest was created by Disk2vhd v2.01 as vhdx on the same Hardware. After this the partitioning and formating was build up and created new by the default setup and installation of Server 2012 R2 as the new host with just the Hyper-V role.

So I have 2 questions:

How to get the guest vm boot?

Is there a licensing problem? As I understood a host with just the Hyper-V role is free or included on a Server 2012 R2 license.

Thanks for your help!



Stuck on Connecting to VM

$
0
0

I appear to be having the same problem as is listed in this posting from 2012.

https://social.technet.microsoft.com/Forums/windowsserver/en-US/6cf27c31-5d9b-4a18-9eea-3bfdcadeaa4a/virtual-machine-connection-stuck-on-connecting?forum=winserverhyperv

However I have not been able to resolve it. I have tried

  • rebooting
  • Removing/rebooting/reinstalling hyperv
  • Adding hosts entry for my machine name in the hosts file.
  • Stopping the nvidia services on my machine
  • Running Windows updates

I am trying to setup the initial VMs so that I can use them so just using RDP is not an option. The host is running on a Windows 10 Pro machine running the latest updates as of 12/5/2016.

I have seen some other posts where people resolved this with a reset of windows on their host but this is not really an option at this point.

Could not create backup checkpoint for virtual machine General access denied error (0x80070005)

$
0
0

Hey all,

I have a Windows server 2012 R2 Datacenter box with 7VM's on, two of the vm's report an error on windows backup saying its failed

I do not wish for snapshots to be backed up but the drives are backed up daily.

The vm drives that are shown on here do work via restore but flag up saying cant be used

After upgrading the two 2012 R2 servers to DC edtion they are getting errors, heres the logs

Writer Failures
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
Instance Id: {8EA81CB1-04EF-491A-942B-80088B228EAC}
Writer Name: Microsoft Hyper-V VSS Writer
Writer State: 5
Failure Result: 80042336
Application Result: 80004005
Application Message: (null)
   Component: 2BAD80D4-91F4-4D6E-BE7D-28CA876507C1
   Logical Path: (null)
   Component Result: 800423F4
   Component Message: Could not create backup checkpoint for virtual machine '02 GTA': General access denied error (0x80070005). (Virtual machine ID 2BAD80D4-91F4-4D6E-BE7D-28CA876507C1)
       File Spec: S:\vm data\Virtual Machines\Virtual Machines\\2BAD80D4-91F4-4D6E-BE7D-28CA876507C1.xml Recursive: 0
       File Spec: S:\vm disks\\02 GTA mta.vhdx Recursive: 0
       File Spec: S:\vm data\Virtual Machines\Snapshots\\2BAD80D4-91F4-4D6E-BE7D-28CA876507C1-BackupSnapshot.xml Recursive: 0
       File Spec: S:\vm disks\\02 GTA mta-AutoRecovery.avhdx Recursive: 0
   Component: A37B49A6-CB35-4A4E-8934-AE4A54DA068C
   Logical Path: (null)
   Component Result: 800423F4
   Component Message: Could not create backup checkpoint for virtual machine '04 rust': General access denied error (0x80070005). (Virtual machine ID A37B49A6-CB35-4A4E-8934-AE4A54DA068C)
       File Spec: S:\vm data\Virtual Machines\Virtual Machines\\A37B49A6-CB35-4A4E-8934-AE4A54DA068C.xml Recursive: 0
       File Spec: S:\vm disks\\04 rust.vhdx Recursive: 0
       File Spec: S:\vm data\Virtual Machines\Snapshots\\A37B49A6-CB35-4A4E-8934-AE4A54DA068C-BackupSnapshot.xml Recursive: 0
       File Spec: S:\vm disks\\04 rust-AutoRecovery.avhdx Recursive: 0



to big disk queue during resize or creating VHD

$
0
0

Hi.

I Have hyper-v on windows 2012 R2, witch storage pool (4 disk) na 20 TB thin provisioned volume with deduplication.

On that volume i have one 8TB vhdx file (fixed size). When I try resize that vhdx disk  i got disk queue (on that volume) at about 5-7 with 100% disk activity, and after several minutes i got Event ID 15282 (Filed to resize the virtual disk) and ID 27294.

Its any possibility to limit disk I/O impact during creating or resizing vhd(x) file ? Because looks like the errors occurred when disk queue becomes too high.

Hyper-v 2012r2 CSV disks best practice

$
0
0

Hi All,

When i bing (google ;-)) i can't find much info about this topic (only pre 2012 hyper-v).

Situation:

We have an 8 node Hyper-v cluster 2012r2, at the moment we have 16 CSV luns of 2 TB each. We have about 600 servers running on this cluster, about 37 VM's per CSV lun, the question is as follows:

What is beter? this situation thus more VM's per LUN or break those 2 TB luns into 1 TB luns and divide the VM's so there will be about 15 VM's per lun but more CSV disks in the cluster?

The underlaying storage is a EMC VNX with a single pool auto tiering enabled.

Another question gets in mind what is the maximum CSV disks in a Hyper-v 2012r2 cluster?

Hope you can help.

Thanks!


Backup VLANs for Hyper-V host

$
0
0

Hi Techies,

We have got the requirement that create a separate VLAN for all the clients including Hyper-V VMs which is part of failover clusters 2012 R2.

Need your suggestions,how it is achieved in your organization?

We have four NICs.

Two NICs for Management which is teamed up.

One NIC for Live-Migration &

One NIC for Heartbeat

Can i Use LM NIC for backup VLAN? as i heard that LM can be managed management NIC itself.

Please suggest.

Regards,

KR

Viewing all 19461 articles
Browse latest View live




Latest Images