Getting Started with Scylla on Debian 9


  • Root or sudo access to the system.
  • Make sure that all the relevant ports are open.
  • For server configuration, see documentation on recommendations for high performance.
  • Procedure

    Install dependencies (if not there)

    sudo apt-get install apt-transport-https wget gnupg2
    sudo apt-get update

    Set Keys

    sudo apt-key adv --fetch-keys
    sudo apt-key adv --keyserver --recv-keys 17723034C56D4B19

    Install a repo file. Add the Scylla APT repository to your system.

    Registration is required.

    Configure and run Scylla on Debian 9

    Configure Scylla

    Configure the /etc/scylla/scylla.yaml file with the following parameters:

    cluster_nameName of the cluster, all the nodes in the cluster must have the same name
    seedsSeed nodes are used during startup to bootstrap the gossip process and join the cluster
    listen_addressIP address that the Scylla use to connect to other Scylla nodes in the cluster
    rpc_addressIP address of interface for client connections (Thrift, CQL)

    Scylla setup

    Run the scylla_setup script to tune the system settings

    sudo scylla_setup

    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

    Run Scylla as a service (if not already running)

    sudo systemctl start scylla-server

    run nodetool

    nodetool status

    run cqlsh


    Run cassandra-stress

    cassandra-stress write -mode cql3 native  


    Scylla servers set up using this method have the system configuration covered on System Configuration Guide already applied, by the deb package install scripts. See the guide for a complete reference on settings used.