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

Problem with setting up Hyper-V G2

$
0
0

Hello everyone,

I am not a native speaker so please bear with me.

I'm all new to Hyper-V and the task I've set myself, is to set up Hyper-V on Windows Server 2k12R2 and then install another 2k12R2 as a guest-os. I am trying to use Generation 2 which should work fine with my setup.

Here's now the my problem: When I am trying to install the guest-os and the virtual machine starts, it doesn't recognize the DVD-drive, which points to the ISO-file, which contains Windows Server 2k12R2. I even renamed some files (according to this article: http://blogs.technet.com/b/jhoward/archive/2013/11/11/hyper-v-generation-2-virtual-machines-part-9.aspx), so it doesnt prompt anything and just starts the installation process.

Does anyone have any clue what i did wrong? If I missed needed information I will try to reply asap.

Regards
P.Cybert


Hyper-V Windows r2 Enabling Replication failed

$
0
0

Hi

I have to physical boxes in workgroup mode. I configured the certs (rootCa and machine with -eku 1.3.6.1.5.5.7.3.1,1.3.6.1.5.5.7.3.2). Then I copy the rootCa from each physical box to each other.

I open the 80/443 - Hyper-V Replica HTTP Listener and Hyper-V Replica HTTPs Listener firewall rules.

Then enable replication in each Hyper-v settings - selected HTTPS, the certicficate to be used and allow replication from any authenticated server.

When I try to eneable replication on a given VM, at the end of the wizard, when I click finish I get:

Hyper-v failed to enable replication.

Hyper-v failed to enable replication for virtual machine "vmname"; The connection with the server was terminated abnormally (0X00002EFE). () Virtual machine ID XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX)

Hyper-V failed to establish a connection with the replica server 'serverName' on port '443'. Error: The connection with the server was terminated abnormally (0X00002EFE)

Any thoughs how to solve this?

Than you.

How i can determinate how many cores would be necessary for my virtual servers

$
0
0

Hello friends

i have a question.  Exists a mechanism for determinate how many cores my virtual machine needs in an optimal way.  A formula? a counter? a microsoft sheet?

I have my virtual machines on HYPER - V 2012 CORE MODE.

Greetings

Aleds


Unable to add VHD to VM

$
0
0

I'm having an issue with a VHD that I'm trying to resolve. I was unable to start the VM, I removed the Virtual Disk from the VM and now when I try to add the VHD back in I get this error message.

[Window Title]
Settings

[Main Instruction]
Error applying Hard Drive changes

[Content]
Failed to modify device 'Virtual Hard Disk'.

Cannot get information for attachment 'C:\ClusterStorage\NAS02\Server3\Server3-C drivevhd.VHD'.

[Expanded Information]
'Server3' failed to modify device 'Virtual Hard Disk'. (Virtual machine ID 705B5C2A-9BDE-4209-A3FA-AB8D84B6DCDB)

Failed to open attachment 'C:\ClusterStorage\NAS02\Server3\Server3-C drivevhd.VHD'. Error: 'Incorrect function.'.

'Server3': Cannot get information for attachment 'C:\ClusterStorage\NAS02\Server3\Server3-C drivevhd.VHD'. (Virtual machine ID 705B5C2A-9BDE-4209-A3FA-AB8D84B6DCDB)

Failed to open attachment 'C:\ClusterStorage\NAS02\Server3\Server3-C drivevhd.VHD'. Error: 'Incorrect function.'.

[^] Hide details  [Close]


Vincent Sprague

Generation 2 VM boot from Media/DVD (not .iso)

$
0
0

So is it like that, that I cannot even boot Generation 2 from physical DVD media which is inserted in my Hyper-V host?

Powershell hyper-v module can't be installed (imported)

$
0
0

hi friends

Urgent Help needed

I have a windows 2008 R2 SP1 Enterprise edition which i have upgraded its Powershell 2.0 to PS 4.0 (by installing .net 4.5.1 & WMF 4.0).

Now i need to use Hyper-V module to manage my VMs. when i look at %windir%\system32\windowsPowershell\V1.0\Modules,  there is no "Hyper-v" module folder, so i tried both following tasks but none of them works:

1- I downloaded PSHyperv.zip from Codeplex& extracted its contents into"$PSHome\Modules" directory. but the folder is not listed when i run "Get-module -ListAvailable" & also "import-module Hyper-V" doesn't work. both commands fails (encounter errors)

2- I have another systems with windows 2012 R2 Datacenter * Windows 8.1 ultimate. i copied their "Hyper-V" folder from Modules Directory & paste them in my windows 2008 "$PSHome\Modules" separately.

This time in both Cases, When i run "Get-module -ListAvailable" system shows "Hyper-v" in the list of available module but again when i run "import-module Hyper-V", i encounter Error.

any help please

thanks in advanced

Snapshot

$
0
0

Dear all,

I have a hyper-v cluster with a number of VMs, recently I noticed a VM which had two snapshots and I deleted both however I did not see a merge process. The VM folder has one .vhd files and four .avhd files two of thes dates dates which correspond to the snapshots which were deleted and the other two have today's days however the avhd files with the most current time stamp is the one that is being referenced in hyper-v manager. How can I get this resolved and get the hyper-v server to use vhd file again?

Hyper-V Cluestered VDI or RDS

$
0
0

Hi All,

Can you help !!!

I have been tasked to setup a Virtualized environment, to replace a physical WORKGROUP with 20 computers, running windows Xp, in a medical center.

I have provided the details or the hardware purchased as well as the Licenses.

----------------------------------------------------------------------

2 x DELL Server 96GB RAM Windows Server 2012 R2 on each

30 x Dell Thin Clients

30 X Device CALs for RDS or Terminal Services

600GB X 12 SAN Storage

48 port switch

----------------------------------------------------------------------The idea is to have

1 . Domain Controller (AD/DNS/DHCP)

2. Hyper-V

3. 30 x Guest VMs or VDI (not sure which will work best or how to set it up, Pooled VM, Guest VMs?)

4. If one server operating as per above, fails, the secondary server, with the same configuration takes over, with minimum down time.

I have come to this forum to seek some guidance, as to how to go about setting this environment up, i have the time to invest and i am a Network Guy, and  have worked with servers, but in early 2000's

Any step-by-step setup or or video Tutorial would  be appreciated.

By the way, i was advised by a friend, that i can not have hyper-v and AD/DC on the same Server, i don't understand why, if any one can explain, that would be greatly appreciated.

Thankyou

Rahif


moving from Oracle VM

$
0
0

since day one, we're never satisfied with Oracle VM. frequent crashes of the VMs and blades (we also use Oracle blades) prompted us to start investing in Hyper-V and IBM blades.

the project hasn't started yet, still in the design phases hence i would like to solicit any advice in preparing for Hyper-V with SQL Server 2008/2012 and Windows Server 2012. i do have a Pillar SAN Storage (but I understand Windows can only use NAS?) i would like to have this project perform almost perfectly from the start.

appreciate any help.

Need Guidance - IPv6 on Guest VM's - Host Win Server 2012 R2

$
0
0

I am running windows server 2012 r2 x64 on my HOST server, I do have a real network with IPv4 configured manually running just fine and accessing the internet + 2x Virtual Network Adapter created by Hyper-V those are One External network adapter and One Internal Network adapter,

The first one is of course bounded with the physical adapter taking its IP address, and sharing the internet connectivity with the poor Internal adapter :)

Now I got 2 types of Guest VMs on my server, some are configured with an external Adapter and have their own unique Private IP Address, Gateway, subnet and DNS1 & DNS2...

And some VMs on my server are configured with the internal network adapter having a local IP like 192.168.1.xx, and they too have internet access however my clients only access those VM's using teamviewer...

I am trying to benefit from the fact that IPv6 are free, and possibly retire the Internal network adapter for good and move SOME of my clients to IPv6 while the rest remain hosted with IPv4 (if this scenario is doable)

So here is what I did, I requested my DC on which the HOST server is hosted with a range of IPv6, and they provided that, I tried to configure a single VM connected to the External network adapter with the IPv6 details, it was able to ping and was even capable of reaching google.com (since the DNS1/2 belong to google free DNS service), I was even able to do RDP connection to that VM from the host through it's IPv6 address ! But am not able to access any other websites neither through Explorer nor Opera !

I keep getting the error "This page can't be displayed !" as in the following screenshot:

http://grabilla.com/04a1a-6f36d833-03ad-475c-bc35-232923641f97.png

Can someone help me out with this please ? Id really like to offer IPv6 to my clients free of charge and ditch the Internal network adapter, since getting a bulk of IPs is something id rather avoid to reduce cost besides its getting so damn difficult justifying the use of those IP's to my DC to obtain them !...

VHDX location doesn't support sharing

$
0
0

Hello everyone,

I am getting the error: The storage where the virtual hard disk is located does not support virtual hard disk sharing.
This error is shown when I edit a virtual machine in HyperV and edit a hard disk that I created to be configured as shared storage.

The reason why I want this is because I want the storage to be used in 2 vm's as a clustered disk.
I read some articles but I can't find the exact reason so thats why I ask it overhere.

My setup:
- Physical Server
Raid setup:
 > 1 raid 1 with 2 ssd drives <-- used for the hyperv 2012 R2 core hypervisor
 > 1 raid 1 with 2 ssd drives
 > 1 raid 5 with 4 hdd drives

I added the raid5 and the other raid 1 to a storage pool and selected it as storage tiering in the virtual disk, so far so good.

I installed 2 Windows server 2012 R2 ( with failover clustering and fileshare roles, they are in the same domain ) on the storage tiering volume and the VHDX files are on that volume aswell. Now I added another VHDX drive of 10GB (it is just a lab) to 1 of the windows server 2012 r2 and tried to share the drive. However, the above error is thrown.

Can someone help me out on this one and explain to me what I am doing wrong?

PS the machines windows 2k12 r2 are gen2 machines so using a VHD won't help as it is not supported on gen2. So it is not an alternative.


Andre


Enable replication failed - Hyper-V is not in a state to accept replication on the Replica server for virtual machine 'Servername'

$
0
0

Hello,

I have two Windows 2012 Servers with Hyper-V installed. I have previously used replication for one of the virtual machines but had to turn it off momentarily for making some disk adjustments. Now I am trying to enable replication again, but is met with the error:

Enabling replcation failed

Hyper-V failed to enable replication.

Hyper-V is not in a state to accept replication on the replica server for virtual machine 'Servername'

Under the details an Virtual machine ID is listed, and using this ID I can find the replication files from the previous replication (under \Virtual Hard Disks\Hyper-V Replica\Virtual hard disks\<ID>\ and under \Virtual Hard Disks\Hyper-V Replica\Virtual Machines\<ID>. 

Has anyone run into this before?
Maybe I should get rid of the old replica files and try to replicate anew?
Or perhaps an good old reboot might do the trick :P

Thankful for any insight.

PROBLEM CONNECTING TO HYPER-V remotely using server-manager

$
0
0

Hi, I am trying to connect to ws2012 hyper-v machine from win7 using the server-manager to manage hyper-v. I have no access. First step I tried was installed from the control panel the remote admin tool->hyper-v the ones comes with win7 but it has connection failure.

I found following article in which it says,

http://technet.microsoft.com/en-us/library/jj647785.aspx

"lthough Server Manager was available in Windows Server 2008 R2 and Windows Server 2008, Server Manager was completely redesigned for Windows Server 2012 to support remote, multiserver management, and to help increase the number of servers an administrator can manage. You must use the version of Server Manager in Windows Server 2012 R2 or Windows Server 2012 or that is available as part of the Remote Server Administration Tools. Older versions of Server Manager will not work. To download these tools, see :

So I downloaded the Windows 8 version of this tool and attempted to install but it is certainly not installing. So here is the dead-end I am at. When googline there are lot of solutions availabie but each of item are different therefore I feel no wasting time trying each of the suggestion blindly. Question here is is it possible at all to manage hyper-v 2012 with win7 at all?

Virtual machine Size issue

$
0
0

Hello,

i need to update/reseed the exchange database. if i reseed/update the database, the virtual machine size will be increase?

i have limited physical HDD size. Please suggest.

Extending existing replica

$
0
0

Hi, I'm looking for advice on adding an extended replica to an existing replica setup, here's the existing setup.

2 physical servers at 1 site each running Server 2012 Std with Hyper-V as the only role. 1 physical server running Server 2012 R2 with Hyper-V in a separate datacentre several hundred miles away. Each of the physical non-R2 servers hosts an application server that is replicated to the R2 server.

What I need to do now is upgrade the 2 non-R2 servers to R2 so that I can enable extended replicas, but I need to have each app server have a local replica then the extended replica on the remote server.  However what I really want to avoid is having to re-replicate both entire virtual servers.

So my question is: is it possible to do this using the exiting replicas on the remote server to seed the new extended replicas?

Additionally, is it a bad idea/possible to upgrade the non-R2 servers to R2 in place, or would it be better to wipe and start clean?  this isn't that much of an issue as i had planned on doing it clean anyway.

Thanks

Iain 


VM file list

$
0
0

Hi all,

I try to build a list of all files  Hyper-V VMs in a cluster consists of.
The begining is relativ easy:
------
$nodes = Get-ClusterNode

$ActiveDiskFiles = Foreach($node in $nodes) 

    $VMs=Get-VM -ComputerName $node.name 
    foreach($VM in $VMs ) 
    { 
        Get-VHD -ComputerName $node.Name -VMId $VM.VMId | Select-Object path 
    }

}
foreach ($disks in $ActiveDiskFiles)
{Write-Host $disks}
----------

But how can I get the parent checkpoint-files and or VHDs with filename and path?

Hyper-V is Version 2012 R2 and I do not have a SC-VMM

Many thanks in advance.


Guido



Print Server is responding Very Slow in Hyper V

$
0
0

There have been lot of techincal pages for Slowness of Hyper-V guest VM, RDP and also Print Server. But our situation is different, although the print spooling is working fine from Hyper-V VM, the installation of driver is Very Slow, it sometimes cost us 30minutes for one system. Even if when we are checking the property of any one printer from Print Management window it cost us 5 minute. We are using Hyper V 2012R2.

We tried by changing the guest VMQ setting in Hyper V, now we have assigned didicated Host NIC to VM, but no effect. Also I have upgraded the Broadcom drivers to 16.6.0.4 of the Host system.

Need help to resolve this issue, as we will using this Print Server for re-installtion of driver for quiet a big user base. The Print Server is running in Windows Server 2012 R2.


MPIO, iSCSIPrt events (20, 7, 34), Disk Event 32 and relation to FUA with HyperV guests and domain controller.....

$
0
0

After several days of testing, I have come to the conclusion that there is a direct connection between the MPIO and iSCSIPrt event messages that I have been seeing on my HyperV Server 2012 R2 when the host starts up a VM that is running domain services.

I understand that in this scenario, (as best as I can explain it) that HyperV in conjunction with the VM AD DS services will attempt to disable write cache flushing on the controller.  I believe this article tells the tale:http://support.microsoft.com/kb/285395

as does this: http://support.microsoft.com/kb/2801713

However, since in this setup the VM's VHDX file is presented to the HyperV host via iSCSI using MPIO, neither the host nor the VM have the ability to disable this capability.  It is completely controlled on the iSCSI Target server (which does in fact have write caching enabled, but it doesn't matter... or it shouldn't matter in my opinion). 

It all starts on the HyperV host with Disk Event 32 (a write cache warning) during boot.  During the boot phase of the VM, and while the host and VM attempt to disable cache, MPIO will loose the path the iSCSI Target and MPIO will attempt to recover it.  The result is a slew of warnings and critical events logged in HyperV.  iSCSIPrt will throw these events (20, 7, 34...).  Event 7 being the most ugly and repetitive.  MPIO has it's own, and of course the initial warning from disk source (event 32).

I have noticed that some tweaking can be make to prevent the path loss in MPIO by adjusting the PDORemovePeriod, and enabling a CustomPathRecoveryTime.  But this will only stop the events logged by MPIO in the path loss.  The iSCSIPrt will continue to post events 20, 7, and 34, while MPIO will then (with adjusted timeouts), just acknowledge all of this temporary loss and say it was able to recover the path.

The only way I have been able to mitigate the iSCSIPrt events is by actually "enabling" write cache in the VM guest (which is in reality disabling flushing).  No longer will iSCSIPrt spew a dozen Event 7 critical messages and the others... MPIO, totally silent.

I still get the event 1539 in the VM guest (running directory services) which acknowledges and warns of not being able to disable write cache... but it couldn't do it before anyway!

So, I guess my question really is... what is the true risk here if I am not able to disable write cache on the hyperv host and VM in this setup.

Based on that article linked above:

 
"However, Active Directory requests all database updates be completed without caching, which the Hyper-V storage subsystem ensures in order to prevent data loss from a power failure or other unexpected reboot."

since that isn't possible when using a SAN that presents the VMs to HyperV... am I correct in saying, the risk is really on my shoulders then?  hasn't it always been though in a way to make sure things are shutdown appropriately during a power outage.

How can I mitigate this better?  Is there a tool I should be using between these two systems to coordinate the VM shutdowns, and eventually the host shutdowns?  or am I basically needing to do some powershell scripts between the hosts?

Hyper-V cluster with 2 nodes ( IBM Servers ) and 1 storage (IBM V3700) with FC how to start ??

$
0
0

I have 2 IBM servers + 1 storage with FC and i have 2 licences of Windows 2012 R2 std oem for servers.

I need to configure Hyper-v cluster and VM's with that staff.

how to start ? do i need install a hyper-v server 2012 hypervisor ( core ) or is it easier and also ok to install server 2012 standard and role of hyper-v and failover cluster ? what is better ?

and how to connect storage with the cluster ?? :).

Dynamic memory allocation failure

$
0
0

Dear reader,

We sometimes have a problem where our windows 2012 r2 RDS virtual servers, that reside on windows 2012r2 hyper-v hosts, loose their dynamic memory and only have their startup memory left to work with. Users start complaining that things are very slow etc.

If I check several screens (RDS Broker load balancing, hyper-v manager, cluster manager and the vm's task manager) it's clear that the vm only has its startup memory allocated. I'm not sure if this happens instantly or immidiatly after the nightly reboot. To resolve the problem we have to call all users on the vm where it happens and ask them to logoff (if they are even able to), and then we reboot the machine.

I have checked the logs from the machine where the VM resides on and the logs from the vm itself. But I cannot find anything. We also have alot of windows 2008r2 vm's with dynamivc memory, but none of those have ever had this problem.

Searched the internet, but so far it seems we are only.

Can anyone give me a lead to troubleshoot this?

Best regards,

Ruud Boersma


MCITP Enterprise administrator

Viewing all 19461 articles
Browse latest View live




Latest Images

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