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

  • Mastering Ceph
  • Nick Fisk
  • 244字
  • 2021-07-09 19:55:14

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.

主站蜘蛛池模板: 托克逊县| 铜川市| 景东| 深泽县| 桐城市| 边坝县| 万山特区| 夹江县| 商南县| 任丘市| 密云县| 高雄县| 临沭县| 成武县| 海宁市| 芜湖市| 安徽省| 托克逊县| 舟曲县| 灵寿县| 兴海县| 通江县| 克拉玛依市| 循化| 乌拉特后旗| 巴林左旗| 韶山市| 佛山市| 中超| 昌乐县| 嫩江县| 武夷山市| 堆龙德庆县| 云林县| 通渭县| 黔西县| 云浮市| 焦作市| 科尔| 东阳市| 武夷山市|