You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need Mariadb and Galera and optionally SCons and python depending on our installation method.
We can either compile everything and require python, scons, galera and mariadb or use the precompiled galera package from their website and rextract the libgalera_smm.so into a package in the release and only compile mariadb.
Is there a usuable binary available? NO for mariadb, yes for galera
What are the compilation requirements on target platform?
## For the galera release you also need -DWITH_WSREP=ON and -DWITH_INNODB_DISALLOW_WRITES=1.
cmake -DCMAKE_INSTALL_PREFIX:PATH=/path/to/install/location
make
make install
#alternate install option from source without requiring make install#db will run from source directory
./scripts/mysql_install_db --srcdir=$PWD --datadir=/path/to/data/dir --user=$LOGNAME
##Job Creation
How to run process? eg. start, stop, restart.Control Script? Helpful
wrapper script? ({name}_ctl)
#Starts mysql by changing to the install directory and then calling#mysqld_safe
mysql.server start
mysql.server stop
How to daemonize? mysqld_safe will daemonize automatically
How to configure pidfile? (/var/vcap/sys/run/{name})
#to create a new cluster on the master config
wsrep_cluster_address=gcomm://
#to choose a cluster to join, DNS names work as well#you simply point to the master cluster ip
wsrep_cluster_address=gcomm://xx.xx.xx.xx