[crmsh-4.6] Dev: pre-migration: Add check for obsolete SAP ASCS/ERS mount (jsc#SAPSOL-495) #1927
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.
This pull request introduces a new check to the "migration" module to detect
unsupported, cluster-controlled filesystem setups for SAP ASCS/ERS.
The check identifies problematic Filesystem-based ENSA2 setups by
inspecting the resource configuration.
It detects configurations where:
SAPInstance
resource withIS_ERS=true
is present.Filesystem
resource is in the same group as theSAPInstance
.Filesystem
resource is implicitly ordered to start before theSAPInstance
.The check relies on the implicit ordering of resources within a group
and does not consider explicit
rsc_order
constraints, assuming userswill rely on the default group behavior.
This check should identify NetWeaver and S/4HANA ENSA2 Filesystem setup. It does
not identify ENSA1 simple-mount, nor NetWeaver.
How to Test in Emulated Setup
ocf:suse:SAPInstance
toocf:heartbeat:Dummy
.crm configure primitive fs_ers ocf:heartbeat:Filesystem params device=tmpfs directory="/mnt/dummy" fstype=tmpfs
crm configure primitive ers_instance ocf:heartbeat:Dummy params InstanceName=ERS_DUMMY IS_ERS=true
crm configure group ers_group fs_ers ers_instance
crm cluster health sles16