How wsrep_notify_cmd works ?

Hi !

I’m trying to define the wsrep_notify_cmd parameter in my.cnf for being notified on XtraDB Cluster nodes events, but I don’t understand how to configure this.
I’ve read the article on the Galera wiki and check the example script, nothing of that explain how to define it clearly into the my.cnf config file.

I assume that if I can see this warning:

[Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.

Is that we can define a parameter in the my.cnf. Anyway, someone uses it ? How to configure that ?

Thanks in advance.


it is either a full path to script or the script should be placed together with the other mysql scripts.