After Deprec

openstack_cloud_computing_cookbook

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

Contents of this Issue

Navigation

Page 235 of 317

Chapter 11 225 # On new host (openstackX) host sudo mv /tmp/nova /etc sudo chown -R nova:nova /etc/nova 5. Finally, start up the new Compute services, as follows: sudo start nova-compute sudo start nova-api sudo start nova-network 6. To check that our new host is ready to accept new services, log in to the OpenStack Controller node, where nova-manage is available, and issue the following command: sudo nova-manage service list 7. The new host and its services, with :-) as the status, shows that the new node is ready. How it works... Scaling out OpenStack Compute using Juju is a very simple process. Manually adding in hosts is equally as straightforward, as each OpenStack host is configured with the same nova. conf configuration files. We simply install the services, configure the service (by copying over existing configuration files, as they reference the same RabbitMQ, MySQL, Keystone services, and so on), and ensure that the servers are time-synced. When we start up the services (for example, adding a row into the relevant table), they contact the supporting services, which in turn makes the other services aware of their existence. The scheduler will then take advantage of this new node to launch instances. MySQL clustering using Galera OpenStack can be backed by a number of database backends, and one of the most common options is MySQL. There are a number of ways to make MySQL more resilient and available. The following approach uses a load balancer to front a multi-read/write master with Galera, taking care of the synchronous replication required in such a setup. The advantage of this is that we are adding resilience in the event of a database node failure, as each node is getting ready. We'll be using a free online configuration tool from SeveralNines.com to configure a 3-node, multi-master MySQL setup with Galera, monitored using the free cluster management interface, cmon, using a fourth node. This implies we have four servers available, running Ubuntu (other platforms are supported) with enough memory and disk space for our environment and at least two CPUs available. 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