Re: [ClusterLabs] No node name in corosync-cmapctl output

2022-06-01 Thread Andreas Hasenack
Hi On Wed, Jun 1, 2022 at 10:18 AM Jan Friesse wrote: > > On 31/05/2022 16:28, Andreas Hasenack wrote: > > Hi, > > > > Sure, plenty of ways to achieve that. Set it in the config to a known > > name, or run "crm_node -n", or something else. The script is doing: > > POS="$(corosync-cmapctl -q -g

Re: [ClusterLabs] No node name in corosync-cmapctl output

2022-06-01 Thread Christine caulfield
On 01/06/2022 11:17, Jan Friesse wrote: On 31/05/2022 16:28, Andreas Hasenack wrote: Hi, On Tue, May 31, 2022 at 1:35 PM Jan Friesse wrote: Hi, On 31/05/2022 15:16, Andreas Hasenack wrote: Hi, corosync 3.1.6 pacemaker 2.1.2 crmsh 4.3.1 TL;DR I only seem to get a "name" attribute in the

Re: [ClusterLabs] No node name in corosync-cmapctl output

2022-06-01 Thread Jan Friesse
On 31/05/2022 16:28, Andreas Hasenack wrote: Hi, On Tue, May 31, 2022 at 1:35 PM Jan Friesse wrote: Hi, On 31/05/2022 15:16, Andreas Hasenack wrote: Hi, corosync 3.1.6 pacemaker 2.1.2 crmsh 4.3.1 TL;DR I only seem to get a "name" attribute in the "corosync-cmapctl | grep nodelist" output

Re: [ClusterLabs] No node name in corosync-cmapctl output

2022-05-31 Thread Jan Friesse
On 31/05/2022 16:11, Ken Gaillot wrote: On Tue, 2022-05-31 at 13:16 +, Andreas Hasenack wrote: Hi, corosync 3.1.6 pacemaker 2.1.2 crmsh 4.3.1 TL;DR I only seem to get a "name" attribute in the "corosync-cmapctl | grep nodelist" output if I set an explicit name in corosync.conf's nodelist.

Re: [ClusterLabs] No node name in corosync-cmapctl output

2022-05-31 Thread Andreas Hasenack
Hi, On Tue, May 31, 2022 at 1:35 PM Jan Friesse wrote: > > Hi, > > On 31/05/2022 15:16, Andreas Hasenack wrote: > > Hi, > > > > corosync 3.1.6 > > pacemaker 2.1.2 > > crmsh 4.3.1 > > > > TL;DR > > I only seem to get a "name" attribute in the "corosync-cmapctl | grep > > nodelist" output if I set

Re: [ClusterLabs] No node name in corosync-cmapctl output

2022-05-31 Thread Ken Gaillot
On Tue, 2022-05-31 at 13:16 +, Andreas Hasenack wrote: > Hi, > > corosync 3.1.6 > pacemaker 2.1.2 > crmsh 4.3.1 > > TL;DR > I only seem to get a "name" attribute in the "corosync-cmapctl | grep > nodelist" output if I set an explicit name in corosync.conf's > nodelist. If I rely on the

Re: [ClusterLabs] No node name in corosync-cmapctl output

2022-05-31 Thread Tomas Jelinek
Dne 31. 05. 22 v 15:34 Jan Friesse napsal(a): Hi, On 31/05/2022 15:16, Andreas Hasenack wrote: Hi, corosync 3.1.6 pacemaker 2.1.2 crmsh 4.3.1 TL;DR I only seem to get a "name" attribute in the "corosync-cmapctl | grep nodelist" output if I set an explicit name in corosync.conf's nodelist. If

Re: [ClusterLabs] No node name in corosync-cmapctl output

2022-05-31 Thread Jan Friesse
Hi, On 31/05/2022 15:16, Andreas Hasenack wrote: Hi, corosync 3.1.6 pacemaker 2.1.2 crmsh 4.3.1 TL;DR I only seem to get a "name" attribute in the "corosync-cmapctl | grep nodelist" output if I set an explicit name in corosync.conf's nodelist. If I rely on the default of "name will be uname

[ClusterLabs] No node name in corosync-cmapctl output

2022-05-31 Thread Andreas Hasenack
Hi, corosync 3.1.6 pacemaker 2.1.2 crmsh 4.3.1 TL;DR I only seem to get a "name" attribute in the "corosync-cmapctl | grep nodelist" output if I set an explicit name in corosync.conf's nodelist. If I rely on the default of "name will be uname -n if it's not set", I get nothing. I formed a test