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

Hyper-V Host, VM and Application upgradation Query

$
0
0

Hi Frenz,

            My organization have an environment,

02 Node Windows 2008 R2 Hyper-V cluster, 15 Vm's (all windows server 2008 R2) are running on the cluster and all the VM's are running SC components (2007 version).

            Activity planned: I suppose to do an up-gradation of all the Host's and VM's to Windows 2012 R2 and finally upgrade the SC components to 2012 R2 UR2 version.

    Query: Kindly someone share your best suggestion/Recommendation/High Level steps /possible ways to do the same. Kindly do let me know for any Questions.




Dynamic VHD size increases drasticakky after modifying BlockSize to 256 MB from Default 32 MB.

$
0
0

Installing Windows 2012 R2 under Hyper-V virtual machines, the disk size in the end is around 9 GB but in case the BlockSize is set to :268435456. It goes above 11 GB.

Then doing the same operations on a differencing disk the size goes to 4 GB in case the block size is 2 MB but 14 GB when the BlockSize is 256 MB.

Any ideas why?


yup

Hyper-V: Kerberos Constrained Delegation not working - unable to create VHD on SMB 3.0 share

$
0
0

I have created a simple, three server Hyper-V environment with two Hyper-V servers and a file server.  The file server is providing shared storage over SMB.  I have configured Constrained Delegation as per the instructions found on a TechNet blog.

However, I cannot create VMs from my Windows 8.1 workstation running the Windows 8.1 RSAT.  I get the following error:

New-VM : Failed to create the virtual hard disk.
The system failed to create '\\SERVER\VHDStore\Hyper-V\VH02\Virtual Hard Disks\Disk1.vhdx': General access denied error (0x80070005).
You do not have permission to perform the operation. Contact your administrator if you believe you should have
permission to perform this operation.+ CategoryInfo : PermissionDenied: (Microsoft.Hyper...l.VMStorageTask:VMStorageTask) [New-VM], Virtualiza
   tionOperationFailedException+ FullyQualifiedErrorId : AccessDenied,Microsoft.HyperV.PowerShell.Commands.NewVMCommand

I have configured delegation on each of the Hyper-V servers to allow the service CIFS on the file server.  The permissions on the shared folder allow full control to both the Hyper-V servers and the end-user account.  I see not specific errors in the event logs on any of the servers involved.  

Where else can I look too determine what is failing and why?

Thanks.

Ash



Reboot guest - receive new nic

$
0
0

(This isn't a citrix issue.. it's HyperV - I think - but Citrix background below just for info. The HyperV part seems to be killing me here. This incident relates to )

A slight problem has resurfaced during Citrix provisioned image update. The citrix side of is it kinda academic, the reason it's being a pain is in the image, the virtual machines have two NICs, one to boot off of (a legacy adapter), and one for citrix ICA traffic (synthetic).

This has always worked great, ICA is bound to the right one and job done. All the VMs boot off the same provisioned image and we're off to the races.

Today I updated the citrix image - when I boot *some* VMs, it decides the synthetic adapter has somehow changed, and installs a new one. Which ICA doesn't bind to as it's not there at boot time, instead it attempts to bind to the non-routable boot nic and of course clients then can't connect.

I'm at a total loss to explain how the guest has decided it has a new NIC in there. If I show hidden devices, I can see the old one of course, but the fact it's not there until the device has been installed is causing me a problem.

For fun, I booted the server I was using back on the old image, the one that had worked perfectly well - and it pulled a new NIC instance, just as the new image did. This leads me to suspect something is up with the host as of course the October image hasn't changed, but I can't figure out what. Making matters worse, there are 5 servers running on that host, all on the same image - and the one I rebooted is the one showing this behaviour. The others are fine. As these are provisioned images, they ALL boot off the same one, and any changes are discarded upon reboot.

Any ideas? Host is 2008R2 datacentre, guests are 2008R2x64 standard.

Thanks

AW


Bit of background - we've a Citrix XenApp 6 farm which provides desktops and apps to thin client devices. There's around a dozen physical hosts, running in the region of 45 VMs that the clients in turn to connect to. We've two base images (using Citrix provisioned image) that are updated monthly and all guests boot off one of those.

Hyper-V Failover Cluster Live migration over Virtual Adapter

$
0
0

Hello,

Currently we have a test environment 3 HyperHost wich have 2 Nic teams.  LAN team and team Live/Mngt.

In Hyper-V we created a Virtual Switch (Wich is Nic team Live/Mngt)

We want to seperate the Mngt and live with Vlans. To do this we created 2 virtual adapters. Mngt and Live, assigned ip adresses and 2 vlans(Mngt 10, Live 20)

Now here is our problem: In Failover cluster you cannot select the Virtual Adapter(live). Only the Virtual Switch wich both are on. Meaning live migration simple uses the vSwitch instead of the Virtual adapter.

Either its not possible to seperate Live migration with a Vlan this way or maybe there are Powershell commands to add Live migration to a Virtual adapter?

Greetings Selmer

Guest VM failover cluster on Hyper-V 2012 Cluster does not work across hosts

$
0
0

Hi all,

We are evaluating Hyper-V on Windows Server 2012, and I have bumped in to this problem:
I have a Exchange 2010SP2 DAG installed on 2 vms in our Hyper-V cluster (a DAG forms a failover cluster, but does not use any shared storage). As long as my vms are on the same host, all is good. However, if I live migrate or shutdown-->move-->start one of the guest nodes on another pysical host, it loses connectivity with the cluster. "regular" network is fine across hosts, and I can ping/browse one guest node from the other. I have tried looking for guidance for Exchange on Hyper-V clusters but have not been able to find anything.

According to the Exchange documentation this configuration is supported, so I guess I'm asking for any tips and pointers on where to troubleshoot this.

regards,

Trond

Hyper-V in Windows 8.. VM cannot get DHCP IP address

$
0
0

I had Both Virtual Box and Hyper-V on the same machine, I decided trying to shut down Hyper-V all the time was too much trouble so I removed VirtualBox.

Since then no machine can get a local IP address from the router.

I have even setup the virtual connections again:

I have various CentOS installs which I installed with generation 1.

I even tried changing the LAN Adapter to a "Legacy" one, but it still fails.

Any advice as to what is going on with this?

Thanks

Failoverclusteringproblems on one Hyper-V-Server with Hyper-V Clients

$
0
0

Hi,

I hope this is the right Forum to post my problem, because it is a little bit mixed up with hyperv and windows failoverclustering.

My problem is the following:
I have three physical server, that host some hyper-v clients. Lets call them srv01, srv02 and srv03. All three are running Windows Server 2012 Datacenter with all updates and actual drivers. All Servers are Dell PowerEdge R710. srv02 and srv03 are absolute identical except that srv02 has 288GB RAM and srv03 has 144GB RAM. srv01 has a different processor and motherboard. RAM is 288GB too.

I installed a Windows Server 2012 Datacenter on srv01 and srv02 as a hyper-v client. Lets call them hv01 and hv02. I installed all available updates via Windows Update. After this, I tried to create a Failovercluster with using the windows-feature. While creating the cluster from hv01 with hv01 and hv02 as a node, the creationprocess failed with a timeout to hv02. When I try to create the cluster from hv02, the process timed out to hv01. When I created the cluster with just one node, the creationprocess finished successful. Then I tried to add the second node to the existing one-node-cluster, but it failed again with a timeout.

After two days of searching analysing etc. I moved hv02 to srv01. So hv01 and hv02 are running on srv01. After doing this, the clustercreation with both nodes was successful. Now I moved hv02 back to srv02. That results in a not available clusternode - so hv02 was not available in the failovercluster.

Then I moved hv02 to srv03. And voila: the cluster was up. I tested some configurations and figured the following out:
hv01 and hv02 on srv01 - works
hv01 on srv01 and hv02 on srv02 - fails
hv01 on srv01 and hv02 on srv03 - works
hv01 on srv02 and hv02 on srv03 - fails

After this, I was a little bit confused, because I thought it might be the different hardware, but that doesn't make sense, because srv02 and srv03 are identical and srv02 is not workling.

So: Anyone has an idea what the problem can be?



DPM2012 R2 protecting Hyper-V 2012 R2 Cluster VMs, some appear offline in DPM

$
0
0

Hello,

We have 2 separate Hyper-V 2012 R2 Clusters using iSCSI SAN CSVs as storage.For these I have set up 2 PSGs for VM backups using checkpoints (As new in DPM 2012R2/Hyper.V 2012 R2)

90% of the VM backups work in online mode but some shows as Offline when running the DPMGuide to add a VM to a PSG.The server OS versions differs between WS2003 R2 SP2/WS2008 SP2 / WS2008 R2 SP1 / WS 2012. Windows Server Backup is installed on all VMs and vssadmin list writers shows no errors.How can I elaborate and solve this issue?


Thx /Tony

HyperV Manager cannot connect to local server

$
0
0

Hi,

My HyperV server (GUI) host has 3 virtual machines guests - all  of them are critical servers, suddenly the host is unable to connect to local server and thus I am unable to manage 3 virtual machines, however all 3 guests are online are accessible.

I have checked the VMM service and is running fine, i am receiving same error when logged in as a local admin instead of domain admin. Now one of the virtual machines is having problem and I am unable to manage i cannot connect to HyperV from remote system as well. When i logged on to the Server Manager, the automatic refresh is failing as per below,

Manageability from Server Manager is showing following error, Online - Data retrieval failures occured.

Moreover when i click add remove features I receive following error, Server Manager is collecting inventory data. The wizard will be available after data collection finishes. I have not shut down the guests and restarted the host, i fear i might not be able to connect to them as they are critical.

Please note that the host is not in any type of high availability yet, any help on this would really be appreciated, thanks.

SQL Performance and Hyper-V Generation 2

$
0
0

Hi

Environment - HP DL580 G5 running 2012 R2 Hyper V

There are only 2 VM's on this box and the underlying storage is provided by Equalogic.

I have created 2 VM's running 2012 R2 Server with SQL 2012 Enterprise SP2 which are identical apart from one being generation 1 (imported from a 2008 R2 server) and the other being a native generation 2.

My issues is if I increase the memory to 20gb (runs fine on 10gb) on the gen2 server it will crash under load (dbbc checkdb or any other intensive operation).  Gen1 server has no problems running at 20gb.

I am suspecting a numa issue but before I go down this route was wondering if anyone else has seen this.  VMQ's have been disabled on both VM's

Unable to shrink VHDX - Not enough disc space?

$
0
0

Hi!

Im hope that i'm posting this in the correct forum/subforum.

The thing is that im running several server 2012 hyper-v guests on a server 2012 host machine.
During the night the host ran out of disc space and all the servers where paused, causing a complete stand still for the company. To free up some space for the host, i want to shrink a fixed size vhdx disc for one of the guests.

When i go to Disc Manager and click Shrink, it says that i can shrink 100471 Gb. However, when i press OK, i get an error message saying "There is not enough free space on the disc or discs to complete the task".. or similar. I get the message in Swedish on the server. Instead of shrinking 100 Gb, iäve tried to shrink only 70 Gb, 60 Gb, 40 Gb and 10 Gb, but every time i get this message. I've ran Check disk as well, but it found no errors.

I'm puzzled by this since i have free space both on the host and the disc i'm trying to shrink.
Free space has been created on the host by shutting down some of the other guest servers.

Any ideas?
As of now i can't have all needed servers running, since the all disk space for the host is consumed and the guests can be paused dut to lack of disk space any second.

Thanks,

Daniel

Hyper-V reports: The operation on computer 'localhost' failed. - Cannot manage VM's.

$
0
0

Hello,

I have two Windows 2008 x64 servers, running Hyper-V.  I have about 15 VM's on each server.  I manage the VM's all through the Hyper-V Manager.  When I try to connect to Hyper-V Manager and manage my VM's I get "Connecting to Virtual Machine Management Service."  This times out after a few minutes and then the Hyper-V Manager displays:  The operation on computer 'localhost' failed.

This happens about 2-3 weeks after a reboot.  The only fix I have found is to reboot the server, but since these are production servers this is kind of a pain.

Booting from Hyper-V VHD

$
0
0

Hi everyone,

We have a SCDPM installation on the Hyper-V Gen1 VM (which is running Windows Server 2012 R2). My IT chef asks me to move it to physical server. I decided to install Wk2012R2 on the physical server, copy the VHD of existing DPM VM to the physical server and create a boot entry to boot from this VHD.

But HyperV and my phisycal server are two different hardware environments. I suppose that if I sipmly transfer VHD to server and add a boot entry for VHD, this will not work, because the drivers will not run or smth else with the hardware. 

The question is: How should I prepare the virtual hard disk before transerring and booting from it?

Hyper-V Manager fails to boot from eith an image or disk drive

$
0
0
I have created a Hyper-V system and originally have gotten an iso file and a Windows Server 2003 CD to boot in order to create a new virtual server.  However recently I found that in either case, I cannot create a new virtual server either from a boot CD or an iso image.  I get the message "Boot failure. Reboot and select proper boot device or Insert Boot Media in selected boot device". I have made sure that none of my existing virtual machines are running when I try doing this.  I have been searching the web but have not found any references to this problem.  Patches are being maintained on the host server and any virtual machines I create from existing VHD's work fine.  I have tested the CD to insure that it will boot on another system.  Any help will be appreciated.

How do I make my Windows 7 Hyper-V virtual machine full screen ?

$
0
0

Hi,

I'm running windows 8.1 as a host machine. I've installed Hyper-V feature and then I installed a windows 7 in a virtual machine.

But the pain point is it does not get full screen because it just hasn't the screen resolution I'm looking for. So changing the resolution is not an option since it says that my total available graphics memory is 8 mb. How can I increase this memory ?


My Hyper-V vistual machin configuration for windows 7 is :

RAM: Dynamic 1024 , CPU: 4 virtual 

Secure Boot State On in Error?

$
0
0

I am running Windows Server 2012 R2 Essentials as a VM on Hyper-V Server 2012 R2 (server core).  In checking MSINFO32 I see "Secure Boot State" is "On" for Essentials, but given my current configuration I believe this should be "Off?"

I setup a new Hyper-V Server 2012 R2 (server core) using an Areca ARC-1224-8i RAID controller.  It was unclear to me whether or not the Areca RAID controller would support UEFI or not, but since Secure Boot was desirable I decided to try a UEFI installation. I created two volumes on the RAID controller.  C drive of 80 Gb and D drive of the remainder (about 9 Tb).  I checked the file C:\Windows\Panther\setupact.log and saw the message which told me this was an EFI installation/boot.

After Hyper-V was installed I then setup Essentials as a VM on the D drive.

When I ran MSINFO32 in both Hyper-V and Essentials and I saw the Secure Boot State was On which was expected (and desired) for both OS levels.

Several days later I started having problems.  The system seemed to have crashed and during multiple attempts to reboot the Hyper-V server couldn't seem to detect the RAID controller.  If I tried a new Hyper-V installation and loaded the RAID driver the RAID controller was seen, but when Hyper-V itself tried to boot it seemed as though the RAID driver was not being loaded and thus the RAID controller could not be found (and along with it my C boot drive was missing)?

Since I had some suspicion that the RAID controller might not support UEFI I decided to re-install Hyper-V, but this time using the Legacy BIOS.  After the installation was completed I again verified the setupact.log and saw BIOS rather than EFI (as expected).

I then re-attached my Essentials VM (which was left untouched on the D drive) and got everything running again.

But now when I check MSINFO32 within Hyper-V it showed Secure Boot State Off (expected given that UEFI was not used).  But when checking MSINFO32 within Essentials it showed Secure Boot State On.

I thought one purpose of Secure Boot was to create a chain of trust.  Given that Hyper-V can no longer verify this chain (since UEFI is not used) I would have expected any VM running above Hyper-V to be in the same state, i.e., Secure Boot State Off? When the underlying Hyper-V layer changed I would have expected that to change Essentials view of the world?  So it looks to me as though this is not being handled correctly?

Thanks for any assistance you can provide.

P.S.  In case this makes any difference I am using a motherboard with a TPM and both the C and D drives were encrypted with BitLocker.  The C drive used a TPM key and the D drive had a password and was setup to autounlock.

After I re-installed Hyper-V on the C drive I then manually entered the BitLocker password in order to access the Essentials VM on the D drive.


Theokrat


Enabling Bitlocker on HyperV server after VM's in use

$
0
0

Hi, I cannot seem to find a good answer to this.

I have Windows Server 2012 R2 installed on a new server. I have enabled HyperV on the server and already have 3 VM's running on it, including an Exchange 2013 server.

Can I enable Bitlocker on the HyperV server while there are already VHDX's on the data drive?

What would be the best way to enable HyperV in this scenario?

Thanks for reading

Hyper-v Replication between servers with different performance

$
0
0
If Hyper-v replication is set between servers with different performance. What will happen with the performance of the fastest servers? Will the performance decrease to match the performance of the slowest server in the chain?

Event ID 32086 followed immediatly by Event ID 32022

$
0
0

I am trying to perform a reverse replication after an unplanned failover in a lab environment. I receive the following two errors:

Event ID 32086

Hyper-V suspended replication for virtual machine 'hsral-test-svr1' due to a non-recoverable failure. (Virtual Machine ID 7A21E1DB-2365-4424-B5F0-8B0BFACDFF83). Resume replication after correcting the failure.

Event ID 32022

Hyper-V could not replicate changes for virtual machine 'hsral-test-svr1': One or more arguments are invalid (0x80070057). (Virtual Machine ID 7A21E1DB-2365-4424-B5F0-8B0BFACDFF83)

The replication fails at 88% everytime. I can resume replication and it completes. But I am not sure how to start troubleshooting why the failure occurs.

Thanks for the help


davidh


Viewing all 19461 articles
Browse latest View live




Latest Images