官术网_书友最值得收藏!

Ansible

As mentioned, Ansible will be the orchestration tool of choice for this book, let's look at it in a bit more detail.

Ansible is an agentless orchestration tool written in Python, which uses SSH to carry out configuration tasks on remote nodes. It was first released in 2012 and has gained widespread adoption, and it is known for its ease of adoption and low learning curve. Red Hat purchased the commercial company Ansible, Inc. in 2015 and so has a very well-developed and close-knit integration for deploying Ceph.

Files named playbooks are used in Ansible to describe a list of commands, actions, and configurations to carry out on specified hosts or groups of hosts and are stored in a YAML file format. Instead of having large unmanageable playbooks, Ansible roles can be created that allow a playbook to contain a single task, which may then carry out a number of tasks associated with the role.

The use of SSH to connect to remote nodes and execute the playbooks means that it is very lightweight and does not require either an agent or a centralized server.

For testing Ansible also integrates well with Vagrant, an Ansible playbook can be specified as part of the Vagrant provisioning configuration and will automatically generate an inventory file from the VM's Vagrant created and run the playbook once the servers have booted. This allows a Ceph cluster including OS to be deployed via just a single command.

主站蜘蛛池模板: 宁晋县| 莱芜市| 长丰县| 西乌珠穆沁旗| 黎平县| 雅江县| 旌德县| 沁阳市| 镇坪县| 扎鲁特旗| 客服| 永济市| 汽车| 博兴县| 利津县| 涟源市| 镇沅| 田林县| 郎溪县| 南昌市| 仪征市| 江山市| 黎平县| 丰顺县| 南华县| 自贡市| 田林县| 麦盖提县| 五指山市| 宝兴县| 岳阳县| 阿克陶县| 弋阳县| 新营市| 许昌县| 夏津县| 芷江| 东港市| 石城县| 宁都县| 苏尼特左旗|