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

Cannot enable the Promiscuous mode at Virtual switch for spanning port

$
0
0

Hello,

How to enable Promiscuous mode at Virtual machines (Hyper-V) windows 2019 server

What the power shell command and version to run this command please?

Thanks,

Bilal


Failure to Boot on Red Hat Enterprise Linux (RHEL) or CentOS 8 using Hyper-V 2016

$
0
0

When using RHEL 8 or CentOS 8 as the guest operating system on a virtual machine (VM) running on a Microsoft Hyper-V Server 2016 host, the VM in some cases fails to boot and returns to the GRUB boot menu. It sometimes takes up to 20 attempts before the vm starts (VM therefore stays stopped after 5 retries to boot kernel with grub)

It seems that it's this bug: https://access.redhat.com/solutions/4796261

The following error is logged in the Hyper-V event log:

The guest operating system reported that it failed with the following error code: 0x1E

We are increasingly seeing this problem occurring on sone clusters and on others not

Any Ideas, Workarrounds, Fixes? For example is it possible to increase the retries of 5 somewhere? Concerning Red Hat the Problem will be solved in Hyper-V 2019, but as we have 200+ physical nodes it takes a lot of time to upgrade and we need some workarrounds

Hyper-V 2019 virtual switch + Broadcom 10Gbe: dropped traffic

$
0
0

Hi,

I have recently received two new Dell PowerEdge R540's. Both identical spec. Both have a Broadcom Dual Port 10Gbe SFP+ Adapters (57412 chipset). Bother servers have been setup the same.  

  • Booted into Dell Lifecycle controller, all firmware/bios updates applied.
  • Hyper-v 2019 installed from ISO via Lifecycle controller
  • Windows updates applied, OS rebooted
  • Computer renamed, OS rebooted
  • Computer added to domain, OS rebooted
  • Two new VMSwitch's created via PowerShell (new-vmswitch)
  • Three new vNIC's created via via PowerShell (add-vmnetworkadapter)
  • VLANs configured on the vNICs
  • Static IP Addresses configured on the vNICs

That's it. Both servers are using the same SFP+ modules (from Ubiquiti), using the same optical cables (from Ubiquiti) going to the same switch (from Ubiquiti). The switch ports are configured identically (triple checked).

One server is working fine. Traffic on all 3 vNIC's passes perfectly. The other server...just...has...problems. When I boot up, it works for anything between 5 minutes and 30 minutes, but eventually traffic just stops flowing in any direction. Running get-netadapter shows the 10Gbps ports as 'disconnected'. However iDrac and the Uqiquiti switch both report the NIC is up. Also, I have noticed the server behaving very...sluggish when traffic stops. I have observed some PowerShell commands take a few minutes to complete, such as simple "Get" commands, which complete instantly on the 'working' server. And if I reboot the server, it's fine again...traffic is flowing on all 3 vNICs for a few minutes...then it stops.

The problem isn't GPO related as both servers are in the same OU with the same GPO's applied, which isn't much actually.

If I remove the VMSwitch then traffic immediately flows and the server is stable and responsive. I have even completely wiped the OS and reinstalled from scratch, following my documented steps above, and still it is a problem.

Dell have already replaced the Broadcom NIC in this server, but the issue is exactly the same. I will be in the office on Monday (today is Friday) so I can try replacing cables and try other switch ports, but I firmly believe this is a Windows/Broadcom bug.

Dell confirmed I am running the latest server BIOS version as well as latest firmware for the Broadcom NIC and Windows OS NIC drivers, so there is nothing left for me to update.

Any thoughts/Tips/Troubleshooting I should try are greatly appreciated.

I'm off to reinstall the OS one...more...time. I'll report back if anything is different this time.

Hyper-V multiple NIC's communication

$
0
0

Hey,


I've been experimenting with the Sophos XG Home Firewall and FlexiWAN at home to get a better grasp on these technologies. 


I'm currently busy with the Sophos XG FW and want to set it up with the WAN being the external NIC and the LAN an internal NIC. 

Since I'm at my own home I have a 10.0.0.0/16 IP range configured, everything at 10.0.0.0/16 is DHCP, 10.0.1.0/16 is reserved IP addresses and I want 10.0.2.0/16 to be my LAB. Currently they are /16's and can communicate with everything but I plan to make my LAB fully isolated at a later stage. Normally I would do it first but for me the priority lies now in getting the SDWAN's / FW's up and running.


I have installed Sophos XG FW on a VM with 2 NIC's

  • WAN = External = 10.0.1.245
  • LAN = Internal = 10.0.2.245


However, whenever I run through the installation of the Sophos the LAN cannot communicate with the gateway = 10.0.0.1


This makes me believe that the internal NIC cant communicate with the external NIC, is that correct? 

Or is it that it could be that NAT is not yet working on the Sophos and this is normal behavior? 










Restrictions running Hyper-V under W10 Professional x64?

$
0
0

Please help me understand the restrictions applicable to running under W10 Professional x64.  Some users are trying to run Hyper-V under W10 and it does not seem to support either more than one socket or more than 64 logical processors.

Please notice that this SS from the VM running  W10 Professional x64 as the host and guest.  Cinebench on a 64/128 core/thread AMD 3990X.  The VM recognizes all 128 threads (logical processors) but only runs half.  Can this be changed with a setting or will it work in W10 Professional x64 for Workstation or Windows Server?  Thanks and enjoy, John.

Hyper V, Tuya Convert

$
0
0

I am wanting to utilize Hyper V with Ubuntu to run the Tuya Convert terminal scripts and flash ESP8266 device with tasmota.

I have been able to install Hyper V, login to Ubuntu, complete the tuya convert install but am not able to utilize the built in WIFI or the WIFI dongle I have to make a connection with the ESP device. I used a Youtube instructional with similar features except using VMWARE workstation. Difference is when this video plugins in the wifi dongle it asks what it wants to do with it. In hyper v I am unable to get any WIFI device to be seen by the virtual machine.

Can anyone help Please. 

  

Windows server 2016 standard hyper-v installation error 0x80073701

$
0
0

Dear Gurus,

I am getting error code 0x80073701 while installing Hyper-V in Windows Server 2016 Standard edition. Here are the major error logs generated in CBS.log during service activation.

  • Package:      Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0      [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
  • Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0,      status: 0x80073701, failure source: Resolve, start state: Installed,      target state: Installed, client id: DISM Package Manager Provider
  • Package_7939_for_KB4565511~31bf3856ad364e35~amd64~~10.0.1.8      [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
  • Package_5940_for_KB4048953~31bf3856ad364e35~amd64~~10.0.1.3.4048953-12332_neutral      from file: (null) [HRESULT = 0x80073701 - ERROR_SXS_ASSEMBLY_MISSING]
  • Package_5940_for_KB4048953~31bf3856ad364e35~amd64~~10.0.1.3.4048953-12332_neutral',      rah = '2', manpath = (null), catpath = (null), ed = 0, disp =      0)[gle=0x80073701]

DISM Cleanup-Image StartComponentCleanup & RestoreHealth and command sfc /scannow have been executed multiple times and output is also successful for these commands, however Hyper-V is still throwing same error code - 0x80073701.

Request help on this.

Thanks & regards,

Nikhil 

hyper v not available

$
0
0

DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V

after trying all power shell and windows features still hyper v optn is not available now what to do and my virtualisatn is also enabled


Windows 2019 Hyper-V Host Static or Dynamic ram allocation

$
0
0

We are setting up a Windows 2019 Hyper-V VM running on a Physical Windows 2019 Server with 64GB of Ram. The Physical server will be running a few lightweight apps and also the Hyper V roles. I have been reading up on Dynamic V's Static memory allocation for the Hyper-V server and cannot decide which option is better. As I see it I have 2 ways I could go -

1. Allot 32GB of static ram to the Windows 2019 Hyper-V VM

2. Enable Dymanic Ram Set 8GB of Ram as a minimum Value, Set the Max Ram to 32GB with a 20% Memory buffer

We are planning to use the Hyper V for lightweight Remote desktop use.

What I am wondering is, does having Dynamic Memory instead of static cause speed issues for the VM when the amount of RAM required has to be increased or is this so fast that it is not noticeable.

Any thoughts would be appreciated 



Hyper-V Virtual Machine Management Service doesn't respond, cannot stop/restart

$
0
0

Hello, I've been running a functioning virtualization set on a small Server 2016 install, running a half dozen VMs. Everything was working fine for months, but I let Windows update last night and when it rebooted suddenly none of the VMs would startup. When I attempted to check them with the management tool it tells me it's connecting to the Hyper-V Virtual Machine Management Service, and it never stops saying that except to sometimes say it cannot be reached. This is all locally on the server, not remotely. This has not happened in the past. When I attempt to stop or restart the Hyper-V Virtual Machine Management Service it takes a long time and then ends with Error 1503 saying that it cannot stop the service as it took too long to respond.

I tried rolling back the update, and that changed nothing unfortunately. This is pretty disastrous for me, hopefully someone can help me out!

Edit: As far as I can tell none of the VMs boot, none appear to be on the network switch, and I cannot access them through any means.

The Get-VM command hands powershell, and whether the service is stopped or not (which is does eventually stop after 10+ minutes) the network switch information in the Hyper-V configuration area for switches never becomes available.

Can I rename .mrt and .rct files?

$
0
0

I would like to rename the Virtual Disk file on some of our VMs ... we are using Nakivo for backups, so the .rct and .mrt files are present for each .vhd(x) disk file on the VMs that we are backing up.

I know how to rename a .vhd(x) file ... by shutting down the VM, physically renaming the file, reassigning the VM's disk to the new filename, then restarting the VM.

My question is -- what do I do about the .mrt and .rct file that accompany the .vhd(x) file?   Do I just manually rename those as well?  Or do I have to delete them somehow before renaming the disk file?  Or is there a utility that takes care of all this?

I could not find documentation anywhere that talks about this. If there is doc I would appreciate a pointer to it ... otherwise if there is a best practice for doing this then please explain :)

Thanks.  John

What do you like most in your life?

$
0
0
What do you like most in your life? You will ask why this is to be a human

Use cmdlet to live migrate VM changing the vNetwork.

$
0
0

Good morning.

I have to live migrate VMs from “Hyper-v on Server 2012” to “Hyper-v Server 2012 R2”.
Well, at the same time I have to migrate all the storage (Config, Snapshots, Pagingfiles and VHDs).
Up to here everything is ok. 
At the same time without loose the VMs connectivity I have to change the vNetwork because the vNetworks on the new Hosts are different.

I will use Move-VM powershell cmdlet, example:

Move-VM $VM remoteServer –VirtualMachinePath $Path1 –SnapshotFilePath $Path1 –SmartPagingFilePath $Path1 –IncludeStorage –VHDs @(@{"SourceFilePath" = $OldVHDPath1; "DestinationFilePath" = $NewVHDPath1}, @{"SourceFilePath" = $OldVHDPath2;"DestinationFilePath" = $NewVHDPath2}) 

When I do it manually through the Hyper-v Console, it ask me to change it:


How can I change vSwitch at the same time that I Move the VM using a cmdlet without loosing connection?

Thanks in advance and have a nice week,
Angel Biurrun.

 

Hyper-V 2019 - Guest VM's shutdown unexpectedly

$
0
0

Hi,

Since upgrading my Hyper-V servers to Windows Server 2019, including KB4471332 from last night, my guest VM's do not power down on restart of the 2019 host.

I can confirm integration components are as up to date as possible, and each guest is configured to shutdown when the host restarts.

Each guest gets the "Why did I shutdown unexpectedly message".

The even viewer yields the following all within 30 seconds of restarting the host:

Shut down physical computer. Stopping/saving all virtual machines...

'ADFS' failed to perform the 'Shutting Down' operation. The virtual machine is currently performing the following operation: 'Shutting Down'. (Virtual machine ID 0CFDF648-EE9D-4141-9EBD-9A6D911C3442)
'ADFS' failed to shut down. (Virtual machine ID 0CFDF648-EE9D-4141-9EBD-9A6D911C3442)

The Update Orchestrator Service service terminated with the following error:
This operation returned because the timeout period expired.

Failed to restore configuration for port 59229EE2-C880-4BF2-9849-89A21EC17772 (Friendly Name: ) on switch 300C0E17-E123-4182-BE62-AAD1860BE841 (Friendly Name: ), status = Object Name not found..

Everything is configured as it was on the 2016 Hyper-V host.

The message ADFS failed to shut down because it is shutting down seems terribly odd to me.  Of course its shutting down, just need the host to wait. (Yes the registry is set to 120 as the default time for the host....)

Fairly simple to recreate....just spin up a 2019 server, install Hyper-V role, throw in a VM and test.

Any help would be appreciated, but my money is on it being another bug.

SNMP Service Tabs (Agent,Traps,Security) Does not apper

$
0
0

I install snmp on hyper-v 2016 via command line according to 

https://www.thomasmaurer.ch/2011/10/install-snmp-on-hyper-v-r2-core-server/ with 

Dism/online/enable-feature/featurename:SNMP

command but I cant see Agent, Traps and security tab of snmp service

Regards,


Hyper-v freeze but vms working fine

$
0
0

I’m facing small issue with few of our Hyperv-2012, 

 

It’s getting freeze after running for continuous 12-24 hours, we can’t ping neither console its full black screen, but VM hosted on it is working fine, we can ping and RDP into it,

 

Appreciate if some can help

Why is my vhdx taking up so much space?

$
0
0

I have built a CentOs 7 guest VM in Hyper-V as Gen1 with two drives, both dynamically expanding drives.

I have loaded about 170 GB of data into one of the drives, but on disk on the host, it is taking up 410 GB. What is going on?

This is in the guest:

$ df -h | grep 'sdb1\|Used'
Filesystem                     Size  Used Avail Use% Mounted on
/dev/sdb1                      504G  168G  311G  36% /var/lib/data

This is from the host:

    Directory: D:\VHDs


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       22/01/2019     08:35   420541890560 Lupin-Data.vhdx


Virtual Machine Generation 2 Boot Issue!!! (Windows Repair Bootloop! ) Hyper-V 2012 R2

$
0
0

Hello people, I'm having the following with the GEN 2 in Hyper-V 2012 R2.

Issue: After bouncing my GEN2  Hyper-V VM I get this.

Then I get the Windows Repair and nothing happens after this point!  

Does someone have experience this issue ?

The bad thing with it is as it's production there's no checkpoints and I cannot recover it!

Note: this doesn't happens with GEN1 VM's.

Any help will be really appreciated


REFS for a Hyper-V CSV Volume

$
0
0

I am currently running a 4 node Server 2016 Hyper-V cluster storage is provided by a DELL MD3200 SAN normal concepts for CSV volume on NTFS are in place as previously nodes where 2012R2 and 2008R2 prior. My main question is I am going to be adding another SAN DELL MD3420 and I have been wondering whether to use REFS for the file system for VM's situated on this SAN.

I came across a Veeam article advising moving to this scenario however I would like to get the opinion of you all.

Regards

Chris


MCP, MCTS, MCITP, MCITPVA, MCSA 2012, MCSE Private Cloud, MCSE Server Infrastructure

Failover Cluster - Cluster Storage permissions

$
0
0

Hi everyone, I have next scenario. In our company we are using powerhell to provision new virtual machines, we also using service user which doesn't have admin rights on Hyper-V hosts, this user excecutes scripts remotly on our Hypers.

Sometimes we have problems, because that user can't delete old folders of virtual machines from location C:\ClusterStorage\Volume1.

This user already have full ClusterRights. I want to give that user FULL rights on C:\ClusterStorage\Volume1, \Volume2 folder and so on.

Can you give me some advice, because i didn't find anything helpful on internet regarding to this. Current owner of ClusterStorage\Volume1 is System. Should I change ntfs permissions directly on ntfs volume or?

Thank you

Viewing all 19461 articles
Browse latest View live


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