Skip to content

Bash scripts used to initialize and control VM instances on the Jetstream cluster.

License

Notifications You must be signed in to change notification settings

lappsgrid-incubator/jetstream-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation Scripts

This repository contains various bash scripts used to initialize and control VM instances on the Jetstream cluster. Note that many of the install scripts are not specific to Jetstream instances and can be used to install software to most Ubuntu, CentOS and RedHat 6/7 machines. The scripts have not been tested on Debian, Fedora, or other Linux distributions.

Code pushed to the master branch of this repository will be automatically pushed to http://downloads.lappsgrid.org/scripts.

  1. General Installation Scripts
  2. install-common.sh
  3. install-java.sh
  4. install-postgres.sh
  5. install-docker.sh
  6. install-groovy.sh
  7. install-lsd.sh
  8. Galaxy Installation Scripts
  9. galaxy-setup.sh
  10. patch-galaxy-ini.sh
  11. db-setup.sh
  12. Miscellaneous Scripts
  13. sniff.sh
  14. proxy
  15. pull.sh
  16. jetstream
  17. Jetstream Control Script

This repository contains various bash scripts used to initialize and control VM instances on the Jetstream cluster. Note that many of the install scripts are not specific to Jetstream instances and can be used to install software to most Ubuntu, CentOS and RedHat 6/7 machines. The scripts have not been tested on Debian, Fedora, or other Linux distributions.

General

The following scripts are used to install various required packages on either Ubuntu, CentOS, or RedHat.

  1. install-common.sh
    Installs git, zip, unzip, and emacs
  2. install-java.sh
    Installs OpenJDK 1.8
  3. install-postgres.sh
    Installs PostgreSQL 9.6
  4. install-docker.sh
    Installs the latest beta versions of Docker and Docker Compose. The beta versions are required to support the latest features of Docker Compose and Docker Swarm.
  5. install-groovy.sh
    Installs Groovy 2.4.7
  6. install-lsd.sh
    Installs the Lappsgrid Services DSL (Domain Specific Language).

Galaxy

  1. galaxy-setup.sh
    Installs Java, Postgres, LSD, and the common packages before cloning Galaxy from the Lappgrid GitHub repository. Uses the following scripts to configure the Galaxy instance and database.
  2. patch-galaxy-ini.sh
    Patches Galaxy's galaxy.ini script with the appropriate port number (default is 8000), database password, secret, and installation directory.
  3. db-setup.sql
    Creates the galaxy database and user in Postgres.

Miscellaneous

  • sniff.sh
    The sniff.sh script is used by other scripts to detect the Linux distribution being used.
  • proxy
    This is the script used on the proxy server to update the nginx configuration. Proxy configuration will typically be done with the jetstream script, however, the jetstream script simply invokes the proxy script on the server to perform the actual work.
  • pull.sh
    The script used by the http://api.lappsgrid.org/pull web-hook to update the /var/lib/downloads/scripts and /var/lib/downloads/service-manager directories.
  • jetstream
    Use the jetstream script on your local Linux/MacOS system to manage VM instances on the Jetstream cluster. The jetstream script contains command for starting and stopping instances as well as reconfiguring the proxy to change the server that jetstream.lappsgrid.org resolves to.

You can read more about the Jetstream script here.

Deprecated

These scripts were used with the Jetstream "Atmosphere" user interface. However, we now use the much more powerful OpenStack interface directly.

  • vm-setup.sh
    The OpenStack web UI allows users to upload an initialization script that will be run when the VM is first initialized. However, the script uploaded to the OpenStack UI can not be deleted or renamed. To work around these drawbacks the vm-setup.sh script downloads the vm-initialize.sh script which does the actual work of initiallizing the VM. Now the vm-initialize.sh script can be updated and used to initialize ne VM instances.
  • vm-inialize.sh
    Does all the work of initializing a new VM. This script will install (amongst other things):
    • Java
    • Groovy
    • Zip, unzip, emacs, and other utils
    • Several Lappsgrid tools (lsd, jsonc, tool-config-editor, etc.)

About

Bash scripts used to initialize and control VM instances on the Jetstream cluster.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages