Advertisement
Guest User

Untitled

a guest
Aug 11th, 2020
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.49 KB | None | 0 0
  1. # Aerospike database configuration file.
  2. #
  3. # Ansible managed
  4. #
  5.  
  6. service {
  7. user AerospikeUser
  8. group AerospikeGroup
  9. paxos-single-replica-limit 1 # Number of nodes where the replica count is automatically reduced to 1.
  10. pidfile /var/run/aerospike/asd.pid
  11. proto-fd-max 15000
  12. service-threads 4
  13. transaction-queues 4
  14. transaction-threads-per-queue 4
  15. migrate-threads 4
  16. migrate-max-num-incoming 24
  17. node-id-interface bond0
  18. }
  19.  
  20. logging {
  21. # Log file must be an absolute path.
  22. file /var/log/aerospike/aerospike.log {
  23. context any info
  24. }
  25. }
  26.  
  27. network {
  28. service {
  29. address IP
  30. access-address IP
  31. port 3000
  32. }
  33.  
  34. heartbeat {
  35. mode multicast
  36. multicast-group MULTICASTIP
  37. port 9918
  38.  
  39. # To use unicast-mesh heartbeats, remove the 3 lines above, and see
  40. # aerospike_mesh.conf for alternative.
  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 NAME {
  56. replication-factor 2
  57. memory-size 31G
  58. default-ttl 24d # 30 days, use 0 to never expire/evict.
  59. high-water-memory-pct 75
  60. high-water-disk-pct 75
  61.  
  62. storage-engine device {
  63. device /dev/sdc1
  64. device /dev/sdc2
  65. device /dev/sdc3
  66.  
  67. # Optimized for SSD
  68. scheduler-mode noop
  69. write-block-size 128k
  70.  
  71. data-in-memory false
  72. }
  73. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement