Bug 1218645 - [doc] Issue in "ADDING A RESOURCE GROUP WITH CRMSH"
Summary: [doc] Issue in "ADDING A RESOURCE GROUP WITH CRMSH"
Status: RESOLVED FIXED
Alias: None
Product: PUBLIC SUSE Linux Enterprise High Availability Extension 15 SP5
Classification: openSUSE
Component: Documentation (show other bugs)
Version: unspecified
Hardware: Other Other
: P5 - None : Normal
Target Milestone: ---
Assignee: Tahlia Richardson
QA Contact: Tanja Roth
URL:
Whiteboard: https://jira.suse.com/browse/DOCTEAM-...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-09 13:05 UTC by Xin Liang
Modified: 2024-01-15 03:42 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xin Liang 2024-01-09 13:05:49 UTC
ADDING A RESOURCE GROUP WITH CRMSH:

https://documentation.suse.com/sle-ha/15-SP5/single-html/SLE-HA-administration/#id-1.4.4.4.7.9.3


configure
primitive Public-IP ocf:heartbeat:IPaddr \
    params ip=1.2.3.4 id= Public-IP
# It's wrong to leave space between a parameter and its value
# And there is no "id" parameter for IPaddr agent
primitive Email systemd:postfix \
    params id=Email
# No "id" for postfix



Better example:

primitive Public-IP ocf:heartbeat:IPaddr2 \
    params ip=1.2.3.4 \
    op monitor interval=10s
primitive Email systemd:postfix \
    op monitor interval=10s
Comment 1 Tahlia Richardson 2024-01-10 01:51:41 UTC
Thanks Xin, I've added this to our queue.
Comment 2 Tahlia Richardson 2024-01-12 06:38:31 UTC
I've updated the commands in https://github.com/SUSE/doc-sleha/pull/365
Comment 3 Xin Liang 2024-01-14 00:34:56 UTC
Thanks, Tahlia!
Comment 4 Tahlia Richardson 2024-01-15 03:42:50 UTC
This is now completed and backported, and will be published with the next weekly docs update.