Comments (3)
The first reason was, that getParamater.py should always answer very fast. Do you have a realistic situation, where getParameter.py did not answer in time? What might be the reason for this? A hanging NFS share? I did not had reviewed that now on code level. My guess is that other then for systemReplicationStatus.py where we have a hard argument to stay with the short timeout, we might change that for the getParameter.py. But we also should take into account that hanging resources could not all be addressed by the SAPHanaSR* resource agents. In special the classic SAPHanaSR resource agents are not independent from the cluster system environment.
Just my first 2ct.
from saphanasr.
I don't have an actual situation where getParameter.py did not answer in time, I was just asked by some colleagues why there is a hardcoded timeout for the call of getParameter.py in this specific case, whereas for other calls of getParameter.py the configurable timeout is used in the resource agents.
from saphanasr.
I just have reviewed: https://github.com/SUSE/SAPHanaSR/blob/maintenance-classic/ra/SAPHana#L2664
This is "only" the operation mode if the SR. It needs to be only aquired once* before a register of a former primary is done. So we selected a shorter timeout to prevent to long RA runtimes by adding long timeouts in sequence.
But maybe we should implement the fallback. If getting log-mode is timing-out the function should keep the old value of a query done before.
*) We query the status more than once to get updates, if something would change during the cluster runtime.
from saphanasr.
Related Issues (20)
- use SHELLCHECK for syntax checking HOT 1
- ra/SAPHANA* - remove redundant HDBSettings.sh calls HOT 7
- Unexpected DB outage when cluster is removed from maintenance mode after cluster service restart. HOT 13
- ra/SAPHanaRA* - HANA_CALL reason for inner timeout? HOT 2
- Add a check to identify the status of the primary node and set the "hana__roles" attribute during probe in SAPHana Resource agent HOT 6
- ra/SAPHanaRA* - HANA_CALL inner (cmd) / outer (pre_cmd) timeouts are equal
- ra/SAPHanaRA* - HANA_CALL - use defined execution shell
- man page - Message Types section requires review
- SAPHanaSR-filter does not list "lost" key/value pairs HOT 1
- ra/SAPHana: RC of "saphana_check_local_instance" not evaluated ?
- SAPHanaTopology fails to stop successfuly HOT 3
- SAPHanaTopology - DIR_PROFILE usage ?
- ATTR_NAME_HANA_FILTER - 3rd value should be variable SAPHanaFilter and not static string HOT 3
- Why is there a hardcoded timeout of 5s for calls of systemReplicationStatus.py? HOT 11
- Provide more consistent man page examples within SAPHanaSR_maintenance_examples
- "we didn't expect node_status to be: DUMP <00000000 0a |.|#01200000001>" HOT 2
- ra/SAPHana HANA_CALL - inner timeout prevents proper logging in hdbnsutil trace file
- HANA_CALL - show {output,suErr,cmdErr} in any error case, not only for RC=1
- HANA_CALL - handle all timeout return codes, not only 124 HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from saphanasr.