{"id":19516129,"url":"https://github.com/deviantony/docker-opsmanager","last_synced_at":"2025-02-25T23:44:09.122Z","repository":{"id":28489310,"uuid":"32005537","full_name":"deviantony/docker-opsmanager","owner":"deviantony","description":"Testing MongoDB OpsManager using containers.","archived":false,"fork":false,"pushed_at":"2015-03-16T14:27:16.000Z","size":596,"stargazers_count":13,"open_issues_count":3,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-08T12:38:29.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"ApacheConf","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deviantony.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-11T08:05:59.000Z","updated_at":"2021-04-29T08:52:19.000Z","dependencies_parsed_at":"2022-09-03T05:21:10.838Z","dependency_job_id":null,"html_url":"https://github.com/deviantony/docker-opsmanager","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviantony%2Fdocker-opsmanager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviantony%2Fdocker-opsmanager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviantony%2Fdocker-opsmanager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deviantony%2Fdocker-opsmanager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deviantony","download_url":"https://codeload.github.com/deviantony/docker-opsmanager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240766672,"owners_count":19854114,"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-10T23:44:37.941Z","updated_at":"2025-02-25T23:44:09.068Z","avatar_url":"https://github.com/deviantony.png","language":"ApacheConf","readme":"# docker-opsmanager\n\nAn attempt to use the MongoDB Ops Manager inside Docker.\n\n# About\n\nPowered by the following tools:\n\n* Docker: a portable, lightweight runtime and packaging tool.\n\u003e See: https://www.docker.com/\n\n* Docker-compose: a tool for defining and running complex applications with Docker.\n\u003e See: https://docs.docker.com/compose/\n\n* MongoDB Ops Manager: a service for managing, monitoring and backing up a MongoDB infrastructure.\n\u003e See: https://docs.opsmanager.mongodb.com/current/application/\n\n* RawDNS: a direct, raw DNS interface to the Docker API.\n\u003e See: https://github.com/tianon/rawdns\n\n# How-to\n\n## Build the MMS agent image\n\n```\n$ docker build -t \"mms-agent\" agent/\n```\n\n## Start the stack\n\nFirst, you'll need to update the file *ops-manager/config/conf-mms.properties* and change the *ROUTABLE_IP* with your IP address.\n\nThen start the stack:\n\n```\n$ docker-compose build \u0026\u0026 docker-compose up\n```\n\n## Deploy a sharded cluster\n\nConnect to http://localhost:8080 and create an account.\n\nNext click on the GET STARTED button in the Automation box.\n\n![Step1][opsmanager_step1]\n\nThen, click on the BEGIN SETUP button.\n\n![Step1][opsmanager_step2]\n\nChoose Other Remote.\n\n![Step1][opsmanager_step3]\n\nSelect a type of MongoDB deployment, we'll use a Sharded Cluster for the demo purpose.\n\n![Step1][opsmanager_step4]\n\nSpecify details about your deployment, here we'll create a MongoDB cluster with 2 shards and 3 nodes per shard.\n\n![Step1][opsmanager_step5]\n\nIndicate your number of nodes, this will correspond to the number of mms-agent containers that we will need to start later.\n\n![Step1][opsmanager_step6]\n\nChoose an agent type (any type is fine, the mms-agent image uses Ubuntu 14.04 anyway).\n\n![Step1][opsmanager_step7]\n\nRetrieve the following parameters:\n\n* MMS_GROUP_ID\n* MMS_API_KEY\n* BASE_URL\n\n![Step1][opsmanager_step8]\n\nWe'll need these parameters to start the mms-agent containers.\n\nNow is the time to start these containers (replace the *BASE_URL*, *MMS_GROUP_ID* and *MMS_API_KEY* parameters with the values you retrieved previously):\n\n```\n$ docker run --rm \\\n  --dns $(docker inspect -f '{{.NetworkSettings.IPAddress}}' dockeropsmanager_dns_1) \\\n  --dns-search docker \\\n  mms-agent \\\n  /opt/mongodb-mms-automation/bin/mongodb-mms-automation-agent -mmsBaseUrl=BASE_URL -mmsGroupId=MMS_GROUP_ID -mmsApiKey=MMS_API_KEY\n\n```\n\nOnce you have started the appropriate number of containers, return to the Ops Manager and click on the VERIFY AGENT button. \n\nIf everything is ok you'll be able to continue your deployment.\n\n[opsmanager_step1]: https://cloud.githubusercontent.com/assets/5485061/6651719/e80c6c92-ca51-11e4-8f13-9acc7c0dee2f.png \"Ops Manager STEP 1\"\n[opsmanager_step2]: https://cloud.githubusercontent.com/assets/5485061/6651720/ea84f78c-ca51-11e4-8ca5-c60d268d252a.png \"Ops Manager STEP 2\"\n[opsmanager_step3]: https://cloud.githubusercontent.com/assets/5485061/6651721/ec6f9746-ca51-11e4-97e6-c503212f30e5.png \"Ops Manager STEP 3\"\n[opsmanager_step4]: https://cloud.githubusercontent.com/assets/5485061/6651722/efee61a4-ca51-11e4-8f07-7a35facab0d7.png \"Ops Manager STEP 4\"\n[opsmanager_step5]: https://cloud.githubusercontent.com/assets/5485061/6651723/f15493ba-ca51-11e4-85b5-75fdefaca01e.png \"Ops Manager STEP 5\"\n[opsmanager_step6]: https://cloud.githubusercontent.com/assets/5485061/6651724/f3ebd020-ca51-11e4-80b6-aa63a91efcf7.png \"Ops Manager STEP 6\"\n[opsmanager_step7]: https://cloud.githubusercontent.com/assets/5485061/6651725/f5b639c2-ca51-11e4-82cc-5958dea9fa97.png \"Ops Manager STEP 7\"\n[opsmanager_step8]: https://cloud.githubusercontent.com/assets/5485061/6651746/4be248a8-ca53-11e4-8637-b0391302ac6c.png \"Ops Manager STEP 8\"\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeviantony%2Fdocker-opsmanager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeviantony%2Fdocker-opsmanager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeviantony%2Fdocker-opsmanager/lists"}