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

2 Node Hyper-V failover cluster with sql server

$
0
0

I have 2 IBM Servers with Server 2012 installed and both machines have SQL server express. Is it possible to create HYPER-V Failover between the 2 servers including the SQL SERVER Instance meaning if the main node fails the second server will take over. 

The second will act as virtualized failover of the main node with failover instace to act as active to active approach. 

I hope can someone give me an advice with my question. 


New Windows 2012 R2 VM install - Dynamic or Fixed disk size ?

$
0
0

I have sued Fixed size Virtual Disks in the past

With very limited test environment I've not noticed any real performance problems

I'm planning a new Install:

Windows 2012 R2 Std - Hyper-V Host & Windows backup rolls only (using BackUpAssist)
Windows 2012 R2 Std VM - for DC & Files
Windows 2012 R2 Std VM - for Exchange 2013
Windows 2012 R2 Std VM - for SQL Server (accounts system)

I see comments that Dynamically expanding disks with VHDX (generation 2) is a good option

Dynamic reduces backup size and time taken

Any advise would be appreciated. 

Relatively small site about 20 users - grow to say 30 max in 2-3 years


ChrisS

Hyper-V 2012 R2 and Fiber Tape Library Compatibility

$
0
0

Hi All

I can't seem to find a definite answer so I thought I'd ask here. Does Hyper-V 2012 R2 support fiber tape libraries now?

2012 only used to support fiber storage, but I keep finding references to people using fiber tape libraries successfully but can't track down if it's officially supported.

I'd like to run Hyper-V and have DPM 2012 R2 guests with the tape library passed through to one of them.

Thanks.

Windows Azure Pack for IaaS

$
0
0

Dear All,

            I have setup my Fabric Cluster and Fabric Management Cluster.  Now, I want to integrate Windows Azure Pack with my solution so that end-users can access it via portal and request accordingly.  I am unsure of the exact steps required, so basically I am looking for any documentation that can guide me through with this implementation.  Essentially, I want to implement Windows Azure Pack to provide IaaS to my end-users.  Thanks. 

network issues for both host (8/8.1) and vm

$
0
0

Hello,

I have several users reporting connectivity issues with their laptops, what these users have in common is that they run virtual machines using Hyper-V on their laptops.

OS: 8 & 8.1

NIC: some have Ethernet connection & Wifi but some only have wifi (with a USB to Ethernet adaptor)

VM connection to the internet:

- some user have our "recommended" settings: a "shared" internal NIC (the VM has its own separate network and the laptop "routes" the VM to the internet)

- some users have a direct external connection (not "recommended" because our pool of IP is not infinite and to avoid to VM with the same ID in case they did not import the template VM correctly)

1. Usually, they notice the connectivity issue when the switch from physical LAN: in that case, I tell them to go for ipconfig /release then /renew (it solves the "mix up" between old & new DHCP)

2. Some of them have only a wifi NIC on their laptop (no "physical" ethernet connection). In theory, Hyper-V can now run over wifi although it is not ideal yet. Is there any solution beside running only one VM at a time and avoiding browsing on both the VM and the host at the same time ?

3. in the Hyper-V virtual switch, some testing on a desktop that has no wifi but also had connection issues (it was used to check the configuration of Hyper-V) showed that unchecking the VLAN ID option in 8.1; before (in Windows 8) we used to check that option) somewhat improved things. Does anyone know how the VLAN ID option could affect the connectivity to Internet of both the host and the VM ?

Is there a more permanent solution to the connectivity issues than ipconfig /release / renew on the VM each time they swap location or VM ? because some of my users will complain that "this is not a solution..."

Has there been any changes to the latency of the DHCP cache for the VMs in Hyper-V between Windows 8 and Windows 8.1 that would explain the increased number of complains ?

Thanks for the ideas

hyper v failed to enable replication hyper v cannot connect to replica server

$
0
0

Hello All,

I got an issue. I have two servers A and B(Both are not joined to Domain). Server A is primary server and Server B is replica Server and i have enabled replication from A to B successfully. After few days Primary server was due to some physical issue and servers are replicated to B and working well. Now we have repaired the A server and changed the OS and we want to move the VMs from Server B to Server A. I configured replication in Server A and B newly. Now Server B is primary and server is A Replica. But i am not able to enable replication. I am getting the above mentioned Error. I need to move VMs from Server B to Server A without any Down time.  Please find the below error log.

Hyper-V failed to enable replication for virtual machine 'IE-TEST-REP01': A security error occurred (0x00002F8F). (Virtual Machine ID 90408129-968B-41B6-BA05-9C99555E57CA)


Thanks


CentOS 6.5 / Linux VM KVP IP can't be shown on Hyper-V Manager after querying its KVP/IP information on Hyper-V host several times

$
0
0

Hello

I am using a CentOS 6.5 VM (Linux kernel 2.6.32-431) with Hyper-V KVP daemon installed, and I periodically query its IP (via using WMI or Powershell to query its KVP information) to manage it.

However, after querying its IP (KVP) for several times, its IPcan’t be queried or shown on Hyper-V Manager anymore.

I attached a simple KVP query Powershell script as the follows, and this problem can be reproduced in couple minutes if you run two instances with this script at the same time.

$VMName = $args[0]
write-host "$VMName"

filter Import-CimXml
{
    $CimXml = [Xml]$_
    $CimObj = New-Object -TypeName System.Object
    foreach ($CimProperty in $CimXml.SelectNodes("/INSTANCE/PROPERTY"))
    {
        if ($CimProperty.Name -eq "Name" -or $CimProperty.Name -eq "Data")
        {
            $CimObj | Add-Member -MemberType NoteProperty -Name $CimProperty.NAME -Value $CimProperty.VALUE
        }        
    }
    $CimObj
    $CimObj = $null
}

for ($i=1 ; $i -le 10000 ; $i++) {    
    $a = Get-Date
    write-host "$i - Time: " $a.ToLocalTime()
    $vm = Get-WmiObject -Namespace root\virtualization\v2 -Query "Select * From Msvm_ComputerSystem Where ElementName='$VMName'"
    $vm.ElementName
    $vmkvp = Get-WmiObject -Namespace root\virtualization\v2 -Query "Associators of {$vm} Where AssocClass=Msvm_SystemDevice ResultClass=Msvm_KvpExchangeComponent"
    $vmkvp.GuestIntrinsicExchangeItems | Import-CimXml
}

By the way, I found the following patches and gave them a try, but the problem still remains (And the generation 2 Ubuntu 14.04 with Linux kernel 3.13 also has this problem).

 - Patch "Drivers: hv: util: Fix a bug in the KVP code" has been added to the 3.14-stable tree

 - Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code

P.S. Generation 2 CentOS 7 VM (Linux kernel 3.10.0-123) also has this problem, but Windows VM is ok

Thanks,

Paul

Is there PowerShell Command to Display the Active vHBA WWPN for a VM?

$
0
0

Hello,

I am running a Hyper-V cluster with a VM that I have setup to run NPIV for its data volumes...!  I have been searching for a PS cmlet that will display the active vHBA WWPN for the VM but can find anything. 

Still Hunting! 


VHDX Support for W2008R2 Guest

$
0
0

I'm a little confused about the support for guest o/s's using the VHDx format. I have seen quotes on this forum saying that any supported guest o/s can be run using VHDx, yet when I create a virtual HD using W2012R2 Hyper-V, it says that W2012 is the oldest o/s to support VHDx.

Currently, I have a pre-production environment running on a Hyper-V W2012R2 platform. All the guest VM's are (Gen 1) W2008R2 servers. Currently I am using the VHDx format for the boot and data disks on these VM's. Everything seems to be running OK now, but I am concerned that if this is not a supported configuration that I may have trouble in the future.

Can someone clarify if my environment would be supported by Microsoft going forward, and if not, can I simply convert the existing VHDx volumes into VHD's using the Hyper-V Manager GUI?

Thanks!

Slow backup performance when the owner of the VM and CSV are not in the same host

$
0
0

3 hosts in the Hyper-V 2012 cluster and few CSV volumes.

The slow backup performance (around 1xxx MB/min in backup exec) will occure when it meets the following scenario :

1. VM on Node 1 and CSV 1

2. CSV 1 owner is Node 2

When i change the owner of CSV 1 to Node 1, the backup performance will return to normal (over 6000MB/min in Backup exec).

Why do I need to install RSAT on Windows 8.1 for accessing Hyper-V Server 2012 R2?

$
0
0
Since Windows 8.1 has Hyper-V Platform and Hyper-V Manager built in to it, if I just enable the Hyper-V Manager on my Windows 8.1 client machine I should be able to access the standalone Hyper-V Server 2012 R2 (which I'm planning to install on my 2nd machine) right?  

Then why every article I found on this suggests to install RSAT on my client machine?

How to determine the Host a VM runs on, if VM is 2012

$
0
0

Morning all

HyperV host on Win2012 (standard, not R2), guest is the same.

Time was, you could query HKLM\SOFTWARE\Microsoft\Virtual Machine\Guest\Parameters\PhysicalHostName on a VM to find out the name of the host it was running on, and this is handy for us as we run various scripts to update inventories and such. With a 2012 guest, sometimes that key is no longer populated and for the life of me I can't work out why. The Parameters key is there, but totally empty.

Any thoughts? As you'll know, W2012 has the HyperV integration stuff built in, so it's not like they're out of date or anything. One working and one not-working are both at the same patch levels.

Thanks

A

Creating Hyper-V cluster - do all virtual machines lose his disks?

$
0
0

Hi everyone,

I didn't find the answer in Technet documentation, so, I have two Hyper-V 2012 R2 servers. I want to build a failover cluster with CSV. My question is, when I'll run the cluster creation wizard - will be my VM's lose his virtual disks? In example, I have a VM with attached .vhdx on the disk F:, and then I'm adding F: to CSV - will the VM stop or fail into BSOD?

Error creating VM on Hyper-V Windows server 2012 R2 (0x80070569).

$
0
0
I recently installed in my domain a member server 2012 r2 with Hyper-V Role, and got the following error when creating a new vm:

Logon failure: the user has not been granted the requested logon type at this computer.(0x80070569).

The user is momber of Domain Admins group and is logged on the server. I noted that the domain admins group has not the right "log on as a batch Job". Is this right required to create vm ? What are the others requirements to install and admin virtual machines in Hyper-V?

VM reset by guest operating system .Event ID 18514

$
0
0

Hi,

I have created two VMs(one Red Hat and another Windows Server 2008 R2 ) in 2012 R2 server. It seems that the VMs are being reset by Guest operating system daily. I confirm this on checking the log under Applications and Services Logs --> Microsoft --> Windows -->Hyper-V worker.

Have any one experienced this ? Searching the net yields no luck.Please help


SCVMM 2012 SP1 Virtual Switch on Cluster Node Disappears

$
0
0

I have been running into an interesting but an alarming issue with virtual switches. I have recently built a 4 node Server 2012 Hyper-V failover cluster. I have built numerous 2008R2 and 2012 Hyper-V clusters before, so I am pretty familiar with the process. I have rebuilt my VMM due to software problems, and on this new cluster, I have configured the virtual switches with nic teaming on 2 of the virtual switches.

I have 4 clusters being managed by this VMM.. and this newly built cluster keeps losing all of the VMM virtual switch configurations, meaning if I go to properties on the problem host and click on virtual switches, its blank. Refresh host cluster flags all virtual machines in this cluster as "Unsupported Configuration," making the vm unmanageable via VMM. 

Information (26844)
Virtual switch (Virtual Switch Name) is not highly available because the switch is not available in host (One of the Hyper-V Hosts).

Recommended Action

All virtual servers on that host still has connectivity, as all virtual switch configs are normal when looking at it with Hyper-V Manager or Failover Cluster Manager..

The workaround is to evacuate the host using Failover Cluster Manager and reboot the host. Then refresh the host. Then refresh the VM's. I cannot consider this a 'workaround' as I cannot be rebooting my hyper-V hosts every week.. and migrating virtual servers constantly just for this reason. (DPM backups have a FIT with csv's if it tries to backup a vm on a same csv as another vm thats being migrated.)

I have been wrestling with this problem for a few weeks now. The cluster has been slicked and completely rebuilt.. Still same problems. Has ANYONE else out there seen this issue? Does ANYONE out there suggest a way to go about further troubleshooting this issue? 


VMM 2012 R2 unable to start VM in Fusion Lab - Event ID 15130 20144

$
0
0

I have created a System Center lab on my Macbook using Fusion with 4 x Windows 2012 R2 VM's and 1 Windows 2008 R2 VM

2 Hyper-V Hosts

1 System Center VMM 2012

1 Windows 2008 DC

I have created my first VM without HA on the host group but it fails to start with:

Error (12700)
VMM cannot complete the host operation on the msschv04.mssc.com server because of the error: 'VM1' failed to start. (Virtual machine ID C479CA36-3131-44C9-94AF-602EBC572078)

The Virtual Machine Management Service failed to start the virtual machine 'VM1' because one of the Hyper-V components is not running (Virtual machine ID C479CA36-3131-44C9-94AF-602EBC572078).
Unknown error (0x8000)

Recommended Action
Resolve the host issue and then try the operation again.

The Hyper-V server reports event ID:15130

'VM1' failed to start. (Virtual machine ID C479CA36-3131-44C9-94AF-602EBC572078)

and 20144

The Virtual Machine Management Service failed to start the virtual machine 'VM1' because one of the Hyper-V components is not running (Virtual machine ID C479CA36-3131-44C9-94AF-602EBC572078).

I don't have any AV installed on either Host

I have not configured a virtual switch

I dont have the verifier enabled

I have configured Fusion to allow VT-x/EPT inside the VM

Can anyone advise what I can check to determine the issue.

TIA


Vista Ultimate Dell XPS M1330

diskpart won't make disks offline

$
0
0

Hi.

I have a Hyper-V Server 2012 with a single VM for Server 2012 R2. I gave that VM access to two 1TB disks as physical disks, and had Server 2012 R2 add those disks to a storage pool. That configuration worked for awhile, and then I added a third 1TB disk to the system. When I rebooted the Hyper-V Server, the physical disk mappings in the VM were lost. On the Hyper-V Server, diskpart reports the two older drives as online. I can only get diskpart to change the status of the new drive, and naturally only get the new drive to show up as a option to use as the physical disks in the VM.

Diskpart reports the older drives as online, 0 bytes free, and there's only an '*' in the Gpt column. When I ask to make those disks online, diskpart reports success; but the status never changes. Rescan doesn't make a difference, they always show up as online. I've tried making them online, and diskpart reports they are already online. I've also tried booting the VM without these drives; but the status is the same.

I could live without the content of these drives; but I'm not sure nuking them will ever allow them to be made offline again. So, I'd rather try to persist the data for awhile.

Thanks for any help.


Brian Klamik, Software Design Engineer - Direct3D

Hyper-V AD guest freezing

$
0
0

Hello all!

I hope someone can help us with our issue.

We are running Windows 2012 Datacenter on a Host. The guest VM is running 2012 as well. Over the past couple weeks we have been having an issue where the guest that is the AD controller just freezes up. Sometimes we are RDP'ed into it and open the start menu to do something and other times no one is logged in but all the folder shares, RDP, etc goes unavailable.

We thought it had to do with the backup system. But the backup isn't running at the time of the freezes. Today we had 2 seperate times that the AD server froze up once in the morning and it affected the other guests so we had to power cycle the host. Then in the afternoon I caught it soon enough to where I could shut the other guests down. When I went to try and shutdown or reset the AD guest it just stated shutting down.. So I ended up having to power cycle the host again.

The event log doesn't show anything in the host or the guest..

We have disabled write caching on the host to hope this will help but we are getting to a loss.

Host system specs are as follows:
Windows 2012 DC
Dual Quad Core Xeon's
72GB Ram
2 x 500GB RAID 1 config through the OS
2 x 4TB RAID 1 config through the OS

We are planning to purchase an iSCSI storage array in the next couple weeks but are afraid it won't fix the issue.. 

Thoughts?

drivers/integration services problem in vm win2012r2.

$
0
0
First,thanks for everything.
I have awindows2012r2 virtualizedon a2012r2.
In the virtual machineI havea legacy cardinstalled,but not running at over 100.
To useonegbpsI added a secondnormal network card, butnot appear in thevirtualmachine.
Integration servicesare installed onthe VM.
the network cardisInteli350host.I downloadedthe driversand tried toinstall them in thevmbut does not recognizeanyinteladapter.

Can you think ofanything?Thank you !!!

http://kinomakino.blogspot.com

Viewing all 8743 articles
Browse latest View live


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