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

Disk2VHD for File server cluster

$
0
0

Hi All ,

I`ve file server windows 2008 cluster (2 nodes) and I need to perform p2v using disk2vhd so any recommendation regarding its procedures? or normally I can convert node by node normally? what about the file server storage after virtualize the server? what about quorum disk?  


Edward


Server 2012 R2 free Hyper V

$
0
0

We have two new servers, each at different clients running Server 2012 R2 and I heard that Microsoft will allow us so spin up another Server 2012 R2 free in Hyper V. I wanted to post here to see how that works as I typically use VMWare but since this seems to be included I would like to use it. My question is once install the Hyper V role and create another 20120R2 VM will it ask me for a product key or will it activate on its own? Not sure how the licensing works for this yet. Can someone shed some light on how this works?

dynamicly expanding vhdx strange behaviour

$
0
0

Hi,

look please at a screenshot...

D: partition is on dedicated vhdx and set as dynamically expanding.

The strange thing I cannot explain:

1.The VHDX size is 100 GB

2. in Windows I have 39GB of free space

3. When in Hyper-V manager the Current file size is about whole 100GB

For example for partition C: on dedicated VHDX it correctly matches Windows free space and current file size.

The final result is that total VM folder size is influenced by 100GB current file size. So I am loosing 40GB.

Why it could happen? Should I convert the drive to gain back 40GB. It is not a static drive...

Thanks.


--- When you hit a wrong note its the next note that makes it good or bad. --- Miles Davis

Vlans/Trunks. No network access, even after deleting the Vlans and Trunks!

$
0
0

Been at this for HOURS.. I am playing with VLANS in Hyper-V. Trunking, access ports and so on. Didt get it to work, so I deleted all the VLAN's and now nothing works. First I ran: Set-VMNetworkAdapterVlan-VMName VM1-Trunk-AllowedVlanIdList 7-12-NativeVlanId 10 and after that Get-VM VM1 | Set-VMNetworkAdapterVlan-Untagged. I have restarted the VM's, reset the tcp/ip stack. I installed Wireshark, I see no icmp packets at all when pinging any computer in the same network. Deleted the vSwitch, did nothing..

Anyone have any idea?

Edit: Deleted the vNics and now it works. But... When adding the same IP and naming the vNics with the same name it says its already in use. How do I get rid of that?




Time Loop - how did this even work for at least a year?

$
0
0

Hi,

not sure where to post this really so i've posted it here because of trying to configure time for existing virtual domain controllers

so, we have the following setup for how time works:

Server1 is a virtual domain controller, it gets its time from the integration components in hyper-v

Server2 is the hyper-v host, it gets its time from Server3

Server3 is a physical domain controller, it gets its time from Server1

The above was all shown using w32tm /query /source on each server

This causes a loop of dependencies, but out of curiosity - how on earth did my time not drift by hours/days/weeks in this setup - its been running for at least a year like this, its a closed loop. Neither Server1 or Server3 are the PDC, that's actually another domain controller not included in the above. Can anyone shed any light on this? it's no big deal, my time was only out by like 2 minutes but im puzzled by how it would be only 2 minutes because server1 would have accumulated some clock skew.

Cheers

Steve

Can't create Hyper-V Generation 2 virtual machine: “no uefi-compatible file system was found” and “DHCP failed”

$
0
0

I can't create a Hyper-V Generation 2 Virtual Machine. There is a link to the screenshot of the problem below, but basically it says "no uefi-compatible file system was found" on the SCSI DVD and SCSI Disk, and also "DHCP failed" for the network adapter. The host and guest OS are both Windows 10 Pro x64 and my laptop has an i7 4720hq and 16 gb ram (and I don't know if it matters, but my BIOS is set in UEFI boot mode).

Any solutions or workarounds?

Thanks!

https://i.stack.imgur.com/apxVB.png

Hyper-V No "New" button in the action pane

$
0
0
I have installed R2 and the Hyper-V component, virtualization is enabled in the BIOS.  My problem is there is no "New" option in the Action Pane of the Hyper-V Manager. 
 
My version of R2 Enterprise installed is 64 bit and off the disk that comes with the MCITP Server 2008 Enterprise Core Training Kit put out by Microsoft.  My laptop is an HP dv7-3085dx (http://h10025.www1.hp.com/ewfrf/wc/document?docname=c01896913&tmp_task=prodinfoCategory&lc=en&dlc=en&cc=us&product=4041797&lang=en).  The server software is the one and only active OS partition on the hard drive.

Anyone have any thoughts?

Adding promiscuous mode in server 2012 hyper-v

$
0
0

I am running a esxi lab within hyper-v and the vms within this do not want to connect to the network. I have been told that I need to enable promiscuous mode on the virtual switch and I can't find the option anywhere. I cannot get guest OSes to connect to the network under the vmware vsphere. 

Is there any way to enable this? Please respond. Thank you. 


Loss of Connection when Virtual switch is in place

$
0
0

Hello,

Currently, my host machine can not arp the gateway address of 10.0.1.1/24. It was able to get internet access before the hyper-v vm was configured on the 2012 R2 Server.

When the external V-switch was made the Hyper-v manager made a new interface on the server called "Data" and transferred my server ip address to this new interface. The server has the ip address of 10.0.1.11/24 and a gw of 10.0.1.1/24. After, creating the switch, the Vm was booted and installed to the disk. The Vm has a ip address 10.0.1.13/24. It was after the Vm was created that my server lost connection to the gateway. When I ran the window troubleshoot Diagnostic tool on the V-switch interface,internet access was back but lost after the arp entry expired.

I'm assuming that the troubleshoot tool block the vm machine for second that allowed my machine to arp the gateway.

My route table has a default route to the proper gateway address

The Arp table has the VM, 2012 Server, and some other statics that are in place by the machine. The gateway address is not in the arp table after about 3 mins.

I'm not sure if the correct V-switch is being used. Or if i should create a internal version and bridge it to the VM.

Only administrators have permission to add, remove, or configure software during a terminal services remote session...

$
0
0

We started having issues with Intuit Software within RDS in our Server 2012 R2 Standard, both Quicken 2017 Home & Business and QuickBooks Pro 2017 are constantly complaining about installer error (QB ins asking to run the setup.exe every 5s, and Quicken does not allow the data file association to open downloaded content from financial institutions...

Researching online only brings reference to Server 2003, and therefore irrelevant to our situation!

Contacting Intuit Support is worthless as they try desktop approach to the server environment, which won't work for obvious reasons... ;)

Any help is greatly appreciated!

iSCI vSwitch setup for Hyper-V VMs

$
0
0

Hi All,

We have 3 Hyper-V servers 2 of which are part of a cluster, 2 physical adaptors have been dedicated to iSCSI and LUNs are presented to the hosts for shared storage. Disk failover is controlled by the iSCSI MPIO.

We have a requirement for VM's to have direct iSCSI connection(s) to access the data on the disks, i think this is called a RAW connection (correct me if i'm wrong). To configure this my thoughts were to create two vSwitches and have each vSwitch connect to the physical iSCSI interface (all iSCSI vSwitchs will have the same name across all hosts).

With this is mind it raises questions:

  1. Is the correct way to do this?
  2. How do the VMs deal with disk failover events if the host is controlling the disk pathing via MPIO? My thoughts were to enable the 'NIC Teaming' option by ticking 'Enable this network adaptor to be part of a team in the guest operating system' within 'Advanced Features'. Would this allow the VMs to continue to work gracefully in the event of a  failover when the hosts utilises MPIO for redundancy/load balancing?

I look forward for all of you professional guidance.

Hyper-V Host with VLAN Trunk. Not accepting Trunk traffic..

$
0
0

Trying to get VLAN & Trunking to work in Hyper-V. 

I have two VM's on the same Network. SCVMM and Host1. Host1 should be a Trunk for VLAN 7-12 and Native VLAN 10. I then put SCVMM on VLAN7 via the GUI. Does not work! If I set Native Vlan to 7 it works. If I not use Trunking it works (both VMs on VLAN 7). 

VMName VMNetworkAdapterName Mode     VlanList
------ -------------------- ----     --------
Host1  Network Adapter      Trunk    10,7-12
Remote Network Adapter      Untagged
Remote Network Adapter      Untagged
RRAS   Network Adapter      Untagged
RRAS   Network Adapter      Untagged
RRAS   Network Adapter      Untagged
RRAS   Network Adapter      Untagged
SCVMM  Network Adapter      Access   7
SCVMM  Network Adapter      Untagged
SCVMM  Network Adapter      Untagged

What Am I doing wrong, or not understanding?

Its this LAB I am setting up.
https://blogs.msdn.microsoft.com/excellentsge/2016/10/06/deploying-sdn-on-one-single-physical-host-using-vmm/

Server 2012 R2 Team - cannot be teamed as it has a Hyper-V role enabled on it

$
0
0

Hi

I removed a team Server 2012 R2 Server with Hyper-V Roles installed. When I go to recreate the team I don't get any adapters listed even though they are there and have picked up ip addresses. I tried to create it using powershell and get the following

PS C:\Users\trcadmin> new-netlbfoteam -name "Virtual Production Team" -TeamMembers "Production Virtual Network A", "Production Virtual Network B" -TeamingMode SwitchIndependent
new-netlbfoteam : Member 'Production Virtual Network A' cannot be teamed as it has a Hyper-V role enabled on it
At line:1 char:1
+ new-netlbfoteam -name "Virtual Production Team" -TeamMembers "Production Virtual ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (MSFT_NetLbfoTeam:root/StandardCimv2/MSFT_NetLbfoTeam) [New-NetLbfoTeam
   ], CimException
    + FullyQualifiedErrorId : MiClientApiError_InvalidParameter,New-NetLbfoTeam

Set Hyper-V Host Network Link Speed

$
0
0
Hi All,

I have done a search but have not found anything relevant to my problem. I dont know if I searched using the wrong terms and if I have I apologize in advance.

My Host Config:

Intel SR2520 Dual Xeon
8GB RAM
6 x SATA 1TB

Ok I set up the Latest Version of Hyper-V Core From Microsoft onto the Server. But When I run Task Manager, Under Networking, The Link Speed for Both onboard Adapters ar listed as 10Gbit.. The Adapters are only 1Gbit though!
I get the same result if I use The Windows Drivers or the Intel Drivers off the CD or the Latest Drivers From intel Website. I cannot find a setting for this in the Bios or even with using the syscfg.exe that is used to Configure the BMC.

This setting is also permiating throught to the VMs on the Host as they also report that the Network Link Speed is 10Gbit.

Does anyone know how to change this setting in the Hyper-V Core? Im sure if I change it there it will migrate to the Vms.. Correct me if Im wrong??

This isnt a major problem as the Network is working but when I copy from another Server, Linked Direclty Via Cat6 Xover cable, the Hyper-V (Not Vms) Shows 1-2 % utilization and on the Source Server (Also 1Gbit Connection) It show 10-20% Util??

Im a bit worried that the 10Gbit Link speed is messing with something and thus giving really bad Network Performance.. I feel I should at least get 80% utilization from the Source Server.. as this is what I get when I copy from Source Server to my Workstation.

Any help would be appreciated.

Thnx

Mount Server 2012R2 VHDx in Server 2016

$
0
0

Hi All

I am having issues mounting Server2012R2 VHDx files with PowerShell. When I try and mount the VHDx files I get the error 

Mount-VHD : The Hyper-V Management Tools could not access an expected WMI class on computer xxxx 

This may indicate that the Hyper-V Platform is not installed on the computer or that the version of the Hyper-V Platform is incompatible with these management tools.

I can however mount the images via Explorer.

Hyper-V Module for Windows PowerShell is installed ( As well as all other management tools)

Any help would be appreciated.

Thanks

Tim


Windows 2012 R2 Cluster blue screens with 0x20001 11 27384d on NTOSKRNL.EXE

$
0
0

The blue screen is occurring randomly on all four nodes of my newly created Windows 2012 R2 Hyper-V Cluster.

Each Server:

  • HP BL465c Gen 8 (192GB/FC Connection to VNX)
  • All Drivers are current per HPSReports analysis by them
  • All EMC Drivers are up to date

Not all servers are rebooting at the same time.  They will sporadically do this with no event indicators of any failures prior to the event.  This appears to be a hyper-v memory management error which usually indicates bad memory or something like that, but this is extremely unlikely because the events are occurring on all four servers that are identical.  The only reason I can see this being the case is if I have some BIOS issue that is undiscovered as of it.  This can always be a possibility but HP has been pushing me to Microsoft because of the cross device consistency of this.

There simply is nothing in any log that shows a build up to this issue.

The other suggestion I am being given is to reinstall the server.  But that means the entire cluster as they are seeing the same thing.

There are references to this covering Windows 2008 R2 and one even shows a hotfix, but that isn't 2012 R2 and does not help as well.

Daren

How to change VM settings while importing VM

$
0
0

Hi all,

I was hoping to be able to stand up new VMs with a minimum of fuss, but the Import-VM functionality seems woefully limited.

I created Win2016Template, sysprepped it and then exported it.

Now when I run Import-VM, the VHDs and the VM itself, retain the old settings, as I can't tell the import job that the "new"/imported VM should actually be called something else, Win2016DC01, and then name the VHDs and the VM itself correctly.

I suppose I could fudge it with PowerShell one by one, but that's inconvenient if I want to stand up 10 VMs in one go..

So, what is my best choice for importing/creating new VMs based on a template and ensuring they have the correct settings with a minimum of fuss? And by fuss I mean administrative work.


Storage Replication Not working

$
0
0

Hi,

I have strange issue and I hope that someone can help me. I am configuring Storage Replication and replication is failing on Physical sector size.

Server 1 Physical sector size is 512

Server 2 Physical sector size is 4096

I understand that all disks needs to have same size, same sector etc. but that what I don't understand is if I take one drive from server 2 and import it in server 1 physical sector size changes from 4096 to 512 and I am not able to change it back. 

Can someone explain what is going on, please?

Cannot see anymore the virtual hard disk process

$
0
0

Dear all,

We use one Hyper-V server on Windows Server 2016 to host some virtual machines. We need a virtual machine which requires:

-16GB RAM

-2TB of disk

After doing some researches on the Internet, I finally created a VHDX file and I configured the size for 2 TB. I created it through Hyper-V Manager on my client computer connected to the remote Hyper-V server.

Although it took forever to create the vhdx file, I suddenly plug off my cable without thinking about it (damn!). Now, I cannot see the virtual hard disk process anymore (and I cannot see if it is finished or not, even if it says the file is currently in use when I try to delete my vhdx).

Do you have any solutions so that I can see again the process? If not, a way to cancel it and recreates it (during the night this time, because it takes forever and it slows down the other virtual machines)? The host hyper-V is in production.

Regards,

Lucas


Manage Server 2012 R2 Hyper-V from Win 10 LTSB 2016 client = "...could not access an expected WMI class..."

$
0
0

Trying to access Hyper-V running on Server 2012 R2 from Windows 10 LTSB 2016 and I only get an error:

The Hyper-V Management Tools could not access an expected WMI class on computer....

Same server accessed from Windows 8.1 H-V Management Tools is working fine.

Anybody any idea?

According to this it should be no issue

Seb


Viewing all 19461 articles
Browse latest View live




Latest Images