Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
One step deploy for ElephantDB.
Clojure Shell
branch: feature/edb2

This branch is 6 commits ahead of sritchie:feature/edb2

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
dist
resources
src
templates
.gitignore
README.md
project.clj

README.md

Setup

TODO: Replace this with real instructions.

1) Add keys to ~/.ssh/elephantdb and ~/.ssh/elephantdb.pub. These will be installed on EDB server. 2) Create ~/.pallet/config.clj with contents:

      (defpallet
           :services {
          :elephantdb-deploy {
                     :provider "aws-ec2"
                     :identity "XXXX"
                     :credential "XXXXX"
                     }

          :elephantdb-data {
                     :blobstore-provider "aws-s3"
                     :provider "aws-ec2"
                     :identity "XXXX"
                     :credential "XXXX"
                     }
         }
                           {:lift-fn pallet.core/parallel-lift
               :converge-fn pallet.core/parallel-adjust-node-counts}})

Usage

To provision a cluster:

$ lein run --start --ring <ring name>

To deploy to existing edb cluster:

$ lein run --start --ring <ring name>

;; Local -- replace the meta with this:

{:vmfest-Debian-6.0.2.1-64bit-v0.3 {:uuid "/Users/sritchie/.vmfest/models/vmfest-vmfest-Debian-6.0.2.1-64bit-v0.3.vdi", :os-type-id "Debian_64", :sudo-password "vmfest", :no-sudo false, :username "vmfest", :os-family :debian, :os-version "6.0.2.1", :os-64-bit true, :password "vmfest", :description "Debian 6.0.2.1 (64bit) v0.3"}}

Squid conf: https://gist.github.com/1357652

Notes

Deploy should allow the user to provide the following:

  1. :hdfs-conf
  2. :blob-conf

If an hdfs-conf is specified, but no blob-conf, the deploy will look in the same location as hdfs-conf for the configuration files, else it'll search more broadly in the blob-conf.

Something went wrong with that request. Please try again.