Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "command": "create_cluster",
- "job_data": {
- "api_id": "1",
- "cluster_name": "",
- "cluster_type": "galera",
- "data_center": 0,
- "disable_firewall": true,
- "disable_selinux": true,
- "enable_mysql_uninstall": true,
- "generate_token": true,
- "mysql_cnf_template": "my.cnf.galera",
- "mysql_datadir": "/var/lib/mysql",
- "mysql_password": "mysql",
- "mysql_port": "3306",
- "mysql_version": "5.6",
- "nodes": [
- {
- "hostname": "10.133.32.67",
- "hostname_data": "10.133.32.67",
- "hostname_internal": "",
- "port": "3306"
- },
- {
- "hostname": "10.133.32.154",
- "hostname_data": "10.133.32.154",
- "hostname_internal": "",
- "port": "3306"
- },
- {
- "hostname": "10.133.34.74",
- "hostname_data": "10.133.34.74",
- "hostname_internal": "",
- "port": "3306"
- }
- ],
- "software_package": "",
- "ssh_keyfile": "/root/.ssh/id_rsa",
- "ssh_port": "22",
- "ssh_user": "root",
- "sudo_password": "",
- "type": "mysql",
- "user_id": 1,
- "vendor": "percona"
- }
- }
- Messages
- Copy to clipboard
- [14:15:08]: 10.133.32.154: Installing percona-xtrabackup.
- [14:15:08]: 10.133.32.154: Installing percona-toolkit.
- [14:15:08]: 10.133.32.154: Installing percona-xtradb-cluster-galera-3.x.
- [14:15:08]: 10.133.32.154: Installing percona-xtradb-cluster-5.6.
- [14:15:08]: 10.133.32.154: Installing percona (galera) on debian.
- [14:15:08]: 10.133.32.154:3306: Proceeding.
- [14:15:08]: 10.133.32.154:3306: Waiting for dpkg lock.
- [14:15:08]: 10.133.32.154:3306: Installing the MySQL packages.
- [14:15:07]: 10.133.32.154:3306: Prepare MySQL environment (user/group).
- [14:15:07]: 10.133.32.154:3306: Cleaning old MySql packages: successfully removed packages.
- [14:14:41]: 10.133.32.154:3306: Removing old MySQL packages from the host.
- [14:14:23]: 10.133.32.154: Using external repositories.
- [14:14:23]: 10.133.32.154:3306: Total disk space: 30110 MB.
- [14:14:23]: 10.133.32.154:3306: Detected free disk space: 27193 MB.
- [14:14:23]: 10.133.32.154:3306: Checking free-disk space of '/var/lib/mysql'.
- [14:14:23]: 10.133.32.154:3306: Detected memory: 992 MB.
- [14:14:23]: 10.133.32.154:3306: Detecting total memory.
- [14:14:23]: 10.133.32.154:3306: mysql_server_id is not specified in the job, using '1'.
- [14:14:23]: 10.133.32.154:3306: Using template 'my.cnf.galera'.
- [14:14:23]: 10.133.32.154:3306: vendor='ubuntu' release='trusty' type='debian'.
- [14:14:23]: Cluster type is 'galera'.
- [14:14:23]: Using skip_name_resolve as all servers are defined by IP.
- [14:14:23]: 10.133.32.154: Verifying helper packages (checking 'socat').
- [14:14:23]: 10.133.32.154: Finished with helper packages.
- [14:14:16]: 10.133.32.154: Installing augeas-tools.
- [14:14:14]: 10.133.32.154: Installing bzip2.
- [14:14:12]: 10.133.32.154: Installing libmecab2.
- [14:14:11]: 10.133.32.154: Installing libnuma1.
- [14:14:08]: 10.133.32.154: Installing pigz.
- [14:14:06]: 10.133.32.154: Installing curl.
- [14:14:05]: 10.133.32.154: Installing wget.
- [14:14:02]: 10.133.32.154: Installing libdbd-mysql-perl.
- [14:13:59]: 10.133.32.154: Installing libssl1.0.0.
- [14:13:56]: 10.133.32.154: Installing lsb-release.
- [14:13:54]: 10.133.32.154: Installing socat.
- [14:13:53]: 10.133.32.154: Installing netcat-openbsd.
- [14:13:50]: 10.133.32.154: Installing netcat.
- [14:13:48]: 10.133.32.154: Installing libaio1.
- [14:13:47]: 10.133.32.154: Installing rsync.
- [14:13:45]: 10.133.32.154: Installing psmisc.
- [14:13:31]: 10.133.32.154: Proceeding.
- [14:13:31]: 10.133.32.154: Waiting for dpkg lock.
- [14:13:31]: 10.133.32.154: Installing helper packages.
- [14:13:31]: 10.133.32.154: Setting vm.swappiness = 1.
- [14:13:31]: 10.133.32.154: Tuning OS parameters.
- [14:13:30]: 10.133.32.154: Disabling firewall.
- [14:13:30]: 10.133.32.154: Checking SELinux status (enabled = false).
- [14:13:30]: 10.133.32.154: Check and disable AppArmor.
- [14:13:30]: Calling job: setupServer(10.133.32.154:3306).
- [14:13:30]: Generated & set RPC authentication token.
- [14:13:29]: Wait until cluster-1 starts up.
- [14:13:29]: Registering the cluster on the web UI.
- [14:13:29]: Sending SIGHUP to the controller process.
- [14:13:29]: Configuration written to '/etc/cmon.d/cmon_1.cnf'.
- [14:13:29]: Generating configuration for cluster cluster_1.
- [14:13:29]: Generating and writing the new configuration.
- [14:13:29]: 10.133.32.67:3306: Detected OS = 'debian'
- [14:13:29]: 10.133.32.67: Detecting the OS.
- [14:13:29]: 10.133.32.67:3306: The datadir is /var/lib/mysql/.
- [14:13:29]: Connected succesfully: 'cmon@178.62.207.95' -> '10.133.32.67:3306:0'.
- [14:13:24]: Granting controller 'cmon'@'10.133.27.126' on '10.133.32.67' (host was not allowed to connect).
- [14:13:24]: Determining data directories.
- [14:13:22]: 10.133.32.67: granting 'backupuser'.
- [14:13:21]: 10.133.32.67: granting cmon.
- [14:13:21]: 10.133.32.67:3306: Node is synced.
- [14:13:21]: Granting controller (178.62.207.95).
- [14:13:20]: Detected that skip_name_resolve is used on the target server(s).
- [14:13:20]: Check SELinux statuses.
- [14:13:20]: 10.133.32.67: Access with ssh/sudo granted.
- [14:13:19]: 10.133.32.67: Checking ssh/sudo.
- [14:13:19]: Checking that nodes are not in another cluster.
- [14:13:19]: Found in total 1 nodes.
- [14:13:19]: Found node: '10.133.32.67'
- [14:13:19]: 10.133.32.67: Got empty wsrep_node_address status variable.
- [14:13:19]: 10.133.32.67: Checking wsrep_node_address.
- [14:13:19]: 10.133.32.67: Creating and starting a cluster using first node.
- [14:13:18]: 10.133.32.67:3306: Verifying the MySQL user/password.
- [14:13:18]: Adding existing MySQL cluster.
- [14:13:18]: Verifying controller host and cmon password.
- [14:13:18]: Adding cluster with type 'galera', vendor 'percona'.
- [14:13:18]: 10.133.32.67:3306: Executing SET GLOBAL rpl_semi_sync_slave_enabled=1
- [14:13:18]: 10.133.32.67:3306: Executing INSTALL PLUGIN rpl_semi_sync_slave SONAME 'semisync_slave.so';
- [14:13:17]: 10.133.32.67:3306: Executing SET GLOBAL rpl_semi_sync_master_timeout =1000
- [14:13:17]: 10.133.32.67:3306: Executing SET GLOBAL rpl_semi_sync_master_enabled=1
- [14:13:16]: 10.133.32.67:3306: Executing INSTALL PLUGIN rpl_semi_sync_master SONAME 'semisync_master.so';
- [14:13:15]: 10.133.32.67:3306: Secured installation.
- [14:13:15]: 10.133.32.67:3306: Executing FLUSH PRIVILEGES
- [14:13:15]: 10.133.32.67:3306: Executing DROP DATABASE IF EXISTS test
- [14:13:15]: 10.133.32.67:3306: Executing DELETE FROM mysql.user WHERE User='root' AND Password=''
- [14:13:14]: 10.133.32.67:3306: Executing DELETE FROM mysql.user WHERE User='root' AND Host NOT IN ('localhost', '127.0.0.1', '::1')
- [14:13:13]: 10.133.32.67:3306: Executing DELETE FROM mysql.user WHERE User=''
- [14:13:13]: 10.133.32.67:3306: Securing installation.
- [14:13:13]: 10.133.32.67:3306: MySQL is installed and started.
- [14:13:12]: 10.133.32.67:3306: Grant addresses: 178.62.207.95
- [14:13:12]: 10.133.32.67:3306: GRANT cmon.
- [14:13:06]: 10.133.32.67:3306: Setting the MySQL root password.
- [14:13:06]: 10.133.32.67: Started MySQL daemon.
- [14:12:55]: 10.133.32.67: This may take a while to initialize.
- [14:12:55]: 10.133.32.67: (service='mysql', vendor='percona', OS=['ubuntu', '14.04']).
- [14:12:55]: 10.133.32.67: Starting MySQL daemon.
- [14:12:54]: 10.133.32.67:3306: Searching and removing '/usr/my.cnf'.
- [14:12:49]: 10.133.32.67: Updating the /etc/mysql/debian.cnf file.
- [14:12:49]: 10.133.32.67:3306: Installed MySQL system tables.
- [14:12:40]: 10.133.32.67:3306: Installing MySQL system tables.
- [14:12:38]: 10.133.32.67:3306: Uploading the generated my.cnf.
- [14:12:38]: 10.133.32.67:3306: Preparation of the MySQL configuration file.
- [14:12:38]: 10.133.32.67:3306: percona-xtrabackup 2.3 is installed.
- [14:12:38]: 10.133.32.67:3306: Verifying the xtrabackup installation.
- [14:12:33]: 10.133.32.67:3306: Verifying the MySQL installation.
- [14:11:55]: 10.133.32.67: Installing percona-xtrabackup.
- [14:11:55]: 10.133.32.67: Installing percona-toolkit.
- [14:11:55]: 10.133.32.67: Installing percona-xtradb-cluster-galera-3.x.
- [14:11:55]: 10.133.32.67: Installing percona-xtradb-cluster-5.6.
- [14:11:55]: 10.133.32.67: Installing percona (galera) on debian.
- [14:11:55]: 10.133.32.67:3306: Proceeding.
- [14:11:55]: 10.133.32.67:3306: Waiting for dpkg lock.
- [14:11:55]: 10.133.32.67:3306: Installing the MySQL packages.
- [14:11:53]: 10.133.32.67:3306: Prepare MySQL environment (user/group).
- [14:11:53]: 10.133.32.67:3306: Cleaning old MySql packages: successfully removed packages.
- [14:11:29]: 10.133.32.67:3306: Removing old MySQL packages from the host.
- [14:11:07]: 10.133.32.67: Using external repositories.
- [14:11:07]: 10.133.32.67:3306: Total disk space: 30110 MB.
- [14:11:07]: 10.133.32.67:3306: Detected free disk space: 27193 MB.
- [14:11:07]: 10.133.32.67:3306: Checking free-disk space of '/var/lib/mysql'.
- [14:11:07]: 10.133.32.67:3306: Detected memory: 992 MB.
- [14:11:07]: 10.133.32.67:3306: Detecting total memory.
- [14:11:06]: 10.133.32.67:3306: mysql_server_id is not specified in the job, using '1'.
- [14:11:06]: 10.133.32.67:3306: Using template 'my.cnf.galera'.
- [14:11:06]: 10.133.32.67:3306: vendor='ubuntu' release='trusty' type='debian'.
- [14:11:06]: Cluster type is 'galera'.
- [14:11:06]: Using skip_name_resolve as all servers are defined by IP.
- [14:11:06]: 10.133.32.67: Verifying helper packages (checking 'socat').
- [14:11:06]: 10.133.32.67: Finished with helper packages.
- [14:10:58]: 10.133.32.67: Installing augeas-tools.
- [14:10:57]: 10.133.32.67: Installing bzip2.
- [14:10:55]: 10.133.32.67: Installing libmecab2.
- [14:10:53]: 10.133.32.67: Installing libnuma1.
- [14:10:51]: 10.133.32.67: Installing pigz.
- [14:10:49]: 10.133.32.67: Installing curl.
- [14:10:47]: 10.133.32.67: Installing wget.
- [14:10:44]: 10.133.32.67: Installing libdbd-mysql-perl.
- [14:10:41]: 10.133.32.67: Installing libssl1.0.0.
- [14:10:39]: 10.133.32.67: Installing lsb-release.
- [14:10:36]: 10.133.32.67: Installing socat.
- [14:10:35]: 10.133.32.67: Installing netcat-openbsd.
- [14:10:33]: 10.133.32.67: Installing netcat.
- [14:10:32]: 10.133.32.67: Installing libaio1.
- [14:10:30]: 10.133.32.67: Installing rsync.
- [14:10:29]: 10.133.32.67: Installing psmisc.
- [14:10:14]: 10.133.32.67: Proceeding.
- [14:10:13]: 10.133.32.67: Waiting for dpkg lock.
- [14:10:13]: 10.133.32.67: Installing helper packages.
- [14:10:13]: 10.133.32.67: Setting vm.swappiness = 1.
- [14:10:13]: 10.133.32.67: Tuning OS parameters.
- [14:10:12]: 10.133.32.67: Disabling firewall.
- [14:10:12]: 10.133.32.67: Checking SELinux status (enabled = false).
- [14:10:12]: 10.133.32.67: Check and disable AppArmor.
- [14:10:12]: Calling job: setupServer(10.133.32.67:3306).
- [14:10:12]: 10.133.34.74:3306: Checking if host already exists in some other cluster.
- [14:10:12]: 10.133.32.154:3306: Checking if host already exists in some other cluster.
- [14:10:12]: 10.133.32.67:3306: Checking if host already exists in some other cluster.
- [14:10:12]: All 3 hosts are accessible by SSH.
- [14:10:12]: 10.133.34.74: Access with ssh/sudo granted.
- [14:10:11]: 10.133.32.154: Access with ssh/sudo granted.
- [14:10:10]: 10.133.32.67: Access with ssh/sudo granted.
- [14:10:10]: Checking ssh/sudo on 3 hosts.
- [14:10:10]: Verifying job parameters.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement