After Deprec

openstack_cloud_computing_cookbook

Issue link: https://read.uberflip.com/i/1334488

Contents of this Issue

Navigation

Page 236 of 317

In the Datacenter 226 How to do it... To cluster MySQL using Galera, carry out the following steps: MySQL and Galera configuration 1. We first use a web browser from our desktop and head over to http://www. severalnines.com/galera-configurator/, where we will input some information about our environment to produce the script required to install our Galera-based MySQL cluster. This is a third-party service asking for details pertinent to our environment. Do not include passwords for the environment that this will be deployed to. The process downloads scripts and configuration files that should be edited to suit before execution with real settings. 2. The first screen asks for general settings, as follows: Cloud Provider: none/on-premise Operating System: Ubuntu/Debian Platform: Linux 64-bit (x86_64) Number of Galera Servers: 3+1 MySQL Server password (root user): openstack Port Number: 3306 Config directory: /etc/ OS User: galera CMON DB password (cmon user): cmon 3. Next, we'll configure server properties (configure as appropriate): System Memory (MySQL Servers): (at least 512Mb) WAN: no Skip DNS Resolve: yes Database Size < 8Gb MySQL Usage: Medium write/high read Number of cores: 2 Innodb_buffer_pool_size: (at least 358) Mb Innodb_file_per_table: checked 4. Next, we'll configure the nodes and addresses, as follows: ClusterControl Server: 172.16.0.20 System Memory: (at least 512Mb) Datadir: Installdir: /usr/local www.it-ebooks.info

Articles in this issue

Links on this page

Archives of this issue

view archives of After Deprec - openstack_cloud_computing_cookbook