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

Windows 10 Pro Hyper-V Remote Management to Hyper-V on a Windows Server 2012R2

$
0
0

I am attempting to access a Hyper-V Management Console from a Windows 10 Pro Version 10.0.18362 Build 18362. The Hyper-V Server is running on a Window Server 2012R2. I am getting the following message when I attempt to access the Hyper-V Server from my Windows 10 Pro workstation.

The workstation and the Server are on the same domain and the Server is a domain controller. I have the domain user as a local user on the workstation and in the Hyper-V administrator group and the user is on the Server in the Hyper-V administrator group. 

Looking at the Microsoft FAQ on Hyper-V the Windows 10 Pro Hyper-V MMC is backward compatable to Windows Server 2012R2.  

Can anyone help with this issue or did Microsoft break this with the latest version of Windows 10 Pro.


Export all VMs and VHD from a Cluster Shared Volume

$
0
0

Hello Guys,

I am trying to do a script to take all the VMs from a specific CSV (Cluster Shared Volme) and the VHD attached to them. 

My script look like:

Get-SCVirtualMachine -VMMServer VMMServerName -all | where{$_.location -like ‘C:\ClusterStorage\VolumeX’} | Select-Object Name,Location, @{N="Capacity(GB)";E={[math]::Round($_.TotalSize/ 1GB)}}


The output is good but the only problem is with the VMs that have more the 1 VHD disk. I have VMs with multiple VHD disks on multimple CSV LUNs.

EX: VM x has a disk on CSV1 and a disk on CSV2 and i need to get only the disk size from CSV1. In my script I get object TotalSize and because of that i get a sum of the 2 disks.

I did some research on google and i found the command Get-VHD and i have modify my script like this:

$VMs= Get-SCVirtualMachine -VMMServer VMMServerName -all | where{$_.location -like ‘C:\ClusterStorage\VolumeX’} 
foreach ($VM in $VMs) {
Get-VHD | Select-Object Name,Location, @{N="Capacity(GB)";E={[math]::Round($_.TotalSize/ 1GB)}}
}

But when i run it i get the message: Path[0]:

What i am doing wrong?

Thanks!


Enabling Hyper-V causes Windows 10 unable to start

$
0
0

I'm having issues enabling Hyper-V in the "Add Windows Features" option in the control panel. I was hoping to increase performance with Google's Android Emulator for testing. Upon enabling Hyper-V, Windows applies changes and resets. Windows is then unable to boot after this. Previously I had thought it may have been conflicting drivers from Virtualbox. After the last attempt, I was unable to use system restore or boot into Safe Mode and had to clean install.

I clean installed Windows 10 and installed windows updates and graphics / chipset drivers and tried to re-enable Hyper-V again. I also tried disabling "Fast Boot" in control panel at this time after reading it may cause issues when enabling Hyper-V. I ran into the same problem but thankfully was able to boot into safe mode and windows successfully rolled back the feature and then booted normally.


I have the virtualization option enabled in BIOS. According to systeminfo, I have the requirements for Hyper-V AFAIK.

systeminfo command reads as follows:

  • VM Monitor Mode Extensions: Yes
  • Virtualization Enabled in Firmware: Yes
  • Second Level Address Translation: Yes
  • Data Execution Prevention Available: Yes

OS and Hardware:

  • Windows 10 Enterprise
  • MSI x470 Gaming Plus
  • Ryzen 3 2200g

Any help would be greatly appreciated. Let me know if any additional information is required.



Looking for vhd's of active directory and exchange

$
0
0
Hi. Can anyone give me link for download a vhd's of AD with some users data(20+ users with data) and exchange? For servers 2008 r2, 2012 r2, 2016, 2019. Wan't to test some software that I made, but need some meat for tests.

Server 2019 Essentials - Can you run a hyper-v to allow a virtual windows 10 instance for a remote user?

$
0
0

Hi folks,

I have a customer that I want to upgrade to server 2019 essentials from server 2012 r2.

However they have a Hyper-V box on the server for a remote worker are you allow to do this on 2019 essentials. The only info I can find is about running essentials in a VM not as a host. 

Also are there any CPU / memory disadvantages to running Hyper-V on essentials ?

TYI


Getting started with VLAN's in Hyper-V

$
0
0

I have a hyper-v fail-over cluster with 4 nodes. All VM's and the hosts are on the same subnet and VLAN (601) so I've never had to worry about VLAN tagging. All 4 hosts are plugged into a layer 3 switch using trunk ports, so all VLAN's are available.

Each host has 2 physical NIC's, these are then teamed together (switch independent). Then a virtual switch (VSwitch-1) exists. 3 virtual network adapters then exist to this switch - Cluster, LiveMigration & Management.

I now have a new VM which needs to be in a particular VLAN for a door control system, this is VLAN11. The physical layer 3 switch appears to be configured ok, but I do not understated what I need to do in hyper-v and the VM itself.

Thanks in advance for suggestions, advice and help :)

Hyper-V guest remains in Saved state after Host reboots (after 20 Min VM restoring and starting)

$
0
0

I have 2 Win 2016 Datacenter Server completely patched Server with same problems. When I restart the Hyper-V Host all VMs stay in Saved State and wait  about 20 Minutes. Then the VMs are restoring and starting fine.

Hyper-V-Hypervisor Operational Log says:

about 8pm

Hyper-V successfully deleted a partition (partition 2).

about 8.23 pm (approx. 20 Min later)

Hyper-V successfully created a new partition (partition 2).

I have 8 VMs and with Total 12 VHD (IDE and SCSI mixed, Gen1 and Gen2) -> the event entries are exactly 12 times!

What I checked

************

-Powersaving on Host disabled
- a lot of free Discspace (45%)
- HP Proliant G9 with latest Firmware
- all Disks are DAS no Storagepool or SAN
- Test VM shutdown and stop and then restart Hosts - > not effect
- Hosts have DEP, Hyper-Threading and SLAT enabeld in BIOS
- Host NIC has Teaming (SR-IOV is disabeld)

I have an other Host with exact same Issue (similar Configuration).

Problem: it's annoying to wait always 20 Minutes after a restart till VMs are running.

thanks for any tipps. 



Assign IP-address to Hyper-V VM via script during deployment

$
0
0

Hi All,

Does anybody know of a way to leverage powershell to assign a static ip-addr to a 2012 R2 Hyper-V virtual machine ( Windows for instance) when creating the VM thru powershell ?

We are looking to automate the process of creating a VM via a powershell script. My script uses the New-VM cmdlet to create the VM itself and then power it ON.  But how do i further assign an ip to the VM to be able to connect to it remotely?

The "New-NetIPAddress" cmdlet wont work in this case as this being a new VM doesn't have an IP to begin with so we cannot connect to it remotely to run this command.

Thanks

Neeraj



Snaphot

$
0
0
Hi Experts i am using hyperv2016, i have checkpoints created by our backup solution and i am not able to delete the checkpoints since the option to delete checkpoints is grayed out. Experts guide me how to delete those checkpoints

Hyper-V 2016 Replication Error

$
0
0

Hi, My Hyper-V 2016 replication state error. i think this happened after the electricity off during night time and the host went down.

Pls help how can i fix it?

Event 10400 and 25 losing network connectivity on Hyper-V

$
0
0

We are having trouble with both our servers.  Here's our setup and the problem:

2 identical Asus RS520-E8-RS12-EV2 servers, fully updated, with Server 2019 Standard Hyper-V. Both servers have an Intel X710 2-port networkcard (SFP+) (latest Intel driver) These cards have been added later for faster networking. So they don't come standard onboard.

The servers are directly connected together using one SPF+ cable for quick Hyper-V replication that works fine.

Both servers are also connected to the LAN network on one RJ45 port 1GB (no teaming) This network card is also attached to a Virtual Switch (1GB)

Both servers are also connected to the LAN network on one SPF+ port using a 10GB Fibre cable to a Huawei switch (no teaming), also connected to a Virtual Switch (10GB)

The problem:  We keep getting this error 10400 in the event logs every 30 seconds:

The network interface "Intel(R) Ethernet Converged Network Adapter X710-2" has begun resetting.  There will be a momentary disruption in network connectivity while the hardware resets. Reason: The network driver detected that its hardware has stopped responding to commands. This network interface has reset 455 time(s) since it was last initialized.

When this event occurs, the connectivity on the 10GB Fibre port (to the LAN) is lost for about 3 or 4 pings. All the virtual machines (6) connected to this Virtual Switch (10GB) also lose connection so the whole network is crippled that way.

Once I switched all VM's to the Virtual Switch (1GB) RJ45, the problem stops and the host itself can be pinged again on the 10GB port, no problem all day.  At this point I don't really know what to look for.  We also get this message all day long every second of the day, despite the problem went away, 

Event 25, Hyper-V-VmSwitch

The MAC address 3C-FD-FE-CD-FE-5D has moved from port 515A1F44-F3BA-49FB-8E2D-2F4D970F472E (Friendly Name: Virtual Switch - DAN_External) to port C40C1E38-A55D-4415-B7ED-2D29C6BEE007 (Friendly Name: Virtual Switch - DAN - SPF - 10GB)

The MAC address 3C-FD-FE-CD-FE-5D has moved from port C40C1E38-A55D-4415-B7ED-2D29C6BEE007 (Friendly Name: Virtual Switch - DAN - SPF - 10GB) to port 515A1F44-F3BA-49FB-8E2D-2F4D970F472E (Friendly Name: Virtual Switch - DAN_External).

What I notice is that the friendly name "Virtual Switch - DAN - SPF - 10GB"  is the one I created, the friendly nameVirtual Switch - DAN_External is unknown to me, this is not a Virtual Switch present in Hyper-V there is no switch with that name.

Both ports of the Intel X710 show this message all day filling the log (direct attached cable and the 10GB LAN connection)

We checked the switch and there are 0 errors or collissions on all switch ports so it does not seem to be switch related.

When the VM's are not connected to the 10GB Virtual Switch the card is 100% stable

To me this appears to be a driver problem or maybe a config error in Hyper-V that we are unaware of. VMQ is enabled by default in Hyper-V and also the drivers of the Intel card.

Any clue?




Scale Out Cluster vs Clustered Shared Volume Usage

$
0
0

Hey everyone,

I tried using Windows Server category for the post but for some reason it's not available. Feel free to move it accordingly.

So I've been reading some information about clustering in general in Microsoft environments and I have a big doubt.

Microsoft says that scale out file servers are meant for storing virtual disks or SQL instances in an active-active way of clustering through clustered shared volumes. I can understand the statement as that will make the volumes accessible by the cluster at any time with no downtime. However, you can also create clustered shared volumes, without the need of choosing "Scale Out File Server" as an option, and you can also store virtual disks there for a Hyper-V host. So what would be the difference between these two if at least in theory the work in the same way.

I think I need some light in this dark thought I'm having for clarification haha.

Thanks in advance!

Remove-VMSnapshot : The operation failed because the file was not found

$
0
0

Hi all¡

I need your help to can delete a DPM orphaned checkpoints.

This is the problem:

 - Weekend DPM backup of a server failed with error "DPM encountered a retryable VSS error"

 - I find that the error is because the Hyper-V server has olders chekpoints:

 - I did the merge of disks with the parent, but this action not resolve the problem....the chekpoints still figures at the console and with powershell (the disk folder of the VM, only have the two disk parents):

I tried to remove snapshots with powershell and from the console, but the error always is the same: "The operation failed because the file was not found"

The comand was executed with the vm turned off, and turned on.

Some help, please?

Maybe edit a xml file?

Note: its a production server, that not have a backup..

Thanks in advanced.

Regards¡


Marcos Ferreira

NLB VMs 2008R2 stopped status on 2012 R2 Hyper-V cluster

$
0
0

Hello.

I'm having an issue with two VMs 2008 R2 running onto my 2012 R2 hyper-v cluster (two nodes). When I finished the configuration of the NLB between my VMs everything starts working as expected, but after a few seconds the NLB I've configured in my VMs stops working.

I already tried unicast, multicast and IGMP multicast modes in my NLB, changed the host priority, uninstalled the latest updates from the VMs and the hosts and the problem persist. I also tried to install the KB4457133, but I get the error "it doesn't apply for my operating system".

The only thing I didn't try yet is build again my 2012 R2 hyper-v cluster from scratch without applying any Windows updates.

I hope to find here a light at the end of the tunnel, someone have some tip?

Thanks a lot!

Mauro.

Windows 10 Hyper-V Host - problems with RDP to VM

$
0
0

I am using hyper-v on my Windows 10 machine. I have created several VM's using the default switch. After getting the machine set up and verifying that it has network access; I can get out to the internet using the default switch; I change the machine name of the VM to an appropriate name.

I am not on a domain controller, so I have all machines on the same "Workgroup". I do NOT use static IP addresses for the VMs because I often travel and have to connect to other networks that have different IP configurations. I cannot use the hosts file on my host machine either; for this same reason.

My problem is that sometimes I can connect to a VM using it's machine name. But sometimes I cannot connect that way and have to use it's currently assigned IP address. The weird part is that this sometimes will happen the same day; without moving my host machine to a different network. I can connect in the morning using the machine name, then later in the day; after restarting the VM; I have to use it's IP address. Same thing with trying to ping the VM from the host machine.

Am I missing something in my configuration?

   

Windows 10 - Adding External Switch Failed

$
0
0

Anyone aware how to solve below error? It happened when im trying to add external switch.

But if internal or private network, no issue at all. My account is already admin of the computer.

Adding port to the switch "New External Switch" failed.

You do not have permission to perform the operation. Contact your administrator if you believe you should have permission to perform this operation.

Delegating permissions to manage Hyper-V machines

$
0
0

Hello,

the title says it all.

I would like to delegate permissions to manage Hyper-V machines, e.g. full control on 1 VM or right to start/stop/manage a set of VMs to one user or a group of local/AD users.
I've done some research and I've found Authorization Manager but is has been deprecated since Windows Server 2012 R2.

Is there any simple method to achieve this goal that is supported in Windows Server versions newer than 2012?

I'd like to point out that I don't want to add users to "Hyper-V administrators" group on the Hyper-V server.


Hyperv Guest Manual Backup Windows 2008 R2

$
0
0
Hello,

    I have Windows 2008R2 which is acting as a hyperv host. I want to backup the virtual machine. I know it can be done this way using the wbadmin.

https://blogs.technet.microsoft.com/hugofe/2011/09/01/backup-hyper-v-virtual-machines-on-windows-server-2008-by-using-windows-server-backup/

https://www.petri.com/vm-backup-with-windows-server-backup.

My Question is what if I shutdown the hyperv Guest and copy the .vhd manually and restore it to another server in case of any disaster, will it work ?

Thanks

http://www.arabitpro.com

Poor Performance in Cluster Shared Volumes

$
0
0

Hi All, 

I have noticed on several clusters upon which I've worked, that there is a huge fall off in the expected performance after LUNs added to the hosts are turned over into cluster shared volumes. With the LUNs attached to the hosts before clustering, I typically see the full performance afforded by the the network and the SAN.

However when the CSV is created on the storage, and local Virtual machines are moved into the cluster, the guests suddenly become more sluggish. Tests then reveal that the LUN's are not delivering their full performance. 
I had wondered if the management network performance then comes into play, but I'm unable to verify this after restricting associated ports to 100Mbs. Its strange however that we typically see this kind of performance degradation once the CSV's are created and none of the VM's I work on clustered seem to have stella performance now matter what the storage backing actually is. I've checked out Qos settings, but note that the load balancing registry values mentioned in other articles are missing from 2019 HyperV Core which is what's in use in my test scenario. 

Test scenario setup 
is based upon my ageing test bed. 
1 x DL360 Gen8
1 x DL360 Gen7 (CPU compatibility enabled on all guests)
1 Proware IPS SAN 4 x 1Gbe in 2 x 2Gbe LACP aggregated Links
Hosts connected to iSCSI network via 2x2 LACP Teams each, with iSCSI on in its own VLAN on a CISCO 2960G
Management network 1Gbe only unfortunately due to lack of NICS and available switch ports in test setup
Data Link Network not in use by Host OS. All management, data and iSCSI networks in their own VLAN's on 2960. 

The SAN typically gives 700 - 900 MB/s when served up as attached LUN's. Although I am not sure how this manages this speads over the iSCSI network mentioned above but however it does, and it maintains it over large files tested up to 100GB plus. 

I have video of what I'm seeing that I will link to when my account is verified. 

Create VM

$
0
0

Hi Experts

i want to build oracle linux virtual machine on hyperv2016, is it supported on hyperv or not, please help me how to check this OS is supported or not.

Viewing all 8743 articles
Browse latest View live


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