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.

80 lines
1.6 KiB

  1. # Copyright (c) 2008 MySQL AB
  2. # Use is subject to license terms.
  3. #
  4. # This program is free software; you can redistribute it and/or modify
  5. # it under the terms of the GNU General Public License as published by
  6. # the Free Software Foundation; version 2 of the License.
  7. #
  8. # This program is distributed in the hope that it will be useful,
  9. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. # GNU General Public License for more details.
  12. #
  13. # You should have received a copy of the GNU General Public License
  14. # along with this program; if not, write to the Free Software
  15. # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  16. #
  17. # MySQL NDB Cluster Small Sample Configuration File
  18. #
  19. # This files assumes that you are using 1 to 3 hosts
  20. # for running the cluster. Hostnames and paths listed
  21. # below should be changed to match your setup.
  22. #
  23. # Note: You can change localhost for a different host
  24. #
  25. [NDBD DEFAULT]
  26. NoOfReplicas: 2
  27. DataDir: /add/path/here
  28. FileSystemPath: /add/path/here
  29. # Data Memory, Index Memory, and String Memory
  30. DataMemory: 600M
  31. IndexMemory: 100M
  32. BackupMemory: 64M
  33. [MGM DEFAULT]
  34. PortNumber: 1186
  35. DataDir: /add/path/here
  36. [NDB_MGMD]
  37. Id: 1
  38. HostName: localhost
  39. ArbitrationRank: 1
  40. [NDBD]
  41. Id: 2
  42. HostName: localhost
  43. [NDBD]
  44. Id: 3
  45. HostName: localhost
  46. #
  47. # Note: The following can be MySQLD connections or
  48. # NDB API application connecting to the cluster
  49. #
  50. [API]
  51. Id: 4
  52. HostName: localhost
  53. ArbitrationRank: 2
  54. [API]
  55. Id: 5
  56. HostName: localhost
  57. [API]
  58. Id: 6
  59. HostName: localhost
  60. [API]
  61. Id: 7
  62. [API]
  63. Id: 8
  64. [API]
  65. Id: 9