Giter Site home page Giter Site logo

varkoly / saphanasr Goto Github PK

View Code? Open in Web Editor NEW

This project forked from suse/saphanasr

0.0 1.0 0.0 4.98 MB

SAP HANA System Replication Resource Agent for Pacemaker Cluster

License: GNU General Public License v2.0

Shell 18.17% Python 57.46% Perl 17.85% CSS 0.35% Makefile 0.59% Roff 5.58%

saphanasr's Introduction

SAPHanaSR-angi - SAP HANA System Replication
A New Generation Interface

The SUSE resource agents to control the SAP HANA database in system replication setups

Build Status

Introduction

SAPHanaSR-angi provides an automatic failover between SAP HANA nodes with configured System Replication in HANA. Currently Scale-Up setups are targeted.

CIB attributes are not backward compatible between SAPHanaSR-angi and SAPHanaSR. So there is currently no easy migration path.

This technology is included in the SUSE Linux Enterprise Server for SAP Applications 15 (as technology preview), via the RPM package with the same name.

System replication will help to replicate the database data from one node to another node in order to compensate for database failures. With this mode of operation, internal SAP HANA high-availability (HA) mechanisms and the Linux cluster have to work together.

The SAPHanaController resource agent performs the actual check of the SAP HANA database instances and is configured as a promotable multi-state resource. Managing the two SAP HANA instances means that the resource agent controls the start/stop of the instances. In addition the resource agent is able to monitor the SAP HANA databases on landscape host configuration level.

For this monitoring the resource agent relies on interfaces provided by SAP.

As long as the HANA landscape status is not "ERROR" the Linux cluster will not act. The main purpose of the Linux cluster is to handle the takeover to the other site.

Only if the HANA landscape status indicates that HANA can not recover from the failure and the replication is in sync, then Linux will act.

An important task of the resource agent is to check the synchronisation status of the two SAP HANA databases. If the synchronisation is not "SOK", then the cluster avoids to take over to the secondary side, if the primary fails. This is to improve the data consistency.

For more information, refer to the "Supported High Availability Solutions by SLES for SAP Applications and all the manual pages shipped with the package.

File structure of installed package

  • /usr/share/SAPHanaSR-angi/doc contains readme and license;
  • /usr/share/man and it's subdirectories contains manual pages;
  • /usr/lib/ocf/resource.d/suse contains the actual resource agents, SAPHanaController and SAPHanaTopology;
  • /usr/lib/SAPHanaSR-angi contains the libraries for the resource agents;
  • /usr/share/SAPHanaSR-angi contains SAP HA/DR provider hook scripts;
  • /usr/share/SAPHanaSR-angi/samples contains examples for global ini configuration and various additional stuff;
  • /usr/bin contains tools;

License

See the LICENSE file for license rights and limitations.

Contributing

If you are interested in contributing to this project, read the CONTRIBUTING.md for more information.

Feedback

Do you have suggestions for improvement? Let us know!

Go to Issues, create a new issue and describe what you think could be improved.

Feedback is always welcome!

Development and Branches

Please read development.md for more information.

saphanasr's People

Contributors

alex-burlakov avatar angelabriel avatar diegoakechi avatar fdanapfel avatar fmherschel avatar gereonvey avatar imanyugin avatar lpinne avatar mguertler avatar oalbrigt avatar peterpitterling avatar thr3d avatar

Watchers

 avatar

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.