jfilho
Cadet
Cadet
  • 413 Views

Different configuration per node

If most options are inside  corosync.conf and synced in all nodes, what can I do if i want to have different logging options per node?

5 Replies
Emanuel_Haine
Flight Engineer
Flight Engineer
  • 403 Views

Hi @jfilho 

Thanks for posting this question here, it is a good one!

I took a look at this documentation (https://www.lisenet.com/2019/high-availability-pacemaker-cluster-logging/, and depending on your needs, you can use the file "/etc/sysconfig/pacemaker" to accomplish it.

 

Chetan_Tiwary_
Moderator
Moderator
  • 390 Views

I guess logging options can be controlled via environment variables at Pacemaker start-up. 

File can be either  /etc/sysconfig/pacemaker or /etc/default/pacemaker

Refer this for more details : https://access.redhat.com/solutions/970083 

Chetan_Tiwary__0-1703082821676.png

 

Chetan_Tiwary_
Moderator
Moderator
  • 390 Views

Thanks for the link @Emanuel_Haine , I can see this there for corosync logging :

Chetan_Tiwary__1-1703083400512.png

 

0 Kudos
Emanuel_Haine
Flight Engineer
Flight Engineer
  • 383 Views

Hi @Chetan_Tiwary_ 

 

There is a section for pacemaker, too:

Emanuel_Haine_0-1703084071360.png

 

Chetan_Tiwary_
Moderator
Moderator
  • 380 Views

Ah yes, I saw that !

0 Kudos
Join the discussion
You must log in to join this conversation.