HomeClusterLabs Projects

High: SAPDatabase: Add START|STOP_TIMEOUT parameters

Description

High: SAPDatabase: Add START|STOP_TIMEOUT parameters

Pass the timeout on stop/start operation to saphostctrl in order to avoid that SAPDatabase will run into timeout with big databases.

-with big SAP Hana Database, saphostctrl is running into a timeout when a start/stop is triggered, because Ocf::heartbeat:SAPDatabase is not passing the timeout parameter to saphostctrl and saphostctrl is using default start/stop timeout which is not enough.

-saphostctrl running into a timeout is reporting the exit code to Ocf::heartbeat:SAPDatabase and Pacemaker is interpreting the response as a fail, even if the SAP Hana is stopping / starting in background.

-saphostctrl accept timeout as argument:
StartDatabase

  -dbname <DB name> -dbtype <ada|db6|mss...> [-dbhost <hostname>] [-dbinstance <instance name>] [-dbuser <DB admin username>] [-dbpass <DB admin password>] [-timeout <timeout in sec>] [-service] [-instance] [-force]
StopDatabase
  -dbname <DB name> -dbtype <ada|db6|mss...> [-dbhost <hostname>] [-dbinstance <instance name>] [-dbuser <DB admin username>] [-dbpass <DB admin password>] [-timeout <timeout in sec>] [-service] [-instance] [-force]

Fixes: #803

Details

Provenance
JohnGogu <ionut.gogu@gmail.com>Authored on May 3 2016, 4:00 PM
Kristoffer Grönlund <krig@koru.se>Committed on May 5 2016, 4:36 AM
Parents
rRcb7c36abbc9a: Merge pull request #800 from lemenkov/rabbitmq_typo_fix
Branches
Unknown
Tags
Unknown

Event Timeline