Installation - GitHub
Hook Hua edited this page on Jun 12, 2018
Page Navigation: |
---|
Confidence Level TBD This article has not been reviewed for accuracy, timeliness, or completeness. Check that this information is valid before acting on it. |
---|
Installation
For definitions of terminology used, please refer to our terminology reference.
Prerequisites
We will provision the HySDS component images and then use terraform to deploy them onto cloud vendor-specific IaaS environment.
You should already have provisioned HySDS component instances (mozart, grq, metrics, factotum, and ci) each designated for a particular HySDS component. The suggestedminimum
CPU and memory requirements for each instance should at least be met (tables below).
Cloud vendor-specificpackerscripts can be used to provision the 5 images.
packertemplates for provisioning AWS images
packertemplates for provisioning GCP images
Or, if they are not provisioned to you by an administrator, you can provision them yourself using ourpuppetmodules:
The following tables list the CPU and memory requirements for each component instance based on the scope of the HySDS cluster:
minimum
,development
,operations
:minimum
- Uses instance types that cover the bare minimum CPU and memory requirements for running HySDS in a test environment such as this user guide, e.g.Hello WorldandHello Dataset
development
- Uses instance types that cover the CPU and memory requirements for running HySDS in a development environment
optimal
- Uses instance types that cover the CPU and memory requirements for running HySDS in an operational environment or at large scale (500-8000verdi
worker instances)
Ensure that the same SSH keypair is used for all 5 of the instances. You should be able to ssh into any of your instances using the PEM key file of this SSH keypair.
You should already have provisioned 2 buckets from a cloud vendor (e.g. AWS S3, Azure Blob, Google Cloud Storage)
one for code and configuration (
CODE_BUCKET
), e.g. s3://my-code-bucketone for datasets and staging area (
DATASET_BUCKET
), e.g. s3://my-dataset-bucket
Install HySDS framework on each instance
The latest releases are here:https://github.com/hysds/hysds-framework/releases. Each was taken from the latest head state of all repos at time of release.
Install HySDS framework on mozart
Log into your
mozart
instancessh -i <PEM file> ops@<mozart IP>
Copy the PEM file that you used to log into the
mozart
instance into ~/.ssh directory. You can use scp to transfer the file:scp -i <PEM file> <PEM file> ops@<mozart IP>:~/.ssh
Ensure the permissions on the PEM file are readable by your account only:
chmod 400 <PEM file>
If there's a
mozart
directory already under you home directory, move or remove it:Clone the HySDS framework repository and enter it
Select the HySDS framework release tag you'd like to install for mozart
Install the HySDS release you want to install (e.g. v2.1.0-beta.1) for the mozart component
You could also install the development version which pulls the master branch of each HySDS repo:
Next Steps
Now that you have the HySDS framework installed on your cluster's mozart instance, continue on to Cluster Setup.
Related Articles: |
---|
Have Questions? Ask a HySDS Developer: |
Anyone can join our public Slack channel to learn more about HySDS. JPL employees can join #HySDS-Community
|
JPLers can also ask HySDS questions at Stack Overflow Enterprise
|
Page Information: |
---|
Was this page useful? |
Contribution History:
|
Subject Matter Experts: @Hook Hua |
Find an Error? Is this document outdated or inaccurate? Please contact the assigned Page Maintainer: @Lan Dang |