An open API service indexing awesome lists of open source software.

https://github.com/jongiddy/flocker-install

Installation scripts for Flocker
https://github.com/jongiddy/flocker-install

Last synced: 4 months ago
JSON representation

Installation scripts for Flocker

Awesome Lists containing this project

README

        

# flocker-install
Installation scripts for Flocker

**NOTE:** These script are mainly used for testing.
They are regularly out-of-date (or in some cases more up-to-date than the official release).
Please check the [Flocker Documentation](https://docs.clusterhq.com) for the instructions for the current release.

The user account on the remote systems must be logged in as a user who has root
access. If these scripts are run non-interactively, sudo access must be
passwordless.

## AWS

To use AWS, copy the file `secrets.sh.example` to `secrets.sh` and fill in the
values.

## Cluster

If you have previously installed a cluster and you wish to re-install the client (to change the branch, for example), remove the directory `flocker-client`, using:

```
rm -r flocker-client
```

To create a cluster, start with:
```
./cluster_init.sh [ ]
```

Start the nodes for the cluster by running either the `vbox.sh` or `aws.sh`
repeatedly in different terminals. By default, these commands start CentOS 7
instances. To use Ubuntu 14.04, add `--os ubuntu-14.04`.

To start the control node, add the flag `--control`.
If the control node should not be an agent node, add `--no-agent`.

If a branch is provided using the ``--branch`` flag, the latest build of that
branch will be installed.
If no branch is provided, the latest release will be installed.

On the client, run:
```
./run-test.sh
```

For AWS, use the external address for the `flocker-deploy` command, but the
internal IP addresses in the deployment file.