# How to set notify in XtraDB cluster

**URL:** <https://forums.percona.com/t/how-to-set-notify-in-xtradb-cluster/3043>\
**Category:** Percona XtraBackup\
**Created:** [October 29, 2013, 7:47am UTC](https://forums.percona.com/t/how-to-set-notify-in-xtradb-cluster/3043 "2013-10-29T07:47:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashokkumar2003](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@ashokkumar2003](https://forums.percona.com/u/ashokkumar2003)\
**Post date:** [October 29, 2013, 7:47am UTC](https://forums.percona.com/t/how-to-set-notify-in-xtradb-cluster/3043/1 "2013-10-29T07:47:22Z")

</div>

Please help me how can we setup wsrep\_notify\_cmd in XtraDB cluster for get notification.

Thanks

---

<div class="post-metadata">

**Author:** ![mirfan](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/mirfan/32/16890_2.png) [@mirfan](https://forums.percona.com/u/mirfan)\
**Post date:** [October 31, 2013, 4:40am UTC](https://forums.percona.com/t/how-to-set-notify-in-xtradb-cluster/3043/2 "2013-10-31T04:40:11Z")

</div>

wresp\_notify\_cmd is used to set the notification [command](http://www.codership.com/wiki/doku.php?id=notification_command) that server will execute every time cluster membership or local node status changes. I believe it need to set in my.cnf with custom notification script. Check the details here for notification script [url][http://www.codership.com/wiki/doku.php?id=notification\_command[/url]](http://www.codership.com/wiki/doku.php?id=notification_command%5B/url%5D)

---

<div class="post-metadata">

**Author:** ![ashokkumar2003](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@ashokkumar2003](https://forums.percona.com/u/ashokkumar2003)\
**Post date:** [October 31, 2013, 6:49am UTC](https://forums.percona.com/t/how-to-set-notify-in-xtradb-cluster/3043/3 "2013-10-31T06:49:17Z")

</div>

How to run these command as described in above mentioned link.

---

<div class="post-metadata">

**Author:** ![ashokkumar2003](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@ashokkumar2003](https://forums.percona.com/u/ashokkumar2003)\
**Post date:** [November 1, 2013, 1:47am UTC](https://forums.percona.com/t/how-to-set-notify-in-xtradb-cluster/3043/4 "2013-11-01T01:47:56Z")

</div>

I have downloaded the script but where i defined our email id.

---

<div class="post-metadata">

**Author:** ![erum](https://avatars.discourse-cdn.com/v4/letter/e/ad7895/32.png) [@erum](https://forums.percona.com/u/erum)\
**Post date:** [November 7, 2013, 1:14am UTC](https://forums.percona.com/t/how-to-set-notify-in-xtradb-cluster/3043/5 "2013-11-07T01:14:10Z")

</div>

[COLOR=#252C2F]Those are the 2 chnages i have done and now i get the status as shown above ☹

[http://www.pass4sure.co.uk](http://www.pass4sure.co.uk)  
[URL][https://www.facebook.com/IBM[/URL]](https://www.facebook.com/IBM%5B/URL%5D)  
[URL][http://www.youtube.com/user/IBM[/URL]](http://www.youtube.com/user/IBM%5B/URL%5D)  
[URL=“[Professional in Human Resources - Wikipedia](http://en.wikipedia.org/wiki/Professional_in_Human_Resources)”][http://en.wikipedia.org/wiki/Profess...uman\_Resources[/URL]](http://en.wikipedia.org/wiki/Profess...uman_Resources%5B/URL%5D)  
[URL=“[http://www.amazon.com/HRCI-Certification-Guide-Ninth-Edition/dp/1586440640](http://www.amazon.com/HRCI-Certification-Guide-Ninth-Edition/dp/1586440640)”][http://www.amazon.com/HRCI-Certifica.../dp/1586440640[/URL]](http://www.amazon.com/HRCI-Certifica.../dp/1586440640%5B/URL%5D)
