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

Hide Connection Bar in Virtual Machine Connection

$
0
0

Hello All,

I am reading this article:

https://ravingroo.com/1097/captain-obvious-log-hide-remote-desktop-connection-bar/

And am trying to do this with my Hyper-V Virtual Machine Connection windows, but do not see this available in the place that I would expect it via the dialogs found in the above article.

Where is this hiding? :)

Thank you,

Michael


SR-IOV not working on Hyper-V server 2016

$
0
0

Hi,

I have a server running Hyper-V server 2016 and I am trying to use SR-IOV on an Ubuntu 18.04 LTS virtual machine. The hardware configuration is Dell R630 with Intel X710 network adapter. Please note that there is no issue with SR-IOV when running Ubuntu 18.04 / KVM on this server so I know that the issue does not come from the hardware.

Here is the issue: I configured SR-IOV on both the vSwitch connected to one port of the X710 board and one of the network adapters of my virtual machine. Network adapter status is the following in Hyper-V GUI: "OK (SR-IOV enabled)". However when I boot my virtual machine, I get the following error in Hyper-V server event viewer: "Failed to allocate virtual function for NIC 6CA4D1EF-E8B6-4FD1-8456-75B56950979C--F8CFAFF8-B7CA-4F40-895F-DDE0BB7EA8BF (Friendly Name: Network Adapter), status = {Drive Not Ready}. The drive is not ready for use; its door may be open. Please check drive %hs and make sure that a disk is inserted and that the drive door is closed.". And I get the following error message every 5 seconds in /var/log/kern.log on the virtual machine: "Feb 26 07:04:08 ubuntu-18 kernel: [ 1674.718553] i40evf 8b8c:00:02.0: Device is still in reset (-16), retrying
Feb 26 07:04:08 ubuntu-18 kernel: [ 1674.718556] i40evf 8b8c:00:02.0: Failed to communicate with PF; waiting before retry".

How can I fix it ?

Thanks for your help,

Pierre

VM showing stuck

$
0
0

I am using windows Server 2012 R2 stranded in host server (Base SErver). and i create two vm in hyper-v.

Suddenly VM has been stuck any time not specific time.

My VM H/W configuration is 

RAM :- 12 GB

Virtual Processor :- 8

when i checked in event logs they showing me error:-

Error :-The computer has rebooted from a bugcheck.  The bugcheck was: 0x00000050 (0xffffe000e85fd000, 0x0000000000000001, 0xfffff801ca5ad360, 0x0000000000000000). A dump was saved in: C:\Windows\MEMORY.DMP. Report Id: 022519-12578-01.

please share with me your output for how to resolve this issue.


 

Isolate Hyper-v guest for safe browsing

$
0
0

Hi,

I'm trying to create a safe browsing environment for all the online activity I'd like to isolate from my personal information and be safe from malware. As far as I know it's possible by using a hyper-v guest for browsing sites I don't want to be able to see my personal information. For example I use my physical computer (equipped with antivirus protection) for logging into my bank account and other official stuff. I don't want other sites like facebook, webshops or non-safe websites to track my personal data so I'd like to browse these sites in an isolated environment. I'm not looking for a way to hide from authorities. I don't even think it would be possible... So please, don't suggest Tor and other solutions like that. I'm just looking for a way to hide from those sites abusing my personal information by following me everywhere. Also it would be my first line of defense against malware activity when browsing/downloading stuff that's not entirely safe or testing/trying applications that are not yet proven to be safe. So my question is if you could give me a list of settings I should use in hyper-v to completely (or as much as possible) isolate my guest OS from the host so there'd be no information leaking.

NUMA SQL SERVER

$
0
0

Hello guys

I would definitely understand the subject WE NUMA in the configuration of a VM for SQL Server.

I currently have a Host with Windows Server 2016, dedicated as a Hyper-V Host with 64 GB Ram, 2-socket processor, 12-core processor and 24 logical processors.

I have already done several readings about NUMA Nodes configuration, and it seems to me that Windows Server does not know how to manage this, and that we must take care not to cross the limit of a node in one, so that it does not have to use external memory.

And there I have read many comments and magical formulas to be able to do accounts and decide this.

I honestly can not understand the account, I do not know if windows does not know how to manage it.

And in all the confusion in this matter I have made available a VM for SQL Server 2014, with 20 GB and 9 processors, because in the NUMA configuration it speaks up to 12 CPUs per node.

Sorry for the long post, but if anyone can explain this please and if my settings are correct

Thank you

Hyper-v & threadripper temp issues

$
0
0

I have a threadripper 1950x and had hyper-v installed to run a few vms but have run into an odd issue and am curious if anyone else has run into it as well, and if there is a fix.

So the issue is, when hyper-v is installed, my liquid cooler (kraken x62) cannot seem to read the temps properly from the cpu. My cam software should scale up fan speed and pump speed based on this reading, but it doesnt. When I uninstall hyper-v everything runs fine and scales as it should.

I also tried running the ryzen master utility while hyper-v was installed but it cannot run due to VBS and requests that you disable VBS before running it again.

If anyone has run into this and knows whether or not there is a solution please let me know as I would like to run a few vms but am currently worried about my processor overheating.

Cannot take checkpoint for 'because one or more synthetic fibre channel controllers are attached

$
0
0
We are facing issue while the take backup of VM  through commvault  our backup failed  due to "

VSS writers inside virtual machine 'exgdrdag001' failed to perform BackupComplete to its shadow copy (VSS snapshot) set: Catastrophic failure (0x8000FFFF). (Virtual machine ID BF839938-6C36-4B7E-AA53-D34135B27BE0)"

And also we got a error during the backup running 

Cannot take checkpoint for 'VM because one or more synthetic fibre channel controllers are attached.(Virtual machine ID BF839938-6C36-4B7E-AA53-D34135B27BE0)

Hyper-V host and disabling VMQ

$
0
0

Hi,

I have a hyper-V server with different VM’s on it.  After installing and configuring i keep having slow network traffic. In other words all works slow.

After searching the internet i have red that VMQ kan be parralizing for network traffic. Altough i have disabled all VMQ options on my networkadapters, i still have the issue.

So i started digging deeper.  I found a Powershell command to check if this is realy the case. Output is this :

Get-VMNetworkAdapter -ComputerName PROLIANTDL380 -VMname * | Select VMName, VMQweight


I have red that is should be 0 ,  i don’t know what 100 means ?

So the command to display the settings i did found (see above)

I can’t seem to find the powershell command to set VMQ to 0 (if this is needed ofcourse, and would have impact on my network traffic)

Thanks,

Extra info, these are my network adapters of my VM host :



how to enable & set dynamic memory for Viirtual Machine using powershell commands ?

$
0
0
how do I enable & set dynamic memory for Viirtual Machine using powershell commands ?

Host 2019 standard, 2 VM's with 2016 - cannot activate? 0xC004FD03

$
0
0

Hi!

I am having problems with activation of two virtual machines... virtual machines are installed from downloaded 2016 evaluation iso.

host server is 2019 stardard (activated)

I am getting 0xC004FD03 error.

I used AVMA key (for 2016 standard) C3RCX-M6NRP-6CXC9-TW2F2-4RHYD

I also tried this : https://victorhomocea.wordpress.com/2016/12/27/this-edition-cannot-be-upgraded-how-to-activate-windows-server-2016-evaluation/

any hints?


deleting checkpoints Hyper-v windows server 2016

$
0
0

to give a bit of background we have a 2016 server hosting a windows 2008 VM

Someone created a checkpoint or windows server backup did, not too sure as to the initial cause.

The hard drive started to fill up with .avhdx files.

due to limited space we moved 2 of the storage disks for the VM to another drive and manually merged the .vhdx files back to the parents.

they are all now merged back and vm working fine. however the checkpoint is still showing in the hyper-v management interface and subsequesnt backups have started to create avhdx files.

Now the question, should i run Get-VM -name | remove-vmsnapshot to remove the checkpoints or are there other options

thanks in advance

screen shot in windows server 2012

$
0
0
My OS is Windows Server 2012 r2. How can I do the screen shot ?

Remote Desktop Services

$
0
0
as per the company policy we disabled the printer redirection within group policy. Now i want the users to print from Remote session is there any alternate way?

Remote Desktop Services

$
0
0

I placed a web server in DMZ zone by removing it from domain and tried to access the url but unable to access it?

Is it mandatory that web server should be in domain?

Windows Server 2019 Datacenter boot loops after enabling Hyper-V

$
0
0

I took my Windows Server 2016 Datacenter test server in my home lab (Dell R710 with two X5650s and 32GB of RAM) and installed Server 2019 Datacenter on it to try out the new features that are centered around VMs (Hyper-V) and data deduplication. The OS install went fine, but after enabling Hyper-V in Server Manager, the system goes through its normal reboot that occurs during Hyper-V enablement, then it proceeds to boot loop. Windows Server 2019 install media's boot repair does not fix the issue, and I cannot get in via Safe Mode. Any advice would be greatly appreciated.


Latest 7.6 kernel rpms and hyperv

$
0
0

 We have a redistribute RHEL 7.6 with kernel- and also hypervisor <g class="gr_ gr_39 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="39" id="39"><g class="gr_ gr_35 gr-alert gr_spell gr_inline_cards gr_disable_anim_appear ContextualSpelling" data-gr-id="35" id="35">rpms</g> .</g>

 even when we enable the <g class="gr_ gr_112 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="112" id="112">networking  the</g> system initially pings and then is unable to ping out.

Feb 27 19:11:38 <g class="gr_ gr_37 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="37" id="37">testmc</g> <g class="gr_ gr_38 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="38" id="38">systemd</g>: Stopping System Logging Service...
Feb 27 19:11:38 testmc rsyslogd: [origin software="rsyslogd" swVersion="8.24.0" x-pid="1284" x-info="http://www.rsyslog.com"] exiting on signal 15.
Feb 27 19:11:38 testmc <g class="gr_ gr_40 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="40" id="40">systemd</g>: Starting System Logging Service...
Feb 27 19:11:38 testmc rsyslogd: [origin software="rsyslogd" swVersion="8.24.0" x-pid="7485" x-info="http://www.rsyslog.com"] start
Feb 27 19:11:38 testmc systemd: Started System Logging Service.
Feb 27 19:11:38 <g class="gr_ gr_50 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="50" id="50">testmc</g> <g class="gr_ gr_51 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="51" id="51">systemd</g>: Starting CARS <g class="gr_ gr_52 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="52" id="52">debugd</g> (debug daemon)...
Feb 27 19:11:38 testmc systemd: PID file /run/debugd.pid not readable (yet?) after start.
Feb 27 19:11:38 testmc systemd: Started CARS debugd (debug daemon).
Feb 27 19:11:38 testmc debugd: process 7498 started at Wed Feb 27 19:11:38 2019

Feb 27 19:11:39 <g class="gr_ gr_41 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="41" id="41">testmc</g> <g class="gr_ gr_42 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="42" id="42">systemd</g>: Stopping IPv4 firewall with <g class="gr_ gr_43 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="43" id="43">iptables</g>...
Feb 27 19:11:39 testmc iptables.init: iptables: Setting chains to policy ACCEPT: filter [  OK  ]
Feb 27 19:11:39 testmc iptables.init: iptables: Flushing firewall rules: [  OK  ]
Feb 27 19:11:39 testmc cdpd: debugd seems to have crashed, abandoning it

Feb 27 19:13:09 <g class="gr_ gr_53 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="53" id="53">testmc</g> <g class="gr_ gr_54 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="54" id="54">systemd</g>: <g class="gr_ gr_55 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="55" id="55">iptables</g>.service stopping timed out. Terminating.
Feb 27 19:13:09 testmc iptables.init: iptables: Unloading modules:
Feb 27 19:14:39 testmc systemd: iptables.service stop-final-sigterm timed out. Killing.
Feb 27 19:15:01 testmc systemd-logind: Failed to create /run/user: File exists
Feb 27 19:16:09 testmc systemd: iptables.service still around after final SIGKILL. Entering failed mode.
Feb 27 19:16:09 testmc systemd: Unit iptables.service entered failed state.
Feb 27 19:16:09 testmc systemd: iptables.service failed.
Feb 27 19:16:09 <g class="gr_ gr_44 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="44" id="44">testmc</g> <g class="gr_ gr_45 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="45" id="45">systemd</g>: Starting IPv4 firewall with <g class="gr_ gr_46 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="46" id="46">iptables</g>...
Feb 27 19:16:10 <g class="gr_ gr_47 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="47" id="47">testmc</g> <g class="gr_ gr_48 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="48" id="48">systemd</g>: Started IPv4 firewall with <g class="gr_ gr_49 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="49" id="49">iptables</g>.
Feb 27 19:16:10 testmc NCS: Starting NCS: #033[?25l#033[?1c
Feb 27 19:16:13 testmc kernel: INFO: task modprobe:9468 blocked for more than 120 seconds.
Feb 27 19:16:13 testmc kernel: "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
Feb 27 19:16:13 testmc kernel: modprobe        D ffff90e954b58000     0  9468   9466 0x00000080
Feb 27 19:16:13 testmc kernel: Call Trace:
Feb 27 19:16:13 testmc kernel: [<ffffffffb3968b69>] schedule_preempt_disabled+0x29/0x70
Feb 27 19:16:13 testmc kernel: [<ffffffffb3966ab7>] __mutex_lock_slowpath+0xc7/0x1d0
Feb 27 19:16:13 testmc kernel: [<ffffffffc049b000>] ? 0xffffffffc049afff
Feb 27 19:16:13 testmc kernel: [<ffffffffb3965e9f>] mutex_lock+0x1f/0x2f
Feb 27 19:16:13 testmc kernel: [<ffffffffb382e249>] register_pernet_subsys+0x19/0x40
Feb 27 19:16:13 testmc kernel: [<ffffffffc049b011>] ip_tables_init+0x11/0x1000 [ip_tables]
Feb 27 19:16:13 testmc kernel: [<ffffffffb320210a>] do_one_initcall+0xba/0x240
Feb 27 19:16:13 testmc kernel: [<ffffffffb331906c>] load_module+0x272c/0x2bc0
Feb 27 19:16:13 testmc kernel: [<ffffffffb35a32a0>] ? ddebug_proc_write+0x100/0x100
Feb 27 19:16:13 testmc kernel: [<ffffffffb33195ef>] SyS_init_module+0xef/0x140
Feb 27 19:16:13 testmc kernel: [<ffffffffb3974ddb>] system_call_fastpath+0x22/0x27

I goto the hyperV manager and change the networking to disable and enable the network adapter <g class="gr_ gr_352 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="352" id="352">and  everything</g> starts working.

Any clues as to what rpm I may be missing or config to fix this and automatically get my network adapter up.

on the REHL7.5 version of the kernel along with  open-<g class="gr_ gr_313 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="313" id="313">vm</g>-tools - everything works <g class="gr_ gr_384 gr-alert gr_gramm gr_inline_cards gr_run_anim Style multiReplace" data-gr-id="384" id="384">fine ,</g> I <g class="gr_ gr_394 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="394" id="394">dont</g> have the hyper* <g class="gr_ gr_417 gr-alert gr_spell gr_inline_cards gr_run_anim ContextualSpelling" data-gr-id="417" id="417">rpms</g> 

How to connect a 2016 Hyper-V VM to multiple vLANs via a single physical NIC

$
0
0

A physical switch is configured with four tagged vLANs on a single port.

The single physical switch port is connected to a physical box with a single physical NIC.

The box is running Hyper-V Core 2016.

A single vSwitch (External) uses that single physical NIC.

A single VM running Server 2016 Standard is using that vSwitch.

I want that VM to be able to communicate with those 4 vLANs.

I've seen a thousand and one ways described but none exactly what I want.

A little help?

Hyper-V VM I/O performance issue between SCSI and IDE VHDs

$
0
0
May I know the max. speed of IDE controller VHD and SCSI controller VHD ?

summary of hyper-v / cluster networks required

$
0
0

hello are these all the networks required for hyper-v cluster with server 2016?

mgmt (default vlan)

virtual machine network (default vlan)

live migration network (isolated vlan)

cluster network (isloated vlan)

iscsi network (isloated vlan)

did i miss anything?




Cannot manage Hyper-V 2012 core from Windows 10 Enterprise.

$
0
0

Been stuck at the coal face trying to figure this one out for best part of 24 hours now.

I have a dell blade server, and 3 of the nodes on it are configured as Windows Hyper-V 2012 core servers, with a verity of VM's running on them.

A week ago, after a disk crash on my workstation, I had to re-install windows 10 enterprise.  As it was a re-install I patched it all the way up to 1809 (Prior to the crash I was at 1803).

After I reinstalled, I went to access the Hyper-V servers as I had done without problems previously, with both Windows 7 and W10-1803.

As expected, I got the various winRM trusted hosts errors, so I ran the required WinRM commands, made sure the firewall had the correct rules in place, etc etc...

However, I cannot in any way connect to my servers using Hyper-V.

On the advice of some other technet forums, and various MS-Connect posts and MSDN Blogs, I installed the "Windows Server Manager" on the windows 10 machine, and that also has problems accessing the Hyper-V servers.

Remote desktop connections work totally fine, I can RDP into the servers no problem.  All 3 servers have both an Administrator account on, and an account using my own Login Name that I log onto my Windows 10 PC with, which is also part of the administrators group on my machine, and on the 3 remotes.

All the machines are in a work group, rather than in a domain, but the work group settings appear fine too, as I can access the file shares and other resources perfectly fine, from my personal account, and logged in as "Administrator"

I've disabled the firewalls on the 3 Hyper-V servers and that's made no difference (Although not tried disabling the Win10 FW yet)

Corefig, which I have installed on each of the Hyper-V servers tells me that all the various rules are enabled, and that WinRM is correctly set up, I have the security level set to allow "All Clients", not just the newer more secure ones.

I cannot see anything that appears to be wrong.

The windows event logs don't give me any useful information, other than the updates I last tried to install failed (When in actual fact according to the screen I was looking at, said they had succeeded).

In Hyper-V manager, all I get is this:

Where "Lucinda" is the Windows 10 machine used for management, and "CB*" are the 3 hyper-v nodes.

In server manager, all I see is this:

I'm really out of options now.  It all worked perfectly previously, under 1803, but now it doesn't matter what I try I can't seem to get it to work.

I'd really appreciate any thoughts anyone has.

Cheers

Shawty

Viewing all 19461 articles
Browse latest View live