{"id":18792955,"url":"https://github.com/blacksmith-community/mariadb-forge-boshrelease","last_synced_at":"2025-08-22T23:30:35.927Z","repository":{"id":45903192,"uuid":"79564547","full_name":"blacksmith-community/mariadb-forge-boshrelease","owner":"blacksmith-community","description":"A Blacksmith Forge for deploying dedicated standalone and clustered MySQL / MariaDB instances","archived":false,"fork":false,"pushed_at":"2022-02-25T22:52:14.000Z","size":86,"stargazers_count":1,"open_issues_count":0,"forks_count":7,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-06-05T04:44:27.734Z","etag":null,"topics":["bosh","forge","mariadb","mysql"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/blacksmith-community.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-20T14:11:37.000Z","updated_at":"2021-11-29T20:53:39.000Z","dependencies_parsed_at":"2022-09-18T18:16:16.296Z","dependency_job_id":null,"html_url":"https://github.com/blacksmith-community/mariadb-forge-boshrelease","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/blacksmith-community/mariadb-forge-boshrelease","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacksmith-community%2Fmariadb-forge-boshrelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacksmith-community%2Fmariadb-forge-boshrelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacksmith-community%2Fmariadb-forge-boshrelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacksmith-community%2Fmariadb-forge-boshrelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/blacksmith-community","download_url":"https://codeload.github.com/blacksmith-community/mariadb-forge-boshrelease/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/blacksmith-community%2Fmariadb-forge-boshrelease/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271716958,"owners_count":24808589,"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","status":"online","status_checked_at":"2025-08-22T02:00:08.480Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["bosh","forge","mariadb","mysql"],"created_at":"2024-11-07T21:22:29.552Z","updated_at":"2025-08-22T23:30:35.904Z","avatar_url":"https://github.com/blacksmith-community.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blacksmith MariaDB Forge\n\nThis Blacksmith Forge teaches a [Blacksmith Broker][broker] how to\ndeploy standalone and clustered [MariaDB][mariadb] service\ndeployments, which are useful for all things database.\n\n## Deploying\n\nTo deploy this forge, you will need to add it to your existing\nBlacksmith Broker manifest deployment, co-locating the\n`mariadb-blacksmith-plans` job on the Blacksmith instance group.\n\nHere's an example to get you started (clipped for brevity):\n\n```yaml\nreleases:\n  - name:    mariadb-forge\n    version: latest\n\ninstance_groups:\n  - name: blacksmith\n    jobs:\n      - name:    mariadb-blacksmith-plans\n        release: mariadb-forge\n        properties:\n          plans:\n            # your plans here\n            # (see below)\n```\n\nThe MariaDB Forge deploys mariadb by using jobs that are found\n_inside_ the `mariadb-forge` BOSH release, which means that your\nBlacksmith BOSH director also needs that release.  Blacksmith is\nable to upload that release for you, if you want.\n\nFor the Spruce users out there:\n\n```\n---\ninstance_groups:\n  - name: blacksmith\n    jobs:\n      - name: blacksmith\n        properties:\n          releases:\n            - (( append ))\n            - (( grab releases.mariadb-forge ))\n```\n\nFinally, you'll need to define plans for Blacksmith to deploy.\nThe following sections discuss those in great detail.\n\n## Standalone Topology\n\nThe `standalone` topology is as straightforward as they come: a\nsinge dedicated VM that runs mariadb bound on all interfaces, to\nport 3306.\n\nHere's a diagram to clear things up:\n\n![Standalone Topology Diagram](docs/diag/topology-standalone.png)\n\n### Configuration Options\n\n- *vm_type* - The name of a BOSH `vm_type` from your cloud-config.\n  You can use this to size your MariaDB appropriate to your workload\n  requirements, in terms of RAM and CPU.  Increasing the disk size\n  via the VM type is not going to net you much of a gain (see\n  the `disk_size` and `persist` options instead.\n\n- *az* - A single BOSH availability zone name (per cloud-config),\n  for your standalone node placement.  By default, the node will be\n  put in `z1`.\n\n- *network* - The name of the network to deply these instances to.\n  This network should be defined in your cloud-config, and should\n  be large enough to handle your anticipated service footprint.\n  It does not need any static IP addresses.\n\n  By default, VMs will be deployed into a network named\n  `mariadb-service`.\n\n- *disk* - The size of the persistent disk where MariaDB will\n  store its data files.  By default, you get a 4G disk.  If, for\n  whatever reason, you don't _want_ a persistent disk, you can set\n  this to `0`.\n\n### Example Configuration\n\nA single standalone plan, persistent, with 4G of disk:\n\n```\ninstance_groups:\n  - name: blacksmith\n    jobs:\n      - name:    mariadb-blacksmith-plans\n        release: mariadb-forge\n        properties:\n          plans:\n            smalldb:\n              type: standalone\n              disk: 4_096\n```\n\nHere's a configuration that provides two different sizes of\npersistent standalone, each in their own networks:\n\n```\ninstance_groups:\n  - name: blacksmith\n    jobs:\n      - name:    mariadb-blacksmith-plans\n        release: mariadb-forge\n        properties:\n          plans:\n            small:\n              type: standalone\n              net:  a-side\n              disk: 4_096\n\n            large:\n              type: standalone\n              net:  b-side\n              disk: 16_384\n```\n\n## Contributing\n\nIf you find a bug, please raise a [Github Issue][1] first,\nbefore submitting a PR.\n\n\n\n\n[1]: https://github.com/blacksmith-community/mariadb-forge-boshrelease/issues\n[broker]: https://github.com/cloudfoundry-community/blacksmith\n[mariadb]:  https://mariadb.com\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacksmith-community%2Fmariadb-forge-boshrelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblacksmith-community%2Fmariadb-forge-boshrelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblacksmith-community%2Fmariadb-forge-boshrelease/lists"}