【转载】Scylla on CentOS 7

Use these steps to install Scylla using Yum repositories on CentOS.

Prerequisites

  • CentOS 7.3 or later, for the 64-bit x86_64 architecture.
  • Yum package management application installed.
  • ABRT conflict with Scylla coredump configuration. Remove it before installing Scylla: sudo yum remove -y abrt
  • 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.

Scylla is supported on CentOS versions 7.3 or later. There is no support for CentOS version 6.x and earlier.

If you are upgrading from an older Scylla version, make sure to follow the upgrade guide.

Procedure

$ sudo yum install epel-release

Install a repo file: Add the Scylla RPM repo to your system, check the RPM content

Scylla 3.0 (recommended) Repository for RHEL/CentOS 7 and above

sudo curl -o /etc/yum.repos.d/scylla.repo -L http://repositories.scylladb.com/scylla/repo/93495f33-6092-45c3-a5cb-718bd237e641/centos/scylladb-3.0.repo

More Versions

install packages

$ sudo yum install scyllaFor a specific patch version, for example 1.7.1

$ sudo yum install scylla-1.7.1

Configure and run Scylla on CentOS

Configure Scylla

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

ItemContent
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)

More information regarding the scylla.yaml file.

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

cqlsh

Run cassandra-stress

cassandra-stress write -mode cql3 native

Monitoring

It is highly recommended to have a Scylla monitoring stack in place. For more on how to setup Scylla monitoring with Grafana here

Reference

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

转载来源:https://www.scylladb.com/download/centos_rpm/ 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值