Before we proceed with the Scylla installation, please ensure that your environment meets the following prerequisites:
- Docker for Mac, Windows or Unix. Please note that running in Scylla in Docker is recommended for testing and evaluation purposes. Use caution when doing this in a production environment.
- This Git repository.
- 3. 3GB of RAM or greater for Docker.
- If you are using Linux, you will need docker-compose.
If you haven’t done so yet, download the example from git:
git clone https://github.com/scylladb/scylla-code-samples.git
Setting up a Cluster
If you already set up a cluster in previous lessons stop and remove it by stopping all the containers. The following stops and removes all containers in the system, make sure that you don’t delete other non-Scylla related containers!
docker stop $(docker ps -aq)
docker rm $(docker ps -aq)
Now, use docker-compose to set up the cluster:
docker-compose up -d
After a minute or so, the MMS should be up and running. Let’s verify this:
docker exec -it mms_scylla-node1_1 nodetool status
Here, using nodetool, we can see that all three nodes are up and running in the cluster.