Getting Started with Scylla on Debian 8¶
- Root or
sudoaccess to the system. The Scylla packages create a scylla user. When starting Scylla as a service, the service runs as this user.
For server configuration, see documentation on recommendations for high performance.
- install a repo file. Add the Scylla APT repository to your system.
- upgrade Java to 1.8 for Debian 8 and above, which is requested from Scylla 1.7. Skip this step for Ubuntu 16.04
echo 'deb http://http.debian.net/debian jessie-backports main' > /etc/apt/sources.list.d/jessie-backports.list sudo apt-get update sudo apt-get install -y -t jessie-backports openjdk-8-jre-headless sudo update-java-alternatives -s java-1.8.0-openjdk-amd64
- install packages
sudo apt-get update sudo apt-get install scylla
(if prompt for Postfix Configuration, choose No configuration)
/etc/scylla/scylla.yaml file with the following parameters:
|cluster_name||Name of the cluster, all the nodes in the cluster must have the same name|
|seeds||Seed nodes are used during startup to bootstrap the gossip process and join the cluster|
|listen_address||IP address that the Scylla use to connect to other Scylla nodes in the cluster|
|rpc_address||IP address of interface for client connections (Thrift, CQL)|
More information regard the scylla.yaml file
Run the scylla_setup script to tune the system settings
This script invokes a set of scripts to configure several operating system settings, like setting RAID0 and XFS filesystem. It also runs a short (up to a few minutes) benchmark on your storage and generates the
/etc/scylla.d/io.conf configuration file. When the file is ready, you can start Scylla (see below).
Scylla will not run without XFS or
io.conf file. To bypass this check, set Scylla to developer mode