Advertisement
Guest User

Untitled

a guest
Feb 6th, 2015
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.94 KB | None | 0 0
  1. # Aerospike database configuration file.
  2.  
  3. # This stanza must come first.
  4. service {
  5. user root
  6. group root
  7. paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduc
  8. ed to 1.
  9. pidfile /var/run/aerospike/asd.pid
  10. service-threads 4
  11. transaction-queues 4
  12. transaction-threads-per-queue 4
  13. proto-fd-max 15000
  14. }
  15.  
  16. logging {
  17. # Log file must be an absolute path.
  18. file /var/log/aerospike/aerospike.log {
  19. context any info
  20. }
  21. }
  22.  
  23. network {
  24. service {
  25. address any
  26. port 3000
  27. # access-address 192.168.120.118
  28. }
  29.  
  30. heartbeat {
  31. mode multicast
  32. address 239.1.99.222
  33. port 9918
  34.  
  35. # To use unicast-mesh heartbeats, comment out the 3 lines above and
  36. # use the following 4 lines instead.
  37. # mode mesh
  38. # port 3002
  39. # mesh-address 10.1.1.1
  40. # mesh-port 3002
  41.  
  42. interval 150
  43. timeout 10
  44. }
  45.  
  46. fabric {
  47. port 3001
  48. }
  49.  
  50. info {
  51. port 3003
  52. }
  53. }
  54.  
  55. #namespace test {
  56. # replication-factor 2
  57. # memory-size 4G
  58. # default-ttl 30d # 30 days, use 0 to never expire/evict.
  59. #
  60. # storage-engine memory
  61. #}
  62.  
  63. namespace test {
  64. replication-factor 2
  65. memory-size 2G
  66. default-ttl 5d # 5 days, use 0 to never expire/evict.
  67. ldt-enabled true
  68.  
  69. # storage-engine memory
  70.  
  71. # To use file storage backing, comment out the line above and use the
  72. # following lines instead.
  73. storage-engine device {
  74. file /opt/aerospike/data/test.dat
  75. filesize 5G
  76. data-in-memory true # Store data in memory in addition to file.
  77. }
  78. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement