suse / sapstartsrv-resourceagent Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
On my test cluster I see interferences between SAPStartSrv and SAPInstance.
At the beginning I have all resources for ASCS00 on valuga11.
All resources for ERS10 are running on valuga12.
Now I call SAPInstance (with ERS10 parameters and action status) either manually or via cluster (crm resource cleanup rsc_sap_EN2_ERS10) on valuga11. After that sapstartsrv is running at valuga11 to. A later status action of rsc_sapsrv_EN2_ERS10 reports now running (even if it should not be running).
The reason is, that during the probe (status action) SAPInstance needs sapstartsrv (the SAP service) to run to check, if the SAP instance is running. This has multiple negative effects:
Fact 2 does also have consequences in customer monitoring tools (such as nagios)
Facts 3+4 are critical in SAP support situations, because the current files are not longer match to the running instance (e.g. on valuga12)
==> We might need to add a flag (parameter in SAPInstance not to start sapstartsrv for the simplified mount use-case) during probe (aka status).
When calling SAPStartSrv as probe (monitor interval 0) the RA returns 1 instead of 7.
The (internal) method _inititialize needs to be checked with various full-instance-names. Most of the tests are already using the split values of the full instance name like self.sid, self.instance_name and self.virtual_host.
In all those cases we are not checking the correct split of the full-instance-format SID_INSTANCE-NAME_VIRTUAL-HOST-NAME.
Important is that VIRTUAL-HOST-NAME are containing underscores ("_") so the number of field when splitting the string is >=3 and not always ==3.
Test cases could be e.g.
This package requires python3-mock to build, and the Python packaging team are currently working towards removing that package since the lowest version of Python currently shipped in Tumbleweed provides mocking ability via unittest.mock. I see you've already changed the test code to support importing that instead. I'd suggest removing the BuildRequires for Factory only, or if that is not possible, guarding it with suse_version < 1500.
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.