After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 238 of 317

In the Datacenter 228 4. We now need to ensure the galera user can execute commands using sudo without being asked for a password. To do this, we execute the following on all nodes: echo "galera ALL=(ALL:ALL) NOPASSWD:ALL" | sudo tee -a /etc/sudoers.d/galera # Then fix the permissions to prevent future warnings sudo chmod 0440 /etc/sudoers.d/galera Installation 1. From the e-mail that has been sent, download the attached gzipped tarball, and copy it over to the first of our nodes that we specified in the configuration as the ClusterControl Server (for example, 172.16.0.20). 2. Log in to the ClusterControl Server as the OS user specified in step 2 of the MySQL and Galera Configuration section (for example, galera): ssh galera@172.16.0.20 3. Unpack the tarball copied over and change to the install directory in the unpacked archive, as follows: tar zxf s9s-galera-2.0.0.tar.gz cd s9s-galera-2.0.0/mysql/scripts/install 4. Once in this directory, we simply execute the deploy.sh script: bash ./deploy.sh 2>&1 |tee cc.log 5. A question will be asked regarding the ability to shell to each node. Answer Y to this. Installation will then continue, which will configure MySQL with Galera as well as cmon, to monitor the environment. 6. After a period of time, once installation has completed, we point our web browser to the ClusterControl server to finalize the setup at the address specified, for example, http://172.16.0.20/cmon/setup.php, and change the cmon server listening address to be 172.16.0.20. Configuration of database cluster for OpenStack 1. Once the cluster has been set up, we can now create the databases, users, and privileges required for our OpenStack environment, as we would do for any other OpenStack installation. To do this, we can use the web administration interface provided by the SeveralNines' ClusterControl interface. 2. The first step is to point your web browser to the ClusterControl server dashboard, for example, http://172.16.0.20/cmon/. 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