HA - Pacemaker - Creating a cluster resource with a systemd service
This document (000020739) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15 SP2
Situation
Resolution
crm configure primitive my-resource-name systemd:service.name
Replace the service.name by the systemd service to be clustered. This needs to be available on both nodes. Remember to disable the service on boot on all the nodes since the cluster is responsible to control it.
systemctl disable service.name ; systemctl start service.name
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020739
- Creation Date: 31-Aug-2022
- Modified Date:14-Sep-2022
-
- SUSE Linux Enterprise High Availability Extension
- SUSE Linux Enterprise Server
- SUSE Linux Enterprise Server for SAP Applications
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com