- Mastering OpenStack(Second Edition)
- Omar Khedher Chandan Dutta Chowdhury
- 372字
- 2021-07-02 23:52:47
Ansible for OpenStack
OpenStack Ansible (OSA) is an official OpenStack big tent project. It focuses on providing roles and playbooks for deploying a scalable, production-ready OpenStack setup. It has a very active community of developers and users collaborating to stabilize and bring new features to OpenStack deployment.
The official OpenStack-Ansible repository and documentation can be found at GitHub: https://github.com/openstack/openstack-ansible
One of the unique features of the OSA project is the use of containers to isolate and manage OpenStack services. OSA installs OpenStack services in LXC containers to provide each service with an isolated environment.
LXC is an OS-level container, and it encompasses a complete OS environment that includes a separate filesystem, networking stack, and resource isolation using cgroups.
Containerization technology enhanced the chroot concept within the Linux operating system. LXC is a very popular implementation of containers in Linux, allowing the isolation of resources, including filesystems, to run multiple applications and group of processes without interfering with each other.
OpenStack services are spawned in separate LXC containers and communicate to each other using the REST APIs. The microservice-based architecture of OpenStack complements the use of containers to isolate services. It also decouples the services from the physical hardware and provides encapsulation of the service environment that forms the foundation for providing portability, high availability, and redundancy.
Microservice architecture has become a highly-adopted approach for developing applications at a fast and efficient pace. The foundation of the microservice model has become more solid with the rise of cloud technology. Microservice patterns help developers to overcome the challenge of a monolithic application by converting it to a suite of modular services easy to deploy, fast to go to production, being scalable, and reusable. Using containers in a based microservice architectural setup enables developers to gain more granularity and much more flexibility during testing and deployment.
The OSA deployment is initiated from a deployment host. The deployment host is installed with Ansible and it runs the OSA playbooks to orchestrate the installation of OpenStack on the target hosts:

The Ansible target hosts are the ones that will run the OpenStack services. The target nodes can be installed with Ubuntu 14.04 LTS and configured with SSH-key-based authentication to allow login from the deployment host.
- Word 2003、Excel 2003、PowerPoint 2003上機指導與練習
- PowerShell 3.0 Advanced Administration Handbook
- Getting Started with Clickteam Fusion
- Hands-On Machine Learning on Google Cloud Platform
- 數據庫原理與應用技術
- DevOps:Continuous Delivery,Integration,and Deployment with DevOps
- 系統安裝與重裝
- Kubernetes for Developers
- 單片機C語言程序設計完全自學手冊
- Dreamweaver CS6精彩網頁制作與網站建設
- Linux系統管理員工具集
- INSTANT Adobe Story Starter
- 人工智能云平臺:原理、設計與應用
- 基于元胞自動機的人群疏散系統建模與分析
- 網絡規劃與設計