Skip to content

Conversation

@nbttmbrg
Copy link
Collaborator

@nbttmbrg nbttmbrg commented Jul 18, 2025

This PR adds support for SAP System-level functions (StartSystem, StopSystem, RestartSystem, and UpdateSystem) to the sap_control role. These functions operate across all instances of an SAP system rather than on individual components.

Changes

  • (defaults/main.yml) Added new functions :
restartsystem_all_nw
updatesystem_all_nw
startsystem_all_nw
stopsystem_all_nw
  • (defaults/main.yml) Added new dictionary sap_control__waitforasync that provides the necessary elements for task file sapcontrol_async.yml to handle correctly the polling
  • prepare.yml will now detect when the function name ends with system and include the according task file
  • system function only run on the ASCS or SCS, ensuring that they'll run on each system in the limit but only once per system

rainerleber and others added 18 commits January 27, 2025 13:53
Signed-off-by: Nicolas Bettembourg <[email protected]>
…ctions complicated. Falling back to declarative commands.

Signed-off-by: Nicolas Bettembourg <[email protected]>
Signed-off-by: Nicolas Bettembourg <[email protected]>
@nbttmbrg nbttmbrg merged commit e92d1b1 into dev Jul 18, 2025
@nbttmbrg nbttmbrg deleted the feature/system_wide_functions branch July 18, 2025 15:08
nbttmbrg added a commit that referenced this pull request Jul 21, 2025
…ng (#1) (#2)

* Adding support for system wide functions
* Nested Jinja makes the use of dynamic variables inside sapcontrol functions complicated. Falling back to declarative commands.
* Adding steps to make sure that the system is started before attempting RKS
* Enhance debug output for SAP Control parameters
---------

Signed-off-by: Nicolas Bettembourg <[email protected]>
Co-authored-by: Rainer Leber <[email protected]>
nbttmbrg added a commit that referenced this pull request Jul 23, 2025
…ng (#1)

* Adding support for system wide functions
* Nested Jinja makes the use of dynamic variables inside sapcontrol functions complicated. Falling back to declarative commands.
* Adding steps to make sure that the system is started before attempting RKS
* Enhance debug output for SAP Control parameters
---------

Signed-off-by: Nicolas Bettembourg <[email protected]>
Co-authored-by: Rainer Leber <[email protected]>
nbttmbrg added a commit that referenced this pull request Sep 11, 2025
…ng (#1) (#2)

* Adding support for system wide functions
* Nested Jinja makes the use of dynamic variables inside sapcontrol functions complicated. Falling back to declarative commands.
* Adding steps to make sure that the system is started before attempting RKS
* Enhance debug output for SAP Control parameters
---------

Signed-off-by: Nicolas Bettembourg <[email protected]>
Co-authored-by: Rainer Leber <[email protected]>
nbttmbrg added a commit that referenced this pull request Sep 11, 2025
…ng (#1)

* Adding support for system wide functions
* Nested Jinja makes the use of dynamic variables inside sapcontrol functions complicated. Falling back to declarative commands.
* Adding steps to make sure that the system is started before attempting RKS
* Enhance debug output for SAP Control parameters
---------

Signed-off-by: Nicolas Bettembourg <[email protected]>
Co-authored-by: Rainer Leber <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants