aerospike_ssd.conf 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. # Aerospike database configuration file for deployments using raw storage.
  2. service {
  3. user root
  4. group root
  5. paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
  6. pidfile /run/aerospike/aerospike.pid
  7. service-threads 8
  8. transaction-queues 8
  9. transaction-threads-per-queue 8
  10. proto-fd-max 15000
  11. }
  12. logging {
  13. # Log file must be an absolute path.
  14. file /var/log/aerospike/aerospike.log {
  15. context any info
  16. }
  17. }
  18. network {
  19. service {
  20. address any
  21. port 3000
  22. }
  23. heartbeat {
  24. mode multicast
  25. address 239.1.99.222
  26. port 9918
  27. # To use unicast-mesh heartbeats, remove the 3 lines above, and see
  28. # aerospike_mesh.conf for alternative.
  29. interval 150
  30. timeout 10
  31. }
  32. fabric {
  33. port 3001
  34. }
  35. info {
  36. port 3003
  37. }
  38. }
  39. namespace test {
  40. replication-factor 2
  41. memory-size 4G
  42. default-ttl 30d # 30 days, use 0 to never expire/evict.
  43. # Warning - legacy data in defined raw partition devices will be erased.
  44. # These partitions must not be mounted by the file system.
  45. storage-engine device {
  46. # Use one or more lines like those below with actual device paths.
  47. # device /dev/sdb
  48. # device /dev/sdc
  49. # The 2 lines below optimize for SSD.
  50. scheduler-mode noop
  51. write-block-size 128K
  52. # Use the line below to store data in memory in addition to devices.
  53. # data-in-memory true
  54. }
  55. }