Setup Scylla Manager¶
The following document walks you through the Scylla Manager setup phase, assuming you completed the installation. When you install Scylla Manager, it installs a local instance of Scylla to use as it’s database. If you want to setup Scylla Manager with a remote database use this guide first.
sctool status requires port :9042 to be open in order to check node status. Confirm that this port is open.
The Scylla Manager setup script is a wizard that automates configuration of Scylla Manager.
- Run the
scyllamgr_setupscript to configure the service. The wizard contains questions about enabling services. If you answer no to the questions, you will have to start a service manually each time you want to use it.
sudo scyllamgr_setup Do you want to configure and enable the local ScyllaDB instance as a backend storage for this Scylla Manager installation? Answer yes to configure and automatically start ScyllaDB when the node boots; answer no to skip this step. [YES/no] Do you want to enable Scylla Manager? Answer yes to automatically start Scylla Manager when the node boots; answer no to skip this step. [YES/no] Created symlink from /etc/systemd/system/multi-user.target.wants/scylla-server.service to /usr/lib/systemd/system/scylla-server.service. Scylla Manager setup finished.
Scylla Manager integrates with
systemd and can be started and stopped using
- Run Scylla Manager server.
sudo systemctl start scylla-manager.service
- Verify the Scylla Manager is running.
sudo systemctl status scylla-manager.service ● scylla-manager.service - Scylla Manager Server Loaded: loaded (/usr/lib/systemd/system/scylla-manager.service; enabled; vendor preset: disabled) Active: active (running) since Fri 2018-08-31 12:15:30 UTC; 5s ago Main PID: 32355 (scylla-manager) Tasks: 9 Memory: 5.3M CGroup: /system.slice/scylla-manager.service └─32355 /usr/bin/scylla-manager
- Enable bash completion for sctool - Scylla Manager CLI. Alternatively, you can just open a new terminal.
- Confirm sctool is running by displaying the sctool version.
sctool version Client version: 1.3.0-0.20181130.03ae248 Server version: 1.3.0-0.20181130.03ae248
The first time you run this command, Scylla Manager may take a few seconds to start.