Skip to content

Updated the quickstart guide. Fixed formatting. #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
124 changes: 66 additions & 58 deletions content/soda-gettingstarted/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ weight: 20

This is a quickstart guide for users and new contributors to try and get familiar with [SODA Foundation Release](https://github.com/sodafoundation/releases) and its [projects](https://github.com/sodafoundation). It will help to install and try out the SODA Releases using the binaries with minimum configurations or settings.

***Note**: *At present, this document also provides the installation steps to try out older OpenSDS releases. Soon, the support for old opensds releases shall be removed.**

To have more control of the installaton cofigurations, or try out various configurations refer a detailed installation guide [here](/soda-gettingstarted/installation)

## Supported SODA releases
### Supported SODA releases

- The following releases are supported using the installation steps given below.

Expand All @@ -21,79 +19,89 @@ To have more control of the installaton cofigurations, or try out various config
|Greenland | v1.1.0 |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to update the recent releases?

|Faroe | v1.0.0 |
|Elba | v0.20.0 |
Use the **RELEASE TAG** in the commands below wherever mentioned RELEASE-TAG.

## Quick Installation and experience of SODA releases
Use the **RELEASE TAG** in the commands below wherever `RELEASE_TAG` is mentioned.

### Quick Installation and experience of SODA releases

This procedure applies to Ubuntu 16.04 and 18.04 Linux distributions.

- **Prerequisite**
### Prerequisite

- Get superuser priviledges:
- Get superuser priviledges:

`sudo -s`
`sudo -s`

- Install Basic Dependencies:
- Install Basic Dependencies:

`apt-get update && apt-get install -y git make curl wget libltdl7 libseccomp2 libffi-dev gawk`
`apt-get update && apt-get install -y git make curl wget libltdl7 libseccomp2 libffi-dev gawk`

- Install Docker:
- Ubuntu 16.04:
- Install Docker:
- Ubuntu 16.04:

`wget https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb && dpkg -i docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb`
`wget https://download.docker.com/linux/ubuntu/dists/xenial/pool/stable/amd64/docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb && dpkg -i docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb`

- Ubuntu 18.04:
- Ubuntu 18.04:

`wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb && dpkg -i docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb`
`wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb && dpkg -i docker-ce_18.06.1~ce~3-0~ubuntu_amd64.deb`

- Install docker-compose:

- curl -L https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose
- chmod +x /usr/local/bin/docker-compose
- Required golang version: 1.13.x
- Run following command `go version` and check the version
- If the required version is not installed on the system, install golang,1.13.9 using:
- wget **[https://storage.googleapis.com/golang/go1.13.9.linux-amd64.tar.gz](https://storage.googleapis.com/golang/go1.13.9.linux-amd64.tar.gz)**
- tar -C /usr/local -xzf go1.13.9.linux-amd64.tar.gz
- echo export PATH=$PATH:/usr/local/go/bin >> /etc/profile
- echo export GOPATH=$HOME/gopath >> /etc/profile
- source /etc/profile

- **Get and Install Release Binaries**
- `curl -L https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose`
- `chmod +x /usr/local/bin/docker-compose`
- Required golang version: 1.13.x
- Run following command `go version` and check the version
- If the required version is not installed on the system, install golang,1.13.9 using:
- `wget https://storage.googleapis.com/golang/go1.13.9.linux-amd64.tar.gz`
- `tar -C /usr/local -xzf go1.13.9.linux-amd64.tar.gz`
- `echo export PATH=$PATH:/usr/local/go/bin >> /etc/profile`
- `echo export GOPATH=$HOME/gopath >> /etc/profile`
- `source /etc/profile`

### Get and Install Release Binaries

{{% notice info %}}
Please replace RELEASE_TAG with the corresponding value from Release Tag table above (ex: v1.3.0 etc)
{{% /notice %}}

- wget **[https://github.com/sodafoundation/installer/releases/download/[RELEASE_TAG]/installer-[RELEASE_TAG].tar.gz](https://github.com/sodafoundation/installer/releases/download/[RELEASE_TAG]/installer-[RELEASE_TAG].tar.gz)**
**OR** Download the installer binaries from
[https://github.com/sodafoundation/installer/releases/tag/[RELEASE_TAG]](https://github.com/sodafoundation/installer/releases/tag/[RELEASE_TAG])

- tar xvzf installer-[RELEASE_TAG].tar.gz
- cd installer-[RELEASE_TAG]/ansible/
- chmod +x ./install_ansible.sh && ./install_ansible.sh
- ansible --version # Ansible version 2.4.x is required
- The HOST_IP need to be set to the real_host_ip of your host (ex: 192.168.1.10 or 127.0.0.1 for localhost)
- export HOST_IP = <your_real_host_ip>
- vim group_vars/common.yml # Modify `host_ip` address if needed

- **Run the installer**
- ansible-playbook site.yml -i local.hosts
- Note: If you want to clean up and test again, run
- ansible-playbook clean.yml -i local.hosts -vvv
- and then run:
- ansible-playbook site.yml -i local.hosts

- **How to do a quick test**

- Open Your Browser and use the http://< actual host ip>:8088 to access the SODA Dashboard (this IP should be the IP Address of the host if you have updated the config file) Example: [http://127.0.0.1:8088](http://127.0.0.1:8088)

- Use admin/opensds@123 credentials to login

- You will login to the UI Dashboard and you can verify the features through various menu options
{{% notice info %}}
Please replace RELEASE_TAG with the corresponding value from [Supported SODA Releases](#supported-soda-releases) table above (ex: v1.3.0 etc)
{{% /notice %}}

- `wget https://github.com/sodafoundation/installer/releases/download/<RELEASE_TAG>/installer-<RELEASE_TAG>.tar.gz`
**OR**
Download the installer binaries from [https://github.com/sodafoundation/installer/releases/tag/<RELEASE_TAG>](https://github.com/sodafoundation/installer/releases/tag/<RELEASE_TAG>)

- `tar xvzf installer-<RELEASE_TAG>.tar.gz`
- `cd installer-<RELEASE_TAG>/ansible/`
- `chmod +x ./install_ansible.sh && ./install_ansible.sh`
- `ansible --version` # Ansible version 2.4.x is required
- The HOST_IP needs to be set to the real host IP of your host (ex: 192.168.1.10 or 127.0.0.1 for localhost)
- `export HOST_IP = <your_real_host_ip>`
- `vim group_vars/common.yml` to modify `host_ip` address if needed

{{% notice info %}}
For the release with RELEASE_TAG `v1.3.0`
`tar xvzf installer-v1.3.0.tar.gz`
`cd installer-v1.3.0/ansible/`
`chmod +x ./install_ansible.sh && ./install_ansible.sh`
`ansible --version`
{{% /notice %}}

### Run the installer
- `ansible-playbook site.yml -i local.hosts`
- Note: If you want to clean up and test again, run
- `ansible-playbook clean.yml -i local.hosts -vvv`
- and then run:
- `ansible-playbook site.yml -i local.hosts`

### How to do a quick test

- Open Your Browser and use the http://<your_real_host_ip>:8088 to access the SODA Dashboard (this IP should be the IP Address of the host if you have updated the config file) Example: [http://127.0.0.1:8088](http://127.0.0.1:8088)

- Use admin/opensds@123 credentials to login

- You will login to the UI Dashboard and you can verify the features through various menu options

### Previous Release

Note: We are currently not supporting the older versions before Elba. However, if you have specific reasons to use older versions, please contact at #general slack channel of [soda foundation slack](https://sodafoundation.io/slack)
{{% notice note %}}
We are currently not supporting the older versions before Elba. However, if you have specific reasons to use older versions, please contact at #general slack channel of [soda foundation slack](https://sodafoundation.io/slack)
{{% /notice %}}