[ClusterLabs] HA - order lost when group made
John Goutbeck
John.Goutbeck at newsignal.ca
Tue Nov 19 16:19:30 EST 2019
HA - order lost when group made
SLES 15 SP1 + HA
nss-sn02:~ # rpm -qa | grep pacem
pacemaker-cli-1.1.18+20180430.b12c320f5-3.15.1.x86_64
pacemaker-1.1.18+20180430.b12c320f5-3.15.1.x86_64
libpacemaker3-1.1.18+20180430.b12c320f5-3.15.1.x86_64
nss-sn02:~ # rpm -qa | grep crm
crmsh-scripts-4.1.0+git.1569593061.35f57072-3.14.1.noarch
crmsh-4.1.0+git.1569593061.35f57072-3.14.1.noarch
2 node HA cluster setup for DRBD storage
Made an order constraint for resource virtual IPs, iSCSI targets and iSCSI LUs.
These resources need to be started in order
Te resources can be start individually (and stopped individually) (before order constraint is made)
order o_drbd02_before_iscsitgt02 Serialize: p-ip-14-202:start p-ip-15-202:start p_target_drbd02:start p-lu-drbd02:start
or
order o_drbd02_before_iscsitgt02 Serialize: ( p-ip-14-202:start p-ip-15-202:start ) ( p_target_drbd02:start ) ( p-lu-drbd02:start )
-
Now to make a group resource with the same resources, but when the group is made, the order constraint is gone
group g-drbd02 p-ip-14-202 p-ip-15-202 p-lu-drbd02 p_target_drbd02 meta target-role=Stopped
Adding the group with 'crm configure edit' returns these comments
nss-sn02:~ # crm configure edit
INFO: modified colocation:cl-drbd02 from p-ip-14-202 to g-drbd02
INFO: modified order:o_drbd03_before_iscsitgt from p-ip-14-202 to g-drbd02
INFO: modified colocation:cl-drbd03 from p-ip-14-202 to g-drbd02
INFO: modified order:o_drbd02_before_iscsitgt02 from p-ip-14-202 to g-drbd02
INFO: modified order:o_drbd02_before_iscsitgt02 from p-ip-15-202 to g-drbd02
INFO: modified order:o_drbd02_before_iscsitgt02 from p-lu-drbd02 to g-drbd02
INFO: modified order:o_drbd02_before_iscsitgt02 from p_target_drbd02 to g-drbd02
How can a order be made of the same group resources?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20191119/2f5f4cca/attachment.html>
More information about the Users
mailing list