Skip to content

wadeholler/ansible-scaleio

 
 

Repository files navigation

ansible-scaleio

ansible-scaleio is a way to manage ScaleIO through Ansible.

Description

ansible-scaleio let's you do the following with ansible (version 2 is supported) and scaleio:

  • Install ScaleIO

  • Configure the different roles:

    • mdm
    • sds
    • tb
    • lia
    • callhome
    • gateway (to be used for API gateway mainly)
    • sdc
  • For the sds you can setup different type of storage.

Installation

To install ansible-scaleio just clone the repo and see site.yml as a generic playbook. If you are using Vagrant you can actually use the Vagrantfile in the appropriate tests folder to launch an environment to play with.

Requirements

  • Hosts should be bootstrapped for ansible usage (have python,...)
  • Root privileges, eg become: yes

Role Variables

Variable Description Default value
scaleio_license License file not in use right now ""
scaleio_interface Backend Interface for scaleio "tinydns"
scaleio_protection_domain Primary protection domain "dnslog"
scaleio_cluster_mode Do we want a cluster "/var/db/tinydns"
scaleio_cluster_name "data"
scaleio_password Destination of the data file "net_djbdns_tinydns_data_file_dest"
scaleio_gateway_admin_password IP Address to listen too "127.0.0.1"
scaleio_lia_token PID File for tinydns "/var/run/tinydns.pid"
scaleio_storage_pool Service name "pkgsrc/tinydns"
scaleio_callhome_config bundle name "tinydns"

Usage Instructions

Customize the roles and playbooks to your environment, you can use this to either to install ScaleIO or just enable the different modules on the nodes.

  ansible-playbook -i hosts site.yml

Future

  • Extend to do more special setup with cache
  • Clean up the code
  • Upgrade between ScaleIO releases.

Contribution

Create a fork of the project into your own reposity. Make all your necessary changes and create a pull request with a description on what was added or removed and details explaining the changes in lines of code. If approved, project owners will merge it.

Licensing

The MIT License (MIT) Copyright (c) [2015], [EMC Corporation)] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Support

Please file bugs and issues at the Github issues page. For more general discussions you can contact the EMC Code team at Google Groups or tagged with EMC on Stackoverflow.com. The code and documentation are released with no warranties or SLAs and are intended to be supported through a community driven process.

About

ScaleIO ansible playbooks

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 89.2%
  • Python 9.6%
  • Makefile 1.2%