{"id":19643775,"url":"https://github.com/logicalclocks/ndb-chef","last_synced_at":"2025-04-28T13:31:12.008Z","repository":{"id":22717922,"uuid":"26062336","full_name":"logicalclocks/ndb-chef","owner":"logicalclocks","description":"Chef cookbook for MySQL Cluster (NDB)","archived":false,"fork":false,"pushed_at":"2025-01-29T15:29:13.000Z","size":853,"stargazers_count":6,"open_issues_count":3,"forks_count":19,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-26T14:52:51.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/logicalclocks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-11-01T20:29:15.000Z","updated_at":"2024-06-14T09:03:33.000Z","dependencies_parsed_at":"2023-09-22T20:20:47.756Z","dependency_job_id":"c11aa134-318e-413b-b71f-66593b4f3f74","html_url":"https://github.com/logicalclocks/ndb-chef","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicalclocks%2Fndb-chef","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicalclocks%2Fndb-chef/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicalclocks%2Fndb-chef/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/logicalclocks%2Fndb-chef/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/logicalclocks","download_url":"https://codeload.github.com/logicalclocks/ndb-chef/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251319756,"owners_count":21570450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-11T14:23:58.905Z","updated_at":"2025-04-28T13:31:06.979Z","avatar_url":"https://github.com/logicalclocks.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"Description\n===========\n\nInstalls and configures a MySQL Cluster, including the management server(s), data nodes, and MySQL Server(s).\n\nRequirements\n============\nChef 0.11+.\n\nPlatform\n--------\n* Ubuntu, centos\n\n\nTested on:\n* Ubuntu 16.04\n* centos 7.0+\n\n\nUsage\n--------\n\n1. install gems needed to test chef recipes\nbundle install\n\n2. Test recipe syntax and code-style\nbundle exec foodcritic .\n\n3. run kitchen to test recipes\n./kitchen.sh\n\n###Chef-solo usage\nOn a node that provides both a Management Server and a MySQL Server, use both the mgmd and mysqld recipes:\n\n    { \"run_list\": [\"recipe[ndb::install]\", \"recipe[ndb::mgmd]\", \"recipe[ndb::mysqld]\" }\n\nThis will install and start both a ndb_mgmd and a mysqld daemon on both nodes.\n\nOn a node that will provide a data node, run:\n    { \"run_list\": [\"recipe[ndb::install]\", \"recipe[ndb::ndbd]\" }\n\nThis will install a data node on the host, that is, an ndbd process.\n\nYou can override attributes in your node or role.\nFor example, on an Ubuntu system:\n    {\n      \"mysql\": {\n        \"password\": \"secret\"\n      }\n    }\n\n###Karamel usage\nThis cookbook is karamelized (www.karamel.io). \nYou can launch a MySQL Cluster using the following yml file. It will create 5 VMs on EC2, and install ndb datanodes on 4 VMs, and a management server, a MySQL Server, and a Memcached server on 1 VM.\n\nname: MySqlCluster                                                             \n\ncookbooks:                                                                      \n  ndb:\n    github: \"hopshadoop/ndb-chef\"\n    version: \"v0.1\"\n    \ngroups: \n  datanodes:\n    size: 4 \n    recipes: \n        - ndb::ndbd\n  server:\n    size: 1 \n    recipes: \n        - ndb::mysqld\n        - ndb::memcached\n        - ndb::mgmd\n\n\n\n## Contributing\n\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicalclocks%2Fndb-chef","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flogicalclocks%2Fndb-chef","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flogicalclocks%2Fndb-chef/lists"}