0% found this document useful (0 votes)
293 views6 pages

ScyllaDB - Get Started With ScyllaDB

Uploaded by

puanand3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
293 views6 pages

ScyllaDB - Get Started With ScyllaDB

Uploaded by

puanand3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

ScyllaDB | Get Started with ScyllaDB 26/12/23, 5:10 PM

ScyllaDB Open Source on Ubuntu 22.04

Sign up for Product Updates & Patches


Copy a Link to this Download

Copy Download Link 

Prerequisites

For the 64-bit x86_64 architecture and aarch64 starting from ScyllaDB
4.6 and nightly build
Root or sudo access to the system.
The ScyllaDB packages create a scylla user. When starting ScyllaDB as a
service, the service runs as this user.
For server configuration, see documentation on recommendations for
high performance.

Procedure

Install a repo file and add the ScyllaDB APT


repository to your system.

https://www.scylladb.com/download/?platform=ubuntu-22.04&version=scylla-5.4#open-source Page 3 of 8
ScyllaDB | Get Started with ScyllaDB 26/12/23, 5:10 PM

ScyllaDB 5.4

COPY

sudo gpg --homedir /tmp --no-default-keyring --


keyring /etc/apt/keyrings/scylladb.gpg --keyserver
hkp://keyserver.ubuntu.com:80 --recv-keys
d0a112e067426ab2

COPY
sudo wget -O /etc/apt/sources.list.d/scylla.list
http://downloads.scylladb.com/deb/debian/scylla-
5.4.list

Install packages

COPY

sudo apt-get update


sudo apt-get install -y scylla

For a specific patch version

List available releases:

https://www.scylladb.com/download/?platform=ubuntu-22.04&version=scylla-5.4#open-source Page 4 of 8
ScyllaDB | Get Started with ScyllaDB 26/12/23, 5:10 PM

apt-cache madison scylla


scylla | 5.2.11-0.20231126.a65838ee9c09-1 |
https://downloads.scylladb.com/downloads/scylla/deb/debian-
ubuntu/scylladb-5.2 stable/main amd64 Packages
scylla | 5.2.10-0.20231102.454e5a711099-1 |
https://downloads.scylladb.com/downloads/scylla/deb/debian-
ubuntu/scylladb-5.2 stable/main amd64 Packages
scylla | 5.2.9-0.20230920.5709d0043978-1 |
https://downloads.scylladb.com/downloads/scylla/deb/debian-
ubuntu/scylladb-5.2 stable/main amd64 Packages
...

install one, for example 5.2.11:

apt-get install scylla{,-server,-jmx,-tools,-tools-core,-kernel-


conf,-node-exporter,-conf,-python3}=5.2.11-0.20231126.a65838ee9c09-
1

Set Java to 1.8 release

COPY
sudo apt-get update
sudo apt-get install -y openjdk-8-jre-headless
sudo update-java-alternatives --jre-headless -s
java-1.8.0-openjdk-amd64

If prompted for Postfix Configuration, choose No configuration.

Configure and run ScyllaDB on Ubuntu 22.04

https://www.scylladb.com/download/?platform=ubuntu-22.04&version=scylla-5.4#open-source Page 5 of 8
ScyllaDB | Get Started with ScyllaDB 26/12/23, 5:10 PM

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

Item Content

Name of the cluster, all the nodes in the cluster


cluster_name
must have the same name

Seed nodes are used during startup to bootstrap


seeds
the gossip process and join the cluster

listen_address The IP address that ScyllaDB uses to connect to


other ScyllaDB nodes in the cluster

IP address of interface for client connections


rpc_address
(Thrift, CQL)

ScyllaDB setup
Run the scylla_setup script to tune the system settings

COPY
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 ScyllaDB (see below). ScyllaDB will not run without XFS or io.conf
file. To bypass this check, set ScyllaDB to developer mode.

Run ScyllaDB as a service (if not already running)

COPY
sudo systemctl start scylla-server

https://www.scylladb.com/download/?platform=ubuntu-22.04&version=scylla-5.4#open-source Page 6 of 8
ScyllaDB | Get Started with ScyllaDB 26/12/23, 5:10 PM

run nodetool

COPY
nodetool status

run cqlsh

COPY
cqlsh

Run cassandra-stress

COPY
cassandra-stress write -mode cql3 native

Next Steps

Set up management systems


Manage your clusters with ScyllaDB Manager
Monitor your cluster and data with ScyllaDB Monitoring
Configure ScyllaDB – go to System Configuration Files and Scripts
Familiarize yourself with ScyllaDB’s command line reference guide

https://www.scylladb.com/download/?platform=ubuntu-22.04&version=scylla-5.4#open-source Page 7 of 8
ScyllaDB | Get Started with ScyllaDB 26/12/23, 5:10 PM

Start learning
Attend a live ScyllaDB Virtual Workshop for hands-on guidance for
getting started with ScyllaDB
Enroll in ScyllaDB University for self-paced courses
Read this guide to learn how to maximize ScyllaDB performance
Explore ScyllaDB Documentation

Stay connected
Join our Slack channel to report issues and give feedback
Find more ways to connect on our Open Source Community Page.

Get from GitHub


Join our Slack channel to report issues and give feedback
Find more ways to connect on our Open Source Community Page.

https://www.scylladb.com/download/?platform=ubuntu-22.04&version=scylla-5.4#open-source Page 8 of 8

You might also like