You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

124 lines
1.6 KiB

  1. #
  2. # MySQL NDB Cluster Medium Sample Configuration File
  3. #
  4. # This files assumes that you are using at least 6
  5. # hosts for running the cluster. Hostnames and paths
  6. # listed below should be changed to match your setup
  7. #
  8. [NDBD DEFAULT]
  9. NoOfReplicas: 2
  10. DataDir: /add/path/here
  11. FileSystemPath: /add/path/here
  12. # Data Memory, Index Memory, and String Memory
  13. DataMemory: 3000M
  14. IndexMemory: 800M
  15. BackupMemory: 64M
  16. # Transaction Parameters
  17. MaxNoOfConcurrentOperations: 100000
  18. MaxNoOfLocalOperations: 100000
  19. # Buffering and Logging
  20. RedoBuffer: 16M
  21. # Logging and Checkpointing
  22. NoOfFragmentLogFiles: 200
  23. # Metadata Objects
  24. MaxNoOfAttributes: 500
  25. MaxNoOfTables: 100
  26. # Scans and Buffering
  27. MaxNoOfConcurrentScans: 100
  28. [MGM DEFAULT]
  29. PortNumber: 1186
  30. DataDir: /add/path/here
  31. #
  32. # Change HOST1 to the name of the NDB_MGMD host
  33. # Change HOST2 to the name of the NDB_MGMD host
  34. # Change HOST3 to the name of the NDBD host
  35. # Change HOST4 to the name of the NDBD host
  36. # Change HOST5 to the name of the NDBD host
  37. # Change HOST6 to the name of the NDBD host
  38. #
  39. [NDB_MGMD]
  40. Id: 1
  41. HostName: HOST1
  42. ArbitrationRank: 1
  43. [NDB_MGMD]
  44. Id: 2
  45. HostName: HOST2
  46. ArbitrationRank: 1
  47. [NDBD]
  48. Id: 3
  49. HostName: HOST3
  50. [NDBD]
  51. Id: 4
  52. HostName: HOST4
  53. [NDBD]
  54. Id: 5
  55. HostName: HOST5
  56. [NDBD]
  57. Id: 6
  58. HostName: HOST6
  59. #
  60. # Note: The following can be MySQLD connections or
  61. # NDB API application connecting to the cluster
  62. #
  63. [API]
  64. Id: 7
  65. HostName: HOST1
  66. ArbitrationRank: 2
  67. [API]
  68. Id: 8
  69. HostName: HOST2
  70. ArbitrationRank: 2
  71. [API]
  72. Id: 9
  73. HostName: HOST3
  74. ArbitrationRank: 2
  75. [API]
  76. Id: 10
  77. HostName: HOST4
  78. [API]
  79. Id: 11
  80. HostName: HOST5
  81. [API]
  82. Id: 12
  83. HostName: HOST6
  84. [API]
  85. Id: 13
  86. [API]
  87. Id: 14
  88. [API]
  89. Id: 15