Duke-GCB/Sun-Grid-Engine-Ansible

Name: Sun-Grid-Engine-Ansible

Owner: Duke Center for Genomic and Computational Biology

Description: GridEngine deployment for SMRT Link cluster

Created: 2017-02-17 20:43:19.0

Updated: 2017-08-29 04:07:12.0

Pushed: 2017-02-17 20:55:21.0

Homepage: null

Size: 44714

Language: Ruby

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Sun Grid Engine

Alt text

Install and Configure Sun Grid Engine on Ubuntu 12.04 Cluster

Ubunut 12.04 LTS Vagrant box

Check that you can get Ubuntu Precise 64 from

$ vagrant init ubuntu/precise64; vagrant up --provider virtualbox

Install Ansible

Ubuntu LTS 12.04

 $ sudo apt-get install software-properties-common
 $ sudo apt-add-repository ppa:ansible/ansible
 $ sudo apt-get update
 $ sudo apt-get install ansible

Other Linux Distributions

to install on another Linux Distribution check out Ansible Docs

Hosts File

Here is a sample of hosts file

[servers]
master  ansible_ssh_host=192.168.0.10 ansible_ssh_user=vagrant  ansible_ssh_pass=vagrant
slave1  ansible_ssh_host=192.168.0.11 ansible_ssh_user=vagrant  ansible_ssh_pass=vagrant
slave2  ansible_ssh_host=192.168.0.12 ansible_ssh_user=vagrant  ansible_ssh_pass=vagrant

[masters]
master  ansible_ssh_host=192.168.0.10 ansible_ssh_user=vagrant  ansible_ssh_pass=vagrant

[slaves]
slave1  ansible_ssh_host=192.168.0.11 ansible_ssh_user=vagrant  ansible_ssh_pass=vagrant
slave2  ansible_ssh_host=192.168.0.12 ansible_ssh_user=vagrant  ansible_ssh_pass=vagrant

Configure Passwordless SSH

This section shows how to make a passwordless SSH among cluster's nodes.

 $ ssh-keygen -t rsa
 $ cp ~/.ssh/id_rsa* roles/common/files/

Setup SGE Cluster

Finally, setup your Sun Grid Engine Cluster using Ansible

$ ansible-playbook -i hosts playbook.yml -vvvv

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.