HA - order lost when group made
SLES 15 SP1 + HA
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?