[ClusterLabs] starting primitive resources of a group without starting the complete group - unclear behaviour
Lentes, Bernd
bernd.lentes at helmholtz-muenchen.de
Fri Apr 21 14:52:02 CEST 2017
----- On Apr 21, 2017, at 11:38 AM, Bernd Lentes bernd.lentes at helmholtz-muenchen.de wrote:
> ----- On Apr 21, 2017, at 1:24 AM, Ken Gaillot kgaillot at redhat.com wrote:
>
>> On 04/20/2017 02:53 PM, Lentes, Bernd wrote:
>
>>
>> target-role=Stopped prevents a resource from being started.
>>
>> In a group, each member of the group depends on the previously listed
>> members, same as if ordering and colocation constraints had been created
>> between each pair. So, starting a resource in the "middle" of a group
>> will also start everything before it.
Not in each case.
I tested a bit:
target-role of the group: stopped. (This is inherited by the primitives of the group if not declared otherwise.
If declared for the primitive otherwise this supersedes the target-role of the group.)
Starting first primitive of the group. Second primitive does not start because target-role is stopped (inherited by the group).
Next test:
target-role of the group still "stopped". target-roles of the primitives not decleared otherwise.
Starting second primitive. First primitive does not start because target-role is stopped, inherited by the group.
Second primitive does not start because first primitive does not start, although target-role for the second primitive is started.
Because second primitive needs first one.
Is my understanding correct ?
Bernd
Helmholtz Zentrum Muenchen
Deutsches Forschungszentrum fuer Gesundheit und Umwelt (GmbH)
Ingolstaedter Landstr. 1
85764 Neuherberg
www.helmholtz-muenchen.de
Aufsichtsratsvorsitzende: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrer: Prof. Dr. Guenther Wess, Heinrich Bassler, Dr. Alfons Enhsen
Registergericht: Amtsgericht Muenchen HRB 6466
USt-IdNr: DE 129521671
More information about the Users
mailing list