Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Pacemaker

Re: The order of resources changes when resources register themselves by a crm command.

 

 

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded


lmb at suse

Dec 11, 2009, 2:22 AM

Post #1 of 8 (404 views)
Permalink
Re: The order of resources changes when resources register themselves by a crm command.

On 2009-12-11T11:02:53, renayama19661014 [at] ybb wrote:

> The order of clnPingd1 changes.

That is just an output issue. Possibly crm_mon should sort the resources
somehow so that the output becomes stable.

> Is this a bug?

No, but an enhancement might be possible.

> Or is it a problem of the problem of my cli file or my operation?

No.

Note that this is not related at all to the operation ordering, which is
defined by the constraints; it's just crm_mon output or the sequence in
the CIB, which except for <group /> is irrelevant.


Regards,
Lars

--
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde


_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


lmb at suse

Dec 11, 2009, 2:22 AM

Post #2 of 8 (382 views)
Permalink
Re: The order of resources changes when resources register themselves by a crm command. [In reply to]

On 2009-12-11T11:02:53, renayama19661014 [at] ybb wrote:

> The order of clnPingd1 changes.

That is just an output issue. Possibly crm_mon should sort the resources
somehow so that the output becomes stable.

> Is this a bug?

No, but an enhancement might be possible.

> Or is it a problem of the problem of my cli file or my operation?

No.

Note that this is not related at all to the operation ordering, which is
defined by the constraints; it's just crm_mon output or the sequence in
the CIB, which except for <group /> is irrelevant.


Regards,
Lars

--
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde


_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 11, 2009, 2:24 AM

Post #3 of 8 (380 views)
Permalink
Re: The order of resources changes when resources register themselves by a crm command. [In reply to]

On Fri, Dec 11, 2009 at 11:22 AM, Lars Marowsky-Bree <lmb [at] suse> wrote:
> On 2009-12-11T11:02:53, renayama19661014 [at] ybb wrote:
>
>> The order of clnPingd1 changes.
>
> That is just an output issue. Possibly crm_mon should sort the resources
> somehow so that the output becomes stable.
>
>> Is this a bug?
>
> No, but an enhancement might be possible.

Well, it might affect resource placement... resources are processed in
the order they appear in the cib.

What sort of operations is the shell using to achieve the forced load?
Perhaps it should include an erase so that the order is exactly as specified.

>
>> Or is it a problem of the problem of my cli file or my operation?
>
> No.
>
> Note that this is not related at all to the operation ordering, which is
> defined by the constraints; it's just crm_mon output or the sequence in
> the CIB, which except for <group /> is irrelevant.
>
>
> Regards,
>    Lars
>
> --
> Architect Storage/HA, OPS Engineering, Novell, Inc.
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker [at] oss
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 11, 2009, 2:24 AM

Post #4 of 8 (382 views)
Permalink
Re: The order of resources changes when resources register themselves by a crm command. [In reply to]

On Fri, Dec 11, 2009 at 11:22 AM, Lars Marowsky-Bree <lmb [at] suse> wrote:
> On 2009-12-11T11:02:53, renayama19661014 [at] ybb wrote:
>
>> The order of clnPingd1 changes.
>
> That is just an output issue. Possibly crm_mon should sort the resources
> somehow so that the output becomes stable.
>
>> Is this a bug?
>
> No, but an enhancement might be possible.

Well, it might affect resource placement... resources are processed in
the order they appear in the cib.

What sort of operations is the shell using to achieve the forced load?
Perhaps it should include an erase so that the order is exactly as specified.

>
>> Or is it a problem of the problem of my cli file or my operation?
>
> No.
>
> Note that this is not related at all to the operation ordering, which is
> defined by the constraints; it's just crm_mon output or the sequence in
> the CIB, which except for <group /> is irrelevant.
>
>
> Regards,
>    Lars
>
> --
> Architect Storage/HA, OPS Engineering, Novell, Inc.
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker [at] oss
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


lmb at suse

Dec 11, 2009, 2:28 AM

Post #5 of 8 (381 views)
Permalink
Re: The order of resources changes when resources register themselves by a crm command. [In reply to]

On 2009-12-11T11:24:44, Andrew Beekhof <andrew [at] beekhof> wrote:

> > No, but an enhancement might be possible.
> Well, it might affect resource placement... resources are processed in
> the order they appear in the cib.

In the absence of groups, constraints, and priorities, resource
placement is essentially "random".

So if they cared about placement, they would put in constraints.



Regards,
Lars

--
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde


_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


lmb at suse

Dec 11, 2009, 2:28 AM

Post #6 of 8 (385 views)
Permalink
Re: The order of resources changes when resources register themselves by a crm command. [In reply to]

On 2009-12-11T11:24:44, Andrew Beekhof <andrew [at] beekhof> wrote:

> > No, but an enhancement might be possible.
> Well, it might affect resource placement... resources are processed in
> the order they appear in the cib.

In the absence of groups, constraints, and priorities, resource
placement is essentially "random".

So if they cared about placement, they would put in constraints.



Regards,
Lars

--
Architect Storage/HA, OPS Engineering, Novell, Inc.
SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
"Experience is the name everyone gives to their mistakes." -- Oscar Wilde


_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 11, 2009, 6:19 AM

Post #7 of 8 (375 views)
Permalink
Re: The order of resources changes when resources register themselves by a crm command. [In reply to]

On Fri, Dec 11, 2009 at 11:28 AM, Lars Marowsky-Bree <lmb [at] suse> wrote:
> On 2009-12-11T11:24:44, Andrew Beekhof <andrew [at] beekhof> wrote:
>
>> > No, but an enhancement might be possible.
>> Well, it might affect resource placement... resources are processed in
>> the order they appear in the cib.
>
> In the absence of groups, constraints, and priorities, resource
> placement is essentially "random".
>
> So if they cared about placement, they would put in constraints.

I'm talking about the order the PE does the processing in.
Granted if it truly mattered they could set use the resource priorities.

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 11, 2009, 6:19 AM

Post #8 of 8 (374 views)
Permalink
Re: The order of resources changes when resources register themselves by a crm command. [In reply to]

On Fri, Dec 11, 2009 at 11:28 AM, Lars Marowsky-Bree <lmb [at] suse> wrote:
> On 2009-12-11T11:24:44, Andrew Beekhof <andrew [at] beekhof> wrote:
>
>> > No, but an enhancement might be possible.
>> Well, it might affect resource placement... resources are processed in
>> the order they appear in the cib.
>
> In the absence of groups, constraints, and priorities, resource
> placement is essentially "random".
>
> So if they cared about placement, they would put in constraints.

I'm talking about the order the PE does the processing in.
Granted if it truly mattered they could set use the resource priorities.

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.