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

Hyper-V Storage Live Migration: Copy instead of move?

$
0
0
Have a 2012 R2 Hyper-V Cluster with a HP MSA 2000 Storage. No storage pools or storage spaces, just 4 LUN's with NTFS Volumes that are all converted to CSV's.

Have to perform VM migration from VM's that resides on a CSV with an underlying RAID 5 volume to another CSV with an underlying RAID 50 volume. Could perform the operation without any error from the failover cluster manager (move - virtual machine storge) on the VM. 

The problem is that when I check C:\ClusterStorage\Volume1 (the old place of the VM) and C:\ClusterStorage\Volume2 (the new place of the VM), all VM files are still in both locations! Apparently, a "Copy" operation instead of a "move" operation was performed.

- Why are the source files not have been deleted after the successful storage migration?

- Is it safe to manually delete the VM files in C:\ClusterStorage\Volume1?

Thank you in advance for any help.

Franz



hyper-v replica

$
0
0

Hello All,

We are planning to configure Hyper v replica in windows 2012-r2 so i need some help on the same 

I have 8 Hyper-visors and 16 vms and each Host has 2 Vm's which has sql sap etc... software packages.


Now I want to configure my DR site for VM replication and i have below doubts on the same

1) computer name (will it be same as primary site)

2) what configuration do i need like network , memory OS etc..

3)  Do i need to shutdown o/s ?

4) will my entire vm including storage will get replicate in to the same ??

 

please help me asap on this issue as we have to implement in this weekend

Process for Moving Hyper-V Folder?

$
0
0

I had a need to move the folder that I was storing my VMs on a replication server.  For example from D:\Hyper-V to E:\Hyper-V.  Needless to say, things did not go well and I ended up having to turn off, the turn on replication for each VM and do an initial copy even though the "old" VMDKs where in the replication folder.

Here's what I did, all from the replication server;

1) Paused Replication for each VM

2) Moved the folder

3) Under Hyper-V Settings on the replication server, change the VM and VM Disk folder path

4) Changed the virtual page file settings and a few other settings pointing to the old folder.

5) Resume replication

After the resume, there where errors in the log file about not being able to find the disks.  I rebooted the host machine after which the Hyper-V manager said it couldn't find the VMs at all and gave me little choice but to delete them.  The VMs on the replication server had never been failed over, testing or otherwise.

Suggestions?

TIA

convert scvmm 2012 physical to virtual

$
0
0

 Hello All,

 Can I convert my scvmm 2012 physical machine to virtual in windows 2012 hyper v r2 environment ??

  any article on the same please reply

Hyper-V: after convert from physical to virtual not start

$
0
0

Hi

i'm converted windows server 2008 R2 standard to virtual after this created new virtual machine and everything it is ok
the problem
The virtual machine no start since i started still now it is showing (Status:Running )

specification

Server IBM x3650 m4,RAM 32GB,Processor Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 2001 Mhz, 6 Core(s), 12 Logical Processor(s)
Include ( Microsoft SQL Server 2008 R2 -  oracle sql developer version 2.1.1.64 )

Hope to help me to solve this problem 

Migrate VM From hyper v 2012 to Hyper v 2012 R2

$
0
0

Hi

we want to upgrade hyper V 2012 Failover Cluster to Hyper v 2012 R2 Fail over Cluster , we have some cluster VMs running in Hyper v Host 2012 Cluster , wnat to how to migrate this , is there any difference between migration of simple vm and Cluster VMs.. or it is same ..

RAID reconfiguration and change to GPT

$
0
0

Hi I have 2x HP DL 380 G6 Servers with Windows 2008 R2 Datacenter and Windows server 2012 R2 datacenter which are hyper V servers. Until now everything was fitting 2TB RAID 5 . Recently I added new HDDs and nothing above 2TB is recognized. I assume that it is because at the beginning I formatted drive as MBR. Now I assume that I need to convert to GPT. 

The question is what would you do (or even better what you did and your experience in that manner) 

Online conversion MBR to GPT with some software (if you have any proposal I would be thankful)

Offline conversion - to delete and recreate raid format as GPT .......

SCVMM Unable to assign the subnet because it overlaps an existing one

$
0
0

Hello,

We are using SCVMM to manage an Hyper-V cluster (2012 R2).

When we tried to create a new VLAN we got the following error:


Error (13638)
Unable to assign the subnet 172.22.172.128/25 because it overlaps with an existing subnet.

Recommended Action
Specify a non-overlapping subnet, and then try the operation again.

After revising the rest of subnets we haven't found any overlaps.

We have another VLAN defined with 172.22.172.0/25

I've checked with a CIDR calculator and the IP Range is not overlapped.

How can we define both VLANs with their corresponding Subnets?

Regards


New Hyper-V machine will not install guest OS from ISO image. Your PC ran into a problem.....

$
0
0

Thanks for any help in advance....

Here's the scenario.  I have a new Dell PE R630.  2012 Standard R2, fresh install.  All drivers and updates are installed.  When booting a newly created VM from an ISO of 2012 R2 Standard, attempting to install the OS on the VM, I get the blue screen of "Your PC has run into a problem" screen.  It just loops over and over again.  

I've tried Generation 1 VM and Generation 2 VM.  I've disabled Secure Boot in "Bios" on the Generation 2 VM.  I've tried different ISO files.  I've tried disabling all integration services.  I've tried just about every single settings change there is to try with the same result.  

In the Bios of the hardware R630, I checked that Virtualization is enabled.  I looked for any other settings that could be off, but don't see anything out of the ordinary.  

I don't know what else to try. Thanks to anyone with input.

-Josh

Lan properties inactive.

$
0
0
hello, my server has  a problem, LAN properties tab is inactive i have tried all trouble shootings i have failed, any help

Hyper-V Replication Error 0x8009200b Event 29152

$
0
0

Hello,

I'm trying to configure replication on my Hyper-Vs. When selecting the certificate, it states that it could not validate the certificate. It states the following "Cannot find the certificate and private key for decryption. (0x8009200B)" I've tried Googling the error and event ID (29152), but to no avail. Any assistance will be appreciated.

Regards

Running commands on VMs remotely

$
0
0

Hi Everyone

New to all of this so please bear with me!

Starting a new project and looking to compare between the use of Hyper V and ESXi.  

The project is to grab vms regardless of state, turn them on and execute scripts stored on a vm drive. The script execution has to be performed / issued by a user. C# is the main underlying code but we can potentially put in references to use powershell scripts / whatever else if we can achieve this using hyper v.

I know from doing a bit of reading on ESXi that we can do this using a number of ways - vmrun to start, stop and run commands on the actual vm itself. using other vmware libraries and APIs.

I have read that powershell commands include starting vms, taking snapshots, shutting down vms but I was wondering if we can get into the actual VM remotely / somehow in-order to, for example, run a script which is stored on that VMs C drive.

Has anyone tried this / is it do-able? -  I have had no luck finding any examples of what we need. 

Kind Regards,

Ashley

Compact differencing VHD or VHDX

$
0
0

Hi,

Is it possible to compact a differencing disk similar to how a dynamically expanding VHD can be compacted?

There's this technet article for virtual server, which says it doesn't work for differencing disks: "If you want to compact a differencing virtual hard disk or an undo disk, you must merge the changes to the parent disk and then compact the parent disk, if it is a dynamically expanding virtual hard disk"

However, this article about a C++ API clearly says it's possible: "Compaction can be run only on a virtual disk that is dynamically expandable or differencing."

I've tried to do it with the powershell cmdlet Optimize-VHD. It (kind of) implies that differencing VHDs work too: "Optimizes the allocation of space usedby virtual hard disk files, except for fixed virtual hard disks."

The results from my tests are strange. It works somehow, but definitely not how I expected it to work. I did the following:

First, create a new dynamic VHD:

NEW-VHD -Dynamic C:\VHD\BaseDrive.vhd -SizeBytes 3GB

Mount it:

Mount-VHD -path .\BaseDrive.vhd

Open Disk Management. It prompts for initializing the mounted drive.
Confirm (MBR). Format as NTFS and Assign Drive Letter E.

Write a file to the disk: test.zip: 296 MB

Calls SDelete to overwrite empty blocks with zeros.
sdelete.exe -z E:

Dismount-VHD -path .\BaseDrive.vhd

Create a differencing VHD and mount it:

New-VHD -Differencing -Path .\DiffDisk.VHD -ParentPath .\BAseDrive.VHD
Mount-VHD -path .\DiffDisk.VHD

Copy some files to E:. The file size of DiffDisk.VHD increases to 567 MB. Now delete all files you just added and call sdelete again with the same parameters. The file size did not change (still 567 MB).

Now unmount and call Optimize-VHD

Dismount-VHD -path .\DiffDisk.vhd
Optimize-VHD -path .\DiffDisk.VHD -Mode Full

The expected result would be a file size close to 0 for DiffDisk.VHD. However, it's now 22 MB. Mounting it still works correctly, but I don't understand why it's still 22 MB. In this case, the improvement is still quite good, but it's just a test case and in the real world case, there's no improvement, unfortunately (more like the opposite). Somehow sdelete even increases the size from about 1.5 GB to 6 GB for a 80 GB VHD and then Optimize-VHD reduces it by several hundred MB again to 5.8... or something like that.

My understanding is that sdelete should overwrite all empty blocks on the disk with zero, including those where the deleted files were stored. Optimize-VHD should be able to completely remove all these blocks. I have no idea where these 22 MB come from.

Inputs, explanations or solutions are very welcome!



Shrink VHD

$
0
0

I'd like some feedback for the situation I have found that I need to fix please.

I inherited a 4 year old system setup by someone who never installed Hyper-v before. The host is 08 r2 and was setup with fixed size VHD's running SBS 2011 and a Data server taking all the space on the drives so there is no room for VSS to run and the O/S partition is set to 50GB. The host is under powered and I have very little storage - nill! The VHD's do have room to be reduced by a significant amount which would then allow the VSS to run and then could back up the host properly. This is a production system so I don't have the time to take it down for hours

What are my options?


Thanks!


Storage Enclosure on non-Domain Joined Server

$
0
0
Hyper-V 2012 R2. Is it possible to use a storage enclosure on a non-domain joined server for hyper-v smb storage? We need to place some VM machines and disks on the stroage enclosure and it appears as if you can not do that unless the server is joined to the domain. Can someone confirm?

Mouse not captured in Hyper-V on guest running Windows Server 2012

$
0
0

I have installed Windows Server 2012 R2 as a Hyper-V guest and the mouse will not capture when I open the remote window.

I have other guest OS running Windows 7, and they are all working.

With the Windows Server 2012 R2 guest, there are a number of unknown devices in device manager.

I have tried to run the integration services (IS) install, but it will not run as it thinks it is already installed.

I tried to uninstall IS using "Setup.exe /uninstall", but I get the same message saying it is already installed.

Hoping someone will have some suggestions for this.

Advice about VDI performance

$
0
0

Hi,

Apologies in advance is this topic has already been discussed. I was just after some pointers/suggestions about troubleshooting general poor performance of Windows 8.1 Enterprise VDIs, by general I mean the display is quite grainy and YouTube playback is terrible.

I have just started work as a Network Tech, and my start coincides with a large VDI project being implemented over the next couple of years and it's crunch time on picking the Hypervisor, ESXi or Hyper-V, I'm all in favour of Hyper-V, from the white papers I've read and videos I've watched I think it will support everything we want to do.

They'd already trialled ESXi and we're now trialling Hyper-V, Monday we have to advise those that sign the cheques whether we spend a lot of money on ESXi, or do we go with Hyper-V.

Thursday/Friday we tested Hyper-V VDIs in a small lab, the server is a Dell R720, no native GPU, 60GB RAM, we're using Server 2012 R2 with GUI, we created 4 Windows 8.1 Enterprise VDIs to test, initially login times we're ridiculously slow (over 6 minutes) but we got that down to an average of 26 seconds, but the desktop is really grainy and YouTube playback is terrible.

Can someone give me some ideas of where to start looking at what could be the problem?, most of my experience lies with Cisco hardware, I checked DirectX Diagnostic tool while using a VDI, DirectDraw Acceleration and AGP Texture Acceleration are disabled and Direct3D Acceleration is enabled.

I know that the server has no GPU but I thought that the server only requires a GPU if the VDIs are going to be using graphics intense programs such as CAD, which they may eventually, but at the moment I just want to get a VDI performing close to how its physical counterpart does.

I know it's a tall order offering advice on something you can't look at yourselves but if you could just give me a few pointers on where to start looking it would be great.

Thanks in advance

Jon  

Hyper-V Role and RRAS/NAT do not mix

$
0
0

All,

I have a little development server (in my basement at home) that I primarily use to acclimate myself to software and server strategies for the office.  It runs Windows Server with the Hyper-V Role, and then I have an Exchange VM, and a File Server VM.

My internet Router died the other day; and I needed a quick router.  So I installed Remote Access on the Hyper-V host; and configured a NAT Router.  While it worked; everytime I would access my Exchange VM OWA, and try to do anything; it would cause the server to unexpectedly.  No EventLogs, No HardwareLogs, not explainable answers anywhere.

I tried modifying a lot of things; and what finally worked today; was to remove the Remote Access Role from the Hyper-V host; and install that Role in a Guest VM.

Food for thought! Hyper-V Host and RRAS do not work well together!!  Not that there is likely anyone out there that will try this; and I'm sure the security folks will clobber me about running my Hyper-V host as an Edge Firewall.

But, if you want to see it happen, I think the only hardware related thing you might need to know is that it is a Dell T310 with Broadcom NIC's.


Technology Administrator Erie County (Career and) Technical School.

Replication 2012 R2 to 20012 R1

$
0
0

I have 3 2012 R1 servers and have just purchased a 2012 R2 server. When I try to replicate a VM from the 2012 R2 to a 2012 R1 server it tells me that I can't. Anyone got any suggestions for the best way forward. I have Exchange on the R1 servers plus other very important apps and servers. - Thanks - Ken

Static IP Address Issue

$
0
0

I am running a Windows 2008 R2 server with two NICs. I have one NIC configured with a static IP address, and the other configured with a dynamic IP address. The way my ISP is set up, static addresses and dynamic addresses are on completely different subnets.  I have a virtual adapter set up on the card with the dynamic address.  I am now trying to set up a 2012 server in a VM. I have it networking through the adapter with the dynamic address.  It works perfectly as long as it, too, has a dynamic IP address.  However, I'd like to give the VM a static IP address.  As soon as I do that, it can't talk to the gateway.  So, I have two questions:

  1. Does the VM's address have to be in the same subnet as the NIC it's going through?
  2. Is there some way I can make this work?  If so, how?

Thanks!

Brad.

Viewing all 8743 articles
Browse latest View live


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