Git Product home page Git Product logo

applications's People

Contributors

carceneaux avatar clemenszerbe avatar jmmarton avatar mmehrtens avatar nielsengelen avatar poulpreben avatar stefanz8n avatar tsightler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

applications's Issues

Problem with the new format of /usr/sap/services records and pre-freeze and post-thaw HANA scripts

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

passwords with special characters

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:

  1. create a mysql user account with a password that contains special characters
  2. configure this script with use_credentials using the credentials created in step 1

Expected behavior
The prefreeze script should execute successfully regardless of characters in the password.

Desktop (please complete the following information):

  • OS: rhel 8.7
  • veeam v12
  • mysql 8.0

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

[sap-hana] Retention not applied to tenant databases

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:

  1. Configure backup of a HANA 2.0 instance with the pre/post scripts
  2. Review present restore points in HANA Studio or VBR after the specified number of days

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:

  • OS: RHEL 7.6 (Linux 3.10.0-957.e17.x86_64)
  • HANA instance version 2.00.045.00.1575639312
  • HANA Studio version 2.3.47
  • Veeam Backup & Replication 10.0.1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.