How to configure Veaam (a backup software for VMware virtual machines) to make use of proquiet when doing VMware snapshots of CentOS 6 Linux machines , snapshots

por | 1 marzo, 2016

http://knowledgebase.progress.com/articles/Article/000055417

Article Number 000055417
Environment Product: OpenEdge
Version: All supported versions
OS: CentOS/Red Hat 6
Question/Problem Description
How to configure Veeam to use PROQUIET when taking VMware snapshots of CentOS 6 Linux machines?
How to use PROQUIET before and after a VMware snapshot against a running OpenEdge database?
How to take Veeam backups against online OpenEdge database?
How to avoid the risk of an abnormal database shutdown when Veeam snapshots are taken?
Steps to Reproduce
Clarifying Information
Veeam is a backup software for VMware virtual machines.
Error Message
Defect/Enhancement Number
Cause
Resolution
1. Verify that the VMware Tools are installed in the CentOS 6 Linux VM (this should be indicated by the ESX GUI) and that an Enterprise Database license is in use in order to be able to run quiet points against online databases.

2. Create (or edit) the following 2 files:
/usr/sbin/pre-freeze-script
/usr/sbin/post-thaw-script

with the following permissions:
sudo chmod 755 /usr/sbin/pre-freeze-script
sudo chmod 755 /usr/sbin/post-thaw-script

The file /usr/sbin/pre-freeze-script needs the following line to enable a quiet point against the database before the Veeam snapshot is taken:

proquiet -C enable

Followed by scripting to check in the database log file that the quiet point has been enabled before proceeding.
The reason for this verification in the database log file is that the ‘proquiet -C enable’ command will return while the quiet point is not yet acknowledged as enabled by the database itself.

The file /usr/sbin/post-thaw-script needs the following line to disable the quiet point against the database after the Veeam snapshot is taken:

proquiet -C disable

3. Check the option “Use VMware Tools Quiescence” in Veeam Backup, and Veeam will ask VMware tools to quiesce the VM, the VMware Tools will then call /usr/sbin/pre-freeze-script and /usr/sbin/post-thaw-script to make sure the snapshot is in a consistent state and that the database does not initiate an abnormal database shutdown while taking the snapshot requested by the Veeam software.