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

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.

主站蜘蛛池模板: 祁连县| 石台县| 丹棱县| 资阳市| 马边| 哈尔滨市| 海丰县| 东山县| 鹤壁市| 宜章县| 都匀市| 乌兰浩特市| 施秉县| 吉隆县| 铜川市| 钟山县| 永福县| 珠海市| 安仁县| 鸡泽县| 保定市| 天门市| 永泰县| 新竹县| 麟游县| 丰城市| 临海市| 漯河市| 鲁甸县| 卢龙县| 万载县| 石首市| 宣汉县| 柳江县| 黄浦区| 临沧市| 龙口市| 安岳县| 康乐县| 贵德县| 淅川县|