Ansible deployment of Scipion Web Tools (https://github.com/I2PC/scipion-web) cluster on OpenStack cloud. Default number of worker nodes is 2, but it can be changed by setting variable count.
- Install ansible and shade.
- Set Openstack client environment with OpenStack RC file.
- Configure security groups, flavor name, key name and other variables in vars/* .
- Start Scipion Web Tools cluster
- Configure numberOfMpi
Scipion Web Tools cluster can be started in the following way:
ansible-playbook scipion.yml -e count=3 -e number_of_mpi=24 -e cluster_id=cl -e os=centos
where
- count is number of worker nodes
- number_of_mpi is number of MPI for XmippProtReconstructSignificant
- cluster_id is cluster identification, it is used as suffix in instances and volume names
- os is preferred operating system, Two options (centos and ubuntu) are supported.