[ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-25 Thread Ulrich Windl
>>> "Lentes, Bernd"  schrieb am 24.08.2022 
>>> um
18:18 in Nachricht
<949048121.170067950.1661357898189.javamail.zim...@helmholtz-muenchen.de>:

> - On 24 Aug, 2022, at 16:26, kwenning kwenn...@redhat.com wrote:
> 
>>>
>>> if I get Ulrich right - and my fading memory of when I really used crmsh the
>>> last time is telling me the same thing ...
>>>
> 
> I get the impression many people prefer pcs to crm. Is there any reason for 
> that ?

I think the "red people" (those with the colored hat) use pcs and the "green 
people" (those with the reptile) use crm ;-)

> And can i use pcs on Suse ? If yes, how ?
> 
> Bernd




___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


[ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-25 Thread Ulrich Windl
>>> "Lentes, Bernd"  schrieb am 24.08.2022 
>>> um
18:15 in Nachricht
<518321906.170067472.1661357732466.javamail.zim...@helmholtz-muenchen.de>:

> - On 24 Aug, 2022, at 16:26, kwenning kwenn...@redhat.com wrote:
> 
> 
> 
>> 
>> Guess the resources running now are those you tried to enable before
>> while they were globally stopped 
>> 
> 
> No. First i set stop-all-resources to false. Then SOME resources started.
> Then i tried several times to start some VirtualDomains using "crm resource 
> start"
> which didn't succeed. Some time later i tried it again and it succeeded ...

Logs, logs, logs... otherwise it's all just speculation.

> 
> Bernd




___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


Re: [ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-24 Thread Lentes, Bernd


- On 24 Aug, 2022, at 16:01, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de 
wrote:


>> Now with "crm resource start" all resources started. I didn't change
>> anything !?!
> 
> I guess that command set the roles of all resources to "started", so you 
> changed
> something ;-)

I did it before and nothing happened ...

Bernd

smime.p7s
Description: S/MIME Cryptographic Signature
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


[ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-24 Thread Ulrich Windl
>>> "Lentes, Bernd"  schrieb am 24.08.2022 
>>> um
15:14 in Nachricht
<2097315299.169939002.1661346840678.javamail.zim...@helmholtz-muenchen.de>:
> Hi,
> 
> 
> Now with "crm resource start" all resources started. I didn't change 
> anything !?!

I guess that command set the roles of all resources to "started", so you 
changed something ;-)

> 
> Bernd




___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


Re: [ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-24 Thread Lentes, Bernd


- On 24 Aug, 2022, at 08:17, Reid Wahl nw...@redhat.com wrote:
> I'm not sure off the top of my head what (if anything) gets sent to
> the logs. Do note that Bernd is using pacemaker v1, which hasn't been
> receiving new features for quite a while.

An Update is recommended ?

Bernd

smime.p7s
Description: S/MIME Cryptographic Signature
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


Re: [ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-24 Thread Lentes, Bernd


- On 24 Aug, 2022, at 08:10, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de 
wrote:


> 
> Bernd,
> 
> that command would simply set the role to "started", but I guess it already 
> is.
> Obviously to be effective stop-all-resources must habve precedence. You see?
> 
> Regards,
> Ulrich

Yes, but i set stop-all-resources to false.
Some resources started afterwards, some didn't.
And the target-role for all "disabled" VirtualDomains is still stopped.

Bernd

smime.p7s
Description: S/MIME Cryptographic Signature
___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


Re: [ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-24 Thread Reid Wahl
On Tue, Aug 23, 2022 at 11:08 PM Ulrich Windl
 wrote:
>
> >>> Reid Wahl  schrieb am 24.08.2022 um 05:33 in Nachricht
> :
> > On Tue, Aug 23, 2022 at 7:10 PM Lentes, Bernd
> >  wrote:
>
> ...
> > The stop‑all‑resources cluster property is set to true. Is that
> intentional?
> ...
>
> Independent of the problem, I suggest that a better log message is created.
> Maybe like this:
> "(all resources stopped due to stop-all-resources being true)"
>
> It could repeat every cluster check interval ;-)

crm_mon already does this, as of two years ago:
https://github.com/ClusterLabs/pacemaker/commit/daa36877197bb9e4bf819d29e166f8729eb7351a#diff-ee3cc5319dc16418a09d00d115d8ecfc17e0176cc4480b4cf8f96e2583a48335

I'm not sure off the top of my head what (if anything) gets sent to
the logs. Do note that Bernd is using pacemaker v1, which hasn't been
receiving new features for quite a while.

>
> Regards,
> Ulrich
>
>
> ___
> Manage your subscription:
> https://lists.clusterlabs.org/mailman/listinfo/users
>
> ClusterLabs home: https://www.clusterlabs.org/



-- 
Regards,

Reid Wahl (He/Him)
Senior Software Engineer, Red Hat
RHEL High Availability - Pacemaker

___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


[ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-24 Thread Ulrich Windl
>>> "Lentes, Bernd"  schrieb am 24.08.2022 
>>> um
07:13 in Nachricht
<718962332.169073979.1661318038326.javamail.zim...@helmholtz-muenchen.de>:

> 
> - On 24 Aug, 2022, at 07:03, arvidjaar arvidj...@gmail.com wrote:
> 
>> On 24.08.2022 07:34, Lentes, Bernd wrote:
>>> 
>>> 
>>> - On 24 Aug, 2022, at 05:33, Reid Wahl nw...@redhat.com wrote:
>>> 
>>> 
 The stop-all-resources cluster property is set to true. Is that 
 intentional?
>>> OMG. Thanks Reid !
>>> 
>>> But unfortunately not all virtual domains are running:
>>> 
>> 
>> what exactly is not clear in this output? All these resources are
>> explicitly disabled (target-role=stopped) and so will not be started.
>> 
> That's clear. But a manual "crm resource start virtual_domain" should start 
> them,
> but it doesn't.

Bernd,

that command would simply set the role to "started", but I guess it already is. 
Obviously to be effective stop-all-resources must habve precedence. You see?

Regards,
Ulrich


> 
> Bernd




___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/


[ClusterLabs] Antw: [EXT] Re: Cluster does not start resources

2022-08-24 Thread Ulrich Windl
>>> Reid Wahl  schrieb am 24.08.2022 um 05:33 in Nachricht
:
> On Tue, Aug 23, 2022 at 7:10 PM Lentes, Bernd
>  wrote:

...
> The stop‑all‑resources cluster property is set to true. Is that
intentional?
...

Independent of the problem, I suggest that a better log message is created.
Maybe like this:
"(all resources stopped due to stop-all-resources being true)"

It could repeat every cluster check interval ;-)

Regards,
Ulrich


___
Manage your subscription:
https://lists.clusterlabs.org/mailman/listinfo/users

ClusterLabs home: https://www.clusterlabs.org/