a4053a927d
1. Tidy up index.rst 2. Move targethosts-network.rst content to overview chapter 3. Move LXC commands section to dev docs 4. Add host layout diagrams 5. Installation workflow section - move Network ranges subsection to Network Architecture section Change-Id: Idea40a7d8f4cd9926876a57f7cfb3162c0c7dd82 Implements: blueprint osa-install-guide-overhaul
2.7 KiB
2.7 KiB
Home OpenStack-Ansible Installation Guide
Infrastructure playbooks
Figure 6.1. Installation workflow
The main Ansible infrastructure playbook installs infrastructure services and performs the following operations:
- Installs Memcached
- Installs the repository server
- Installs Galera
- Installs RabbitMQ
- Installs Rsyslog
- Configures Rsyslog
Running the infrastructure playbook
Note
Before continuing, validate the configuration files using the guidance in Checking the integrity of your configuration files.
Change to the
/opt/openstack-ansible/playbooks
directory.Run the infrastructure setup playbook:
# openstack-ansible setup-infrastructure.yml
Confirm satisfactory completion with zero items unreachable or failed:
PLAY RECAP ******************************************************************** ... deployment_host : ok=27 changed=0 unreachable=0 failed=0
Verify the database cluster
Change to the
/opt/openstack-ansible/playbooks
directory.Execute the following command to show the current cluster state:
# ansible galera_container -m shell -a "mysql \ -h localhost -e 'show status like \"%wsrep_cluster_%\";'"
Example output:
node3_galera_container-3ea2cbd3 | success | rc=0 >> Variable_name Value wsrep_cluster_conf_id 17 wsrep_cluster_size 3 wsrep_cluster_state_uuid 338b06b0-2948-11e4-9d06-bef42f6c52f1 wsrep_cluster_status Primary node2_galera_container-49a47d25 | success | rc=0 >> Variable_name Value wsrep_cluster_conf_id 17 wsrep_cluster_size 3 wsrep_cluster_state_uuid 338b06b0-2948-11e4-9d06-bef42f6c52f1 wsrep_cluster_status Primary node4_galera_container-76275635 | success | rc=0 >> Variable_name Value wsrep_cluster_conf_id 17 wsrep_cluster_size 3 wsrep_cluster_state_uuid 338b06b0-2948-11e4-9d06-bef42f6c52f1 wsrep_cluster_status Primary
The
wsrep_cluster_size
field indicates the number of nodes in the cluster and thewsrep_cluster_status
field indicates primary.