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

How to convert VHDX to VHD file format on windows 8 / Windows server 2012?


Server 2008r2 under Hyper-V running VERY slowly for no apparent reason

$
0
0

Hello Everyone,

You will have to excuse me as I'm kind of Hyper-V stupid.  I just started using Windows 8 Enterprise and playing with VMs myself.  I love it.  On my primary machine I made a backup of a hyper-V windows 7 VM.  Now I can surf around, do stupid things, and if my VM gets trashed, delete it and add the base back.  That is my GOOD experience where I have control over things.  Now for the question from my BAD experience:

We moved our local servers to a cloud based service company several months ago.  The theory is that we are completely mobile now and users can connect using their laptops from wherever.  At first, it worked great, but about 5 weeks ago we started seeing our system slow to a crawl once or more times a day.  Our setup:

- 1 file, DNS, RRAS, AD server (4 cores/8GB)
- 2 dedicated workstations (2cores/4GB each)
- 1 RDP server (8 cores/16GB)

Now what happens:

Systems run for awhile and then gets SLOW!!!  1 minute to click on START, 5 minutes to open a file, etc.  I've checked the following:

- RAM - All systems have 50-90% available RAM
- CPU - CPUs idling at 0-15% (mostly from task manager & resource monitor)
- Processes - There are no bloated processes (biggest taking under 200MB)
- Processes - There are no processes pulling major CPU cycles
- Current Disk queue length goes between .01 and 1 (when it hits 1 or above and stays there, the system SLOWS down) I've seen it jump to 5 and 50 as well

Rebooting the server sometimes helps, but recently, after the reboot, things are worse than they were before the reboot and stay that way for 30 minutes to over an hour.

A note, and I'm not sure how to describe this, so I'm going to tell you how I get there:

- Go into resource monitor
- Select the Disk tab
- Click on the Disk Activity Section
- In the Disk Activity section, there are two colored boxes "Disk I/O" and "Highest Active Time"

When nothing is responding and the Disk Queue Length is stuck at 1 or above, The disk I/O sits at 0 for long periods of time and then after multiple minutes of sitting at 0, it will jump up to multiple MB/sec and the disk queue length will go down for a couple of seconds and then it will spike back up and the Disk I/O box will stay at 0 again for several minutes.  On my home computer running hyper-V, this disk activity box is constantly showing Disk I/O and my queue length seldom spikes and stays at a high level.

Does anyone have any ideas?  Anything I can ask the support guys to check into?  Anything I can do to collect information?  I'm stumped.  I just found out today that they were running a Hyper-V based system and have little or no access to configuration, etc. They are sure it's us.  So far, I've:

- Removed anti-virus from our main server
- Disabled a service called PeachtreeSmartPosting because it was having errors (I think the errors are caused by the slowdown, they thought the slowdown was caused by the errors. I disabled the smartposting service and our server still went into it's death spiral today)
- Removed Windows Search Service
- Rummaged through our event viewer: Some Disk errors under the system log: The driver disabled the write cache on device \Device\Harddisk0\DR0 

and

some ESENT/Performance errors under the application log: (x): A request to write to the file <y> at offset ... succeeded, but took an abnormally long time (<some large value> seconds) to be serviced by the OS. This problem is likely due to faulty hardware.  Where the variable x is wuaueng.dll, svchost, Windows, and possibly others and variable y is datastore.edb, j50.chk, j50tmp.log, dhcp.mdb, edbtmp.log, edb.log, j500134D.log (in dhcp\backup\temp), MSS.log, windows.edb, and others.  I pulled the variables from the last 20 or so of these errors.  In addition, between every 20 or 30 of the above errors, I get something like this:

DFSRs (1928) \\.\C:\System Volume Information\DFSR\database_28A4_16A0_A416_7094\dfsr.db: A request to write to the file "\\.\C:\System Volume Information\DFSR\database_28A4_16A0_A416_7094\fsr.log" at offset 4155904 (0x00000000003f6a00) for 262656 (0x00040200) bytes succeeded, but took an abnormally long time (64 seconds) to be serviced by the OS. This problem is likely due to faulty hardware. Please contact your hardware vendor for further assistance diagnosing the problem.

I've got no clue where to go next, and I think the support staff running this are just as baffled.  Any thoughts, suggestions, etc. would be appreciated.

Thanks,

Jeff

Storage Planning for Hyper-V 3.0 on Windows Server 2012

$
0
0

Just a general storage design question...

I'm specing out a new Server 2012 machine with Hyper-V. Machine will strictly be used as a hyper-v host. The VMs will be of two flavors: (1) a SQL server that needs maximum read/write performance, and (2) Everything else. It will be all direct attached storage. My question is, how should I design the storage arrays? Focusing only onperformance here (forgetting about high-availability, live-migration, etc). Here is my plan:

1) OS partition (Server 2012 with Hyper-V role enabled) - (2) 10K RPM SAS drives in RAID-1

2) SQL partition (Virtual hard disk for the SQL server VM will live here) - (4) 15K RPM SAS drives in RAID-10

3) Data Partition (All other VM hard disks will live here) - (4) 7200 RPM Near-Line SAS drives in RAID-6

Specifically, I'm wondering about seperating out the "OS" partition from the "Data" partition. Does it need to be done? Will I see decreased performance if I just throw everything (Host OS, VMs, and .vmdk's) on a gigantic single RAID-6 partition (with the SQL .vmdk still seperated out on it's own RAID-10 array)?

If you're feeling particularly helpful today, I have a second question regarding Hyper-V Replication...

My disaster recovery / high-availability plan is to have a 2nd Hyper-V host with Hyper-V replication running between the two, the idea being that if one host fails, I can spin up the replicated VMs on the 2nd host and continue running. Is that a viable solution? Some downtime is acceptable for us, and my understanding is it would just be a matter of minutes to spin up the half-a-dozen or so VMs that I have replicated to the backup host.

Thanks for any input you can give!


Shaun

Very slow network performance with Intel NIC when TCP Large Send Offload is enabled

$
0
0

I have a Windows 2008 server with two NIC's (Intel PRO/1000 PL and Intel PRO/1000 PM), and one virtual external switch connected to each NIC.

 

With the 01/14/08 network driver, I get very low throughput on both NIC's (~10KB/sec when downloading from my server when it should be around 11MB/sec).

 

I've found that disabling "TCP Large Send Offload (IPv4)" on the virtual switch and "Large Send Offload v2 (IPv4)" on the physical adapters solves the problem.

 

Is this a bug in the driver?

 

Thank you,

 

Ricardo Costa

PowerShell with Hyper-V VM

$
0
0

Hello Everyone

I am deploying a new VM host. this deployment is about 36 VM now the problem I am facing is that I need to do the following in each machine

1. Start the VM

2. Log in

3. run command Prompt

4. run a specific command

5. shutdown the machine

this has to be done for every machine

is there a way to do that without doing it manually :)

thank you so much for your help 


I am Supporting WP7 but please keep improving it MS.

Pass through network to hyper-v

$
0
0

I have a VM on my work computer that I wish to use for testing but it needs to be on a different network.

I wish to connect it to our ADSL line with a USB wireless adapter. I know that hyper-v does not have USB redirection but was wondering if there might be a way to share the network connection through internet sharing.

This is why I want it this way. I have my host on a domain with internet filtering enforced. I also have a ADSL connection that I use for testing I wish to use a virtual machine (or a few) so that I do not require 2 PC's but need it to run off the wireless ADSL connection.

Any ideas welcome.

Installing VDI roles on Hyper-V cluster

$
0
0

I am currently running a two node Hyper-V failover cluster w/ about 20 VMs running.  The Hyper-V hosts are both Windows Server 2012 Datacenter.

I am now looking to install the VDI roles to see if VDI would be good for our environment.  We have about 40 users using Windows XP machines right now.

Would I have to install the VDI roles and services on the physical machines themselves or could I install those roles on new virtual machines?

Also, could I store the virtual machine client image on the same CSV as my other virtual machines?

DC recommendation for Hyper-V 2012 Cluster setup

$
0
0

Hey

I have read a lot of forum posts and blogs about running the DC as a virtual machine on the Hyper-V 2012 Cluster.

It looks like everybody warn about, running the DC on the same Hyper-C Cluster, witch it controls.

Can anybody tell me why?


How to Find Free Memory and CPU Usage less Host machine in the Hyper-v Cluster Environment Using PoerShell?

$
0
0

Hi,

  Use Case:I have 2 host machines(machine1 & machine2) whit each 32GB RAM in Hyper-v Fail over Cluster environment.  Machine1 contains 3VMs(utilized 6GB),     Machine2 contains 2VMs(Utilized 8GB),

so my quation is i am provisioning VM using Code Wise, so my new VM is  going to provision in  6GB used memory machine1 automaticallyhow to find the Highest memory free machine using  hyper-v power shell CMD lets ?

   

Problems with Remote File Browser

$
0
0

Hi there!

Ive setup small lab with domain controller and two hosts with Hyper-V role. OS - Win2012. Hosts are member of domain.

During installation i`ve enabled live migration with CredSSP. Now im trying to migrate VM to another host but couldnt select target folder. Select window shows the message: "No items match your search".

Any ideas how to fix it?


Migration Method

$
0
0

Hi i am trying to plan a migration from VMware to Hyper V.

I am going to do one host at a time and plan to have a paralell hypbrid infrastructure running during the migration.

High level steps

(SCVMM already installed)

Install   Server Core
Configure Server Core - switches , storage etc
Migrate machines from VMware to Hyper  (Approx 25 VMs per host)
Decomission ESXi host

Repeat 9 times 

Can any bode elaborate on these tasks to help me understand my challange.

Hyper-V Virtual Switch and VLAN Tagging Not Working?

$
0
0

Hi All,

We're currently in the process of testing server 2012 Hyper-V before we upgrade our production cluster this summer.  We seem to be having an issue with VLANs when being tagged through the Hyper-V virtual switch.  The test switch is a HP Procurve 2810 and i've triple checked all the vlan settings on the physical ports to make sure they are correct.

I create a new virtual switch and allow management OS access with no vlan identifier.  The management interface works fine and the traffic is going out untagged on the physical NIC as expected and has connectivity.  If I add a vlan identifier on the management OS then we no longer get any external connectivity.  I have tried multiple vlans with the same effect.  I believe we also had the same problem the last time we tried tagging vm traffic as well but I can't yet test this.

If I create a team instead of a virtual switch on the physical interface, I can create multiple virtual adapters for all the vlans that are tagged on the switches physical port and each virtual adapter gets connectivity.

We have tried this on 3 different physical network cards (broadcom, intel and realtek) with the same results.  

Any suggestions? Hot fixes?  

I'm running all the windows updates on the box right now to see if anything changes.

VM CPU high, host CPU low

$
0
0

I've been doing a lot of reading on this topic and it makes sense but there's still one question that I don't think I'm seeing the answer to:

If I have one VM that is going to potentially utilize large amounts of CPU, how do I make sure it can do so when needed?

We have a test HyperV server with a single quad core processor and the maximum amount of virtual processors I can assign to a single VM appears to be 4.  According to what I think I'm reading in this post and various articles, that means that any given single VM can only ever gain access to a fraction of the total processing power that the server has to offer - is this correct?

No matter what we seem to throw at a couple of VMs we have running we can never get the host's CPU usage to go over 15%...

I realize that if a single server utilizes near maximum resources a given server has to offer it is probably not a good candidate for virtualization BUT there are situations where a server will typically use nominal resources and on occasion require significantly more (say 70% of the overall processing power) in which case I'd like to not limit it for what seems to be no good reason (assuming all other VMs can survive on the remaining 30%).

Sorry if I'm missing something!  Thanks in advance for any feedback.



Share SonicWall VPN connection to Windows Phone 8 Emulator

$
0
0
I`m running Windows 8 (as host) with Wndows Phone 8 SDK Emulator (as guest on hyper-v). I connect to my corporate LAN using SonicWall VPN client on host. How can i share VPN connection to my Windows Phone 8 VM to be able using services from corporate LAN?

"Turn Off" VM

$
0
0

Hi,

One of the guest VMs was rebooted not gracefully this afternoon. Can't see anything obvious from the log of that VM, neither from the Host, practically nothing other than saying it was rebooted unexpectedly (kernel-power, critical etc).

I can only assume it got "turned off" at the Host level, does anyone know how to find out who or what initiates "Turn Off" or Shutdown" action on a VM from the Hyper-v Host? I've been trying to find it everywhere in the Event log with no luck. Please help.

Thanks,

TM



event id 28 vmsmp on 2008 r2, network connectivity unstable

$
0
0

Hi, I've look solutions on forums but did not solved my problem,

here is my warning

Port 'C7CE4397-920D-470F-9303-10E091CD7160' was prevented from using MAC address '00-15-5D-0A-E8-XX' because it is pinned to port 'A856FD70-B642-4C96-9310-CB35E220DDDE'.

I receive this message for all VMs on host

What I tried,

1. Delete virtual switch and recreate it

2. Update broadcom's drivers

3. Undo team set to stand alone card, still had the warnings, recreated a new team

4. Switch to static mac on all vms

5. Change manually mac on vms, and make sure none of the vms use the same mac

note : there is no other hyper-v server in domain or network

The system have been working for over a year with out this warning, nothing have been change in configuration regarding hyper-v or vms or nics.  Warnings just appear suddently.

File server and exchange server both have the same warning and dont seems to be affected in any way visible to the users. But another server with Pervasive SQL constently drop connection to users since this warning appeared. Pervasive support confirms the btrieve error is from networks connectivity issue. I dont see any other errors in event log execpt this warning and i get about 1400 per hour.

I have no clue what to try next for solving this issues, the pervasive sql database is critical to the users and need to be stable again.

thank you for you help

Francois


How do i get my virtual server to recognize my USB dongles

$
0
0

i am trying to get my Virtual Server to recognize the physical USB dongles i have plugged into a USB hub that is connected to the physical server which is hosting Hyper-V.. we have installed on our server windows 2008 R2 Enterprise, and hyper-v 

i was just wondering if there is a way to do this? and if so how?

HYPER-V W8 - There was an error opening a virtual hard disk further up the chain

$
0
0

Hi I have W8 Pro and a W7Pro with Hyper-V.

I have a two snapshots with the virtual machine. I don't have any backup of it. 

Everything was working fine until I attached VHD using Disk Management to explore the hard drive of the W7Pro. I didn't make any changes and then just dettached it.

Later when I tried to turn on the virtual machineW7Pro I got the following error:

"Failed to Power on with Error 'The chain of virtual hard disks is inaccessible. There was an error opening a virtual hard disk further up the chain.'."

Image here: https://skydrive.live.com/redir?resid=3BC47CE0EE20515D!824&authkey=!AAw8dawZrIsxS2k

Does anyone know what happened? and how can I fix it?

Thanks

Loss of Hyper-V Pass Thru Disks from VM Config After Hypervisor Restart

$
0
0
Here's the setup 
3 ea. DL380's with D2700 direct attached storage running Server 2012 Hyper-V
On each Hypervisor we have three (3) VM's, Exchange 2010 CAS, Exchange 2010 HT and Exchange 2010 Mailbox. The mailbox role VM's have approximately 25 data volumes which are pass-thru disks

All three (3) virtual mailbox servers are in a DAG with two servers in the same site and the last server in another AD site - it was the single mailbox server in the secondary site we had issues with (we haven't patched the primary site yet, so we will see if the behavior continues) 

I'm running into problems where the pass-thru disks for my Exchange mailbox server VM will not be offline and are missing from the VM config after a reboot of Hyper-V. This means the mailbox server VM won't start and we have to manually flip the disks offline in disk manager and then re-assign them to the VM in Hyper-V manager

This only happens sometimes, other times the server comes up fine with the disks offline and the VM configuration is intact

This is kinda hit and miss - have anyone else seen this and is there a permanent fix for it we can actually rely on?

Any comments and suggestions are appreciated

Why Microsoft doesn't recommend to use dynamically expanding vhd or differencing vhd in production envrionment?

$
0
0
I think the dynamically expanding vhd and differencing vhd are both very good techology, which can save disk space and improve the deployment efficiency. But I heard Microsoft doesn't recommend these in production environment. Why? Any potential risk?

Viewing all 19461 articles
Browse latest View live




Latest Images