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

Veeam leaves a Recovery Checkpoint after backup job is run?

$
0
0

Hello, 

I tend to have a few VM's with "leftovers" from Veeam Backup Jobs - and the only way to delete them is by doing this :

https://blog.workinghardinit.work/2015/10/15/remove-lingering-backup-checkpoints-from-a-hyper-v-virtual-machine

Get-VMSnapshot -ComputerName "MyHyperVHost" -VMName "VMWithLingeringBackupCheckpoint" | Remove-VMSnapshot

Hyper-V is running on Server 2016 Datacenter with Veeam Backup and Replication 9.5 Update 3
https://www.veeam.com/kb2353

So - anyone else experiencing this?


Windows Server 2012 R2 - Hyper V having trace route issue

$
0
0

Dear Team,

We are facing one problem in our Hyper V environment. Hope you guys can help me out. Let me explain it what the issue was,

We have installed Hyper V role on windows server 2012 R2 and the machine was up to dated with windows patches. Then we createdExternal vSwitch and Internal vSwitch. On the Host we assign the Internal vSwitch IP address as 192.168.137.1 and subnet 255.255.255.0

Then We shared the internet from the External Adapter from the host machine to Internal Adapter.

After that, we created a Virtual machine and assigned the Internal vSwitch to that Virtual machine. Once we done all the configuration, Internet was working fine. But when we try to ran trace route from Virtual machine we are facing an issue,

1st hop having packet loss and it reach to the Default gateway (Internal Adapter IP)

2nd hop shows request timed out

3rd hop – its fine from this hop and it reach to the host IP address, from then on its usual traffic without timed out.

Below screenshot for your reference,

We would like to know, whether we have done the configuration in right manner, or it normal behavior in Hyper V.

Please let us the know, if any change is needed.

Note: If this is not a right channel to discuss this, kindly redirect to appropriate channel. Thank you

Best Regards,

Arun

Windows Admin Center Hyper-V cluster

$
0
0

I added my Hyper-V fail-over cluster to Windows Admin Center but when i go to Virtual machines i am only seeing VMs from 1 of the 2 hosts . 

Do i need to install the service on both hosts ?

Issues with SCP in CentOS VM

$
0
0

TL;DR:

SCP from our Linux VM hangs after it reaches 100%.

The Setup

In the course of development, my team has created a CentOS VM which hosts an application that employs SSH (and SCP) in order to execute tasks on other hosts. Originally, this was working perfectly fine.

We were originally using Oracle VirtualBox since it's recommended for VM development but our company decided that we should use Hyper-V for development as well so we made the switch.

This application is still just in the development phase so the VM is just running on Hyper-V for Windows 10. We're using Vagrant to stand up the VM very quickly and forwarding the port that the application is running on using a PowerShell command. We simply attach the VM to the default switch. This works as intended, the application is accessible on that port.

Issue with SSH

Very quickly our application was beginning to fail when it came to the SSH connection to other hosts. We had to modify the SSH configuration in order to set the HMACs by going to /etc/ssh/ssh_config and uncommenting the HMAC line. This fixes the SSH issue and we're able to SSH to other hosts perfectly fine after this. It's odd considering that this was not an issue with VirtualBox but at least we have a workaround.

Issue with SCP

After we got SSH working, we noticed that SCP was having issues. This one is a bit more odd. When attempting to SCP a file from our node to another, the percentage indicator reaches 100% then it hangs indefinitely. This will successfully create the file on the target but that file will be empty. Increasing the verbosity of the SCP utility we see:

SCP Output:

scp -vvv tst.txt user@target.domain:/tmp/
...
debug1: Sending command: scp -v -t /tmp/
debug2: channel 0: request exec confirm 1
debug3: send packet: type 98
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug3: receive packet: type 4
debug1: Remote: Missing locale support for LANG=en_US.UTF-8
debug2: channel 0: rcvd adjust 201600
debug3: receive packet: type 99
debug2: channel_input_status_confirm: type 99 id 0
debug2: exec request accepted on channel 0
Sending file modes: C0664 12840 test.txt
test.txt                                                     100%   13KB   0.1KB/s   02:52

strace:

It seems to be stuck in a loop because the following block is repeated in the strace until I kill the process with Ctrl + C:

...

write(1, "\rtest.txt "..., 185) = 185 rt_sigaction(SIGALRM, NULL, {0x555900a4ebf0, [], SA_RESTORER|SA_INTERRUPT, 0x7fc354919280}, 8) = 0 alarm(1) = 0 rt_sigreturn({mask=[]}) = -1 EINTR (Interrupted system call) read(7, 0x7ffe718fdb0f, 1) = ? ERESTARTSYS (To be restarted if SA_RESTART is set) --- SIGALRM {si_signo=SIGALRM, si_code=SI_KERNEL} ---```

...

Specs:

Host: Hyper-V Manager V10.0.17763.1 on Win 10 Enterprise (V1809)

Guest: CentOS 7.6 x64 (latest) using Default Switch

Extending or creating a volume

$
0
0

Platform

Hyper V Server 2016 
Management platform: Server Manager and native Powershell

 In the the image below you will notice spare space on a local drive where I wish to add another volume or partition. UsingComputer Management via Server Manager, the option is not available. How can I do this with HyperV? 

Thanks


MIS5000

Hyper-V (PowerShell) parametrer -ManagementOS

$
0
0
Hi Guys, 

pls, can someone explain me, what does parameter -ManagementOS do? By default the value is False. 

(Set,Add)-VMNetworkAdapter -ManagementOS -Name 'Network Adapter' -SwitchName 'Internal Switch'

Thanks for help :) 

Removing a CSV

$
0
0

Windows Server 2016 With Storage Spaces Direct:

My first CSV is a 2-way Mirror that I want to remove. I have used "Move Virtual Machine Storage" to emtpy Clusterstorage\volume1". All VMs are running OK on another CSVs now. However there is 1 file left on volume1:  \Hyper-V\shared\Groups\groupregistry.vmcx. The file cannot be deleted. The cluster looks OK if I set the CSV to offline and remove the file, but before I removed the CSV i noticed that VM migration between nodes did not work. As soon as the CSV was enabled again everything went back to normal, and a new file groupregistry.vmcx was created.

Is the cluster dependent on volume1, or is this configurable? How can I get this disk removed and replaced? Or can the disk be reconfigured as a 3-way Mirror or Parity?

Booting Hyper-V Gen 2

$
0
0

I have an issue with building a Hyper-V GEN-2 server. What is the correct procedure for booting a Gen-2 server from a USB attached DVD drive?

When attempting, IDE Controller is unavailable; adding DVD to SCSI controller requires an ISO file to attach.

Multiple OEM purchased servers (Dell and HP) provide Windows Server media with hardware


Enhanced Session Mode Not Available Until First Login on VM

$
0
0

Scenario:

- Windows 10 1809 Enterprise (x64) host.

- Windows 10 1809 Enterprise (x64) shielded guest VM on this host. 

- RDP is enabled on the guest and remote desktop works to the guest system from the host.

- Enhanced session is enabled/allowed in Hyper-V for the server and for the user.

Problem:

- New shielded VM, fully deployed successfully using PowerShell.

- When starting VMConnect, "Enhanced Session" is greyed out and unavailable initially for the guest VM.

- Once a user (any user) logs into the guest VM one time using remote desktop, Enhanced session is available for that guest VM and works fine from then on.

Things tried:

- Rebooting host.

- Restarting guest.

- Disabling and re-enabling Enhanced session in the Hyper-V settings.

What's missing and what happens during this first user login to all of a sudden make Enhanced session available and/or why is it not enabled/available initially?


Jason | https://home.configmgrftw.com | @jasonsandys

Windows 2012 R2 Hyper V to Windows 2008 R2 Hyper V

$
0
0

Hello all,

  My newness to the world of Servers can be encapsulated within the last 10 months.  You can say this responsibility has been tossed onto my plate. I have learned a lot since then and manage to find solutions to my problems by "Google Searching" my way out with the Offline network that I now maintain.  I now seek help because I am working backwards in software. 

 I "inherited" a Windows Server 2012 R2 that has a VM Ubuntu 16.04 Server on it.  On Ubuntu was created a intranet Web Server.  What I am wanting to do is copy the Ubuntu Server with the Web Server content and put it on Windows Server 2008 R2 on its Hyper-V. 

How can I accomplish this task?  WS 2012 R2 has the replication feature, but WS 2008 R2 does not. I don't want to export it either as I want the web server on both. Could I use a 3rd-party software to copy the VM Ubuntu?  What would you recommend?  Any other suggestions or ideas?  

Thanks for your help.

Using DPM to backup Hyper-V guest running Oracle application

$
0
0

Hello,

Can I simply backup the full guest VM with dpm 2016, the guest is running 2016 server with oracle Opera application.  Not sure how VSS handles Oracle?

thx


Robert

Cannot delete checkpoints

$
0
0

Hi,

We have a Windows 2012 R2 VM with checkpoints which we are unable to delete and getting the below message. Now the only way to fix this is to export the VM to a different location and then import it again. Will it merge the VHDs with checkpoints or what is the proper way to get rid of check points without losing the data?

VM failed to start worker process: The computed authentication tag did not match the input authentication tag. (0xC000A002).

$
0
0

I am using Windows Server 2019 Core.  When vTPM is enabled on any virtual machine, newly provisioned from scratch or existing, I persistently encounter the error, "'VM' failed to start worker process: The computed authentication tag did not match the input authentication tag. (0xC000A002)".  It's only after vTPM is disabled that I can start the virtual machine without issue.  

The VMMS service has been restarted throughout various tests without success.  

Issue occurs whether VM is started using Windows Admin Center or PowerShell.

What can I do to get this resolved?


Hyper-V 2016 to 2016 Standard - Migrating a VM

$
0
0

I have a smaller server running OS 2016 Hyper-V. It contains 3 VMs (2 Linux based, 1 Windows 2016 180 day trial based-license is up).  But I now have a 2016 Standard license and want to take advantage of the 2 Windows VMs that comes with 2016 Standard.  The plan is to convert my 2016 Hyper-V to 2016 Standard. The box/hardware will not change, just the underlying OS.

1 of the Linux VMs and the Windows VM are not very important, however, 1 of my Linux VMs has WAYYYY too much work done to lose it (a mountain of customized files across 2 disks and a lot of customization of the primary app it's running) with it to lose it.

The intent (I believe best practice?) is to export that critically important Linux VM, do a fresh install of 2016 standard, import back in the critically important Linux.  Are chances good the Linux VM and the primary app its running will come back just like it was? Any suggestions on best practice for what I want to do?


  

Hyper-V VM status is "Incomplete VM configuration"

$
0
0

Suddenly one of the VM in Hyper-V is showing as "Incomplete VM configuration" in Virtual machine manager. VM is running fine, I am able to login to VM but Veeam backup are getting failed because of this. 

Any suggestion will be of great help.

As of now I have restarted WS-Management service in hyper-V host and tried to re-register this VM again in VMM. Repair and refresh options are not helping. 

Below is the error log:

Error (2912)
An internal error has occurred trying to contact the server: NO_PARAM: NO_PARAM.
Unknown error (0x80041003)

Recommended Action
Check that WS-Management service is installed and running on servert. For more information use the command "winrm helpmsg hresult". If server is a host/library/update server or a PXE server role then ensure that VMM agent is installed and running. Refer to http://support.microsoft.com/kb/2742275 for more details.


Vpn site to site

$
0
0

Hello guys, i want to simulate a site to site VPN connection,  on hyper-V in my laptop, and i want Clients to be able to connect with VPN to the Sites

could you provide me some tips about how to build it? 

- Do i need to have VPN server in each LAN? 

- Would you set the VPN to have 1 NIC connected to the LAN's switch and another NIC connected to the "WAN" switch? 

or there's a different way of doing that, 

any tips and guidance would be perfect!

Thanks 


migration

$
0
0

Hi,

The internal storage used on our Hyper V host filled up this is roughly 3tb in space, I setup a NAS and did a copy but this failed due to permissions.  So I am re-doing the copy using robocopy to copy all permissions on the file.

When i originally did the attachment of the disks i saw the following errors;

14140 - failed to add device 'Virtual Hard Disk'. (Virtual machine ID 84E969FE-CF32-44E9-82F0-0EFF52A8010D)

12620 - 'TONSSQL01': Cannot get information for attachment 

16010 - The operation failed.

I then tried creating a new VM and adding in the disks and I was still unable to do this;

error 1300 - Failed to creat external configuration store and error 15268 - failed to get disk

I then ran ICalcs to give the machine ssid access to the vm and this failed.

My question is if i'm using robocopy to copy the files with all attributes and permissions will this fail again?

Thanks.

Physical resource is exausted

$
0
0

Hi,

I am trying to merge AVHDx files and suddenly the merge wizard has started showing the below error. Anyone ever got the same message?

Hyper-V unusuable on win10 1809 - default switch disables wireless interface

$
0
0

Hello,

I'm trying to setup hyper-v on a lenovo t470 with windows 10 1809 enterprise.

The laptop has 3 ethernet interfaces: Ethernet,Wireless and Mobile LTE

The default switch is "automatically" bundled/linked to the rj45 ethernet network interface (Intel I219-LM, see picture below) and automatically "instantly disables" the wifi interface which I'm using for my network connectivity.

As a consequence I don't have any connectivity and it is also impossible to add f.ex. a new switch and bundle/link it to the wifi interface, as the wireless interface is _not_ listed in the available interfaces.

To be able to have a working network, I need to "disable" the hyper-v "vEthernet (Default Switch)" in "network connections". By disabling the switch. After disabling the switch it instantly renables the wireless interface, and I'm able to use it. Unfortunately, at times you disable the "vEthernet (default switch)" and it renables itself ...  ???

What is going on ....?

So if hyper-v is installed:
1) the wireless network is not working until I manually disable the "vEthernet (Default Switch" interface in the network connections.
2) Of course, no VM have Internet connectivity as the "vEthernet (Default Switch)" is linked/bundled to the standard rj45 ethernet port which has no connectivity/cable (as I don't have a rj45 cable connected).

I would really appreciate some help.

I've tried to uninstall & reinstall hyper-v, repair network connections etc ... nothing worked.

Thanks a lot!
Didier


(uuzoa2.com ) 대구오피 ☞유유닷컴☜ 노콘옵션

Viewing all 8743 articles
Browse latest View live


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