VMWare Tools Quiescense on Ubuntu

VMware specific discussions

VMWare Tools Quiescense on Ubuntu

Postby msidnam » Mon Apr 16, 2012 12:29 pm

Hello Everyone,
I'm hoping that some of you might have a similiar setup as me in regards to backing up and replicating Linux (specifically Ubuntu) server.

Currently we have about 10 ubuntu servers. While we have different services on each, they mostly will have a combo of Apache, mysql, couchdb and tomcat.

I have enabled the VMWare Tools Quiescense so that it runs a pre-freeze and post-thaw script. In those scripts we have a program called monit that will stop all services, then restart them. LAtely we have been having an issue with Tomcat restarting.

My main question is: Do i need to stop and start all services or only those that need to be consistent like mysql and couchdb? Am I wasting time stopping and restarting all services?

since these are production machines hosting web pages and databases we need them to be up as much as possible.

Is anyone doing anything similiar?
msidnam
Member
 
Posts: 17
Liked: 1 time
Joined: Fri Aug 19, 2011 3:23 pm
Full Name: Mike Sidnam

Re: VMWare Tools Quiescense on Ubuntu

Postby Vitaliy S. » Mon Apr 16, 2012 11:24 pm

Hi Mike,

I don't believe you have to stop all services on the VMs being backed up, as most of our existing customers are using scripts for critical applications only:
search.php?st=posts&keywords=pre+freeze+scripts+mysql

Thanks!
Vitaliy S.
Product Manager
 
Posts: 8149
Liked: 190 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

Re: VMWare Tools Quiescense on Ubuntu

Postby msidnam » Tue Apr 17, 2012 7:03 pm

Thank you for the link. The white paper i found in one of the posts helps.

One issue we seem to have is that the post-thaw script gets fired off before our pre-freeze script finishes. in our pre-freeze script we have a command to wait 20 seconds before ending. However, it seems as though the post-thaw script gets executed about 10 seconds or so after it executes the pre-freeze.
msidnam
Member
 
Posts: 17
Liked: 1 time
Joined: Fri Aug 19, 2011 3:23 pm
Full Name: Mike Sidnam

Re: VMWare Tools Quiescense on Ubuntu

Postby Vitaliy S. » Tue Apr 17, 2012 7:37 pm

Why not to add a sleep command to the post-thaw script then?
Vitaliy S.
Product Manager
 
Posts: 8149
Liked: 190 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov


Return to VMware vSphere



Who is online

Users browsing this forum: No registered users and 13 guests