Skip to content

Instantly share code, notes, and snippets.

@arunoda
Created May 22, 2015 02:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arunoda/59e403b54734acfb180f to your computer and use it in GitHub Desktop.
Save arunoda/59e403b54734acfb180f to your computer and use it in GitHub Desktop.
# 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
}
}
# 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