How to edit a Pacemaker cluster resource or cluster configuration.
This document (000020286) is provided subject to the disclaimer at the end of this document.
SUSE Linux Enterprise High Availability Extension 12
Cluster GUI / HAWK
Web URL: https://<localhost>:7630
Once logged in as hacluster user, browse to menu option CONFIGURATION --> EDIT CONFIGURATION
Click on the "EDIT" icon for the cluster resource you want to edit or modify.
Once done with edits, click "APPLY" which will apply changes to the active cib. This will trigger a one time probe of the modified resource to pick up any changes that were made to the primitive.
CRM shell / text based
The crm shell provides an "edit" function which will invoke the editor (default VI) with the current cib and allow for modification of any values inside the cib and once saved, will apply to the live cluster configuration. This will trigger a one time probe of the modified resource to pick up any changes that were made to the primitive.
# crm configure editYou may choose to edit the entire cib (all objects) or a set of objects. To bring up a single primitive in the editor, use the following command.
# crm configure edit <primitive name>You may also choose to edit the xml version of the cib.
# crm configure edit xmlAs you save your edits, crm shell will run a quick syntax check (crm configure verify) and prompt if it detects any errors and allow you to make edits before committing.
# crm configure show > /root/cib_backup.txtTo restore a cib from a backup file previously created.
# crm configure load replace /root/cib_backup.txtReference Doc: Loading Cluster resources from a file
- Document ID:000020286
- Creation Date: 16-Jun-2021
- Modified Date:16-Jun-2021
- SUSE Linux Enterprise High Availability Extension
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com