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

Enabling VMQ with Brocade 1020 adapter

$
0
0

Hi everyone,

I am in the process of converting two Vmware ESXi servers into a Hyperv cluster. however I have had some issues with enabling VMQ with the Brocade 1020 CNA adapters installed on these servers.

I have noted VMQ is not enabled even after I install the latest driver and firmware. get-netadaptervmq command show their vmq status is false. enable-netadaptervmq on the adapters to no avail either.

Anyone has experience with these adapters would shed some light on this?

Much appreciate your help!


2012 R2 Hyper-V Licensing questions

$
0
0

Hello,

I am trying to figure out how Hyper-V licensing works.

Part one:

I understand that with a Windows Server 2012 R2 Standard license, you can have a Server 2012 R2 Standard host and have two Server 2012 R2 Standard virtual machines with the Hyper-V role. If I were to have four VMs, I would need two Server 2012 R2 Standard licenses. If this is incorrect, please correct me.

Does this only count for volume licensing? What about a purchased license, OEM license, or SPLA?

Part two:

If I am using Hyper-V Server 2012 R2 (free), and I have four Server 2012 R2 Standard VMs on the host, do I need four Server 2012 R2 Standard licenses, or does the two VMs rule still apply, so I would only need two Server 2012 R2 Standard licenses?

When Hyper-V Server 2016 is released, would I still be able to use two Server 2012 R2 Standard licenses for four 2012 R2 VMs even though the host is Hyper-V Server 2016?

Thanks!

After server power failure unable to start VM.

$
0
0

Hi Friends,

Due to power failure one of our Hyper-V server rebooted unexpectedly. After reboot i am unable to start one of virtual machine. earlier it was giving Media is write protected error which was solved using Diskpart tool. Now it is giving "The file or directory is corrupted or unreadable." error. Please help me how to fix it. i tried to fix it by inspecting the disk but inspection is not allowed.


Thanks a lot Kamal

Hyper-V guest failover cluster file server

$
0
0

Hello,

Environnent is full Windows Server 2012 R2.

I have a Hyper-V cluster on which I host a testing fail-over cluster file server with 2 guests. Guest cluster is running and file server role installed and running fine with many shares on it. For now a single drive is hosting the data.

Since it is impossible to resize a shared vhdx I wonder if I choose the right solution for my needs. File servers has to be VMs.

What would be the solution to extend the data drive when it will get full ? Any solution without multiplying the number of volumes ?

I would like, as I'm used to be on open source environments, to end up with a full failover file server on which I could extend the data volume without down time and to avoid using twice the necessary storage as for a DFS cluster with replication.


Thank you.

Creating Virtual Machines on windows 10 and forcing VM Configuration version to 5.0

$
0
0

So I am building some Lab VMs on my windows 10 workstation.  This creates a machine with a configuration version of 7.0.  If I want to move that VM to Server 2012 R2 it needs to be configuration version 5.0.  Seems there is no way to go backwards.

Just to be clear I am not talking about machine generation that is selectable at initial creation.

Is there a way to specify configuration version to ensure compatibility with Server 2012 R2?

Does the configuration version have any effect on the VHD/VHDX?

 

Unable to edit the Virtual Hard disk setting(SCSI controller) on a Virtual machine.

$
0
0

Hello All

I am unable to edit the virtual hard disk of my guest VM running on a Windows Hyper-V 2012 host. This is a virtual hard drive on a SCSI controller. The "Edit" option is greyed out.

PS C:\Windows\system32> get-disk

Number Friendly Name                            OperationalStatus                    Total Size Partition Style
------ -------------                            -----------------                    ---------- ---------------
0      HP LOGICAL VOLUME SCSI Disk Device       Online                                838.33 GB MBR
1      HP LOGICAL VOLUME SCSI Disk Device       Online                                838.33 GB GPT
2      HP LOGICAL VOLUME SCSI Disk Device       Online                                  1.64 TB GPT
3      HP LOGICAL VOLUME SCSI Disk Device       Online                                  5.73 TB GPT
4      HP LOGICAL VOLUME SCSI Disk Device       Online                                  5.73 TB GPT
5      HP LOGICAL VOLUME SCSI Disk Device       Online                                  3.27 TB GPT
6      HP LOGICAL VOLUME SCSI Disk Device       Online                                  3.27 TB GPT
7      HP LOGICAL VOLUME SCSI Disk Device       Online                                  5.73 TB GPT
8      HP LOGICAL VOLUME SCSI Disk Device       Online                                  3.27 TB GPT

This issue is happening on all the guest VMs on the particular Hyper-V host.

Can someone help me on this?

Issue with Backup Hyper-V machine

$
0
0

Greetings,

Scenario:

I am using Windows Backup  build-in software for my Physical Server, which runs Hyper-V with 2 virtual machine(DC and Terminal)

when backup is finished I am receiving Successfully with Warnings on the Hyper-V machines

===============================================

Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: 4E2F335A-E588-4742-8BD5-5568723398C8
   Caption     : Online\ DC
   Logical Path:
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 800423F3
   Detailed Error Message : The writer experienced a transient error.  If the backup process is retried,
the error may not reoccur.



Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: E5F04A2F-28A9-4239-A0BB-80BD73822D58
   Caption     : Online\Terminal
   Logical Path:
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 800423F3
   Detailed Error Message : The writer experienced a transient error.  If the backup process is retried,
the error may not reoccur.

regards,

Ash


Hyper-V with Simple Storage Space CSV

$
0
0

I'm looking for ways to improve the performance of our virtual machines, mainly through IO, because I believe that CPU, RAM and networking are pretty well taken care of.  Ever since Server 2008 R2 with Hyper-V we've had issues with disk latency.  Most of which was resolved by upgrading to 2012 R2 with the new CSV technology and SMB 3.0 backend.  We're still seeing issues though, and I really need to track down what's causing it, because of VM performance isn't anywhere near where it should be.

We recently invested in a new SAN array, not just for virtualization, but it utilizes quad 8Gb controllers and currently has several shelves of disks (important to note they are all 7.2k, but striped heavily for increased read and write operations).  I'm interested in testing this array to see how it compares, but I'm looking for suggestions on how to implement it properly.  My main idea is to get several disks presented to our host nodes (most likely 2TB each), place them into a simple storage space (with no redundancy) and then use that storage space as a CSV for the Hyper-V cluster.  I'm sure the SAN will allow the host to utilize all allocated space/IOPs for a specific LUN, but the host operating system will most likely not support channeling as many IOPs as we need into one LUN with FC overhead, processing power allocation to one LUN and so on.  My feeling is this will help us by allowing the host to load balance the load across several disks, even if they are from the same array, hopefully helping it to utilize more available IOPs.

Any thoughts on this? Or even if it will work?


SQL Server 2008 Guest Storage Advice

$
0
0

How should my Guest OS be configured which will host a  SQL 2008 instance to maximize the performance ?

Should I have the VHDX on a separate LUN vs SMB vs Cluster Storage, please advice.

I have a full SAN available to me...

TIA


SV


VM on windows server 2012 R2 essentials

$
0
0

Hello.

I'm working on a server box that I want to run windows server 2012 R2 essentials.

A license that I already got my hands on now.

The thing is that I also want to work with web development on a Apache server on Linux and there for I need a virtual CentOS server.

But do win srv 2012 R2 essentials support hyper-v host of a VM?

Or do I need to work on get virtual box on my server for VM?

hyper-v set/remove-vmharddiskdrive looks to have shoddy implementation

$
0
0

I wrote following script to attach and de-attach HDD from VM using powershell commands, but I can not even start debugging since it wont accept the --vmname as valid. It kinda works on FDD equivalent commands though:

SCRIPT CONTENT:

write-host "disconnecting FDD from minix development machine..."
Set-VMFloppyDiskDrive -VMName minix.dev.win7 -Path $null
write-host "disconnecting HDD from minix development machine..."
Remove-VMHardDiskDrive --VMName minix.dev.win7 -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0 

write-host "connecting FDD to minix boot machine..."
Set-VMFloppyDiskDrive -VMName minix.boot.system -Path J:\hyperv.fdds\fd0.vfd
write-host "connecting HDD to minix boot machine..."
Set-VMHardDiskDrive --VMName minix.boot.system -Path J:\hyperv.hdds\minix.boot.1024mb.vhdx -ControllerType SCSI -ControllerNumber 0 -ControllerLocation 0

RUN RESULT:

PS C:\scripts> .\hyperv.start.minix.boot.ps1
disconnecting FDD from minix development machine...
disconnecting HDD from minix development machine...
Remove-VMHardDiskDrive : A positional parameter cannot be found that accepts argument 'minix.dev.win7'.
At C:\scripts\hyperv.start.minix.boot.ps1:5 char:1
+ Remove-VMHardDiskDrive --VMName minix.dev.win7 -ControllerType SCSI -ControllerN ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-VMHardDiskDrive], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.HyperV.PowerShell.Commands.RemoveVMHardDiskDriveCommand

connecting FDD to minix boot machine...
connecting HDD to minix boot machine...
Set-VMHardDiskDrive : A positional parameter cannot be found that accepts argument 'minix.boot.system'.
At C:\scripts\hyperv.start.minix.boot.ps1:10 char:1
+ Set-VMHardDiskDrive --VMName minix.boot.system -Path J:\hyperv.hdds\minix.boot.1 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Set-VMHardDiskDrive], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.HyperV.PowerShell.Commands.SetVMHardDiskDriveCommand

PS C:\scripts>

As far as I understood, I passed valid parameter to remove-vmharddiskdrive:

https://technet.microsoft.com/en-us/library/hh848563.aspx

Anyone care to explain? 



Convert VHD to ovf

$
0
0
Please let me know if there is any way to convert VHD to OVF

Santosh sethi

Problem communicating over vNICs

$
0
0

I am implementing a Hyper-V converged network (4 cluster nodes), however having an communications issue on the vNICs connected to my management switch.

The same issue on all 4 nodes. If anyone has any suggestions, I would appreciate it.

 Each host has the following

  • 8 physical NICS (NIC1-NIC8)
  • NIC1 –a temporary management of IP of vLAN151
  • NIC4 - spare

 2 Teams (Configuration below)

  • ManagementTeam – NIC6/7
  • VirtualMachineTeam – NIC2/3/5/8

2 Virtual Switches

  • Management Switch – 3 virtual NICs created for Management (vLAN151), Live Migration (vLAN152) & CSV traffic (vLAN153)
  • Virtual Team Switch – no virtual NICs

 1 Physical Switch Stack

  • NICs 6/7 – ports trunked, vLAN 151, 152, 153 permitted
  • NICs 2/3/5/8 – ports trunked, vLAN 400, 800, 71 permitted

 I ran the following attached PS commands (without any errors) to create & configure Teams, Virtual Switches, Virtual NICs – per host.

# Create Management NIC Team
New-NetLbfoTeam -Name "ManagementTeam" -TeamMembers "NIC6","NIC7" -TeamNicName "ManagementTeamNIC" -TeamingMode SwitchIndependent -LoadBalancingAlgorithm “TransportPorts”

# Create a Hyper-V Virtual Switch that binds to the NIC team
New-VMSwitch “Management Switch” –NetAdapterName “ManagementTeamNIC” –MinimumBandwidthMode Weight –AllowManagementOS $false

# Create a virtual NIC in the management operating system for Live Migration
Add-VMNetworkAdapter –ManagementOS –Name “LM” –SwitchName “Management Switch”

# Create a virtual NIC in the management operating system for Cluster/CSV
Add-VMNetworkAdapter –ManagementOS –Name “CSV” –SwitchName “Management Switch”

# Create a virtual NIC in the management operating system for Management
Add-VMNetworkAdapter –ManagementOS –Name “Management” –SwitchName “Management Switch”

# Assign a weight to Management
Set-VMNetworkAdapter –ManagementOS –Name “Management” –MinimumBandwidthWeight 10

# Assign a weight to Live Migration
Set-VMNetworkAdapter –ManagementOS –Name “LM” –MinimumBandwidthWeight 50

# Assign a weight to Cluster
Set-VMNetworkAdapter –ManagementOS –Name “CSV” –MinimumBandwidthWeight 40

# assign a VLAN to a virtual network adapters in the Management OS
Set-VMNetworkAdapterVlan –ManagementOS –VMNetworkAdapterName "Management" –Access –VlanId 151
Set-VMNetworkAdapterVlan –ManagementOS –VMNetworkAdapterName "LM" –Access –VlanId 152
Set-VMNetworkAdapterVlan –ManagementOS –VMNetworkAdapterName "CSV" –Access –VlanId 153

# Create Virtual Machine NIC Team

New-NetLbfoTeam -Name "VirtualMachineTeam" -TeamMembers "NIC2","NIC3","NIC5","NIC8" -TeamNicName "VMTeamNIC" -TeamingMode SwitchIndependent -LoadBalancingAlgorithm HyperVPort

# Create a Hyper-V Virtual Switch that binds to the NIC team
New-VMSwitch “Virtual Machine Switch” –NetAdapterName “VMTeamNIC” –AllowManagementOS $false

# Now configure IP addresses on NICs

Get-NetAdapter -Name "vEthernet (Management)" | New-NetIPAddress -IPAddress 172.16.151.5 -Defaultgateway 172.16.151.1 -Prefixlength 24
Get-NetAdapter -Name "vEthernet (Management)" | Set-DnsClientServerAddress -ServerAddresses ("137.191.4.194","137.191.4.43")
Get-NetAdapter -Name "vEthernet (CSV)" | New-NetIPAddress -IPAddress 172.16.153.5 -Prefixlength 24
Get-NetAdapter -Name "vEthernet (LM)" | New-NetIPAddress -IPAddress 172.16.152.5 -Prefixlength 24

Note - Cluster Node 1 has following IPs presented to the ManagementOS 

NIC1 – 172.16.151.55/24 (temp management)

"vEthernet (Management)"    - 172.16.151.5/24  -Defaultgateway 172.16.151.1

"vEthernet (CSV)" - 172.16.153.5/24

"vEthernet (LM)"  - 172.16.152.5/24

 

Some of the testing results:

Ping 172.16.151.1 – Works Fine – Note, the system using the temp management IP 172.16.151.55 as the source

Ping 172.16.151.5 –S 172.16.151.5 – works fine

Ping 172.16.152.5 –S 172.16.152.5 – works fine

Ping 172.16.153.5 –S 172.16.153.5 – works fine

Ping 172.16.151.1 –S 172.16.151.5 – FAILS - so unable to ping the Default Gateway using "vEthernet (Management)" as source IP.

Conclusion

Therefore it seems I can’t pass any traffic via the Virtual NICS & Management Virtual  Switch. The physical Network Teams look ok. All the ports on the physical switch stack are UP. Phyiscal ports are trunked and required vLANs permitted


Problem with backup Hyper-V VM's.

$
0
0

Hi,

please help, I don't know what to do. I tried everything from another forums, but with no results.

Below is described my server.

SERVER:
Host - windows server 2012 R2 std
VM1 - DC windows server 2012 R2 std
VM2 - SQL windows server 2012 R2 std
When trying to make backup with windows server backup, I get the message: Completed with warnings.
On both VM's is installed Integration Services.

Error message from backup:
Writer Failures
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
Instance Id: {C0DE739E-E7C3-4D76-95B0-87B5CF682F0D}
Writer Name: Microsoft Hyper-V VSS Writer
Writer State: 0
Failure Result: 81000112
Application Result: 0
Application Message: (null)
   Component: 3B0C7323-C11A-4EE5-B997-05FCC63EF813
   Logical Path:
   Component Result: 8100010D
   Component Message: Component reports path on network share which cannot be snapshotted. (0x8100010D)
   Component: 993CF905-E399-4C4C-B3D7-5CFB617429F4
   Logical Path:
   Component Result: 8100010D
   Component Message: Component reports path on network share which cannot be snapshotted. (0x8100010D)
*-----------------------------*


Application backup
Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: 3B0C7323-C11A-4EE5-B997-05FCC63EF813
   Caption     : Online\GDC01
   Logical Path:
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 8100010D
   Detailed Error Message : Component reports path on network share which cannot be snapshotted.



Writer Id: {66841CD4-6DED-4F4B-8F17-FD23F8DDC3DE}
   Component: 993CF905-E399-4C4C-B3D7-5CFB617429F4
   Caption     : Online\GSQL01
   Logical Path:
   Error           : 80780175
   Error Message   : Component was skipped from volume shadow copy.

   Detailed Error  : 8100010D
   Detailed Error Message : Component reports path on network share which cannot be snapshotted.



*-----------------------------*

Unable to start Windows 10 VM

$
0
0

Hi All,

I recently install Windows 10 (10586.318) enterprise edition on my Lenovo W541 machine with UEFI and secure boot options in BIOS. I have installed hyper-v role on it to test nested virtualization (TPM and secure boot specifically). I have enabled 'Isolated User Mode' and enable device guard GPO setting. I have configured a test Windows 10 VM with Secure boot and TPM options check in it's properties but when I try to start the VM I get this error:




Device Managers show I have TPM 1.2 on my system. Do I need to perform any other steps to get this work? Error thrown by VM is not much friendly either. Deselecting TPM option in VM properties works fine.

Any help would be appreciated.


HyperV udp 3343 traffic spikes every half hour?

$
0
0

Hi,

We have a Hyper-V cluster with several nodes. We see that every half hour the network traffic shows a major spike around 80mb for several minutes. Then the traffic goes back to normal.

The next half hour this starts again.

We use a Windows 2012 R2 Hyper-V hosts with Systemcentre. 

Best regards!


Change VM's CPU and memory before booting at DR site

$
0
0

Hi,

i would like to know if we can automate  VM's CPU and Memory change before it boots at the DR site.

E.g. if i have an application VM running at the Primary DC is configured with 4vCPUs and 32GB RAM, the same VM would have 2vCPUs and 24GB RAM at the DR site.

But the change has to be automated (either by a powershell script or any 3rd party tool), as there would be no one at the DR site to manually change it.

Thanks in advance.


Growing in this world of MS

SOME CLUSTERED SHARED VOLUME ICONS ARE SHOWING UP AS FOLDERS.

$
0
0

Why are some of my CSV's showing up as folders?


Michael Agee

Managing hypervisor from windows 10

$
0
0

I have a hyperv installed on a computer (no operating system) and want to control it from a windows 10 computer through hyperv manager.

the hyper visor is not on the domain,


Disabling write caching on domain controller VM's with IDE disks

$
0
0

Hi folks,

I have virtualized a 2012 (non R2) DC, and am running it on a 2012 R2 Hyper-V cluster.

The DC will not allow write caching to be disabled on its disk. I've read a lot of articles about this and I believe I understand the underlying issue. I've seen some references to KB2853952, which apparently addresses this in 2012 (non R2), but I cannot find any documentation for 2012 R2.

Has the issue been definitively addressed in Hyper-V 2012 R2, such that eventid 32: "The driver detected that the device \Device\Harddisk0\DR0 has its write cache enabled. Data corruption may occur." can be safely ignored in the system log? Is any further user action necessary?

Thanks for any info,

ianc

Viewing all 8743 articles
Browse latest View live


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