-
-
Save arunoda/59e403b54734acfb180f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aerospike database configuration file. | |
service { | |
user root | |
group root | |
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1. | |
pidfile /var/run/aerospike/asd.pid | |
service-threads 4 | |
transaction-queues 4 | |
transaction-threads-per-queue 4 | |
proto-fd-max 15000 | |
} | |
logging { | |
# Log file must be an absolute path. | |
file /var/log/aerospike/aerospike.log { | |
context any info | |
} | |
} | |
network { | |
service { | |
address any | |
port 3000 | |
access-address 10.132.120.245 | |
} | |
heartbeat { | |
mode mesh | |
address 10.132.120.245 | |
port 3002 | |
mesh-seed-address-port 10.132.120.243 3000 | |
mesh-seed-address-port 10.132.120.245 3000 | |
interval 150 | |
timeout 10 | |
} | |
fabric { | |
port 3001 | |
} | |
info { | |
port 3003 | |
} | |
} | |
namespace test { | |
replication-factor 2 | |
memory-size 4G | |
default-ttl 1d | |
storage-engine device { | |
file /opt/aerospike/data/bar.dat | |
filesize 16G | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Aerospike database configuration file. | |
service { | |
user root | |
group root | |
paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1. | |
pidfile /var/run/aerospike/asd.pid | |
service-threads 4 | |
transaction-queues 4 | |
transaction-threads-per-queue 4 | |
proto-fd-max 15000 | |
} | |
logging { | |
# Log file must be an absolute path. | |
file /var/log/aerospike/aerospike.log { | |
context any info | |
} | |
} | |
network { | |
service { | |
address any | |
port 3000 | |
access-address 10.132.120.243 | |
} | |
heartbeat { | |
mode mesh | |
address 10.132.120.243 | |
port 3002 | |
mesh-seed-address-port 10.132.120.243 3000 | |
mesh-seed-address-port 10.132.120.245 3000 | |
interval 150 | |
timeout 10 | |
} | |
fabric { | |
port 3001 | |
} | |
info { | |
port 3003 | |
} | |
} | |
namespace test { | |
replication-factor 2 | |
memory-size 4G | |
default-ttl 1d | |
storage-engine device { | |
file /opt/aerospike/data/bar.dat | |
filesize 16G | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment