indigo-dc.ophidia-cluster

Role Name

=========

This Ansible role sets up and configures everything needed for an Ophidia cluster.

Introduction


This repository has Ansible roles that you can find on Ansible Galaxy: https://galaxy.ansible.com/indigo-dc/ophidia-cluster/

Requirements


There are no extra requirements.

Role Variables


Here are the variables you can use for the Ophidia cluster:

  1. cert_passwd: Password for certificates and user accounts
  2. ophdb_passwd: MySQL password
  3. oph_user: User who runs the framework
  4. base_path: Base path for the shared data folder
  5. server_ip: IP address of the Ophidia server
  6. compute_subnet: Subnetwork for Ophidia io-compute nodes
  7. mysql_subnet: Subnetwork for database access for Ophidia io-compute nodes
  8. deploy_type: Type of deployment ('install' or 'configure')
  9. io_nodes_ips: List of IPs for io-compute nodes
  10. node_type: Type of node ('server' or 'io')

Dependencies


This role needs the indigo-dc.nfs and indigo-dc.slurm Ansible roles.

Example Playbook


Here's how to create a playbook to install an Ophidia cluster:

---
- hosts: oph-server
  roles:
    - {role: 'indigo-dc.ophidia-cluster', node_type: 'server', deploy_type: 'install'}

- hosts: oph-io
  roles:
    - {role: 'indigo-dc.ophidia-cluster', node_type: 'io', deploy_type: 'install'}

Here's how to create a playbook to configure an Ophidia cluster:

---
- hosts: oph-server
  roles:
    - {role: 'indigo-dc.ophidia-cluster', node_type: 'server', deploy_type: 'configure', io_nodes_ips: "{{ groups['oph-io']|map('extract', hostvars, 'ansible_default_ipv4')|list }}", mysql_subnet: "{{ ansible_default_ipv4.network }}/{{ ansible_default_ipv4.netmask }}", compute_subnet: "{{ ansible_default_ipv4.network }}/24", server_ip: '{{ ansible_default_ipv4.address }}'}

- hosts: oph-io
  roles:
    - {role: 'indigo-dc.ophidia-cluster', node_type: 'io', deploy_type: 'configure', mysql_subnet: "{{ ansible_default_ipv4.network }}/{{ ansible_default_ipv4.netmask }}", server_ip: "{{hostvars['oph-server']['ansible_default_ipv4']['address']}}"}

Further Documentation


License


Apache License v2

Author Information


For questions, contact: ophidia-info@cmcc.it

Informazioni sul progetto

Ophidia Cluster

Installa
ansible-galaxy install indigo-dc.ophidia-cluster
Licenza
apache-2.0
Download
108
Proprietario