Skip to content

Instantly share code, notes, and snippets.

@zzzeek
zzzeek / gist:f5bc2a104ce6eed5187e268ccfd73c01
Created July 14, 2017 19:19
turn off pacemaker and bootstrap galera manually
--- 1. prevent pacemaker from managing galera
# pcs resource unmanage galera
--- 2. make sure ***mysql is not running on any node***. To bootstrap, mysql has to be completely shut down:
# ps -ef | grep mysql
< nothing, on all three controllers >
--- 3. Choose the node you want to bootstrap and run mysqld_safe with --wsrep-new-cluster: