Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Aerospike database configuration file.
- #
- # Ansible managed
- #
- service {
- user AerospikeUser
- group AerospikeGroup
- paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
- pidfile /var/run/aerospike/asd.pid
- proto-fd-max 15000
- service-threads 4
- transaction-queues 4
- transaction-threads-per-queue 4
- migrate-threads 4
- migrate-max-num-incoming 24
- node-id-interface bond0
- }
- logging {
- # Log file must be an absolute path.
- file /var/log/aerospike/aerospike.log {
- context any info
- }
- }
- network {
- service {
- address IP
- access-address IP
- port 3000
- }
- heartbeat {
- mode multicast
- multicast-group MULTICASTIP
- port 9918
- # 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 NAME {
- replication-factor 2
- memory-size 31G
- default-ttl 24d # 30 days, use 0 to never expire/evict.
- high-water-memory-pct 75
- high-water-disk-pct 75
- storage-engine device {
- device /dev/sdc1
- device /dev/sdc2
- device /dev/sdc3
- # Optimized for SSD
- scheduler-mode noop
- write-block-size 128k
- data-in-memory false
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement