Modified for the galera requirements I need...