adding check for galera cluster