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

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


Windows Server 2012 - Hyper-V - Cluster Sharded Storage - VHDX unexpectedly gets copied to System Volume Information by "System", Virtual Machines stops respondig

0
0

We have a problem with one of our deployments of Windows Server 2012 Hyper-V with a 2 node cluster connected to a iSCSI SAN.

Our setup:

Hosts - Both run Windows Server 2012 Standard and are clustered.

  • HP ProLiant G7, 24 GB RAM. This is the primary host and normaly all VMs run on this host.
  • HP ProLiant G5, 20 GB RAM. This is the secondary host that and is intended to be used in case of failure of the primary host.
  • We have no antivirus on the hosts and the scheduled ShadowCopy (previous version of files) is switched off.

iSCSI SAN:

  • QNAP NAS TS-869 Pro, 8 INTEL SSDSA2CW160G3 160 GB i a RAID 5 with a Host Spare. 2 Teamed NIC.

Switch:

  • DLINK DGS-1210-16 - Both the network cards of the Hosts that are dedicated to the Storage and the Storage itself are connected to the same switch and nothing else is connected to this switch.

Virtual Machines:

  • 3 Windows Server 2012 Standard - 1 DC, 1 FileServer, 1 Application Server.
  • 1 Windows Server 2008 Standard Exchange Server.
  • All VMs are using dynamic disks (as recommended by Microsoft).

Updates

  • We have applied the most resent updates to the Hosts, VMs and iSCSI SAN about 3 weeks ago with no change in our problem and we continually update the setup.

Normal operation:

  • Normally this setup works just fine and we see no real difference in speed in startup, file copy and processing speed in LoB applications of this setup compared to a single host with two 10000 RPM Disks. Normal network speed is 10-200 Mbit, but occasionally we see speeds up to 400 Mbit/s of combined read/write for instance during file repair.

Our Problem:

  • Our problem is that for some reason a random VHDX gets copied to System Volume Information by "System" of the Clusterd Shared Storage (i.e. C:\ClusterStorage\Volume1\System Volume Information).
  • All VMs stops responding or responds very slowly during this copy process and you can for instance not send CTRL-ALT-DEL to a VM in the Hyper-V console, or for instance start task manager when already logged in.
  • This happens at random and not every day and different VHDX files from different VMs gets copied each time. Some time it happens during daytime wich causes a lot of problems, especially when a 200 GB file gets copied (which take a lot of time).

What it is not:

  • We thought that this was connected to the backup, but the backup had finished 3 hours before the last time this happended and the backup never uses any of the files in System Volume Information so it is not the backup.

An observation:

  • When this happend today I switched on ShadowCopy (previous files) and set it to only to use 320 MB of storage and then the Copy Process stopped and the virtual Machines started responding again. This could be unrelated since there is no way to see how much of the VHDX that is left to be copied, so it might have been finished at the same time as I enabled  ShadowCopy (previos files).

Our question:

  • Why is a VHDX copied to System Volume Information when scheduled ShadowCopy (previous version of files) is switched off? As far as I know, nothing should be copied to this folder when this functionis switched off?

List of VSS Writers:

vssadmin 1.1 - Volume Shadow Copy Service administrative command-line tool
(C) Copyright 2001-2012 Microsoft Corp.

Writer name: 'Task Scheduler Writer'
   Writer Id: {d61d61c8-d73a-4eee-8cdd-f6f9786b7124}
   Writer Instance Id: {1bddd48e-5052-49db-9b07-b96f96727e6b}
   State: [1] Stable
   Last error: No error

Writer name: 'VSS Metadata Store Writer'
   Writer Id: {75dfb225-e2e4-4d39-9ac9-ffaff65ddf06}
   Writer Instance Id: {088e7a7d-09a8-4cc6-a609-ad90e75ddc93}
   State: [1] Stable
   Last error: No error

Writer name: 'Performance Counters Writer'
   Writer Id: {0bada1de-01a9-4625-8278-69e735f39dd2}
   Writer Instance Id: {f0086dda-9efc-47c5-8eb6-a944c3d09381}
   State: [1] Stable
   Last error: No error

Writer name: 'System Writer'
   Writer Id: {e8132975-6f93-4464-a53e-1050253ae220}
   Writer Instance Id: {7848396d-00b1-47cd-8ba9-769b7ce402d2}
   State: [1] Stable
   Last error: No error

Writer name: 'Microsoft Hyper-V VSS Writer'
   Writer Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
   Writer Instance Id: {8b6c534a-18dd-4fff-b14e-1d4aebd1db74}
   State: [5] Waiting for completion
   Last error: No error

Writer name: 'Cluster Shared Volume VSS Writer'
   Writer Id: {1072ae1c-e5a7-4ea1-9e4a-6f7964656570}
   Writer Instance Id: {d46c6a69-8b4a-4307-afcf-ca3611c7f680}
   State: [1] Stable
   Last error: No error

Writer name: 'ASR Writer'
   Writer Id: {be000cbe-11fe-4426-9c58-531aa6355fc4}
   Writer Instance Id: {fc530484-71db-48c3-af5f-ef398070373e}
   State: [1] Stable
   Last error: No error

Writer name: 'WMI Writer'
   Writer Id: {a6ad56c2-b509-4e6c-bb19-49d8f43532f0}
   Writer Instance Id: {3792e26e-c0d0-4901-b799-2e8d9ffe2085}
   State: [1] Stable
   Last error: No error

Writer name: 'Registry Writer'
   Writer Id: {afbab4a2-367d-4d15-a586-71dbb18f8485}
   Writer Instance Id: {6ea65f92-e3fd-4a23-9e5f-b23de43bc756}
   State: [1] Stable
   Last error: No error

Writer name: 'BITS Writer'
   Writer Id: {4969d978-be47-48b0-b100-f328f07ac1e0}
   Writer Instance Id: {71dc7876-2089-472c-8fed-4b8862037528}
   State: [1] Stable
   Last error: No error

Writer name: 'Shadow Copy Optimization Writer'
   Writer Id: {4dc3bdd4-ab48-4d07-adb0-3bee2926fd7f}
   Writer Instance Id: {cb0c7fd8-1f5c-41bb-b2cc-82fabbdc466e}
   State: [1] Stable
   Last error: No error

Writer name: 'Cluster Database'
   Writer Id: {41e12264-35d8-479b-8e5c-9b23d1dad37e}
   Writer Instance Id: {23320f7e-f165-409d-8456-5d7d8fbaefed}
   State: [1] Stable
   Last error: No error

Writer name: 'COM+ REGDB Writer'
   Writer Id: {542da469-d3e1-473c-9f4f-7847f01fc64f}
   Writer Instance Id: {f23d0208-e569-48b0-ad30-1addb1a044af}
   State: [1] Stable
   Last error: No error

Please note:

  • Please only answer our question and do not offer any general optimization tips that do not directly adress the issue! We want the problem to go away, not to finish a bit faster!

Snapshot issues - Hyper-V Server 2008 SP2

0
0

Hi all,

Bit stuck here,

On trying to run a Windows Server Backup I am getting errors:

Backup started at '{bf7fe851-53c2-4e67-88f6-05d1d2ce7af4}' failed as Volume Shadow copy operation failed for backup volumes with following error code '2155348129'.

Now I was getting lots of VSS errors and the Hyper-V VSS writer was sitting in a failed state after running backups.  I stopped the Hyper-V server and moved old XMLs of machines that don't actually exist (I believe they were manually deleted by whoever installed this server) from C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines to C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines\Old

This fixed my Hyper-V VSS writer issue.

Run Windows server Backup again.. all looks good, I look at Hyper-V manager and I see the message that the snapshot succeeded..

Then same error.

I have looked a bit further into the logs and it looks like Hyper-V is looking for Snapshots of these machines that don't exist:

Cannot find the specified snapshot. (Snapshot ID C74E6D17-60B0-4CA3-B751-41C675DECC25)

Only says this for the machines that don't exist, I have 2 existing machines which are functioning fine.

When I try and run the backup I also get the following error:

Failed to revert to VSS snapshot on one or more virtual hard disks of the virtual machine '%1'. (Virtual machine ID %2)

Is this a permission issue?

The snapshot XMLs exist, I have tried moving them to an \old folder also but it is still looking for them.

If someone could point me in the right direction that would be a massive help.

Cheers

Windows Server 2012 HyperCore (baremetal) and Solid State Drives

0
0

Software installation advice needed on Baremetal Server 2012 Hyper Core (I7-3770S, 16 GB, MB ASUSP8Q77-M2)

Is this a good setup concerning the use of a SSD (Performance, TRIM options etc.) ?

SSD: 1x 240 GB

    Windows ServerCore 2012

    VM1: Server 2012 + DC

    VM2: Server 2012 + Exchange 2012

    VM3: Server 2012 + RDS (user will remote login)

Disks: 2x 1 TB 

   User Profile data, Datastore, Internal Backup VM's.

Adding an extra SSD is an option...

Thx Applegate



Migration from Virtual Server to Hyper-V

0
0

Computer 1 (Win xp): There is a vm from Virtual Server.
Computer 2 (Win 8): Has hyper-v.
So I copied vhd from computer 1 to computer 2.
In computer 2, I did these:

I created a new vm. Attached vhd to this vm.
I uninstalled vm addition.
I installed win 2008 SP2 in vm.
I installed hyper-v integration service in vm.
The vm is still slow after installing integration service.
(E.g. the mouse pointer is not moving smoothly.)
(I have a vm with fresh copy of win 2008 + integration service installed. It runs fast.)
Seems to me that integration service is not working properly.
What can I do to make integration service increase the speed of vm?
Thanks.

Can I upgrade the Hyper-V 2008 Server (role) inlcuded in Windows Server 2008 R2 Enterprise to Hyper-V Server 2012?

0
0

I am currently preparing a brandnew HP 380 server to install Windows Server 2008 R2 Enterprise. The plan and purpose is to use this new server as a virtualisation platform, hence I will enable the Hyper-V role in Windows Server 2008 R2 Enterprise. But before starting the installation process next Monday, I first want to clarify something regarding Hyper-V Server 2012.

My Question:

Is it possible to upgrade the Hyper-V Server 2008 included in Windows Server 2008 R2 Enterprise to Hyper-V Server 2012, by installing the standalone Hyper-V Server 2012? If so, will the upgrade process de-install the baked in version of Hyper-V Server 2008 in Windows Server 2008 R2 Enterprise and subsequently replace it with Hyper-V Server 2012?

I look forward to your feedback.

Thx in advance.

Use Microsoft Hyper V Server 2012

0
0

Hi All,

Can I use free version Microsoft Hyper V Server 2012 on production Network or it for testing purpose only?

if yes than what licence is required if I install 4 nos. Windows 8 VMs. is it

2 Nos. of Windows Server 2012 Standard

OR

4 Nos. of Windows 8 Licence?

Regards,

What should be the System Configuration for Hyper V Server in production network

0
0

Dear All,

We are going to procure following 2 HP servers. And going to install Hyper V roles on both the machine with Server core 2012. One for main work load and another one is for Disaster Recovery. Details per server are given below:-

HP DL 360p Gen8

Intel® Xeon® E5-2630 (6 core, 2.3 GHz, 15MB, 95W) (2 Nos.)

HP 1TB 6G SAS 7.2K 2.5in SC MDL HDD (8 Nos.) for RAID 5 total 8TB HDD

HP 8GB 2Rx4 PC3L-10600R-9 Kit (16 Nos.) total 128 GB RAM

1Gb 331FLR Ethernet Adapter 4 Ports per controller

Is the above configuration can handle the load for 10 VMs like Exchange 2013, DFS File Server, ERP solution Like Microsoft Dynamics/SAP, Remote Desktop Session Based Services Server for 50 Users, WSUS Server, Antivirus Server, Document Management System (DMS) Server, etc.????

Currently We have only 150 Users in our Group

Is this configuration is good to serve us for 7 to 10 years????

Thanks!





Selecting a Server Graphics Card for Small VDI Deployment

0
0
Folks:

We have a server running Server 2012 which is hosting 6-10 virtual desktops.  (The server is a Dell PowerEdge T620 with two E5-2650 processors, 32G ram, two RAID arrays, 10k drives.)  Even when only a few desktops are running, performance is slow. We are considering adding a graphics card.  

Does anyone have thoughts about whether it will improve performance?

And if so, any thoughts about either good card choices or what features/capacities would be useful?

Thanks!

Micah


CSV stuck in Redirected Access

0
0

Hello everybody,

I've searched topics about redirected access but still can't fix my issue as what I got.

I have a small Hyper-V cluster: Two IBM X3850X5 with Win2008R2 Enterprise, EMC Clariion CX4-240 FC Storage and FC switches. Only Hyper-V, SCVMM 2012 and multipath application (PowerPath) are installed on the servers. There were two VM on node A and one on node B.

I've created a CSV disk and a quorum disk. They worked normally for two weeks untill last Saturday CSV became Online(Redirected Access) on node A. Both VM failed over to node B. The root cause is still unknown.

I tried to turn off redirected access, pause/resume node A and rebooting. None works.

In multipath application, both CSV and witness disks are Alive. In storage managment, both servers and both LUns present in the same storage group. 

Both disks present in Disk Management. But they just stuck Offline on node A. Their staus in Node B are Reservered.

Concerning partion corruption, I didn't Online the disks in Disk Management. What shall I do now?


Listing assigned virtual desktops

0
0
We have a Windows 7 VDI environment running on Hyper-V 2008 R2. Users are all assigned personal virtual desktops either by using the Remote Desktop Services MMC or straight in ADUC. I've been trying to find a way to list a set of users along with the personal virtual desktop which has been assigned to each one. The Get-ADUser powershell cmdlet doesn't return any information about the personal virtual desktop. Does anyone have a way of doing this?

2012 Hyper-V Guests Very Slow to Boot

0
0

We have two identical Dell PowerEdge T410's running Windows Server 2012 Standard running as Hyper-V Hosts (and nothing else).

The Hyper-V guests on one of the machines take over 40 minutes to boot.  Once booted the VM's seem to perform well.  The second T410 is running without any problems.

The Dell has 40Gb RAM and has 12 virtuals, the 5 XP virtuals are running with 1 GB RAM each and the 7 Windows 7 VM's have 2 Gb.

When everything is running, the Dell's task manager says it's using 22.9 of 40Gb RAM and the CPU is ticking over at 1 or 2%.

I've just wiped and re-installed the host with a clean Windows Server 2012 with no improvement.

Dell's technical support has had a quick look and can't see anything wrong with the hardware side of things.  The BIOS settings in the problematic machine has exactly the same settings as the BIOS in the machine that is working OK.

The clients on the 'slow' host are all part of a domain with the domain controller on the 'good' host.  Tracert and ipconfig all report as expected.

A 'Google' has turned up a couple of articles which seem to only refer to Windows Server 2008 R2, however, the problem only started to appear when I installed Server 2012.

So, in a nutshell, two identical servers, the guests on one are working fine, the guests on the other take over 40 minutes to boot.

Could anyone give me any pointers?

Richard

Hyper-V 2012 - traditional network design vs. converged fabric in a small business enviroment

0
0

Hello,

I am in the process of preparing our migration to Hyper-V 2012. At the moment I am a little bit stuck on my desision with network layout to chosse.

Our future datacenter enviroment will have 2 Hyper-v clusters (1 five node for production and management systems and a 1 two node cluster for DMZ) and it will host about 150 VMs.

There will be no dynamic in the physical infrastructure. The systems are planned to have the capacity needed over the next 3 to 4 years.

Converged Fabric

I have done some experiments with the converged fabric aproach (without havig VMM managing the fabric) and ran into several small issues.

I have had dublicate MAC addresses because some hosts had the same local MAC pool. And the vNICs for the Hosts got served by the local MAC pool.

The VMM dhcp switch extension has to be installed and activated before joining them to the cluster and managing them with VMM.

All this could be avoided by using VMM to manage the fabric or by manually managing local MAC etc.

Having VMM manage the fabric would require VMM to run outside the cluster on a seperate server and some effort in the initial setup of VMM.

Tradional Setup

This is straight forward, having 3 teams (Host Management, CSV and Live Migration) for the host and one team for VM traffic. Without all the initial overhead to setup fabric management by VMM or doing everything by hand.

VMM could run inside the cluster and manage only the virtual enviroment, like we have VMM 2008R2 doing it now.

Since we are a small IT department with 4 admins and one CIO and have 500 workstations, 200 physical and virtual servers and 600 users to manage I am a little bit afraid that the "converged fabric" aproach would add an additional layer of complexity in the setup and afterwards in the diagnosis of problems that may occur without giving us a real benefit.

I would appreciate any input on this topic.


This posting is provided "AS IS" with no warranties.

Configure NATting in Hyperv (server 2008 R2)

0
0
Hello,

I'm building a demo environment that we will use for various customers. (on a Dell powerlaptop)
I've configured a 2008 R2 server with hyper-v and I'm running a DC and Lync 2013 server in VM (on Server 2012 OS)
The 2 virtual machines have an ip in an internal range 10.20.20.x/24

We'll receive ip addresses later for these machines so we can configure it in the customer network.
The DC (VM) is configured as a CA, so I don't want to change the ip address.

So I'll need to perform NATting from the  current ip addresses to customer ip addresses.
I thought it would be easy to configure with Hyperv, but apparently it isn't.

Does anyone know how I can configure it, without adding too much complexity to the setup?
So the goal is to keep the internal addresses, and NAT them to customer IP addresses (which will change every time)

Migrate ESXI VM to Hyper-V

0
0

Hello,

I have a Virtual Machine configured with Windows 7-64bit running on an ESXI 5.1 Host. I would like to migrate this VM to another host running Windows Server 2008 R2 configured with Hyper-V.

I've tried looking at other blogs, etc but they are all using different versions than I am.

Does anyone have any step-by-step guides on how this can be done? Please note that I am not yet running server 2012 so I don't think I will be able to use the "Free Tool" that's mentioned in other blogs.

Any help would be appreciated.

Thank You.


Hyper-v stopped working after dell Bios Upgrade

0
0

I had installed hyper-v on Win8 on my Dell XPS One 2710 After I did a Bios upgrade (A9=>A10) I'm told that my VM won't start because the Hyper-V service is running. But the service is indeed running. What gives? I worked fine under the previous BIOS.

The only change was that I added a virtual LAN after the BIOS upgrade but before I had tried running the VM. I remove the VLAN just in case but it didn't solve the problem. Otherwise nothing significant changed as far as I know.

FYI: In http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/780cdcb6-2a3c-4d1c-8d88-3fca691a138a a similar problem was resolved by upgrading the BIOS. Here I have the opposite problem -- broken by upgrading the BIOS. Since this is a different model Dell I decided to start a separate thread because the problems seem to be associated with specific hardware/BIOS configurations. Perhaps not many are using W8?Hyper-V on this particular machine so the problems have not been shaken out.


Need help on Hyper-V rollout

0
0

Hi,

I need help with a production rollout for Hyper-V. I work for a small school which has neglected any server updates for close to 10yrs. We have a storage server that if I need to restart it during the day, it could take close to 3hrs to restart and become operational, I can't defrag it because partitions are too small and don't have enough space, and I have data corruption so I can't re-size them, plus parts are getting difficult to get, so needless to say it's time to replace the box. I really would like to move everything to Hyper-V and make all my servers virtual machines. I recently got my hand on 6 used HP DL380 G5 servers, making the total to 8 of these boxes. I plan on upgrading the servers I need to: dual processor, 8 core servers with 16gb of ram. Here is where I need help.

Here's my planned scenario:

Setup two clusters, 1st in the main office and the 2nd a failover in the high school. Both clusters will have 2 servers for Hyper-V host, the 1st cluster will have 5 vms between both hosts. I plan on having 2-73gb hard drives in mirror for Hyper-V server 2012, and 6 -146GB hard drives in Raid 5 or 6 (haven't decided that yet). The VMs will be hosted on the servers hard drives.  For the file storage server I plan on either getting a used DL320s and setting it up as a ISCSI target, or using a MSA60 and attaching it to both Hyper-V hosts for HA.

My questions are:

1) Which would be a better option: MSA60 on both clusters and somehow replicate both clusters, or using a DL320S. Both of the will kind of have the same functionality, just don't know if a DAS can be used like that in Hyper-V.

2) If the 1st cluster (main office) loses power, can hyper-v auto-failover to cluster 2, if so what would be the expected downtime.

3) Switch, am I looking for anything particular. Right now we have a hp 4104gl, and all the servers are hooked up to 10/100 (which annoys the hell out of me), I plan on getting and 5308xl or 4108Gl and running all vms on gigabit ports. Will the two switches I mentioned work.

Sorry for the long winded post, but the lack of priority on upgrading tech is frustrating. I could not do anything on their network because of political reasons. Now I can, so I really want to fix this and get their network to proper standards. They have no plan of action if any of their servers fail and no way to resolve single point of failure. If I contact a reseller to help and they give me a high quote, I know the school will say no and ignore these problems, so any help would be appreciated.

Thanks in advance

Copy or share a folder from Hyper-V Virtual machine to the host

0
0

This can not be as complicated as it seems.

I would like to copy/share a folder from inside the virtual environment to the host computer.

I have setup a shared folder on both environments, but I can't seem to access the data from the host machine.

Outcome:

I would love to create data in the virtual environment and take the data with me on a flash drive, any suggestions would help

Thank you,

Allen 

Hyper-V Replica large .HRL files

0
0

Hi,

I have been testing Hyper-V Replica and all has been going quite well in a test environment.

When applying the same knowledge to a production environment i'm seeing strange results.  I have a Windows Server 2012 Hyper-V server in a workgroup running a guest SBS 2011 VM with two drives, one is 131GB and the other is 314GB.  I have moved the pagefile onto a third vhdx which isn't being replicated over to our replica partner.   

Looking into the VM's, there is minimal file structure change but yet i see lot's of big .hrl files being queued up for replication.  I've been through the majority of the files on the SBS server to make sure file changes are a minimum, i.e. IIS / Exchange logs and having kept an eye on the server throughout the day i can't see any big increases in storage consumption on the partitions.  within 7 hours today i can see that i have 11.5GB of .hrl files waiting to ship over to the replica partner.  The SBS server is running on an ADSL line is being crippled due to the upload.

From my test environment, after moving the pagefile onto a drive that wasnt being replicated i was seeing average .hrl files of KB's rather than GB's.  Does anybody have any advice on where the huge file sizes can be coming from ?

This is already my third seed and i'm still seing the same problem.

Alex

Ubuntu on Hyper V networking issue

0
0
I have a VHD running ubuntu which works fine.  I copied the VHD to another network and upgraded it from ubuntu 8 to 10, which went fine.  I tried to replace the old ubuntu 8 VHD on the old network, with the new VHD but this seems to retain the network settings from the previous network it was attached to.  These two networks have no communication between each other, so it doesn't make sense.  I've tried setting a static and dhcp address, but it still retains the IP address from the old network.  Any ideas on what might be happening here?
Viewing all 19461 articles
Browse latest View live




Latest Images