sap_ha_pacemaker_cluster: Stonith SBD enablement, stonith and repos dictionaries #829
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
New features:
Stonith SBD fence method added with all extra variables required for
ha_cluster
Significant changes to Stonith task file, adding lot of extra validations to avoid execution if:
ha_cluster
variables are provided, just skip them because you cannot override precedence anywayNew repository dictionaries:
__sap_ha_pacemaker_cluster_repos_dict
defined inside OS vars__sap_ha_pacemaker_cluster_repos
from dictionaryNew fence agent dictionaries for each platform
__sap_ha_pacemaker_cluster_stonith_default_dict
defined in each platform vars, then selected correct entry into__sap_ha_pacemaker_cluster_stonith_default
Variable
sap_ha_pacemaker_cluster_aws_credentials_setup
that can be enabled to store AWS credentials. It is undefined by default to use attached IAM Role/Instance Profile done by AP4S.Default
ha_cluster
definition from AP4S moved inside of vars code, to create baseline nodes forha_cluster
pcs_address
is required only forpcs
, but it does not harmcrmsh
Tested on: