Discussions specific to the Microsoft Hyper-V hypervisor
nkoji
Lurker
Posts: 1
Liked: never
Joined: May 19, 2018 6:58 am
Full Name: Naoya Kojima
Contact:

Guest OS Starting up is very slow on Hyper-V 2016

Post by nkoji » May 19, 2018 8:21 am

Hi, Guys .

I'm in trouble that Hyper-V guest os starting up is very slow after I added guest os in "Edit Replication Job" window.
When I restart guest os restart , it takes about a hour to start up... :cry:
Please give me any information and advises to fix this situation.

My Configuration is followings

Veeam Backup & Replication 9.5 u3.

Host OS A : Windows Server 2016 (Veeam Backup & Replication 9.5 u3 components)
-> 2 Guest OS: Windows Server 2016 both
This is replication source.

Host OS B : Windows Server 2016 (Veeam Backup & Replication 9.5 u3)
This is replication target.

Best Regards !

P.Tide
Product Manager
Posts: 4943
Liked: 418 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by P.Tide » May 20, 2018 3:34 pm 1 person likes this post

Hi and welcome to the community!

Please check the following:

1. Does the guest have any checkpoints except those which were created by Veeam?
2. Do you perform reboot during replication session?

If there are no other checkpoints and the reboot is performed outside of replication windows, then please contact our support team so they can investigate.

Thanks

squestier
Influencer
Posts: 10
Liked: 2 times
Joined: Apr 12, 2012 9:35 am
Full Name: Sebastien QUESTIER
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by squestier » Sep 12, 2018 9:17 am

Hi guys,

Almost the same problem with many customers, nearly every host with native Hyper-V replica vms "waits" a very very long time before vms start up, after the host rebooted (so at least once a month with WindowsUpdates).

I just realize Hyper-V hosts without Veeam components are not affected.

Any idea or link ?

Kind regards,

Sebastien, France

Mike Resseler
Product Manager
Posts: 5446
Liked: 573 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by Mike Resseler » Sep 12, 2018 9:20 am

Hey Sebastien,

Since the OP didn't leave a support case ID for us to look, I suggest you create one to see what might be the issue. Please post the case ID here. Afterwards, please post the outcome from the investigation by our engineers.

Thanks
Mike

squestier
Influencer
Posts: 10
Liked: 2 times
Joined: Apr 12, 2012 9:35 am
Full Name: Sebastien QUESTIER
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by squestier » Sep 12, 2018 1:28 pm

Hi Mike,

Case ID is 03189568.

Hope we will find an explanation…

Kind regards,

Sebastien

Mike Resseler
Product Manager
Posts: 5446
Liked: 573 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by Mike Resseler » Sep 13, 2018 5:08 am

Indeed. Keep us informed after the investigation

hasoft
Novice
Posts: 8
Liked: 1 time
Joined: Sep 29, 2018 10:19 am
Full Name: Zdenek Vasku
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by hasoft » Sep 29, 2018 10:22 am

Any progres on this issue. Wa are also affected. Problem is with live migration too (virtual guest is stopping-starting takes very long).

Thanks
Zdenek

Mike Resseler
Product Manager
Posts: 5446
Liked: 573 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by Mike Resseler » Oct 01, 2018 9:44 am

Hi Zdenek,

First: Welcome to the forums!
Second: The OP has opened the case but never responded back to us after that. So we have no more information. Can you create a support case and post the case ID here?

Many thanks
Mike

hasoft
Novice
Posts: 8
Liked: 1 time
Joined: Sep 29, 2018 10:19 am
Full Name: Zdenek Vasku
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by hasoft » Oct 01, 2018 12:01 pm

Hi Mike,

case id is 03218147.

Zdenek

squestier
Influencer
Posts: 10
Liked: 2 times
Joined: Apr 12, 2012 9:35 am
Full Name: Sebastien QUESTIER
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by squestier » Nov 07, 2018 8:52 pm

Hi guys,

To everybody facing this issue : I discovered something regarding the size of the vmcx files.

When you first build a vm with Hyper-V, the config file is around 60-70 KB. All my buggy vms have much bigger vmcx config files, around 60MB for the biggest one.

For my case, THESE huge vmcx files ARE the problem when rebooting the physical server, sometimes almost 30-60mn waiting for the vm to power on !!

Could you check every vmcx config file size on your servers ?

Please report, I may have a solution.

Kind regards,

Sebastien

P.Tide
Product Manager
Posts: 4943
Liked: 418 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by P.Tide » Nov 08, 2018 2:22 pm

When you first build a vm with Hyper-V, the config file is around 60-70 KB. All my buggy vms have much bigger vmcx config files, around 60MB for the biggest one.
I wonder what occupies so much space...Did you check what was inside?

Thanks

Mike Resseler
Product Manager
Posts: 5446
Liked: 573 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by Mike Resseler » Nov 09, 2018 7:04 am

Sebastien,

VMCX are binary files so it is not possible to read inside anymore (which used to be possible in previous hyper-v). If they are that large, it means Hyper-V needs to read out all the information which is inside there (config/ devices/ ...). 60 MB just seems too big and probably means there is a lot of information in there which shouldn't be there. I would suggest to contact MSFT support with this to fix those VMCX files.

squestier
Influencer
Posts: 10
Liked: 2 times
Joined: Apr 12, 2012 9:35 am
Full Name: Sebastien QUESTIER
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by squestier » Nov 09, 2018 9:56 am

Hi Mike,

Indeed, we can barely "read" some vmcx config info with PowerShell cmdlets like "compare-vm" but Nothing useful enough to pinpoint what's wrong.

I think I found a workaround : when you create a native Hyper-V replica, the replica vm is "clean", ie its vmcx file size is 60-70k only.

So, with this "yet empty" replica vm, I just remove the vhd and export the vm.

On the "master" Host, I delete the vm (it does not delete the vhd), rename the vm folder, copy the small exported vm (witout the vhd) from the "replica" host, import the vm again and reattach the full vhd and the new vm will then boot with no delay.

And just create the replication again if needed.

Quick and Dirty, but seems to work great.

I hope it will help some people.

Regards

Sebastien

Mike Resseler
Product Manager
Posts: 5446
Liked: 573 times
Joined: Feb 08, 2013 3:08 pm
Full Name: Mike Resseler
Location: Belgium
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by Mike Resseler » Nov 09, 2018 10:51 am

Sebastien,

That means the problem might be with Hyper-V replica. And that also means it probably will resurface. Did you contacted Microsoft around this?

squestier
Influencer
Posts: 10
Liked: 2 times
Joined: Apr 12, 2012 9:35 am
Full Name: Sebastien QUESTIER
Contact:

Re: Guest OS Starting up is very slow on Hyper-V 2016

Post by squestier » Nov 09, 2018 1:07 pm

Hi Mike,

Not yet but I feel like it's also somewhere related to Veeam because of the snapshots Veeam creates for eack backup. All my customers use Veeam and I can't let critical replicated servers without the too precious Veeam protection, so it's not easy to diagnose.

I will try to reach Microsoft but I don't even know where to open a ticket for this kind of problem. Any advice ?

Regards,

Sebastien

PS : You're From Belgium, do you speak French ?

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests