运行ansible playbook安装之前的准备工作:
- Perform deployment host initial setup
- Build containers on target hosts
- Restart containers on target hosts
- Install common components into containers on target hosts
cd /opt/openstack-ansible/playbooks Run the host setup playbook, $ sudo openstack-ansible setup-hosts.yml
If using HAProxy, run the playbook to deploy it:
$ openstack-ansible haproxy-install.yml
- Install Memcached
- Install Galera
- Install RabbitMQ
- Install Rsyslog
- Install Elasticsearch
- Install Logstash
- Install Kibana
- Install Elasticsearch command-line utilities
- Configure Rsyslog
Running the infrastructure playbook
- Run the infrastructure setup playbook,
cd /opt/openstack-ansible/playbooks $ openstack-ansible setup-infrastructure.yml
- Install common components
- Create utility container that provides utilities to interact with services in other containers
- Install Identity (keystone)
- Generate service IDs for all services
- Install the Image service (glance)
- Install Orchestration (heat)
- Install Compute (nova)
- Install Networking (neutron)
- Install Block Storage (cinder)
- Install Dashboard (horizon)
- Reconfigure Rsyslog
$ openstack-ansible setup-openstack.yml
时间: 2024-11-03 22:04:07