Host-based backup of VMware vSphere VMs.
james411
Enthusiast
Posts: 69
Liked: 1 time
Joined: Jul 01, 2013 12:13 am
Contact:

[MERGED] : Unable to release guest: Veeam/vCenter server bac

Post by james411 »

Hi all,
I've just tried backing up my vCenter server/Veeam server for the first time and it failed with the noted error: Unable to release guest. Error: VSSControl: Failed to freeze guest, wait timeout

I understand this was typical and I have read the KB article about adding the VM through the standalone host method, but I thought this was no longer needed with 6.5 Patch 3.

Is it still required to add the vCenter server through a standalone host or disable VSS processing on the VM?

Or have I misconfigured my job perhaps?

Thanks!
veremin
Product Manager
Posts: 20413
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup Replicate vCenter VM?

Post by veremin »

You have been merged to the existing discussion regarding backup and replication of vCenter VM, so, kindly see the answers provided above. Should any additional help be needed, don’t hesitate to let us know.

Thanks.
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Backup Replicate vCenter VM?

Post by Vitaliy S. »

james411 wrote:Is it still required to add the vCenter server through a standalone host or disable VSS processing on the VM?
Yes to both.
james411
Enthusiast
Posts: 69
Liked: 1 time
Joined: Jul 01, 2013 12:13 am
Contact:

Re: Backup Replicate vCenter VM?

Post by james411 »

Thanks for the info. I looked thru this thread but for some reason I thought this was resolved with the latest release. Regardless, I think I will just disable VSS as vCenter/Veeam are the only services on this VM and they are each using a separate SQL Server instance. I have a small shop so there is not a lot of changes going on. I also have Veeam backing up its configuration daily so I figure in worst case scenario I would just fire up a new VM, install Veeam, and restore the backup config. I'd have to reinstall and reconfigure vCenter, but that shouldn't be too bad seeing as I only have 2 hosts. Thanks for the input.
albertwt
Veteran
Posts: 942
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Back up vCenter VM?

Post by albertwt »

Gostev wrote:Hello Jim, yes this is "the fact of life" right now, if you are using Veeam VSS.
So is this still the case for backing up Windows Virtual VMware VCenter server 5.1 and above with Veeam Backup & Replication 8.0.0.917 ?
the VCenter DB is in the same VM with the VCenter.
--
/* Veeam software enthusiast user & supporter ! */
veremin
Product Manager
Posts: 20413
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup Replicate vCenter VM?

Post by veremin » 1 person likes this post

You don't have to backup vCenter VM via standalone connection any longer; take a look at this post. Thanks.
albertwt
Veteran
Posts: 942
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Backup Replicate vCenter VM?

Post by albertwt »

v.Eremin wrote:You don't have to backup vCenter VM via standalone connection any longer; take a look at this post. Thanks.
Ah I see, So I'll treat the Windows VMware VCenter VM as the other normal VM with SQL Server running in it.

is that correct ?
--
/* Veeam software enthusiast user & supporter ! */
veremin
Product Manager
Posts: 20413
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup Replicate vCenter VM?

Post by veremin » 1 person likes this post

Correct. Enable AAIP, the VC database will be skipped automatically, thanks be to the special logic. Thanks.
albertwt
Veteran
Posts: 942
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Backup Replicate vCenter VM?

Post by albertwt »

v.Eremin wrote:Correct. Enable AAIP, the VC database will be skipped automatically, thanks be to the special logic. Thanks.
So if the SQL Server DB in the same VM will be skipped, then the restoration wouldn't be complete ?
--
/* Veeam software enthusiast user & supporter ! */
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Backup Replicate vCenter VM?

Post by foggy » 1 person likes this post

It is not skipped, but rather excluded from VSS processing and is backed up crash-consistent.
albertwt
Veteran
Posts: 942
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Backup Replicate vCenter VM?

Post by albertwt »

foggy wrote:It is not skipped, but rather excluded from VSS processing and is backed up crash-consistent.
Thanks.
--
/* Veeam software enthusiast user & supporter ! */
albertwt
Veteran
Posts: 942
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Backup Replicate vCenter VM?

Post by albertwt »

v.Eremin wrote:You don't have to backup vCenter VM via standalone connection any longer; take a look at this post. Thanks.
Hi Veeam Experts,

Somehow I got confused myself here after logging Case # 00875094, the support engineer says that I must backup the VCenter VM through stand alone ESXi host ?

I can understand from this blog post created in 2011: : http://up2v.nl/2011/05/06/backup-of-vce ... plication/

but is that still the case in Veeam Backup & Replication 8.0.0.917 (Patch 1) ?
--
/* Veeam software enthusiast user & supporter ! */
Shestakov
Veteran
Posts: 7328
Liked: 781 times
Joined: May 21, 2014 11:03 am
Full Name: Nikita Shestakov
Location: Prague
Contact:

Re: Backup Replicate vCenter VM?

Post by Shestakov » 1 person likes this post

Albert,
As has been mentioned above, in v8 vCenter database is excluded from VSS processing automatically.
So it is not the case.
Thanks.
albertwt
Veteran
Posts: 942
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Backup Replicate vCenter VM?

Post by albertwt »

Shestakov wrote:Albert,
As has been mentioned above, in v8 vCenter database is excluded from VSS processing automatically.
So it is not the case.
Thanks.
Thanks Nikita,
But somehow the support engineer said otherwise ?

I believe that a great software such as Veeam should intelligently able to backup VMware VCenter with no issue.
--
/* Veeam software enthusiast user & supporter ! */
veremin
Product Manager
Posts: 20413
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Backup Replicate vCenter VM?

Post by veremin »

But somehow the support engineer said otherwise?
Most likely, he's recommended the obsolete practice that is not required any longer.
brichardson1991_obk
Expert
Posts: 114
Liked: 8 times
Joined: Aug 20, 2015 2:20 pm
Full Name: Ben Richardson
Contact:

[MERGED] Replicating vcentre

Post by brichardson1991_obk »

Hi All,

Just a quick question.

Would there be any problems with replicating a vCentre?
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by PTide »

Hi,

Your post has been merged with an existing topic, please see the thread. If any questions persist feel free to ask.

Thank you.
Messenjah
Novice
Posts: 7
Liked: never
Joined: Dec 10, 2013 1:42 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by Messenjah »

Hi,

I have no problems with backing up the vCenter but with replication. I wanted to replicate the vcenter to an offsite target but now we have database inconsistance and the vcenter service can´t be started. So I want to refresh the question: Is it normaly possible to replicate the vcenter without having trouble?

Best regards, Piet
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by PTide »

Not sure that I follow.

Did the inconsistence occur before replication or after? Which server is in inconcistent state - replica or source? Also please note that Veeam automatically excludes vCenter from VSS processing so it gets backed up in a crash-consistent state.

Thank you.
widmerkarl
Expert
Posts: 122
Liked: 29 times
Joined: Jan 06, 2015 10:03 am
Full Name: Karl Widmer
Location: Switzerland
Contact:

Re: Backup Replicate vCenter VM?

Post by widmerkarl »

If the backup is consistent, then i would recommend to replicate from backup instead of the live VM, in case you are replicating from the live VM. I don't think that it's a big issue when the vCenter database is a litte out of date (difference between backup and replication).
Karl Widmer
IT System Engineer

vExpert 2017-2024
VMware VCP-DCV 2023 / VCA6-DCV / VCA5-DCV / VCA5-Cloud / VMUG Leader
Former Veeam Vanguard / VMCE v9 / VMTSP v9 / VMSP v9
Personal blog: https://www.driftar.ch
Twitter: @widmerkarl
Messenjah
Novice
Posts: 7
Liked: never
Joined: Dec 10, 2013 1:42 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by Messenjah »

Thanks for the fast reply. Maybe I try to explain a little more:

We have a 2 host cluster with vSphere 6.0 onsite where also the physical backupserver is located. All is connected via 10 Gb Ethernet and we use transportmode san for the backups. Additional there is a third host offsite in another building connected over a 1Gb connection. The vCenter is a virtual maschine which is located within the cluster on one of the two hosts.

We configured a normal backup job to backup all machines which are part of the cluster. That runs very good without any problems.
After that we wanted to replicate some maschines to the other building. That works very good too, if we don´t replicate the vcenter. (I will try to replicate from backup, that seems to be a very goog suggestion. Thank you @kawiMTF)

We had it two times (as we tried to replicate the vCetner) that in that moment the replication job starts (a vmware snapshot created) the eventlog from the live VM lists an error something like that: http://kb.vmware.com/selfservice/micros ... Id=2006849

The job has already replicated the vcenter but some other maschine in the job are sill running. Then the vcenter service crashes ( maybe a result from creating snapshot) and the replication job fails. I cannot start the vcenter service anymore. I need to restore the whole machine. But I can´t use the replicated maschine, because the failure is there already also present. I need to go back 1 restorepoint from my backup which runs without problems.

Now the question: Is it possible to replicate every kind of maschine regardless if it is an SQL DB or the vcenter or something else without getting the data currupted or is that not the recommended way?
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by PTide »

Is it possible to replicate every kind of maschine regardless if it is an SQL DB or the vcenter
It is, however some difficulties may occur when trying to perform transaction-consistent backup of linux VM or vCenter, but no corruption of a source VM should normally occur.

So, you say that backups are good but replica is not, correct? Kindly try to exclude the vCenter database manually and see if that helps. If the replication will keep failing and breaking your source VM then please open a case with our support team and post your case ID here.

Btw, which version of VBR are you using?

Thank you
Messenjah
Novice
Posts: 7
Liked: never
Joined: Dec 10, 2013 1:42 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by Messenjah »

Yes, correct. The strange thing is, that in both cases the backups are made from vmware snapshot, which gets created for the job.

I tried to replicate from backup with success. Maybe for now this is the best way.

Honestly I am not sure what a vCenter without a proper DB is worth. I need the vCenter on the replication target for disaster cases so I can start the vCenter without any hands-on. Or is there another mechanism that the replicated vcenter maschine with excluded database is able to manage the environment, at least transitional?

We use B&R 8.0.0.2030
Messenjah
Novice
Posts: 7
Liked: never
Joined: Dec 10, 2013 1:42 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by Messenjah »

Now the problem came up again. But now I excluded the whole vCenter from replication. I wanted to replicate 5 VMs. The replication job worked as it has to. Now I wanted to check if CBT and everyhting works fine if I start the job again.
Then I get this on Veeam:
Image

In the same moment the vCenter Service crashes with following event viewer entry:
Image

I wasn´t sure if the problem comes up only if I want to replicate the vCenter VM. But now its clear that it doesn´t matter. This is the third time within 2 days of testphase....
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by PTide »

From the error it seems like there is an issue with ESXi. HTTP web service processing API requests is down. ESX host reboot should help. Also please open a case with support and post your case ID here.

Thank you.
Messenjah
Novice
Posts: 7
Liked: never
Joined: Dec 10, 2013 1:42 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by Messenjah »

No veeam has lost the connection because of the vcenter service crash. And the service crashed because of something happend with the db.

The ESX Hosts are up and running. It´s only the vcenter which has problems. I have restored the whole vCenter from backup again. Know everything is green. Until I perform the next replication jobs...

The caseid is: 01100942
PTide
Product Manager
Posts: 6551
Liked: 765 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by PTide »

Sorry for asking that many questions, but what's the version of the target host? Have you installed any updates recently?
Messenjah
Novice
Posts: 7
Liked: never
Joined: Dec 10, 2013 1:42 pm
Contact:

Re: Backup Replicate vCenter VM?

Post by Messenjah »

Nothing to be sorry about, I am thankfull for the support.

All ESX hosts has Version 6.0.0. Build 2494585. I havn´t installed any update, but maybe I should consider it. :D
Post Reply

Who is online

Users browsing this forum: No registered users and 32 guests