![sap installation with vmware sap installation with vmware](https://i.ytimg.com/vi/z-WVZbpQcEs/maxresdefault.jpg)
The scripts posted below use a code snippet of Ben Gripka to run a script in an elevated command line window. To achieve this, we need to use the dbmcli of the MaxDB database to suspend the logwriter and afterwards resume it again. To process the SAP MaxDB with a VMware Veeam job, we need to suspend the MaxDB logwriter, prior of a VM snapshot.
SAP INSTALLATION WITH VMWARE HOW TO
How to backup SAP MaxDB with pre-freeze and post-thaw scripts In the picture below you can see where to add those scripts for guest processing operations.
![sap installation with vmware sap installation with vmware](https://www.trailsap.com/dev/sap-hana/images/hana-vm1.png)
Furthermore, the default time period for script executions is 10 minutes.įor Microsoft Windows, the folowing script file formats are supported: “EXE, BAT, CMD, WSF, JS, VBS, and PS1”įor Linux, Veeam supports only shell scripts in the “SH” file format. In addition, make sure that your scripts return a “0” when they execute, because Veeam expects that as successful. So your account needs to have sufficient permissions.įor linux, the scripts are copied over SSH or the VIX API to “/home/” of the credentials you specified in the “Guest OS credentials” section of the job settings.
![sap installation with vmware sap installation with vmware](https://www.kodyaz.com/images/sap-abap/hxe-sap-hana-express-in-vmware-workstation.png)
Keep that in mind, as Veeam copies the script to the “admin$” share over the network or by using VIX API to execute them from there (on Windows). When the specific job starts, Veeam uploads the script to the guest operating system of your VM and executes it with the credentials you specified in the “Guest OS credentials” section of the job settings. Pre-freeze and post-thaw scripts are used on backup jobs, replication jobs and VM copy jobs.įurthermore, you need to create the scripts beforehand. After the VMware snapshot is created, the post-thaw script triggers and brings the VM and the corresponding application back to the initial state. The pre-freeze script is used to quiesce the VM file system or the application prior Veeam triggers a VMware snapshot. Pre-freeze and post-thaw scripts are being used, when an application does not support VSS for example. Since there is no native integration of SAP MaxDB in Veeam, we need to use pre-freeze and post-thaw scripts within the guest processing options. Introduction on pre-freeze and post-thaw scripts I came across a SAP MaxDB installation during my last projects and wanted to share with you how to backup these databases. This post focuses on how to backup SAP MaxDB databases with Veeam Backup & Replication.