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

Memory settings trough out my VM's,

$
0
0

Hello,

My terminal server config is lacking performance with RDP connections and im searching through some possible faults.

I figured NUMA was enabled and want to disable it to see if performance is better.

Let me explain my setup:

I have a ML350 G6 with dual E5606 2.13GHz and 32GB memory.

My host has Hyper-V installed as role with nothing more to do.

My VM's consist of:

DC (Single CPU) with static 3072MB memory.

TMG (Single CPU) with static 3072MB memory.

TS (4 CPU) with static 12288MB memory.

Im unable to add more static memory as the TS VM then wont start.

Let me calculate:

3072+3072+12288= 18432MB

meaning i should have 14336MB free memory.

NUMA is diabled.

My question is, why cant i add more static memory then the 12GB? Is that used for pagefile purpose?

The reason im going for a static memory setup is to see if preformance will be better.


With kind regards, René de Meijer. MIEGroup.


Windows Server 2012 - Can occasionally not access second virtual hard drive inside a VM

$
0
0

I run Windows Server 2012 RTM Hyper-V and I can occasionally not access the second virtual hard drive (dynamically expanding VHDX) attached to the VM through the virtual SCSI controller. I can however access the first hard drive that is connected with the virtual IDE controller.

I get the following warning in the event log under “Administrative Events” every 30 seconds when this happens:

  • Log Name: System
  • Source: Storvsc
  • ID: Storvsc
  • Message: “Reset to device, \Device\RaidPort0, was issued.”

I get this error once or twice a week and it has caused serious problems since one of the virtual servers that have this problem is a fileserver and the second hard drive contains all the data.

The only quick solution to the problem that I have found is to force the virtual machine to stop using the “Turn Off” feature since a normal shut down does not work (stops at shutting down the event log or similar) and then start the virtual machine again.

You can also wait for about 30 minutes or longer until the disk for some reason becomes accessible again by itself.

My research into this problem shows that:

  • Only 2 of the 10 VMs running Windows Server 2012 RTM that I have, have this problem.
  • Both these VMs have a second virtual hard drive (dynamically expanding VHDX) that cannot be accessed for 30 minutes or longer.
  • Check Disk of the virtual hard drive shows no errors.
  • The second hard drive is attached to the virtual SCSI controller.
  • I can find no problems at all with the physical storage on the (not related) 4 hosts that I have. The problem exists only in the VMs.

I have now attached the second virtual hard drive to the virtual IDE controller to see if this permanently fixes this problem (i.e. does not happen for at least a week).

Is there something wrong with the virtual SCSI controller or the virtual SCSI device driver that comes with Windows Server 2012 RTM? Does anyone else have this problem?

Virtual Machine Connection - Screen Resolution Does Not Match Guest OS - Cannot Resize the Window

$
0
0

I am running several WinXP Guest VM's in Hyper V a 2008 R2Server.

All of the VM's run at display resolution 1024x768.

I have recently installed Win7 on my desktop management PC.

The problem I am experiencing is that, on certain VM's (not all), when I connect from my desktop PC to the Guest VM via the "Virtual Machine Connection" in Hyper-V Manager, the Virtual Machine Connection window does not show the whole desktop of the Guest VM.

Also Virtual Machine Connection will not allow me to resize the window to view the whole desktop of the Guest VM.

If I try and maxamize the Virtual Machine Connection window, it only switches my client PC to fullscreen, but still only displays part of the Guest VM screen.

See screenshot below of the issue.

Odly enough, when I click "Capture screen" inside Virtual Machine Connection, it captures the whole window and copies it see below.


I have search all over for this specific issue but I cant find any results.

Has anyone else experienced this?

Jackson Lancaster


Jackson Lancaster

Hyper-V Cluster in windows server 2012

$
0
0

hi

i search in forum forum but i cant find my answer.

I want to step by step for hyper-v clustering.

i want to test in my lab with minimum vm and just see and experience  configure hyper-v clustering .

If give me a step by step training , i'm so appreciated. 

thanks


Dear Problems ,You May Big But My God Is Bigger.

Hyper-V Replication - Failed to Enable

$
0
0

I have successfully gotten three VMs to enable replication; but on my next VM I keep getting the same error message when I try to enable replication.

"Hyper-V failed to enable replication for virtual machine 'IPAM': The operation timed out (0x00002EE2)."

Nothing has changed since I enabled replication for the other VMs, and I am at a loss as to why this VM is having issues.

The only odd thing I have noticed is on the DR node, Hyper-V creates the VM and creates the cluster resource role for the VM but never adds the VM to the resource role.

I have gone through the "Understanding and Troubleshooting guide for Hyper-V Replica" but that has not helped identify the problem.

Any help would be appreciated.

Do we have any examples with WMI V2 and creating Virtual Switch

$
0
0

Do we have any examples with WMI V2 and creating Virtual Switch. The createSwitch method is showing as non found on Msvm_VirtualEthernetSwitchManagementService. Not sure if I'm doing the right thing.

Are there any examples on msdn for WMI V2?

I am moving my lab off of VM to Hyper-V

$
0
0

Hello All,

For last 2 years I have been using Vmware Workstation to run my home network / Lab envioroment. I have taken an intrest in

Hyper-V and am Wondering if I should look at upgrading to Server 2012 or can I just stay with Server 2008 r2? I rebuilding all of my servers

from scratch this includes: Domain Controller, SCCM 2012 server, 2 windows 7 clients and a SQL server. I would like to wipe my server clean

and start from fresh with Hyper-V but there seems to be sever differnt option that I am trying make some sense out of.


Phil Balderos

Hyper-V Replica 2012 - Error while enabling replication on VM

$
0
0

Hi

I have built a Hyper-V Replica LAB with 2 Windows 2012 Hyper-V Hosts in a Workgroup environment and referred the below article to build it.

http://jsmcomputers.biz/wp/?p=360

My Servers are

HV01.domain.local- Primary Server

HV02.domain.local - Replica Server

I am facing an issue when I am enabling the Replica on my VM configured on the primary server and the error message is attached below

I have checked the certificate on both server and could not find any flaws

Would appreciate if somebody could let me know the reason and how to solve it






При запуске постоянно перезапускается виртуальная машина

$
0
0

Был кластер на Hyper-V Server 2008 R2.

Было решено обновить его до 2012.

Соответственно все машинки перевесили на одну из двух нод, которая затем была отключена. Все машинки за исключением одной запустились и работают на новом кластере из одной ноды под управлением WS2012. Оставшаяся одна вызывает проблему в виде задержки настройки второй ноды.

В частности, она работает только на ней. При попытке запустить её на ноде под 2012, равно как и на другом хосте под 2012, происходит следующее:

Машинка стартует ... тут же останавливается, снова стартует, снова останавливается. Процесс в цикле до бесконечности. Прерывается только если успеешь из консоли Hyper-V остановить её в тот момен (2 сек), когда она пишет "Включена".

Попытки "играть" с параметрами машинки ни к чему не приводят. Подвязка диска к вновь созданой машине даёт те же результаты. Всё это происходит и при запуске с компонентами интеграции и без них. При возвращении vhd на старую ноду под 2008 R2 машинка без проблем запускается. Ошибок нигде никаких нет. Проблема однозначно в vhd. Каким-то образом машинка, видимо сама отправляет себя на рестарт. Есть ли у кого какие соображния, что делать?

Windows Server 2012 Failover Cluster Virtual Fibre Channel Adapter Live Migration Error

$
0
0

Hello,

I've got a 3 node cluster running Windows Server 2012 on HS22 IBM Blades with 8GbFC HBA's connecting to a XIV SAN.  I am trying to get the virtual HBA's working in Hyper-V Guest running Windows 2008 R2.

I first created 2 virtual SAN Switches one connected to each port on my physical HBA (each physical port connects to a separate fabric).

I add two Virtual HBA's in my Guest, one to each VSAN Switch.

When I go to Zone the HBA's I only see side A of the virtual HBA's not both A and B.  On each fabric I should see two (A and B) WWPN but I only see one.

I can add disk and everything works, however when I go to Live migrate I get the following error due to side B not being zoned.

Live migration of 'Virtual Machine Win2012_01' failed.

Virtual machine migration operation for 'Win2012_01' failed at migration destination 'hv-cl07-c2'. (Virtual machine ID 2CE90D02-083C-4012-ACA1-BE8D35EFCA33)

'Win2012_01' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 2CE90D02-083C-4012-ACA1-BE8D35EFCA33)

'Win2012_01' Synthetic FibreChannel Port: Failed to finish reserving resources with Error 'Unspecified error' (0x80004005). (Virtual machine ID 2CE90D02-083C-4012-ACA1-BE8D35EFCA33)

Here are the Drivers I'm using for my Physical HBA's:

Qlogic 8GbFC HBA - q23wx64W12Storv911025_whql-1507663-07202012

Has anyone see this issue yet?

Hyper-V server spec advice please

$
0
0

Hi All

I'm just designing my first Hyper-V server for a production environment, only needs to support 40-60 users and not all concurrently.

I'm planning on getting rid of a few existing physical servers, some of which are now 7+ years old.

New server will be for:-

  • Server 2012 VM running SQL 2012 server to support small SharePoint Intranet
  • Server 2012 VM running SharePoint 2013 - just small local Intranet
  • Server 2012 VM running possibly Citrix for a handful of users who use some old applications
  • A couple of Server 12 VM's running WSUS, a few local consoles etc.

Traditionally I have always built a physical server with a pair of fast HDD's running RAID 1 for the O/S and then a collection of drives in RAID5 with a hot spare. Sometimes a RAID1 pair for archiving.

I am now trying to put the specs together for the new server.

I am thinking a pair of drives running Raid1 for the Host O/S and then maybe another pair in Raid1 for the Hyper-V servers to run on?

Then just have a Raid5 set for the Hyper-V server to use for their data storage requirements and SQL database.

The server will not be over-worked as the SharePoint sites and SQL are not heavily used.

Any suggestions/ideas/recommendations appreciated.

Thx

How to create a Microsoft Lab for students

$
0
0

I am an IT
Manager for a school that provides a A+, Network+, and Server+ instruction for
certifications. We are looking to virtualize Windows 7 Desktops for students to
use Chromebooks or an inexpensive laptop to work through labs. We also wanted
to build a system where students could create hyper-v hosts, setup a domain,
dns, dhcp, and OUs all in a test environment.<o:p></o:p>

I am
looking into third party software so to be able to connect to a server through
a web browser from a Chromebook.<o:p></o:p>

My biggest
concern is giving students the ability to setup virtual systems, Server 2008,
AD setup and functionality.<o:p></o:p>

How would I
go about setting up this test environment ?<o:p></o:p>

There will
be anywhere between 25-50 students connected to the systems at any given point.<o:p></o:p>

<o:p> </o:p>

Thank you.

Hyper-V Internet Routing with 2 NIC

$
0
0
Hi,

I have problems adding internet routing to an existing Hyper-V network running on Windows Server 2008 R2. I am using the following setup:

1) Virtual Hyper-V network bound to NIC
2) Second NIC bound to internet router

A couple of VMs run on Hyper-V. They are using fixed IP addresses. The virtual network is configured as external an bound to the first NIC. A DHCP server is bound to the NIC to assign addresses to devices connected to this network.

So far so good. This setup itself works fine but I need a way to route all internet traffic to the secondary NIC. I tried to activate RRAS NAT but in this case external addresses were still not reachable (whereas DNS lookups work fine) and the DHCP server was suddenly sending broadcast to my internal LAN and therefore competing with the existing DHCP server of the internet router.

Some more details about the interface setup:

a) virtual network: IP 192.168.20.2, netmask 255.255.255.0
b) NIC 1: IP 192.168.20.1, netmask 255.255.255.0
c) NIC 2: acquire from DHCP server (could also use static IP)

Any ideas how I can correctly configure the routing?

Regards,
Christoph

vEthernet adapters lose network settings on reboot

$
0
0

Hello - I have a strange issue on my Server 2012 Hyper-V hosts.  Whenever I reboot, the ip address settings are lost.  When I go into the NIC settings, the correct IP info appears but if I do ipconfig, its APIPA  169.x.  It only happens with 2 out of 3 virtual switches.  The difference is that they are marked to "Allow management operating system to share this network adapter" in Hyper-V network manager.

Server Info - Server 2012 Datacenter.  All updates applied.


~David

Repair RAID on Non-Interactive Hyper-V 2012 Server

$
0
0

Hello Community,

I'm a Hyper-V enthusiast/hobbyist, and not much of a pro.  My Hyper-V server is non-interactive, and sits on top of a RAID5 drive.  Recently, my power went out and when rebooting one of the drives in my RAID5 went bad.

I'm looking for the best way to get this drive fixed.  Usually in Windows there's a RAID utility (interace) of some sort that allows me to repair a disk.  Not so much in command-line mode.

Any assistance/guidance would be greatly appreciated.

Thank you,

Michael


HYPER-v Failover solution

$
0
0

i have four physical server and i want to creat 12 OS virtualized

single physical serve have 16 gb RAM

I need failover soultion with this specs. i am confusion one thing that

i have 5 windows server 2012 license i.e. 2 vm per physical if one physcial down what happen machine will be move to other Physical

machine ?can license also move or not

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!

Best practice for virtual HBAs in HYPER-V 3

$
0
0

Hello,

   we are deploying SQLSERVER and NAS servers on HYPER-V 3 which have virtual HBAs to access directly LUNs in the SAN.

   We have in the hosts 4 physical HBAs ports. We are using 2 for accessing the CSVs and 2 for fiber vSwitch (normally we put the operating system in CSV and dedicated LUNS: logs, databases... in direct assign LUNs). We have two physical fiber switches in our SAN and each one of the HBAs (of each group:CSV or for vSwitch) goes to one of them to assure fault tolerance.

   I haven't found any best Practice for how to establish fault-tolerance/multipath aggregation. As I see , there are two options:

1. Create a fiber vSwitch with two physical HBAs and assign one or two virtual HBAs to each machine. This way I do the same zonning on both switches, but I don´t know which path they will go.

2. Create two fiber vSwitchs (one with each HBA) and two virtual HBAs on each guest (one over each vSwitch) and do a different zonning in each switch.

We are using for the firsts guests option one, with only one virtual HBA for each guest (it is more a prove that a final design). But I think the second one is more like the physical way and you assure two paths (also you have less innitiators/masking in your Storage). I don´t really know (and haven't found a clue) how HYPER-V assigns the virtual HBAs to the physicals ones (round robin?, load...)...

Any best pratice or advice?

thanks


Use HBAs to both host and Virtual SANs

$
0
0

Hi,

Is it possible to use the same HBAs to present LUNs to the Host and the VMs (trough a Virtual SAN)?
When creating a new Virtual SAN, will the Host still be able to use the HBAs for existing SAN attached disks?

We already have a bunch of SAN storage connected to the hosts, but now we need the possibility to add a SAN disk directly to a clustered VM also.

Will there be any disconnect to existing LUNs when the Virtual SAN is configured?

Asking in advance so I don't disconnects the storage for the rest of the VMs. Would be a bad day at work...


-ae

VHDX performance for use as File Server disk

$
0
0

Hello,

I want to create a large VHDX file, around 3 TB, to be used as a disk for a Windows 2003 VM (File Server). There are about 300 users who will be accessing it.

Will it give a better performance compared to a raw LUN disk directly mapped to the VM?

Viewing all 19461 articles
Browse latest View live




Latest Images