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

Is it possible to install SQL Server 2012 Standard Edition on a Windows Server 2012 Standard Which is installed on a Virtual Machine that is created by Hyper-V?

$
0
0

Hi

I have recently bought a Virtual Machine from a data center and installed a Windows Server 2012 Standard Edition on it. As I tried to install the SQL Server 2012 Standard Edition, the data center administrator denied me to do this telling me it is not possible to install any licensed Microsoft software on a Windows installed on virtual machine created by Hyper-V. It was really strange for me! I wanna know if this is true.

Thanks Everybody


Installing Hyper-V Powershell Module on Virtual Machine

$
0
0
I have a situation where I am running Hyper-V 2012 and have several virtual RemoteApp RDS servers (server 2012 R2) with a user profile disk server (also 2012R2 virtual machine) that stores all of the VHDX user profile disks. I want to perform some maintenance on the VHDX files by running optimize-vhd to compact the disks to keep them from being larger than they need to be. Anyhow, that PowerShell commandlet won't run unless the Hyper-V module is installed but in order to install it, the Hyper-V role must be installed. Since it's a virtual machine, it's not supported to install the Hyper-V role (although I hear it may be possible) so I was wondering if it is possible to install only the Hyper-V PowerShell modules. I would just use a Hyper-V server to run it but the commandlet does not seem to allow UNC/Share paths. Any suggestions? Thank you in advance for your time!

Error (10698) The virtual machine (x) could not be live migrated to the virtual machine host (y) using this cluster configuration

$
0
0

Error (10698)
The virtual machine (x) could not be live migrated to the virtual machine host (y) using this cluster configuration.

Recommended Action
Check the cluster configuration and then try the operation again.

We got the above error on one of our server in our 4 node Hyper V 2012R2 Cluster after having the node down to do the latest MS updates Dec 2014. 

The fix in the end was to on the node that we could not migrate to:

Navigate to C:\Windows\System32\GroupPolicy\Machine on the server in question
Delete the file “Registry.pol“ or rename it if you prefer (example Registry.renamed)

Then restart the Hyper-V Virtual Machine Management service (NOTE! THIS WILL RESTART ANY VM's ON THIS NODE) in our case the Node was Empty since it had just been down for maintenance. 

A new Registry.pol file will be created 

I found the fix here http://jack-brennan.com/hyper-v-live-migration-error-applying-changes/ but it took some searching, so wanted to re-post here the help out others with the same issue.

If anyone knows why this fixes the issue I would love to know!

Error 1069 on Hyper V Cluster

$
0
0

Hi,

We have three hyper-V Host Servers with failover cluster, having different VM machines.

On one hyper V host one machine restarted automatically I don’t know why other machines on same hyper v host remains online.

When I checked hyper V Cluster Events I got Error 1069 frequently on daily basis, I Google it but unfortunately did not find any concrete solution can some help how to resolve this issue

The effected machine is Linux based machine (name : erp)

Error:

 

Cluster resource 'Virtual Machine ERP' of type 'Virtual Machine' in clustered role 'ERP' failed.

 

Based on the failure policies for the resource and role, the cluster service may try to bring the resource online on this node or move the group to another node of the cluster and then restart it.  Check the resource and group state using Failover Cluster Manager or the Get-ClusterResource Windows PowerShell cmdlet.

pls help


HyperV replica Capacity Planner

$
0
0

Hi,

I'm trying to run the HyperV replica Capacity planner against the HyperV Cluster on the production environment. The cluster consists of 5 Windows 2012 Datacenter hyperV hosts. I downloaded the capacity planner from the following URL.

http://www.microsoft.com/en-au/download/details.aspx?id=39057

Execute it on the SCVMM server (SCVMM 2012 R2 on Windows 2012 R2). Took the default value for Duration for Metric (30 Minutes) and specified the HyperV replica Broker name for the Primary site details. Skipped the replica site details. However, it doesn't go beyond the following screen. Kept it running for 8 hours with n luck

Screenshot 1

If I click next i get the following screen,

Screen Capture 2

How can I troubleshoot this issue?




Mirror traffic from external NIC to VM

$
0
0

Hello all,

We are in the process of setting up a content filter inside a VM. My question is the following : Is there any way to configure a VM in hyper-v to receive mirrored traffic from a physical switch connected to a physical adapter on the host.

Network Setup as follows :

Physical:

NIC 1 : Lab Network/Management. Not shared to VMs.
NIC 2 : External Network connected to physical switch and bridged External WAN vSwitch.
NIC 3 : Mirror interface connected to physical swicth.

vSwitches :

LAN : Internal - For Management and backend comms between VMs.
WAN : External - Bridged with NIC2. Provides WAN access.
MIRROR : External - Would mirror traffic from physical switch to NIC3

I found the following article online HERE but it seems to be talking about mirroring traffic that goes through an external adapter. In this case, traffic does not go through the host in any way, but through the switch.

Thank you for your help!

Live Migration Fails with error Synthetic FiberChannel Port: Failed to finish reserving resources on an VM using Windows Server 2012 R2 Hyper-V

$
0
0

Hi, I'm currently experiencing a problem with some VMs in a Hyper-V 2012 R2 failover cluster using Fiber Channel adapters with Virtual SAN configured on the hyper-v hosts.

I have read several articles about this issues like this ones:

https://social.technet.microsoft.com/Forums/windowsserver/en-US/baca348d-fb57-4d8f-978b-f1e7282f89a1/synthetic-fibrechannel-port-failed-to-start-reserving-resources-with-error-insufficient-system?forum=winserverhyperv

http://social.technet.microsoft.com/wiki/contents/articles/18698.hyper-v-virtual-fibre-channel-troubleshooting-guide.aspx

But haven't been able to fix my issue.

The Virtual SAN is configured on every hyper-v host node in the cluster. And every VM has 2 fiber channel adapters configured.

All the World Wide Names are configured both on the FC Switch as well as the FC SAN.

All the drivers for the FC Adapter in the Hyper-V Hosts have been updated to their latest versions.

The strange thing is that the issue is not affecting all of the VMs, some of the VMs with FC adapters configured are live migrating just fine, others are getting this error.

Quick migration works without problems.

We even tried removing and creating new FC Adapters on a VM with problems, we had to configure the switch and SAN with the new WWN names and all, but ended up having the same problem.

At first we thought is was related to the hosts, but since some VMs do work live migrating with FC adapters we tried migrating them on every host, everything worked well.

My guess is that it has to be something related to the VMs itself but I haven't been able to figure out what is it.

Any ideas on how to solve this is deeply appreciated.

Thank you!


Eduardo Rojas

Hyper-V Replica Capacity Planner stuck getting VM information

$
0
0

I'm trying to use the Capacity Planner for Hyper-V replica tool to estimate requirements for a replica site.

It keeps getting stuck "Getting the VM and VHD from primary site, this can take upto several minutes...". I've waited over an hour, and it still sits there.

The primary site is a 3 node Hyper-V 2012R2 cluster. I have installed and configured the Hyper-V Replication Broker role on the cluster. For now, it's set to use HTTP without any certificates.

I don't have a replica site yet, so I've selected "Skip tests involving Replica site". For the primary site, I've tried pointing it at both the replication broker, and at one of the individual nodes. It gets stuck in the same place.

Other things I've tried:

  • Disabled windows firewall on all 3 nodes
  • Running the tool from one of the nodes, logged in as a domain admin account
  • Moving all the VMs off of one node, and pointing the tool at that now empty node
  • Let it run for longer - left it alone overnight.
  • Downloaded the tool again in case it was corrupt
  • Rebooted my computer

In all cases, it gets stuck at the exact same spot.

Any idea how to figure out why it is freezing? Have I missed configuring something important for the tool to run?


Hyper-V convert to direct disk

$
0
0

My 2012 R2 Server is running on 5 RAID6 HDDs + 1 spare (WD REDs). It's used as a storage server, with two Windows 8.1 Pro Hyper-V clients. The problem is that the disk access in general is kind of slow. So my idea is to move the windows to RAID1 SSD, and move both Hyper-V clients to another RAID1 SSD, and keep RAID6 HDDs just for users files storage.

Both Hyper-V setup as dynamic disk files. Is there a way to convert them and run them as direct disk access from SSD divided into two partitions?

Thanks so much for any help.


Just FYI, new blog post "New Windows Server Cloud Networking Technologies Documentation"

Enabling RSS on Virtual Adapter?

$
0
0

My Hyper-V 2012 R2 hosts are clustered, using two 10Gbps NICs that have been teamed. I have the physical NICs divided into multiple vNICs (at the host level) using VMQ.

I was verifying a few things and noticed that while RSS is reported as available and enabled on the physical team and the individual physical NICs, it's reported as unavailable on the vNICs.

When I execute a Get-SMBMultiChannelConnection all the sessions (which have been constrained to a pair of vNICs on a dedicated SMB subnet) report "Client RSS Capable - False"

Is this expected? Can it be enabled? If it is enabled on the physical NICs and the Team, is that sufficient?

Duplicated MAC address on teammed network !

$
0
0

hello,

I have two hyper-v nodes in my environment both are hosting multiple DC's NPS, DNS,...etc

I used native windows server 2012 R2 native NIC teaming

I did team all available network interfaces "four of them" to a single network adapter using LACP. link aggregation control protocol

things has been working fine for about three months

now days I can see a very strange warning message it says "MAC conflict: A port on the virtual switch has the same MAC as one of the underlying team members on Team Nic Microsoft Network Adapter Multiplexor Driver"

any idea or solution ?

its not fair the teamed interface use the same MAC address of one of its members !

best

shad

Disk Configuration Question for Performance

$
0
0

Hi,

I am looking for some advice on what the best way to configure my disk system is for performance when using Hyper-V. Currently I have two midline 7.2k SATA disks used for the hyper-V OS in RAID 1, and then 14 x 10k 600GB SAS enterprise disks in RAID 10. The RAID 10 is where all my VM’s exist on, but not directly on the physical disk, I use a product called StarWind which consumes almost all of the physical disk space, this is a virtual SAN and I use this for my CSV in the cluster, the VM’s all exist on this starwind disk, there is a tiny amount of overhead but I don’t think that’s really where my problem lies. We have 12 Virtual machines, so there is 1 spindle per VM, however it’s in RAID 10 so does this actually mean I have 7 spindles for 12 VMs?

The entire system almost grinds to a halt whenever I am copying new VM’s onto this host. I can’t use any other RAID type except for RAID 1 or 10. I know RAID 0 would give me better performance but we are not willing to take the risk. Now, it is my understanding that RAID 1 and 10 are essentially the same with the same performance and capacity, because of this I chose RAID 10 so I can take advantage of the combined capacity, but I am wondering if this is the best configuration.

I can think of a few other variations:

  • A single RAID 10 with one large partition but multiple CSV’s instead of one large one
  • A single RAID 10 with multiple partitions and a CSV on each partition
  • Multiple RAID 1, each having a single partition and a single CSV

Reading this site, there are a few pointers I have taken away regarding disk performance, a couple below I have questions about.

http://www.altaro.com/hyper-v/23-best-practices-improve-hyper-v-vm-performance/

Point 6 says “Use separate volumes for each VM. Since the administrative tasks of a virtual machine are controlled by its own process (VMWP.exe), keeping several virtual machines on a single volume will cause more Disk I/O operations from each worker process. Hence, it is recommended to use separate volumes for storing virtual machine files (VHD, VHDx, checkpoints, and XML).

Does this mean the arrangement I propose in my second point above – multiple partitions and a CSV on each partition? The term “Volume” seems to be a bit ambiguous depending on where you read

I believe point 14 to be incorrect though. “De-fragment Hyper-V Server regularly or before creating a virtual hard disk. It is advisable to defrag Hyper-V Server disks where the VHD and virtual machine configuration files are stored regularly or before creating a large virtual hard disk file.

It is my understanding that defrag only tends to work well if there are many files on the disk, on the physical disk in my case there is one massive starwind file so I don’t think defrag on the physical will do anything, defrag in the starwind disk might help but it is mostly large VHDX files – will defrag really make much difference?

Additionally, I don’t have any generation 2 VM’s and there’s nothing I can do about this right now, all data disks use SCSI channels on the VMs, all VHDX are fixed size.

Also, a slight side question but kind of related – I have both an exchange server and SQL server running as VM’s (the log files already exist on separate VHDs, but on the same physical RAID 10 disk), does my physical disks used for log files need to match those used for the DB, or can they be slower lower class disks… for example, if I place a 7.2K disk in with a RAID made up of 10K disks, it is my understanding that the entire RAID will lower its performance of the slowest member – is this true with log files and databases, if the log files are on slow disks will the database also go slower to match the pace of log files being written?

many thanks

Steve

Hyper-V Replica Application-Consistent

$
0
0

Hi,

my Scenario:

Primary site - Hyper-V Cluster Windows Server 2012 R2

Replica site - Hyper-V Host Windows Server 2012 R2, same IP subnet

several VMs with SQL 2012 SP1 and SQL 2005/2008, SQL on same VHDs and on different VHDs (Set-VMReplication -VMName <vm-name> -EnableWriteOrderPreservationAcrossDisks 1)

VM Integration Services: 6.3.9600.16384

doing Application Consistent Recovery Points on the SQL-VMs which seems to running well...BUT if you look at the Application-Log inside the SQL-VMs I get following errror every time a Application Consistent Recovery Point is running:

SQLVDI: Loc=SignalAbort. Desc=Client initiates abort. ErrorCode=(0). Process=2644. Thread=7212. Client. Instance=. VD=Global\{3346955E-6377-4992-BA65-5DB64EFA8399}1_SQLVDIMemoryName_0

BACKUP failed to complete the command BACKUP DATABASE model. Check the backup application log for detailed messages.

BackupVirtualDeviceFile::SendFileInfoBegin:  failure on backup device '{3346955E-6377-4992-BA65-5DB64EFA8399}1'. Operating system error 995(error not found).

Same error on all my SQL-VMs.

VSS Backup (within the host) of my SQL-VMs with Windows Server Backup works as expected without any Errors.

So I believe this is an Hyper-V Replica issue not an SQL issue!

I did the same tests on a completely different Hyper-V Replica Environment without Hyper-V Cluster --> same errors

any ideas....

Thanks for any replies...christian

error 61441 during installation of guest utils on 2003 host

$
0
0

We have Windows 2012R2 server and we have the same error 61441 during intergration services setup on a windows 2003 vhdx

Do you have a solution to fix this? Both guest and host os are english.

Thank you very much.

Ronald.


How to get notified when changes happen on Hyper-V host or VMs

$
0
0
Is there a way to get notified on Hyper-V host or VM changes? Our intention is to notify the system-administrators on any changes.

1. How to get notified when new VM is created (or deleted) on Hyper-V.
2. How to get notified when any memory/CPU/disk is added (or deleted) on any VM(s).

In general: 
- Get notified when any changes happens to Hyper-V host.
- Get notified when any changes happens on any VMs.

Our target servers are Windows Server(2008, 2008 R2, 2012, and 2012 R2)

We tried to get the notification using "Event Viewer" on different Windows servers (2008, 2008 R2, 2012, and 2012 R2)

We were able to get event-logs only on one of our 2012 R2 server as described below on creation/deletion of VMs (on another 2012 R2 server, we did not got any such event, Is there any setting required on host computer to get Hyper-V event-logs in "Event Viewer"?)

Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          12/18/2014 1:21:45 AM
Event ID:      13002
Task Category: None
Level:         Information
Keywords:      
User:          SYSTEM
Computer:      HPHyper-V.COMPUTERNAME.lab
Description:
A new virtual machine 'TestVM' was created. (Virtual machine ID A0FED305-7B1A-4BB5-952C-BA9634ACDA45)
-----------------------------------------------------------------------------------------------------
Log Name:      Microsoft-Windows-Hyper-V-VMMS-Admin
Source:        Microsoft-Windows-Hyper-V-VMMS
Date:          12/17/2014 10:57:01 PM
Event ID:      13003
Task Category: None
Level:         Information
Keywords:      
User:          SYSTEM
Computer:      HPHyper-V.COMPUTERNAME.lab
Description: The virtual machine 'TestVM' was deleted. (Virtual machine ID A0FED305-7B1A-4BB5-952C-BA9634ACDA45)

Mixed Environment Physical Win 2008 and Virtualised Win 2012R2 [Where is the Virtualisation Group!]

$
0
0

I am upgrading from a twin physical DC environment on win2008 (not R2) to fully virtualised DCs running 2012R2 on HyperV 2012R2. I know there is a risk running both DCs on a single box but we don't currently have a choice. The idea is to migrate to 2012R2, then to add in an azure server and demote one of the other two to a single member server. i.e. 2 DCs. one on premise and one on Azure.

However, due to the risk of running the only 2 DCs on a single box, I was thinking perhaps to keep a physical DC on 2008 in the meantime.

I have two questions:

Q1: 2012 and above protect from USN rollback by using VM-GenerationID, However, if we keep a 2008 DC, will this still work or do the FSMOs need to be raised to 2012 as a minimum for VM-GenerationID to be effective and thus we cannot maintain 2008 servers.

Q2: If I have both DCs on a single host and shutdown the host, the two virtual servers will be saved. I just want to be sure that these will both come back online safely when the host starts up again and the VMs power back up without me having to shut them down first. (I’m guessing that Virtualisation safe covers this eventuality) I had a USN rollback in the past after accidently leaving the network cable plugged in after splitting a raid1 and powering up the server to do some disk maintenance! I never want to repeat that!!

Many thanks


vCPUs & Licensing

$
0
0

I have a host with dual CPU, each 6 cores and HT enabled. So during the setup of my VM I can set up to 24 vCPUs. I did read up on this whole vCPU thing and my understanding is that x vCPUs means that a maximum of x threads from my VM can run simultaneously on the physical CPUs. So let's say I assign 4 vCPUs to my VM. This means a maximum of 4 threads from my VM can run at the same time on the physical VM. As mentioned above, my host has a total of 24 cores (counting HT). This means my VM can consume a maximum of 4/24 = 17% of the physical CPU power available. Is this understanding correct?

Assuming I understood the above correctly, then in order to not waste physical CPU power (I only have two VMs, hence they could use max 34%) I could simply increase the number of vCPUs to the full 24 and have hyper-v allocate resources between the host and 2 VMs. However, that means my Server 2012 R2 Standard sees 24 CPUs while the licensing only allows 2 CPUs. So how can I take full advantage of the physical CPU power without getting in trouble with licensing?

MVMC 3.0 - Retain Block Size?

$
0
0

I have an Exchange 2007 server (Windows Server 2008 R2) on ESXi. I need to convert it to Hyper-V 2012 R2, but retain the 512 byte block size. Can this be done with MVMC 3.0?

I tried 5nine Converter, and it converts the 512 byte vmx files to 4K vhd files, which Exchange does not support.

Hyper-V Error when selecting Disk for a new VM

$
0
0

Hello.

I just got a new HP Server with the following entry level specs - for a small project:

1 x HP DL380e Gen8

1 x QC Processor

8GB Memory

2 x 1TB SATA HDD LFF in RAID1 running from a B120i Controller

OS Running: Windows 2008 R2 Standard on the Host.

I proceeded to install the Hyper-V Role and then created a new VM - which will also be running Windows 2008 R2 Standard (with specs as 2-core, 3GB memory, 2HDDs (OS + DATA)

I started the VM and mounted the ISO - and started the install process till I had to select on which disk to install.  As stated above, I added 2 HDDs in the VM Setting - but I keep getting the message: "No device drivers were found. Make sure that the installation media contains the correct drivers, and then click OK"

I've checked the BIOS settings of the server and virtualiazation is set as enabled, and also hdd virtualiazation.

Any ideas on how to get around this? I tried going to HP Support but they told me it was a Windows issue and had to seek info from them.

Thanks for any replies.

Viewing all 19461 articles
Browse latest View live




Latest Images

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