Use these steps to install Scylla using Yum repositories on CentOS.
Make sure that all the relevant ports are open.
For server configuration, see documentation on recommendations for high performance.
Scylla is supported on CentOS versions 7.2 or later. There is no support for CentOS version 6.x and earlier.
sudo yum -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm sudo yum install epel-release wget
Install a repo file: Add the Scylla RPM repo to your system
Configure the /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 regarding 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.
sudo systemctl start scylla-server
cassandra-stress write -mode cql3 native
It is highly recommended to have a Scylla monitoring stack in place. For more on how to setup Scylla monitoring with Grafana here.
Scylla servers set up using this method have the system configuration covered on System Configuration Guide already applied, by scripts included with the RPM packages. See the guide for a complete reference on settings used