You are not reading the most current version of the documentation. If you want up-to-date information, please have a look at 2.5 .
While a minimal server can run on a system with 2 cores and 1GB RAM, the following configuration is recommended:
CPU - 2vCPUs
Memory - 8GB+ DRAM
Best practice is to install Scylla Manager Server on a dedicated machine not a Scylla production node. Download and install the Scylla Manager Server and Client packages from the Scylla Download Center.
Scylla Manager uses Scylla to store its data. You can either use a local one-node Scylla cluster (recommended) or connect Scylla Manager to a remote cluster.
On the same node as you are installing Scylla Manager, download and install Scylla Server package.
You can either use Scylla Enterprise or Scylla Open Source.
There is no need to run the Scylla setup, it is taken care of later, by the
When it’s installed you can jump to Run the scyllamgr_setup script section.
Scylla Manager configuration file
/etc/scylla-manager/scylla-manager.yaml contains a database configuration section.
# Scylla Manager database, used to store management data. database: hosts: - 127.0.0.1 # Enable or disable client/server encryption. # ssl: false # # Database credentials. # user: user # password: password # # Local datacenter name, specify if using a remote, multi-dc cluster. # local_dc: # # Database connection timeout. # timeout: 600ms # # Keyspace for management data, for create statement see /etc/scylla-manager/create_keyspace.cql.tpl. # keyspace: scylla_manager # replication_factor: 1
Using an editor open the file and change relevant parameters.
hosts parameter, change the IP address to the IP address or addressees of the remote cluster.
If authentication is needed, uncomment and edit the
If it’s a single DC cluster, uncomment and edit the
replication_factor parameter to match the required replication factor.
This would use SimpleStrategy to create a Scylla Manager keyspace, refer to Scylla Architecture - Fault Tolerance for more information on replication.
If it’s a multi DC cluster, create a keyspace named
You can use a different keyspace name, just remember to adjust the
keyspace parameter value.
local_dc parameter to DC the closest to Scylla Manager Server.
If client/server encryption is enabled, uncomment and set the
ssl parameter to
Additional SSL configuration options can be set in the
ssl configuration section.
# Optional custom client/server encryption options. #ssl: # CA certificate used to validate server cert. If not set will use he host's root CA set. # cert_file: # # Verify the hostname and server cert. # validate: true # # Client certificate and key in PEM format. It has to be provided when # client_encryption_options.require_client_auth=true is set on server. # user_cert_file: # user_key_file
Sample configuration of Scylla Manager working with a remote cluster with authentication and replication factor 3 could look like this.
database: hosts: - 22.214.171.124 - 126.96.36.199 user: user password: password replication_factor: 3
The Scylla Manager setup script automates configuration of Scylla Manager by asking you some questions. It can be run in non-interactive mode by using flags.
scyllamgr_setup -h Usage: scyllamgr_setup [-y][--no-scylla-setup][--no-enable-service][--no-check-for-updates] Options: -y, --assume-yes assume that the answer to any question which would be asked is yes --no-scylla-setup skip setting up and enabling local Scylla instance as a storage backend for Scylla Manager --no-enable-service skip enabling service --no-check-for-updates skip enabling periodic check for updates -h, --help print this help Interactive mode is enabled when no flags are provided.
scyllamgr_setup script to configure the service.
Enable bash completion for sctool (the Scylla Manager CLI) in the current bash session. Alternatively, you can just open a new terminal.
Scylla Manager integrates with
systemd and can be started and stopped using
Start the Scylla Manager server service.
sudo systemctl start scylla-manager.service
Verify the Scylla Manager server service is running.
sudo systemctl status scylla-manager.service -l ● scylla-manager.service - Scylla Manager Server Loaded: loaded (/usr/lib/systemd/system/scylla-manager.service; enabled; vendor preset: disabled) Active: active (running) since Wed 2019-10-30 11:00:01 UTC; 20s ago Main PID: 5805 (scylla-manager) CGroup: /system.slice/scylla-manager.service └─5805 /usr/bin/scylla-manager
The first time you start Scylla Manager it may take a while. It creates a database schema. Follow the logs to see the progress.
Confirm sctool is running by displaying the sctool version.
sctool version Client version: 2.1-0.20200401.ce91f2ad Server version: 2.1-0.20200401.ce91f2ad