veeamhub / applications Goto Github PK
View Code? Open in Web Editor NEWThis repository contains example scripts for freeze/thaw of applications or for running plugin based backups such as Oracle RMAN or SAP HANA
License: MIT License
This repository contains example scripts for freeze/thaw of applications or for running plugin based backups such as Oracle RMAN or SAP HANA
License: MIT License
Is your feature request related to a problem? Please describe.
SAP have implemented integration of the HANA Instance records into systemd / systemctl and activates this feature with all newer implementations of HANA starting with SLES15 and HANA 2 SPS7 and changed the records of HANA Instances
from the known 'classic format':
LD_LIBRARY_PATH=/usr/sap//...; export LD_LIBRARY_PATH; /usr/sap//.../sapstartsrv pf=/usr/sap//... -D -u adm
to 'systemd format':
systemctl --no-ask-password start SAP_ # sapstartsrv pf=/usr/sap//...
The hana-pre-freeze.sh und hana-post-thaw.sh can not understand the nwe foramt and unable to detect HANA instances.
Describe the solution you'd like
The scripts should understand both formats the newer and the old ones.
Additional context
SAP Note https://me.sap.com/notes/3139184
3139184 - Linux: systemd integration for sapstartsrv and SAP Host Agent
Describe the bug
when using this script with use_credentials and the credentials have special characters it will fail with error "binary operator expected" and the script will exit with error "mysql command has failed (bad credentials?)"
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The prefreeze script should execute successfully regardless of characters in the password.
Desktop (please complete the following information):
Resolution: change the following from:
if [ -n $use_credentials ]; then
opts="$opts $use_credentials"
fi
To:
if [[ -n $use_credentials ]]; then
opts="$opts $use_credentials"
fi
Describe the bug
When using these scripts to quiesce SAP HANA instances, the configured retention is not applied to the tenant database(s). It is only applied to SYSTEMDB
. I have an idea how to fix it - will submit PR for further discussion.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It is expected that database backup retention is applied to both SYSTEMDB
and the corresponding tenant database(s) on the instance.
System information:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.