aerospike启动指定配置文件
所属分类 aerospike
浏览量 821
sudo /usr/bin/asd --config-file /etc/aerospike/aerospike.conf
完整配置文件
service {
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
proto-fd-max 15000
}
logging {
file /data01/as/logs/aerospike.log {
context any info
}
}
network {
service {
address any
port 3000
}
heartbeat {
mode mesh
address 192.168.0.7
port 3002
# cluster other node
mesh-seed-address-port 192.168.0.7 3002
# mesh-seed-address-port 192.168.0.8 3002
# mesh-seed-address-port 192.168.0.9 3002
# To use unicast-mesh heartbeats, remove the 3 lines above, and see
# aerospike_mesh.conf for alternative.
interval 150
timeout 10
}
fabric {
port 3001
}
info {
port 3003
}
}
namespace ns1 {
replication-factor 2
memory-size 6G
default-ttl 30d # 30 days, use 0 to never expire/evict.
#storage-engine memory
storage-engine device {
file /data01/asdata/ns1.dat
filesize 8G
data-in-memory false # Store data in memory in addition to file.
}
}
namespace ns2 {
replication-factor 2
memory-size 2G
default-ttl 30d # 30 days, use 0 to never expire/evict.
storage-engine memory
# To use file storage backing, comment out the line above and use the
# # following lines instead
storage-engine device {
file /data01/asdata/ns2.dat
filesize 8G
data-in-memory true # Store data in memory in addition to file.
}
}
上一篇
下一篇
关羽的几个历史故事
mysql导出错误
aerospike prometheus grafana 监控
Java8函数式接口
Java8常用函数式接口
java8 lambda 原理及性能