[!p[?3;4l>7trying to ping 10.1.20.758trying to ssh_keyscan 10.1.20.75: [ok] [!p[?3;4l>7trying to ping 10.1.20.768trying to ssh_keyscan 10.1.20.76: [ok] [!p[?3;4l>7trying to ping 10.1.20.778trying to ssh_keyscan 10.1.20.77: [ok] trying to ssh_keyscan 10.1.20.72: [ok] Can you SSH from this host to all other hosts without password? Choosing 'n' will allow you to setup shared keys. (y/n - default 'n'): This script will overwrite the existing authorized_keys (if you have one) - press any key to continue - CTRL-C to abortThis script will setup shared ssh keys on the machines in your cluster. You will be able to ssh from this computer to the other computers without passwords. Make sure that 'sshd' is installed and running on the computers (e.g 'sudo apt-get install openssh-server'). The ssh key will be appended to .ssh/authorized_keys on the hosts 1. generate the public key using 'ssh-keygen -t rsa'. on the first question, then provide a password If a public key alread exist, don't overwrite it (answer no) as it will be used instead then. Press any key to continueEnter file in which to save the key (/root/.ssh/id_rsa): Generating public/private rsa key pair. /root/.ssh/id_rsa already exists. Overwrite (y/n)? 2. copying /root/.ssh/id_rsa.pub copying to host '10.1.20.75' copying to host '10.1.20.76' copying to host '10.1.20.77' copying to host '10.1.20.72' 3. Verify that it works by doing ssh root@10.1.20.72 Redhat/Centos/Fedora detected - do you want to set SELinux to Permissive mode? ** IF YOU HAVE SELinux == disabled ON ALL HOSTS PRESS 'n' AND IGNORE THE WARNING. ** (you can set SELinux to Enforcing again later if you want) - (y/n - default 'y'): 10.1.20.75: Executing 'echo '0' > /selinux/enforce '[ok] 10.1.20.75: Executing 'sed -i.bak 's#SELINUX=enforcing#SELINUX=permissive#g' /etc/selinux/config'[ok] 10.1.20.76: Executing 'echo '0' > /selinux/enforce '[ok] 10.1.20.76: Executing 'sed -i.bak 's#SELINUX=enforcing#SELINUX=permissive#g' /etc/selinux/config'[ok] 10.1.20.77: Executing 'echo '0' > /selinux/enforce '[ok] 10.1.20.77: Executing 'sed -i.bak 's#SELINUX=enforcing#SELINUX=permissive#g' /etc/selinux/config'[ok] 10.1.20.72: Executing 'echo '0' > /selinux/enforce '[ok] 10.1.20.72: Executing 'sed -i.bak 's#SELINUX=enforcing#SELINUX=permissive#g' /etc/selinux/config'[ok] Do you want to uninstall previously installed RPMs that this package will install? (y/n - default 'y'): Severalnines: Uninstalling RPMs Severalnines: Uninstalling RPMs for mysql servers Severalnines: Uninstalling RPMs on 10.1.20.75 10.1.20.75: Executing 'killall -9 cmon mysqld mysqld_safe'[ok] 10.1.20.75: Executing 'rpm -e `rpm -qa | grep -i mysql`'[ok] 10.1.20.75: Executing 'rpm -e `rpm -qa | grep -i cmon`'[ok] 10.1.20.75: Executing 'rpm -e galera'[ok] Severalnines: Uninstall on 10.1.20.75 completed Severalnines: Uninstalling RPMs on 10.1.20.76 10.1.20.76: Executing 'killall -9 cmon mysqld mysqld_safe'[ok] 10.1.20.76: Executing 'rpm -e `rpm -qa | grep -i mysql`'[ok] 10.1.20.76: Executing 'rpm -e `rpm -qa | grep -i cmon`'[ok] 10.1.20.76: Executing 'rpm -e galera'[ok] Severalnines: Uninstall on 10.1.20.76 completed Severalnines: Uninstalling RPMs on 10.1.20.77 10.1.20.77: Executing 'killall -9 cmon mysqld mysqld_safe'[ok] 10.1.20.77: Executing 'rpm -e `rpm -qa | grep -i mysql`'[ok] 10.1.20.77: Executing 'rpm -e `rpm -qa | grep -i cmon`'[ok] 10.1.20.77: Executing 'rpm -e galera'[ok] Severalnines: Uninstall on 10.1.20.77 completed Severalnines: Uninstalling RPMs for mysql servers Severalnines: Uninstalling RPMs on 10.1.20.72 10.1.20.72: Executing 'rpm -e `rpm -qa | grep -i mysql`'[ok] 10.1.20.72: Executing 'rpm -e `rpm -qa | grep -i cmon`'[ok] 10.1.20.72: Executing 'rpm -e galera'[ok] Severalnines: Uninstall on 10.1.20.72 completed Severalnines: Uninstallation completed 10.1.20.75: Verifying platform. Found 'x86_64', configured 'x86_64'[ok] 10.1.20.76: Verifying platform. Found 'x86_64', configured 'x86_64'[ok] 10.1.20.77: Verifying platform. Found 'x86_64', configured 'x86_64'[ok] Severalnines: Downloading RPMs for Galera and storing them in /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo/ Severalnines: Downloading MySQL RPM packages for ClusterControl and storing them in /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo/ Severalnines: (this may take a moment) Filed MySQL-server-5.5.18-1.rhel5.x86_64.rpm already exists Filed MySQL-client-5.5.18-1.rhel5.x86_64.rpm already exists Filed MySQL-shared-5.5.18-1.rhel5.x86_64.rpm already exists Filed MySQL-shared-compat-5.5.18-1.rhel5.x86_64.rpm already exists Filed MySQL-devel-5.5.18-1.rhel5.x86_64.rpm already exists Filed cmon-agent-1.1.12-1.x86_64.rpm already exists Filed cmon-controller-1.1.12-1.x86_64.rpm already exists Filed cmon-www-1.1.12-1.noarch.rpm already exists Filed cmon_db-1.1.12.sql already exists Filed cmon_data-1.1.12.sql already exists Severalnines: Installing rpm packages for galera Severalnines: Installing galera on 10.1.20.75 10.1.20.75: Executing 'killall -9 mysqld mysqld_safe cmon ndbd ndbmtd'[ok] 10.1.20.75: Executing '/usr/sbin/groupadd mysql'[ok] 10.1.20.75: Executing '/usr/sbin/useradd mysql -g mysql'[ok] 10.1.20.75: Executing 'rm -rf /var/lib/mysql'[ok] 10.1.20.75: Executing 'rm -rf /tmp/mysql.sock'[ok] 10.1.20.75: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.75: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.75: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.75: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.75: Executing 'yum -y install libaio' [ok] 10.1.20.75: Executing 'yum -y install wget rsync'[ok] 10.1.20.75: Executing 'yum -y install openssl098e'[ok] 10.1.20.75: Executing 'rm -rf /etc/mysql'[ok] 10.1.20.75: Executing 'rm -rf /etc/my.cnf'[ok] 10.1.20.75: Executing 'mkdir -p /etc//'[ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Copying '../../config/my.cnf' [ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Executing 'mv /tmp/my.cnf /etc///' [ok] 10.1.20.75: Executing 'sync' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//galera-22.1.1-1.rhel5.x86_64.rpm to 10.1.20.75 10.1.20.75: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//galera-22.1.1-1.rhel5.x86_64.rpm' [ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Executing 'rpm -Uvh /tmp/galera-22.1.1-1.rhel5.x86_64.rpm' [ok] 10.1.20.75: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.75 10.1.20.75: Executing 'rm -f /tmp/galera-22.1.1-1.rhel5.x86_64.rpm' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm to 10.1.20.75 10.1.20.75: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Executing 'rpm -Uvh /tmp/MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] 10.1.20.75: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.75 10.1.20.75: Executing 'rm -f /tmp/MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-client-5.5.18-1.rhel5.x86_64.rpm to 10.1.20.75 10.1.20.75: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Executing 'rpm -Uvh /tmp/MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.75: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.75 10.1.20.75: Executing 'rm -f /tmp/MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.75: Executing 'sed -ibak "s#\#wsrep_sst_receive_address=.*#wsrep_sst_receive_address=10.1.20.75#g" /etc///my.cnf' [ok] 10.1.20.75: Checking if '/usr/sbin//mysqld' exists [ok] 10.1.20.75: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.75: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] Cluster: Installation on 10.1.20.75 completed Severalnines: Installing galera on 10.1.20.76 10.1.20.76: Executing 'killall -9 mysqld mysqld_safe cmon ndbd ndbmtd'[ok] 10.1.20.76: Executing '/usr/sbin/groupadd mysql'[ok] 10.1.20.76: Executing '/usr/sbin/useradd mysql -g mysql'[ok] 10.1.20.76: Executing 'rm -rf /var/lib/mysql'[ok] 10.1.20.76: Executing 'rm -rf /tmp/mysql.sock'[ok] 10.1.20.76: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.76: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.76: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.76: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.76: Executing 'yum -y install libaio' [ok] 10.1.20.76: Executing 'yum -y install wget rsync'[ok] 10.1.20.76: Executing 'yum -y install openssl098e'[ok] 10.1.20.76: Executing 'rm -rf /etc/mysql'[ok] 10.1.20.76: Executing 'rm -rf /etc/my.cnf'[ok] 10.1.20.76: Executing 'mkdir -p /etc//'[ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Copying '../../config/my.cnf' [ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Executing 'mv /tmp/my.cnf /etc///' [ok] 10.1.20.76: Executing 'sync' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//galera-22.1.1-1.rhel5.x86_64.rpm to 10.1.20.76 10.1.20.76: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//galera-22.1.1-1.rhel5.x86_64.rpm' [ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Executing 'rpm -Uvh /tmp/galera-22.1.1-1.rhel5.x86_64.rpm' [ok] 10.1.20.76: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.76 10.1.20.76: Executing 'rm -f /tmp/galera-22.1.1-1.rhel5.x86_64.rpm' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm to 10.1.20.76 10.1.20.76: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Executing 'rpm -Uvh /tmp/MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] 10.1.20.76: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.76 10.1.20.76: Executing 'rm -f /tmp/MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-client-5.5.18-1.rhel5.x86_64.rpm to 10.1.20.76 10.1.20.76: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Executing 'rpm -Uvh /tmp/MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.76: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.76 10.1.20.76: Executing 'rm -f /tmp/MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.76: Executing 'sed -ibak "s#\#wsrep_sst_receive_address=.*#wsrep_sst_receive_address=10.1.20.76#g" /etc///my.cnf' [ok] 10.1.20.76: Checking if '/usr/sbin//mysqld' exists [ok] 10.1.20.76: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.76: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] Cluster: Installation on 10.1.20.76 completed Severalnines: Installing galera on 10.1.20.77 10.1.20.77: Executing 'killall -9 mysqld mysqld_safe cmon ndbd ndbmtd'[ok] 10.1.20.77: Executing '/usr/sbin/groupadd mysql'[ok] 10.1.20.77: Executing '/usr/sbin/useradd mysql -g mysql'[ok] 10.1.20.77: Executing 'rm -rf /var/lib/mysql'[ok] 10.1.20.77: Executing 'rm -rf /tmp/mysql.sock'[ok] 10.1.20.77: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.77: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.77: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.77: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.77: Executing 'yum -y install libaio' [ok] 10.1.20.77: Executing 'yum -y install wget rsync'[ok] 10.1.20.77: Executing 'yum -y install openssl098e'[ok] 10.1.20.77: Executing 'rm -rf /etc/mysql'[ok] 10.1.20.77: Executing 'rm -rf /etc/my.cnf'[ok] 10.1.20.77: Executing 'mkdir -p /etc//'[ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Copying '../../config/my.cnf' [ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Executing 'mv /tmp/my.cnf /etc///' [ok] 10.1.20.77: Executing 'sync' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//galera-22.1.1-1.rhel5.x86_64.rpm to 10.1.20.77 10.1.20.77: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//galera-22.1.1-1.rhel5.x86_64.rpm' [ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Executing 'rpm -Uvh /tmp/galera-22.1.1-1.rhel5.x86_64.rpm' [ok] 10.1.20.77: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.77 10.1.20.77: Executing 'rm -f /tmp/galera-22.1.1-1.rhel5.x86_64.rpm' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm to 10.1.20.77 10.1.20.77: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Executing 'rpm -Uvh /tmp/MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] 10.1.20.77: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.77 10.1.20.77: Executing 'rm -f /tmp/MySQL-server-5.5.17_wsrep_22.3-1.rhel5.x86_64.rpm' [ok] Severalnines: Copying /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-client-5.5.18-1.rhel5.x86_64.rpm to 10.1.20.77 10.1.20.77: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Executing 'rpm -Uvh /tmp/MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.77: Executing 'sync' [ok] Cluster: Cleaning up /tmp files on 10.1.20.77 10.1.20.77: Executing 'rm -f /tmp/MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.77: Executing 'sed -ibak "s#\#wsrep_sst_receive_address=.*#wsrep_sst_receive_address=10.1.20.77#g" /etc///my.cnf' [ok] 10.1.20.77: Checking if '/usr/sbin//mysqld' exists [ok] 10.1.20.77: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.77: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] Cluster: Installation on 10.1.20.77 completed Severalnines: Installing RPMs on 10.1.20.72 10.1.20.72: Executing 'yum -y install libaio'[ok] 10.1.20.72: Executing 'rm -rf /etc/mysql'[ok] 10.1.20.72: Executing 'rm -rf /etc/my.cnf'[ok] Severalnines: Copying RPM /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-server-5.5.18-1.rhel5.x86_64.rpm to 10.1.20.72 10.1.20.72: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-server-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.72: Executing 'sync' [ok] 10.1.20.72: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.72: Executing 'rpm -Uvh /tmp/MySQL-server-5.5.18-1.rhel5.x86_64.rpm'[ok] Severalnines: Cleaning up /tmp files on 10.1.20.72 10.1.20.72: Executing 'rm -f /tmp/MySQL-server-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.72: Executing 'sync' [ok] Severalnines: Copying RPM /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-client-5.5.18-1.rhel5.x86_64.rpm to 10.1.20.72 10.1.20.72: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.72: Executing 'sync' [ok] 10.1.20.72: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.72: Executing 'rpm -Uvh /tmp/MySQL-client-5.5.18-1.rhel5.x86_64.rpm'[ok] Severalnines: Cleaning up /tmp files on 10.1.20.72 10.1.20.72: Executing 'rm -f /tmp/MySQL-client-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.72: Executing 'sync' [ok] Severalnines: Copying RPM /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-shared-compat-5.5.18-1.rhel5.x86_64.rpm to 10.1.20.72 10.1.20.72: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-shared-compat-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.72: Executing 'sync' [ok] 10.1.20.72: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.72: Executing 'rpm -Uvh /tmp/MySQL-shared-compat-5.5.18-1.rhel5.x86_64.rpm'[ok] Severalnines: Cleaning up /tmp files on 10.1.20.72 10.1.20.72: Executing 'rm -f /tmp/MySQL-shared-compat-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.72: Executing 'sync' [ok] Severalnines: Copying RPM /root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-devel-5.5.18-1.rhel5.x86_64.rpm to 10.1.20.72 10.1.20.72: Copying '/root/s9s-galera-1.1.0-rpm/mysql/scripts/install/../../repo//MySQL-devel-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.72: Executing 'sync' [ok] 10.1.20.72: Executing 'rm -rf /var/lib/mysql/RPM_UPGRADE_MARKER'[ok] 10.1.20.72: Executing 'rpm -Uvh /tmp/MySQL-devel-5.5.18-1.rhel5.x86_64.rpm'[ok] Severalnines: Cleaning up /tmp files on 10.1.20.72 10.1.20.72: Executing 'rm -f /tmp/MySQL-devel-5.5.18-1.rhel5.x86_64.rpm' [ok] 10.1.20.72: Executing 'sync' [ok] 10.1.20.72: Checking if '/usr/sbin//mysqld' exists [ok] 10.1.20.72: Checking if '/usr/bin//mysql' exists [ok] Severalnines: Installation on 10.1.20.72 completed MySQL: Installation completed You have to run 'bootstrap.sh' now if this is the first time you install MySQL. ******************************************************************************* * Bootstrapping * ******************************************************************************* Run this script only the first time you install the MySQL Servers. The script will: - clear (if dir exists) and create datadirs on - create the 'mysql' user on - create install/.s9s/xyz_hostname files used by the scripts (overwrites existing ones) Installing init.d scripts Killing mysqld and mysqld_safe on 10.1.20.75 10.1.20.75: Executing 'killall -9 mysqld_safe mysqld cmon'[ok] Removing datadir on 10.1.20.75 10.1.20.75: Executing 'rm -rf /var/lib/mysql'[ok] Killing mysqld and mysqld_safe on 10.1.20.76 10.1.20.76: Executing 'killall -9 mysqld_safe mysqld cmon'[ok] Removing datadir on 10.1.20.76 10.1.20.76: Executing 'rm -rf /var/lib/mysql'[ok] Killing mysqld and mysqld_safe on 10.1.20.77 10.1.20.77: Executing 'killall -9 mysqld_safe mysqld cmon'[ok] Removing datadir on 10.1.20.77 10.1.20.77: Executing 'rm -rf /var/lib/mysql'[ok] 10.1.20.72: Executing 'killall -9 mysqld_safe mysqld cmon'[ok] Could not find /sbin/chkconfig - change path in .s9s/config 10.1.20.75: Executing 'killall -9 mysqld_safe mysqld cmon'[ok] 10.1.20.75: Verifying mysqld is not started: [ok] Creating mysql datadirs in /var/lib/mysql if not already exists ... 10.1.20.75: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.75: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.75: Executing 'mkdir -p /etc//' [ok] 10.1.20.75: Executing 'sync' [ok] Installing mysql (galera) server on 10.1.20.75 ... 10.1.20.75: Executing '/usr//bin/mysql_install_db --defaults-file=/etc///my.cnf --force --datadir=/var/lib/mysql --basedir=/usr/'Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr//bin/mysqladmin -u root password 'new-password' /usr//bin/mysqladmin -u root -h password 'new-password' Alternatively you can run: /usr//bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr/ ; /usr//bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr//mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr//scripts/mysqlbug script! [ok] 10.1.20.75: Checking if '/var/lib/mysql/mysql' exists [ok] 10.1.20.75: Checking if '/var/lib/mysql/test' exists [ok] 10.1.20.75: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.75: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.75: Executing '/etc/init.d/mysql start' [ok] Performing alive check of 10.1.20.75 Managed to ping mysqld - mysqld on 10.1.20.75 is alive Setting 'root' password on 10.1.20.75 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysqladmin --defaults-file=/etc///my.cnf -u root password '*PASSWD*'' [ok] 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.75' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.75: Executing 'sync' [ok] 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.75' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.76' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.77' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.75: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.76: Executing 'killall -9 mysqld_safe mysqld cmon'[ok] 10.1.20.76: Verifying mysqld is not started: [ok] Creating mysql datadirs in /var/lib/mysql if not already exists ... 10.1.20.76: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.76: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.76: Executing 'mkdir -p /etc//' [ok] 10.1.20.76: Executing 'sync' [ok] Installing mysql (galera) server on 10.1.20.76 ... 10.1.20.76: Executing '/usr//bin/mysql_install_db --defaults-file=/etc///my.cnf --force --datadir=/var/lib/mysql --basedir=/usr/'Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr//bin/mysqladmin -u root password 'new-password' /usr//bin/mysqladmin -u root -h password 'new-password' Alternatively you can run: /usr//bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr/ ; /usr//bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr//mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr//scripts/mysqlbug script! [ok] 10.1.20.76: Checking if '/var/lib/mysql/mysql' exists [ok] 10.1.20.76: Checking if '/var/lib/mysql/test' exists [ok] 10.1.20.76: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.76: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.76: Executing '/etc/init.d/mysql start' [ok] Performing alive check of 10.1.20.76 Managed to ping mysqld - mysqld on 10.1.20.76 is alive Setting 'root' password on 10.1.20.76 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysqladmin --defaults-file=/etc///my.cnf -u root password '*PASSWD*'' [ok] 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.76' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.76: Executing 'sync' [ok] 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.75' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.76' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.77' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.76: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.77: Executing 'killall -9 mysqld_safe mysqld cmon'[ok] 10.1.20.77: Verifying mysqld is not started: [ok] Creating mysql datadirs in /var/lib/mysql if not already exists ... 10.1.20.77: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.77: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.77: Executing 'mkdir -p /etc//' [ok] 10.1.20.77: Executing 'sync' [ok] Installing mysql (galera) server on 10.1.20.77 ... 10.1.20.77: Executing '/usr//bin/mysql_install_db --defaults-file=/etc///my.cnf --force --datadir=/var/lib/mysql --basedir=/usr/'Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr//bin/mysqladmin -u root password 'new-password' /usr//bin/mysqladmin -u root -h password 'new-password' Alternatively you can run: /usr//bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr/ ; /usr//bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr//mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr//scripts/mysqlbug script! [ok] 10.1.20.77: Checking if '/var/lib/mysql/mysql' exists [ok] 10.1.20.77: Checking if '/var/lib/mysql/test' exists [ok] 10.1.20.77: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.77: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] 10.1.20.77: Executing '/etc/init.d/mysql start' [ok] Performing alive check of 10.1.20.77 Managed to ping mysqld - mysqld on 10.1.20.77 is alive Setting 'root' password on 10.1.20.77 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysqladmin --defaults-file=/etc///my.cnf -u root password '*PASSWD*'' [ok] 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.77' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'127.0.0.1' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.77: Executing 'sync' [ok] 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.75' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.76' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'root'@'10.1.20.77' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.77: Executing 'chown mysql:mysql -R /var/lib/mysql' [ok] ******************************************************************************* * Setting GRANTs on MySQL Servers * ******************************************************************************* Setting up GRANTs for MySQL Server 10.1.20.75: Executing 'sync' [ok] Performing alive check of 10.1.20.75 10.1.20.75: Executing 'sync' [ok] Managed to ping mysqld - mysqld on 10.1.20.75 is alive 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'cmon'@'127.0.0.1' IDENTIFIED BY '*PASSWD*' WITH GRANT OPTION"' [ok] 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'cmon'@'10.1.20.75' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.76: Executing 'sync' [ok] Performing alive check of 10.1.20.76 10.1.20.76: Executing 'sync' [ok] Managed to ping mysqld - mysqld on 10.1.20.76 is alive 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'cmon'@'127.0.0.1' IDENTIFIED BY '*PASSWD*' WITH GRANT OPTION"' [ok] 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'cmon'@'10.1.20.76' IDENTIFIED BY '*PASSWD*'"' [ok] 10.1.20.77: Executing 'sync' [ok] Performing alive check of 10.1.20.77 10.1.20.77: Executing 'sync' [ok] Managed to ping mysqld - mysqld on 10.1.20.77 is alive 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'cmon'@'127.0.0.1' IDENTIFIED BY '*PASSWD*' WITH GRANT OPTION"' [ok] 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql --defaults-file=/etc///my.cnf -uroot -p*PASSWD* -e "SET wsrep_on=OFF;SET SQL_LOG_BIN=0; GRANT ALL ON *.* TO 'cmon'@'10.1.20.77' IDENTIFIED BY '*PASSWD*'"' [ok] ******************************************************************************* * Enabling Galera Service * ******************************************************************************* 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql -h127.0.0.1 -P3306 -uroot -p*PASSWD* -e "SET GLOBAL wsrep_provider='/usr/lib64/galera/libgalera_smm.so'"' [ok] 10.1.20.75: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql -h127.0.0.1 -P3306 -uroot -p*PASSWD* -e "SET GLOBAL wsrep_cluster_address='gcomm://:4567'"' [ok] 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql -h127.0.0.1 -P3306 -uroot -p*PASSWD* -e "SET GLOBAL wsrep_provider='/usr/lib64/galera/libgalera_smm.so'"' [ok] 10.1.20.76: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql -h127.0.0.1 -P3306 -uroot -p*PASSWD* -e "SET GLOBAL wsrep_cluster_address='gcomm://10.1.20.75:4567'"' [ok] 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql -h127.0.0.1 -P3306 -uroot -p*PASSWD* -e "SET GLOBAL wsrep_provider='/usr/lib64/galera/libgalera_smm.so'"' [ok] 10.1.20.77: Executing 'LD_LIBRARY_PATH=/usr/lib/:/usr/lib//mysql /usr/bin//mysql -h127.0.0.1 -P3306 -uroot -p*PASSWD* -e "SET GLOBAL wsrep_cluster_address='gcomm://10.1.20.75:4567'"' [ok] ******************************************************************************* * Installing ClusterControl monitoring database * ******************************************************************************* 10.1.20.72: Executing ' yum -y install libaio '[ok] Installing mysql server on 10.1.20.72 ... 10.1.20.72: Executing 'rm -rf /var/lib/mysql'[ok] 10.1.20.72: Executing 'killall -9 mysqld mysqld_safe cmon'[ok] 10.1.20.72: Executing 'killall -9 mysqld mysqld_safe cmon'[ok] 10.1.20.72: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.72: Executing 'mkdir -p /etc//' [ok] 10.1.20.72: Executing 'mkdir -p /var/lib/mysql' [ok] 10.1.20.72: Copying '../../config/my.cnf.cmon' [ok] 10.1.20.72: Executing 'sync' [ok] 10.1.20.72: Executing 'mv /tmp/my.cnf /etc//' [ok] 10.1.20.72: Executing '/usr/sbin/groupadd mysql'[ok] 10.1.20.72: Executing '/usr/sbin/useradd mysql -g mysql'[ok] 10.1.20.72: Executing '/usr/bin/mysql_install_db --force --datadir=/var/lib/mysql --basedir=/usr/'Installing MySQL system tables... OK Filling help tables... OK To start mysqld at boot time you have to copy support-files/mysql.server to the right place for your system PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER ! To do so, start the server, then issue the following commands: /usr//bin/mysqladmin -u root password 'new-password' /usr//bin/mysqladmin -u root -h password 'new-password' Alternatively you can run: /usr//bin/mysql_secure_installation which will also give you the option of removing the test databases and anonymous user created by default. This is strongly recommended for production servers. See the manual for more instructions. You can start the MySQL daemon with: cd /usr/ ; /usr//bin/mysqld_safe & You can test the MySQL daemon with mysql-test-run.pl cd /usr//mysql-test ; perl mysql-test-run.pl Please report any problems with the /usr//scripts/mysqlbug script! [ok] 10.1.20.72: Executing 'chown -R mysql:mysql /var/lib/mysql' [ok] 10.1.20.72: Executing 'chown -R mysql:mysql /var/lib/mysql' [ok] 10.1.20.72: Checking if '/var/lib/mysql/test' exists [ok] 10.1.20.72: Checking if '/var/lib/mysql/mysql' exists [ok] 10.1.20.72: Executing '/etc/init.d/mysql start' [failed]