AAFC-BICoE/iRODS

Name: iRODS

Owner: Biological Informatics CoE @ Agriculture and Agri-Food Canada

Owner: Biological Informatics CoE @ Agriculture and Agri-Food Canada

Description: Ansible Scripts for Installation and Deployment of IRODS

Forked from: aabdulwahed/iRODS

Created: 2016-05-17 13:19:04.0

Updated: 2016-05-17 13:19:05.0

Pushed: 2016-11-07 18:40:43.0

Homepage: null

Size: 86

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

iRODS

The Integrated Rule-Oriented Data System (iRODS) is an open source data management software used by research organizations and government agencies worldwide. This package contains Ansible scripts for installation and deployment of iRODS on a cluster of virtual machines. It also includes Cloud Browser, which gets installed on the iCAT server.

Alt text

Requirements

Ansible, Vagrant, and access to one of the supported VM providers. This repository was made with Ansible 2.1, Vagrant 1.7.4, and Ubuntu 14.04 virtual machines.

Configuration

Before starting the iRODS deployment, it's recommended that you generate some specific configuration keys.

Zone key:

$ (openssl rand -base64 32 | sed 's,/,S,g' | sed 's,+,_,g' | cut -c 1-32 | tr -d '\n' ; echo "")

Negotiation key:

$ openssl rand -base64 32 | sed 's,/,S,g' | sed 's,+,_,g' | cut -c 1-32

Control plane key:

$ openssl rand -base64 32 | sed 's,/,S,g' | sed 's,+,_,g' | cut -c 1-32

Place the new keys in the group_vars/all file and make any other desired changes there.

Create Virtual Machines

Vagrantfiles have been provided in the appropriate folders for a number of VM providers. You can use one to launch your cluster with or make them any other way you prefer.

Hosts File

Edit the Ansible hosts file in the folder of your chosen VM provider to set the hostnames and IP addresses of the nodes. Use the same hostnames as were used in the Vagrantfile.

Start Deployment

First make sure that each node has its hostname set properly.

This should be done on each VM by checking the output of hostname and the contents of /etc/hosts and /etc/hostname.

Then run the playbook:

$ ansible-playbook -i <vm_provider>/hosts playbook.yml
Test iRODS and Cloud Browser

If deployment finished successfully then the iRODS iCommands should be available on each node of the cluster and Cloud Browser should be available at https://<hostname_or_ip_of_icat>

iRODS use cases:

iRODS

The Integrated Rule-Oriented Data System (iRODS) is an open source data management software used by research organizations and government agencies worldwide. This package contains Ansible scripts for installation and deployment of iRODS on a cluster of virtual machines. It also includes Cloud Browser, which gets installed on the iCAT server.

Alt text

Requirements

Ansible, Vagrant, and access to one of the supported VM providers. This repository was made with Ansible 2.1, Vagrant 1.7.4, and Ubuntu 14.04 virtual machines.

Configuration

Before starting the iRODS deployment, it's recommended that you generate some specific configuration keys.

Zone key:

$ (openssl rand -base64 32 | sed 's,/,S,g' | sed 's,+,_,g' | cut -c 1-32 | tr -d '\n' ; echo "")

Negotiation key:

$ openssl rand -base64 32 | sed 's,/,S,g' | sed 's,+,_,g' | cut -c 1-32

Control plane key:

$ openssl rand -base64 32 | sed 's,/,S,g' | sed 's,+,_,g' | cut -c 1-32

Place the new keys in the group_vars/all file and make any other desired changes there.

Create Virtual Machines

Vagrantfiles have been provided in the appropriate folders for a number of VM providers. You can use one to launch your cluster with or make them any other way you prefer.

Hosts File

Edit the Ansible hosts file in the folder of your chosen VM provider to set the hostnames and IP addresses of the nodes. Use the same hostnames as were used in the Vagrantfile.

Start Deployment

First make sure that each node has its hostname set properly.

This should be done on each VM by checking the output of hostname and the contents of /etc/hosts and /etc/hostname.

Then run the playbook:

$ ansible-playbook -i <vm_provider>/hosts playbook.yml
Test iRODS and Cloud Browser

If deployment finished successfully then the iRODS iCommands should be available on each node of the cluster and Cloud Browser should be available at https://<hostname_or_ip_of_icat>

iRODS use cases:

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.