if "pcs standby" then "pcs unstandby" is executed, the start of all resources does not take in account all order constraints
Issue
On a two-nodes cluster, if you have all resources on one node (the other node being down), and if the
administrator needs to execute a pcs cluster standby, then a pcs cluster unstandby, order constraints are not
taken in account, whereas they are started following the order constraints when starting pacemaker with "pcs cluster start"
The example of configuration is simple :
vg-1A (ocf::heartbeat:LVM): Started oslo0.dummy
vg-2A (ocf::heartbeat:LVM): Started oslo0.dummy
vg-1B (ocf::heartbeat:LVM): Started oslo0.dummy
vg-2B (ocf::heartbeat:LVM): Started oslo0.dummy
fs-img-midc (ocf::heartbeat:Filesystem): Started oslo0.dummy
vm-midc (ocf::heartbeat:VirtualDomain): Started oslo0.dummy
fs-img-gidc (ocf::heartbeat:Filesystem): Started oslo0.dummy
dummy1 (ocf::heartbeat:Dummy): Started midc0.dummy
vm-gidc (ocf::heartbeat:VirtualDomain): Started oslo0.dummy
Resource Group: grp-gdns0
fs-data-gidc0 (ocf::heartbeat:Filesystem): Started gidc0.dummy
ip-gdns0 (ocf::heartbeat:IPaddr2): Started gidc0.dummy
sv-gdns0 (ocf::heartbeat:named): Started gidc0.dummy
where there is an order between dummy1 (resource in container vm-midc) and the vm-gidc :
[root@oslo0 installation-scripts]# pcs config | grep order
start vg-1A then start fs-img-gidc (kind:Mandatory) (id:order-vg-1A-before-fs-img-gidc-INFINITY)
start vg-1A then start fs-img-midc (kind:Mandatory) (id:order-vg-1A-before-fs-img-midc-INFINITY)
start fs-img-gidc then start vm-gidc (kind:Mandatory) (id:order-fs-img-midc-before-vm-gidc-INFINITY)
start fs-img-midc then start vm-midc (kind:Mandatory) (id:order-fs-img-midc-before-vm-midc-INFINITY)
start dummy1 then start vm-gidc (kind:Mandatory) (id:order-dummy1-vm-gidc-mandatory)
Nevertheless, the vm-gidc is started before the dummy1 resource.
Environment
- Red Hat Entreprise Linux (RHEL) 7
- HA add-on
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
