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

Disable Write Caching on a Virtual HD ATA Device

$
0
0

Hi!

We have a Windows Server 2012 Hyper-V cluster. The VHDX files is stored on a FC connected EVA P6300 SAN.

When I try to disable Write Cache on the disk I get an error saying "Windows could not change the write-caching setting for the device. Your device might not support the feature or changing the setting". This is a Windows Server 2008 R2 guest.

On the guests running on a VMware ESX(i) x.x installation, this is not an issue. The guest is stored on the same SAN, but on other Vdisks of course.

Guest VM additions is version 6.2.9200.16384

Update: Write Cache is disabled on the storage connected to the Hyper-V host.

Anyone?


-ae



UPS Shuts down Hyper Visor, but will it shutdown gracefully the running VM's ?

$
0
0

I just purchased a CyperPower UPS and attached it to my Del T110 so it will shutdown the Hypervisor after 5 mins of losing power. But what about the running VM's? Will they all gracefully shutdown and will they just TURN OFF?

I am running Windows Server 2012 R2 standard on a Dell T110 32 gb 2 nics


Jim Holloway


How to distinguish host and vm on this host

$
0
0

 The host computer system uses the same WMI class (Msvm_ComputerSystem) as the virtual machines, so when I run query

SELECT * FROM Msvm_ComputerSystem I get in one list hyper-v server listed and all virtual machines on this server. Is there a way to distingush this?

Hyper-v non persistent disks?

$
0
0
hello, how can i make non persistent disks in hyper-v, like you can in vsphere? thank you.

Best options for VMs under Hyper-V, Raid options and SAS, Core/Thread to VM ratios? Supermicro raid?

$
0
0

At this point, we are building another hyper-v host server in our environment.. we have about 35 virtual machines spread over 3 hyper-v hosts at this point.. most of these servers are 5+ years old and only 8 core machines with sata enterprise drives. In the past i've created raid6 arrays that hold all the servers on one box plus maybe another raid6 array for a passthrough disk to a virtual box as well.

On one of the older boxes we run a virtual 16GB instance of sql server 2008, as well as application tiers for TFS, Sharepoint 2013 etc.. we also have two Exchange 2010 VM's.. one of which is 300+GB..  these types of applications spread over 3 hosts..

These days these old boxes are seemingly dragging.. too many vms on one box for sure.. way beyond the old one box per core rule... as many as 14 on one box alone (8 cores)..

Now we come to today.. this is what i've been spec'ing for a new build:

CPU:   E5-2650 v3 2.3 ghz x 2   (10 cores, 20 threads on each cpu)

Motherboard: X10DAI-B 

Chasis:  SupermicroSC846BE1C-R1K28B 4U, sas3/sata single expander

Supermicro was suggesting going with one of these 3 supermicro cards.. saying that they cant guarantee other brands will work such as Areca (unless its the lsi-avago chipset).. anyone have experience with supermicro?

Card 1

Card2

Card3

The debate is on this new box.. going with raid6 vs raid10.. also if sas3 is overkill on either of these, or maybe just for raid6, and the option of going with an enterprise sata drive array should be considered?

Raid10, seems like a big suck of drive slots.. though maybe I dont need to have more than 3 drives in a stripe x 2 for this, to beat out say the performance of Raid6.. which normally i always use at least 4-5 drives for Raid6.. perhaps there is a calculator to compare RAID10 with less in the stripe vs Raid6 with more.

Any thoughts on the best route to take here?

This will all go on Hyper-V under Windows Server 2012 R2 x64.. Ill also have a second dual port nic card, so that each VM has an option of VirtualNetwork #1 or #2 as i've done in the past with the other hosts.

And with the new CPU, does the old one VM per physical core still apply.. or is it one per thread since this new CPU is hyper threaded?

I'm considering doing VM replication down the road as well.. to help for situations where one host goes down..

Thanks in advance for any suggestions



Tech, the Universe, Everything: http://tech-stew.com Just Plane Crazy http://flight-stew.com


Hyper-V Simulate 2 HDD

$
0
0

hello guys, how to set a VM with two separate hard drive (of course it's VHD)?

What I mean I have a clone machine, and the physical computer has two hard drives on it.

So If I will restore it to a VM, I need to simulate the physical computer which has two hard drives. How can I do this on Hyper-V?

 

Thanks, any input is greatly appreciated.


Every second counts..make use of it. Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.
IT Stuff Quick Bytes

The disk signature of disk 5 is equal to the disk signature of disk 2.

$
0
0

I just started getting this error and don't what it means:

The disk signature of disk 5 is equal to the disk signature of disk 2.

Event ID: 58

Also getting this error after the above error:

Disk 5 has been surprise removed.

The Hyper-V is been running for 5 months then this error starts.

Please assist

Server 2012 Hyper-V Hosts semi-crashed Cluster error

$
0
0

We did a clean rebuild of our Hyper-V environment just over 2 weeks ago.  3 HP DL360 G7 servers, two clustered with Failover Cluster Manager, the third is a stand-alone host for Dev/Staging servers.  The clustered pair were 2008R2, wiped, and installed Server 2012 fresh.  The stand-alone was an OS upgrade from 2008R2 to 2012.  While the servers were being rebuilt, we used the HP utility to update all the drivers/firmware/etc.  They are up-to-date on WinUpdates as of May 16th.  We came in last Monday to discover that one of the clustered Hyper-V hosts had issues over the weekend - VMs hosted on that host were all marked "Host Not Responding" in VMM, and the host was inaccessible via RDP entirely, and access at the KVM showed the server hardlocked.  However, all of the VMs running on the host were up and functioning.  Knowing that we were doing scheduled downtime this week, we chose to leave things as is.  Today, we came in to find the other host in the cluster had done the same exact thing, but again all VMs running on that host are up and working fine.  All production servers will be patched and rebooted this week for regular maintenance, but we'd like to avoid this issue occurring again in the future.  At the time of the initial host going unresponsive, the only error in the event log of the other host was below:

Log Name:      Microsoft-Windows-FailoverClustering/Diagnostic

Source:        Microsoft-Windows-FailoverClustering

Date:          5/27/2013 9:25:11 PM

Event ID:      2051

Task Category: None

Level:         Error

Keywords:     

User:          SYSTEM

Computer:      HOST.domain.com

Description: [RHS] s_RhsRpcCreateResType: ERROR_NOT_READY(21)' because of 'Startup routine for ResType MSMQTriggers returned 21.'

What is somewhat disturbing is that no VMs were migrated off at the failure, and we had no clean way to migrate the VMs off that were running on the failed host.  VMM doesn't allow us to migrate (option grayed out), and the remaining host (at the time) didn't see the cluster, so couldn't access those VMs in Failover Cluster Manager either.  Ping is successful to either host, but nothing past that.  SCOM flipped a heartbeat alert on the first host, but nothing past that in terms of alerts.  Have there been any fixes/updates released for Server 2012/Hyper-V hosts that we should be sure we grab when rebooting tomorrow night?  Anyone else experience something similar?  We can re-run the HP driver/firmware update utility to check again for updates of that sort while rebooting, but I want to make sure we cover all bases now so this doesn't happen again.  Any suggestions are appreciated.



Can hyper-v integration services for linux and windows coexist on the same hyper-v host 2012 R2 datacenter.

$
0
0

Can hyper-v integration services for linux and windows coexist on the same hyper-v host 2012 R2datacenter.  And are there any issues in having both Linux VM's and Windows VM's on the same hyper-v host.


dsk


after windows update hyper v host has no network connection

$
0
0

We have a windows 2012r2 hyper v host running 6 vm's.

the hyper v host has veeam backup and replication and  had an ip assigned to be on the network , so it could be replicating to another hyper v server via veeam.

After installing windows update last Friday night, I discovered that although the 6vm's are on the network, the byper v host itself is not.

I am not sure on which nic on he hyper v host the ipconfiguration was tied to.

the vm's are using ....#4

I briefly added the ip configuration to the nic called internal1-1 , but did not connect to the network (I did not reboot)

how can I re-enable network access for the hyper v host again.!!

regards

Leopold

Hyper-V Virtual Machine acting as two separate instances with same ip and name, should be just one VM.

$
0
0
I have a Hyper-V virtual machine (vm1) that has two separate instances of itself. I can log into what should be the same VM (vm1) through Hyper-v and RDP (Remote Desktop Connection) with the same ip or the same name and it does not warn me that I am on the same VM in a different location like the other 2 correct VM's running (vm2,vm3) when logged in at the same time. Additionally, they do not share the same files between the two connections like my other working machines proving that they are acting separately. Some more information that may be helpful, previously my network adapter stopped working on my machine hosting the three Hyper-V virtual machines (vm1,vm2,vm3) so I switched over to the second network adapter and added a new virtual external switch (vs2) for the new network adapter location. This solved the network issues but then vm1 applications that were running no longer worked, so I had to leave vm1 on the previous switch (vs1). What is going on?

Monitoring virtual switch Hyper-V

$
0
0

Hello,

I have a Hyper-V (WS2012 R2) with 150 VMs. I use a monitoring application which is called "Cacti" (like Nagios).

That's why I want to monitor the Hyper-V's virtual switch on this app (bandwidth for each Vm). Is it possible with SNMP installed on the virtual switch ?

Thank you.




GuestOperatingSystem derived from Msvm_SummaryInformation returns NULL

$
0
0

'GuestOperatingSystem' property from Msvm_SummaryInformation class gives NULL for most of my virtual machines.

(I have virtual machines combination of SUSE Linux and Windows. I have integration services running on all of them.)

But few VirtualMachine's are getting the value. Strange situation. :(

 

Strange behaviours in newly created Hyper-V Cluster

$
0
0

We have just setup a new Hyper-V cluster based on 2012 R2 in a completely new AD Domain. We have two physical hosts (nodes) running 2012 R2 (domain members). A 2008 R2 (Swedish version) DC running on a physical machine. A virtual DC running on the cluster (2008 R2 English version). We have also setup two virtual member servers running 2012 R2 Swedish version. One of them a WSUS server. Everything was at this point working flawlessly.

Later we did two things; enabling CAU and adding a custom security group to the “Allow logon through Terminal Services” setting in Default Domain Policy.

Symptom 1 – Unable to RDP to DC:s:

Next, no one (not even Domain Admins) was able to logon remotely. We removed the group from the GPO setting (hence back to its orginal setting – unset). We verified using rsop on all servers that the change back had taken effect. However, we (Domain Admins) could still not RDP to the DC:s, only to member servers.

Symptom 2 – Differences in firewall policies.

Next, we added two virtual member servers and added them to the domain. First thing we noticed was that we were not able to ping those new servers because the Windows firewall did not allow ping. Further investigation showed that the new servers had in general a lot less active firewall exceptions compared to other member servers, although they are in the same OU, have the same GPO:s and we have not did any manual configuration of firewall rules. Why is there a difference in active firewall exceptions?

Symptom 3 – Weird CAU log entries  in cluster Log.

See log entries further down. The CAU role “CAUcorp-qhc) is not visible under “Roles” in Cluster Manager but a computer object is created in Active Directory.

 -----logs---

Cluster network name resource 'corp-wsus' failed to create its associated computer object in domain 'Eval-MoS.se' for the following reason: Resource online.

Cluster resource 'eval-wsus' of type 'Distributed Network Name' in clustered role 'CAUcorp-qhc' failed.

Cluster network name resource 'corp-wsus' failed to create its associated computer object in domain 'Eval-MoS.se' for the following reason: Resource online.

Cluster resource 'corp-wsus' of type 'Distributed Network Name' in clustered role 'CAUcorp-qhc' failed.

Clustered role 'CAUcorp-qhc' has exceeded its failover threshold.  It has exhausted the configured number of failover attempts within the failover period of time allotted to it and will be left in a failed state.

VM's are stuck in cluster

$
0
0

Hi all,

We have 3 nodes HyperV failover cluster on Windows Server 2012 R2. DELL's EQL storage connected to all nodes by iSCSI and mapped as single CSV volume.

Resently we have faced serious performance problems with VM's in cluster. VM's are very slow or hang (Ping are ok, other connections are very-very slow or unavailable). Moving VM from node to node fix the problems for a small period of time but it hangs again.

Not clustered VM's that stored on local drives are OK. We don't see any errors or warnings on NICs or on Storage. Storage load is normal.

Sometimes there are disk queue peaks on guest OS (0 and then peak to 50 or somtimes to 100 and 0 again).

There are no abnormal events on host servers.

Also I have faced that VHD's are readed by System process (see screnshot). There are a lot of reads and 0 writes. VM's can be even turned off but reads are high. Is it norman?

Any suggestions will be appreciated.


Hyper-V 2012 R2 fails on PXE boot with Windows 10

$
0
0

Hi,

with the recent release of Windows 10 we are trying to deploy the new version to a few virtual test machines via PXE. The OS images are provided by an SCCM 2012 R2 instance and everything works perfectly fine if you run it outside of Hyper-V. If you try to PXE boot in Hyper-V you get the following error:

This was not entirely unexpected and in the past this could simply be bypassed by temporarily disabling the "Enable Secure Boot" option for the VM in question. This work around has also been wide spread across the net for earlier versions of Win10, e.g.: http://deploymentresearch.com/Research/Post/441/Fix-for-installing-Windows-Technical-Preview-via-PXE-on-Gen-2-VM

However if you try to apply the same workaround now you simply get the following with no additional information:

Has anyone figured out a solution for this problem yet?

Our test environment includes:
- SCCM 2012 R2 SP1
- Windows Server 2012 R2 with Hyper-V installed (plus latest updates)
- Boot image is Windows 10 Enterprise (release version, not preview)

Best regards,
Christian


Creating a scheduled batch job to force synchronization

$
0
0

Hello,

I checked on the synchronization health today and it was in critical state for replication.   It hadn't synced up since the last server reboot.   I clicked on synchronize to force it and it did - no problem.   I didn't have to go to services and restart any - just clicked on sync in hyper-v manager.  I don't want to have to check on the synchronize and manually synchronize after every reboot.   Is there a batch file I can run to force replication like I just did manually?

The error I got after the reboot until I manually forced replication was - Hyper-V failed to enable replication for virtual machine Operation aborted (0x80004004).    I didn't need to delete replication or anything to make replication work - I just had to basically resume it.   I am not using certificates to replicate so it isn't a bad cert.



Windows Authentication for VDI Desktop

$
0
0

Hi all

I have VDI environment with two rdweb servers and two of Hyper-V Virt. Host

I want the RDP to the VDI desktop to automatically signing in with the Users's  AD credentials (Internal Environment)

I have tried to enable GPO for "Allow delegation Default Credentials" and linked it to the VDI Desktop OU.

any suggestions?

 Tnx.

Assign MAC Address of Physical Network Adapter to Hyper-V Virtual Network Adapter

$
0
0

Hi,

I'm new to Hyper-V and virtualization.

I have recently setup hyper-v and installed win7 on one of our company's 2012 R2 server (host).

The 2012 R2 server also serves as the licence tool server for our Maya products.  The MAC address of the physical network adapter is used by the license tool to manage the licenses.  

However, after setting up Hyper-V, it seems the host machine now uses the virtual switch/Hyper-V Network Adapter and the MAC address had changed.  This is causing the license tool to malfunction.

My question is: Is there a way to assign the original physical network adapter's MAC address to the hypver-v virtual network adapter (as if the virtual adapter is the physical one?)

Note: The host 2012 R2 server only has 1 physical network adapter installed.

Thank you!

Windows 8.1 / Hyper-V : Failed while adding virtual Ethernet switch connections

$
0
0

I used to have a virtual switch that was bound to my wireless adapter. It was at one point removed, but now I want to re-create it.

But, now Hyper-V throws this error any time I try to bind a virtual switch to my wireless adapter:

Error applying Virtual Switch Properties changes

Failed while adding virtual Ethernet switch connections.

Ethernet port '{Guid}' bind failed: The system cannot find the file specified. (0x80070002).

I've tried uninstalling/re-installing my network adapter. My efforts have had no effect.

Viewing all 19461 articles
Browse latest View live




Latest Images