# Proxysql2 and Native PXC Cluster

**URL:** <https://forums.percona.com/t/proxysql2-and-native-pxc-cluster/7267>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [October 29, 2019, 7:41am UTC](https://forums.percona.com/t/proxysql2-and-native-pxc-cluster/7267 "2019-10-29T07:41:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simtardif](https://avatars.discourse-cdn.com/v4/letter/s/6de8d8/32.png) [@simtardif](https://forums.percona.com/u/simtardif)\
**Post date:** [October 29, 2019, 7:41am UTC](https://forums.percona.com/t/proxysql2-and-native-pxc-cluster/7267/1 "2019-10-29T07:41:03Z")

</div>

Hi I’m trying to upgrade our Proxysql to version 2 with native galera support with our 3 pxc nodes (pxc 5.7.23). With proxysql 1.4 to shutdown a node without dropping existing connection we use SET GLOBAL pxc\_maint\_mode=MAINTENANCE; and waiting before the shutdown of the server because the monitor script by percona was checking this variable and was doing an offline\_soft with the node.  
How can we do the same thing with the Native Galera support of proxysql2 ?  
Can’t find anything about that. Every test I made with different parameter like with wsrep\_reject\_queries or wsrep\_desync if i check proxysql log,proxysql do an offline\_hard of the node.

So is someone here using proxysql 2 with native galera support and if yes how are you doing maintenance on your pxc nodes when you have to, without an offline hard of the node ?  
Thanks for your help
