aerospikeクラスタ構築
3942 ワード
aerospikeは分散型のkvストレージサービスで、redis、memcachedなどと比較して、最大の特徴はメモリとディスクの混合ストレージをサポートすることであり、ssdのサポートが非常によく、インデックスをメモリに存在させ、データをssdに存在させ、極めて高い性能を維持すると同時に、コストを効果的に節約することができる.
スタンドアロンマウント
インストール
開始
ログの表示
クラスタインストール
まず上記の手順で各ノードにaerospikeをインストールし、プロファイル
次に、プロファイルのサンプルを示します.
リファレンスリンク Install on Red Hat: https://www.aerospike.com/docs/operations/install/linux/el6 Network Heartbeat: https://www.aerospike.com/docs/operations/configure/network/heartbeat/index.html
転載は出典を明記してください.http://www.hatlonely.com/2018/06/02/aerospike-%E9%9B%86%E7%BE%A4%E6%90%AD%E5%BB%BA/
スタンドアロンマウント
インストール
wget -O aerospike.tgz 'https://www.aerospike.com/download/server/latest/artifact/el6'
tar -xvf aerospike.tgz
cd aerospike-server-community-*-el6
sudo ./asinstall
開始
sudo service aerospike start
ログの表示
tail -f /var/log/aerospike/aerospike.log
クラスタインストール
まず上記の手順で各ノードにaerospikeをインストールし、プロファイル
/etc/aerospike/aerospike.conf
を変更し、クラスタのアドレスリストを追加し、サービスを開始すればよい次に、プロファイルのサンプルを示します.
service {
user root
group root
paxos-single-replica-limit 1
pidfile /var/run/aerospike/asd.pid
proto-fd-max 15000
}
logging {
file /var/log/aerospike/aerospike.log {
context any info
}
}
network {
service {
address 0.0.0.0
port 3000
# add current node address here
access-address 172.31.25.40 3002
}
heartbeat {
mode mesh
# add current node address here
address 172.31.25.40
port 3002
# add all cluster node address here
mesh-seed-address-port 172.31.25.40 3002
mesh-seed-address-port 172.31.23.48 3002
mesh-seed-address-port 172.31.19.27 3002
interval 150
timeout 10
}
fabric {
address any
port 3001
}
info {
address any
port 3003
}
}
namespace test {
memory-size 8G
storage-engine memory
}
リファレンスリンク
転載は出典を明記してください.http://www.hatlonely.com/2018/06/02/aerospike-%E9%9B%86%E7%BE%A4%E6%90%AD%E5%BB%BA/