SAPStartSrv_m...ce_procedures(7)
π NAME π
okay so bestie, this is SAPStartSrv_maintenance_procdures β the maintenance examples page for SAPStartSrv and SUSE HA for SAP Enqueue Standalone clusters. The page you're reading is SAPStartSrv_m...ce_procedures(7), and yes it's giving section 7 energy. π
β¨ DESCRIPTION β¨
Maintenance examples for SAPStartSrv and SUSE HA for SAP Enqueue Standalone clusters. Please peep ocf_suse_SAPStartSrv(7), SAPStartSrv_basic_cluster(7) and sap_suse_cluster_connector(8) for more examples, and read the REQUIREMENTS section there. fr fr, that's where the important stuff lives.
πΈ EXAMPLES πΈ
- Check status of Linux cluster and ENSA replication pair. Do these before you do anything with the cluster, and again after something's been done.
# cs_clusterstate -i
# crm_mon -1r
# crm configure show | grep cli-
# su - en1adm -c "sapcontrol -nr 00 -function GetSystemInstanceList"
# su - en1adm -c "sapcontrol -nr 00 -function GetProcessList"
# su - en1adm -c "sapcontrol -nr 00 -function HACheckMaintenanceMode"
# su - en1adm -c "sapcontrol -nr 00 -function HAGetFailoverConfig"
# cs_clusterstate -i
- Set resource group of ASCS into maintenance. This is needed so you can do manual actions on the ASCS group's resources. In this example, SID is EN1, instance number of ASCS is 00. You gotta wait for each step to complete and check the result. Also peep the next example too. π«Ά
# crm resource maintenance grp_EN1_ASCS00 on
# crm configure show grp_EN1_ASCS00
- Get resource group of ASCS back from maintenance. This is needed to put the ASCS group's resources back under cluster control. In this example, SID is EN1, instance number of ASCS is 00. You gotta wait for each step to complete and check the result. Also peep the example above. β¨
# crm resource refresh grp_EN1_ASCS00
# crm resource maintenance grp_EN1_ASCS00 off
# crm configure show grp_EN1_ASCS00
- Set whole Linux cluster into maintenance.
# crm configure property maintenance-mode=true
# crm_attribute --query -t crm_config -n maintenance-mode
- Remove left-over maintenance attribute from overall Linux cluster. This could be done to avoid confusion caused by different maintenance procedures. Peep the overview above on maintenance procedures with a running Linux cluster. Before doing so, check for cluster attribute
maintenance-mode="false".
# crm_attribute --delete -t crm_config -n maintenance-mode
# crm_attribute --query -t crm_config -n maintenance-mode
- Remove left-over standby attribute from Linux cluster nodes. This could be done to avoid confusion caused by different maintenance procedures. Peep the overview above on maintenance procedures with a running Linux cluster. Before doing so for all nodes, check for node attribute
standby="off"on all nodes.
# crm_attribute --delete -t node -N node1 -n standby
# crm_attribute --query -t node -N node1 -n standby
- Remove left-over maintenance attribute from resource. This should usually not be needed. Peep the overview above on maintenance procedures with a running Linux cluster.
# crm_resource --resource grp_EN1_ASCS00 --delete-parameter maintenance --meta
- Disable Linux cluster on all cluster nodes. On any cluster node the cluster will not start automatically on boot anymore. Nevertheless a currently running cluster will keep running.
# crm cluster run "crm cluster disable"
# crm cluster run "systemctl status pacemaker" | grep pacemaker.service
- Start Linux cluster on all cluster nodes.
# crm cluster run "crm cluster start"
# crm cluster run "systemctl status pacemaker" | grep pacemaker.service
- Perform an ASCS takeover by using SAP tools. In this example, SID is EN1, instance number of ASCS is 00, instance number of ERS is 10. Only two nodes are in the Linux cluster. As consequence of ASCS takeover, the cluster will move the ERS. You gotta wait for each step to complete and check the result. π₯
# su - en1adm -c "sapcontrol -nr 00 -function HAFailoverToNode ''"
# crm resource clear rsc_sap_EN1_ASCS00
# crm resource cleanup rsc_sap_EN1_ERS10
- Overview on simple procedure for stopping and temporarily disabling the Linux cluster. ASCS and ERS instances get fully stopped. This procedure can be used to update SAP instances, OS or hardware. ASCS and ERS roles and resource status remains unchanged. You gotta wait for each step to complete and check the result. You also gotta test and document the whole procedure before applying in production.
β οΈ The ASCS instance will not be available from step 1.2 to step 3.3. This is not compliant to official SAP upgrade procedures, like Rolling Kernel Switch. π
1.1stopping ERS instance1.2stopping ASCS instance1.3disabling pacemaker on all cluster nodes1.4stopping cluster on all cluster nodes2.doing the maintenance activity3.1enabling pacemaker on all cluster nodes3.2starting cluster on all cluster nodes3.3starting ASCS instance3.4starting ERS instance- Overview on maintenance procedure for Linux cluster or OS. ASCS and ERS instances remain running. Here's the whole flow, bestie:
- Check status of Linux cluster and ASCS/ERS, see above.
- Set the Linux cluster into maintenance mode.
- Stop Linux Cluster on all nodes.
- Perform maintenance on Linux cluster or OS.
- Start Linux cluster on all nodes.
- Let Linux cluster detect status of ASCS/ERS resources.
- Set cluster ready for operations.
- Check status of Linux cluster and ASCS/ERS, see above.
π BUGS π
If anything goes sideways, please use your favourite SAP support process to open a request for the component BC-OP-LNX-SUSE. No cap, that's the move.
π SEE ALSO π
ocf_suse_SAPStartSrv(7)SAPStartSrv_basic_cluster(7)sap_suse_cluster_connector(8)crm(8)crm_simulate(8)crm_report(8)cibadmin(8)fence_sbd(8)sbd(8)corosync-cfgtool(8)systemctl(8)cs_clusterstate(8)cs_wait_for_idle(8)cs_show_ensa_status(8)ha_related_suse_tids(7)ha_related_sap_notes(7)
π«Ά AUTHORS π«Ά
F.Herschel, L.Pinne β iconic, honestly.
π COPYRIGHT π
(c) 2020-2026 SUSE LLC
SAPStartSrv comes with ABSOLUTELY NO WARRANTY.
For details see the GNU General Public License at http://www.gnu.org/licenses/gpl.html.
mwah π β this page was last updated on 15 Aug 2025 and it's literally SAPStartSrv_m...ce_procedures(7). bye bestie π«Άπ
π¦ where this page comes from
- opensuse-leap 16.0: sapstartsrv-resource-agents 0.9.6+git.1791548114.2a86b96-160000.1.1 Β· GPL-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms