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

Clean Way To Prevent Signature Collision Of Mounting VHDX In Parallel PowerShell Scripting

$
0
0

I have multiple Virtual Machines I am to build from a Sysprepped VHDX. (All this is done automatically via Powershell)

For each of these Virtual Machines, I copy this VHDX and create a new one unique to the Virtual Machine. However, I wish to mount each one (in parallel) and make modifications before attaching it to the virtual machine and booting the first time. 

The issue comes when it is time to mount the VHDX on the Physical Host, and these two processes attempt to mount at the same time. This causes a Signature Collision. I am looking for a clean - emphasis on clean - way to prevent signature collision. I have tried the following.

Using the Get-Drive cmdlet and determining if one exist with a FriendlyName of "Microsoft Virtual Disk" before mounting, to detect if another VHDX is already mounted and waiting til it dismounts - the latency in this flag being available causes this method to fail and still the two VHDXs attempt to mount and have signature collision, breaking the script associated with that VHDX.

I have tried using a Flag file, i.e., a text file to denote if a VHD is mounted and do a similar check - however, this relies on the file system and seems too clumsy for me. 

I have considered Environment variables, but am afraid this is also too convoluted for such a simple task.

Any recommendations? 


Hyper-v 2012 R2 cluster over SMB 3.0

$
0
0

hello,

i have a setup with 3 servers: 2 for hyper-v 2012 R2 cluster and 1 with Windows 2012 R2 serving as a storage server. Each server has a single NIC 10gb NIC. the hyper-v servers have 128 Gb of RAM and single Xeon E5-2650 v2 processor. The storage server has :

- Single Intel Xeon E5-2620 v2

- 48 GB of RAM

- 12 x 4 To SAS2 disks

- no hardware raid

I setup my storage server using storage spaces

- 1 storage pool

- 1 Virtual Disk of 4 To with parity and thin provisionning

I am using file shares as storage for the hyper-v's.

I have deployed 10 VMs (DC, Exchange, sql, remote desktop, 3 linux servers ...)

However i am experiencing really poor disk performance, specially when copying files (i did not go with a proper IO testing tool). If a copy an ISO of 4 GB Inside a VM from one location to another i get an average speed of 20 MB/s.

Unfortunatly i can't add any NIC to my servers.

If i shut down all my VM's except one and do the copy test i get 130MB/s.

Any idea about what i am doing wrong ?

Thx in advance.

RZ

Hyper-V: new CPU or memory size replicates on replica VM?

$
0
0

I have a VM with one CPU and 1 GB of memory. As far as I know replication deals with VHD files so far.

Is that possible to change CPU and/or memory (increasing or decreasing) and replicate this new "hardware"? Same question for networking: can I add a new network component in a VM and replicate that to replica VM?

Any thoughts on this issue is very welcome!

Thanks.

How we configure Point to Site VPn for two different Virtual Networks (Vnet1 and Vnet2)

$
0
0

HI

Can you please help me out here this below scenario

Scenario :

I have created two Point to site VPN’s and appended Vnet1 and Vnet 2 to VPN-1 ,Vnet2  & Vnet3 to VPN2.  (note : Vnet1 and Vnet2 are Site to Site connected ).

 

 Now I am facing a challenge if anyone connected through VPN-1 should SSH the VM’s (which are located under Vnet1 and Vnet2 Virtual Networks)  but here we cannot SSH the VM which is located under Vnet2 , only we can SSH to Vm’s under Vnet1 only .

 We can able to SSH the VM under Vnet2  from Vnet1 VM ,  Since Vnet1-Vnet2 are Connected . The same problem we seeing in VPN-2  as well .    

 

If this is the case then we need three Point to site VPN’s Instead of Two Vpn’s right  ? , Please suggest me what is the best solution here or correct me if I did any mistake in configurations.

Thanks

Santosh

VERY High Pages/s on Hyper-V

$
0
0

I have recently started working for a new organisation.

The have a Hyper-V server (HP ProLiant DL580 G7, 4x10 core CPUs, 128 GB RAM) running few guest servers that do very little, but one of them is the primary SCCM 2012 server (32GB allocated), and performance is very poor.

We recently added WSUS to this server, and the performance is noticeably worse.

Performance monitor has just shown me pages/s peaking at 16,500, with an average of 250!

This is since we doubled the RAM last night and set SQL to use between 16-24GB ram.

Can anyone confirm if the pages/s is definitely indicative of insufficient RAM, as many articles i have read state?

There is sufficient capacity on the Hyper-V to double the RAM on the SCCM guest, but that means downtime and changes submitting.

Available memory is almost static, holding at above 12 gb free, no correlation with the pages/s spikes,

CPU is 40% average, min 16% min, 76% max - This is a little high i would say, and as the host has 40 cores, and this guest only 6, I am looking at upping them, but again this requires planned downtime.

The guest is likely to be quite loaded as it is a distribution point for SCCM. I would appreciate advice on which network counters should be monitored.

What else can i check/change?



Hyper-V Server 2008 R2 SP1 - Language packs?

$
0
0
I want to ask if it's possible to use install language packs for Hyper-V? I'd love to see the user interface in Hungarian. There are language packs for the Hyper-V module for Windows Server 2008 (https://support.microsoft.com/kb/951636), and for Windows Server 2008 R2 (http://www.microsoft.com/en-us/download/details.aspx?id=1246) itself - is it maybe possible to install either of those to make the standalone Hyper-V Server 2008 multilingual?

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


Migrating vm to a whole different network

$
0
0

Hello everyone,

Just for fun and testing purposes we would like to know if the following scenario would be possbile.
1- hyperv server ( 2012 R2 ) with a couple of vm's  located in city A
2- HyperV server (2012 R2) with a couple of vm's lcoated in city B
3- The hyperv servers don't know anything about eachother
4- The only line between the servers is the internet

Is it possible to migrate a vm ( over the slow internet ) to another server and if so, how do we do it?


Andre


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 !...

Hyper V Cannot be installed as Hypervisor is already running inside windows 8.1 ( which is a VM inside a windows 8 hyper v manager)

$
0
0

Hi, 

Although it is not concerned with windows server. Please help with this issue.

I Installed windows 8.1 OS inside Windows 8 using hyper V manager.

Then i installed visual studio 2013 update and i tried to run windows phone 8.1 emulator. 

It said, one of the hyper v components is not working correctly. So, i disabled and enabled hyper v features using "Turn of windows features on or off" settings.

But this time "Hyper V platform feature was installed"

When i hover my mouse over that it said "Hyper V cannot be installed: hypervisor is already running"

Please help me.

Uninstall Hyper-V Integration Services

$
0
0

Hello, I have a question about Hyper-V integration services.  I cannot figure out how to uninstall them in a Windows 2008 guest (it is easy in Windows Server 2003, its in Add/Remove Programs).  However, it does not appear in the uninstall Programs list (via Control Panel).  I have read online to simply run setup.exe /uninstall from the Integration Services setup files, but that isn't working either (referenced at: http://capitalhead.com/articles/uninstall-integration-services-from-hyper-v-windows-guest-virtual-machine.aspx).  Does anyone know how to uninstall these services?  (I have confirmed that the tools are indeed installed, all the features work and the services are listed in services.msc).  Thanks!

We couldn't verify the product key. Please check your installation media. (Hyper-V Virtual Machine)

$
0
0

Hi there, 

I have been banging my head on an issue for the last couple of hours hoping someone can point me in the right direction. I have a Windows Server Standard 2012 R2 Media that we purchased from an online vendor. The software came with a single product key and as I understand Windows Server 2012 Standard R2 includes 2 Virtual Machine installations. When I installed the media on the physical server I was able to activate Windows without any problems at all. I installed the Hyper-V role on the same host server and when I tried to perform a virtualized installation of Windows Server 2012 Standard r2 on the machine I received the error "We couldn't verify the product key. Please check your installation media." 

I do not have any other keys other than what came with the package. As I understand I should be able to use the same Product Key included within the Virtual Machines if they are the same OS. If any one can provide any tips or experience, I appreciate the assistance greatly. 

[DCR] Deleting a VM with snapshots

$
0
0

At this moment, if you delete a VM with snapshots it merges those snapshots before the vhd(x) is completely removed. Could this be changed? Why merge if we are to delete it later on?

https://social.technet.microsoft.com/Forums/en-US/399eb131-05c9-4377-b8c2-745c2c4cc3c8/delete-vm-snapshots-without-merging?forum=winserverhyperv states that this is impossible, but I don't agree - nothing is impossible. It might be impartible, but I have a hard time seeing that as well.

I were unable to find Hyper-V on connect, so I posted here in hope that someone (staff/mvp) will forward this to the product team for future product versions. 


Tim Nilimaa-Svärd | Blog: http://infoworks.tv | Twitter: @timnilimaa

screen shot in windows server 2012

$
0
0
My OS is Windows Server 2012 r2. How can I do the screen shot ?

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.


Secure erase on storage LiveMigration

$
0
0
We provide multi-tenant VM via SCVMM managed Hyper-V clusters. We have a requirement to erase all customer data not in use. For a VHD that is "deprovisioned", we can use SysInternals sDelete to erase the VHD. However, I need to identify a way to erase the storage after a storage LiveMigration. Now, the VHD gets deleted without any way to hook in and sDelete first. Has anyone encountered this requirement and solved it?

Hyper-v Physical SAN 2 Node network: Best practis

$
0
0

Hi, I have been reading alot of articles and guides on how to set up this correct! all of the guides are driffrent.

in my system:
2 X server, they have 4 nics Gigabit each and 2 FC card each.

1X SAN , 2 FC controller, with 2 connections points each ( 2 for each server)

Whats the best practis for setting this up. The FB wil be connected directly to the servers.

nic team 2 of the gigabit nics to live migratin and 2 For externaly and the rest over FB?

Hyper-v import machine not work.

$
0
0

Hello all,

I have one hyper-v virtual machine with two checkpoint. The host machine is windows server 2012 STD and the virtual machine is windows server 2008 R2. The virtual machine size is around 480 GB. I have shurtdown the VM machine and copy to the another server. then i have import that VM machine to new physical server. but the VM machine run with previous checkpoint not run with latest checkpoint. As a result VM machine trust relationship error show. 

I don't know why VM machine run with previous checkpoint not with latest checkpoint. one more think VM machine copy time arround 10 to 11 hours. also when the vm machine copy completed to another server, the modified date also change and previous checkpoint avhd file update with latest modified date. i have also copy separately but still same problem.

Please suggest.

Thanks,

Parvez

SharePoint Products Configuration Wizard - Configuration Failed at step 10 of 10

$
0
0

A little background information.  I am simply trying to create a SharePoint Server on my laptop.  I utilized the Microsoft Hyper-V Manager to create a Virtual Machine of which I have Windows Server 2012 R2 running.  I have installed the SharePoint prerequisites via some power shell scripts that all seemed to have worked and I believe i even updated the server with all updates to date.  <o:p></o:p>

<o:p> </o:p>

However, when I run the SharePoint Products Configuration i get a failure at step 10 of 10.  I am a SharePoint developer and power user not an administrator for Windows Server.  Any assistance would be greatly appreciated.    <o:p></o:p>

<o:p> </o:p>

<o:p> </o:p>

SharePoint Products Configuration Wizard<o:p></o:p>

Configuration Failed<o:p></o:p>



<o:p></o:p>

One or more configuration settings failed.  Completed configuration settings will not be rolled back.  Resolve the problem and run this configuration wizard again.  The following contatins detailed information about the failure:<o:p></o:p>

Failed to create sample data.<o:p></o:p>

<o:p> </o:p>

An exception of the type System.ServiceModel.ServerTooBusyException was thrown.  Additional exception information:  The HTTP service located at<o:p></o:p>

http://localhost:32843/SecurityTokenServiceApplication/securitytoken.svc is unavailable.  This could be because the service is to busy or because no endpoint was found listening at the specified address.  Please ensure that the address is correct and try accessing the service again later.<o:p></o:p>

<o:p> </o:p>

 Click Finish to close this wizard.<o:p></o:p>


Larry Stupka

Windows 7 Hyper V Guest Network Connectivity

$
0
0

Hello (I posted this question over in the Microsoft VM Converter forum, not sure if that's the right place)

I am using Hyper-V Manager in Server 2012 R2 and have created guest vm's that are Windows 8 and Windows 10.  All work fine and can connect to the network and have internet access (this is a dev environment).  However, when I create a Windows 7 guest, it does not pickup an IP from DHCP and I cannot get it to connect at all.  Ive tried the following:

1.  Installed Integration Services setup.

2.  Used both legacy and non legacy network adapters.

3.  Uninstalled/reinstalled HyperV network adapter in guest OS

4.  Disabled IPv6 in guest OS.

5.  Set static IP address in guest OS and reserved in DNS.

6.  Manually assigned DNS server in guest OS.

I then tried to create a guest Win7 OS on my Windows 8.1 host and experience the same issue, no connectivity.  In both instances I get a 169.254.x.x. address.  Is this some issue with Win7 and the latest Hyper-V version?  As I mentioned Windows 8, 8.1, and 10 work just fine. 

Thanks.

Viewing all 19461 articles
Browse latest View live




Latest Images