{"id":18413983,"url":"https://github.com/lobshunter/dorisctl","last_synced_at":"2025-04-13T00:52:55.449Z","repository":{"id":189473655,"uuid":"661395955","full_name":"lobshunter/dorisctl","owner":"lobshunter","description":"A deployment tool for apache doris","archived":false,"fork":false,"pushed_at":"2023-11-02T09:36:18.000Z","size":81,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-13T00:52:50.993Z","etag":null,"topics":["doris"],"latest_commit_sha":null,"homepage":"","language":"Go","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/lobshunter.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":"2023-07-02T17:57:04.000Z","updated_at":"2023-08-20T08:04:19.000Z","dependencies_parsed_at":"2023-08-20T10:23:42.203Z","dependency_job_id":"50a59f58-1198-4b98-acbd-878eaceac469","html_url":"https://github.com/lobshunter/dorisctl","commit_stats":null,"previous_names":["lobshunter/dorisctl"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobshunter%2Fdorisctl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobshunter%2Fdorisctl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobshunter%2Fdorisctl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lobshunter%2Fdorisctl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lobshunter","download_url":"https://codeload.github.com/lobshunter/dorisctl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248650439,"owners_count":21139672,"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":["doris"],"created_at":"2024-11-06T03:48:22.776Z","updated_at":"2025-04-13T00:52:55.426Z","avatar_url":"https://github.com/lobshunter.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dorisctl\n\nA tool to deploy apache [doris](https://github.com/apache/doris/) cluster.\n\n## Installation\n\n```sh\ngo install github.com/lobshunter/dorisctl/cmd/dorisctl\n```\n\n## Usage\n\n```sh\n# NOTE: `ssh root@\u003chost\u003e -i \u003cssh_private_key_path\u003e` must work for every hosts in deployment yaml file\n\n# deploy doris\n$ dorisctl deploy examples/minimal-amd64.yaml\n\n# start cluster\n$ dorisctl start\n\n# list clusters\n$ dorisctl list\n+--------------+-----------+---------------+\n| CLUSTER NAME | FEMASTER  | FE QUERT PORT |\n+--------------+-----------+---------------+\n|   default    | 127.0.0.1 |     9030      |\n+--------------+-----------+---------------+\n\n# show cluster status\n$ dorisctl status\nCheck Cluster Status  Done\n\nFrontends:\n+-----------+-----------+----------+-------+---------------------------+\n|   HOST    | QUERYPORT | ISMASTER | ALIVE |          VERSION          |\n+-----------+-----------+----------+-------+---------------------------+\n| 127.0.0.1 |   9030    |   true   | true  | doris-2.0-beta-afe6bb9638 |\n+-----------+-----------+----------+-------+---------------------------+\n\nBackends:\n+-----------+-------+---------------+---------------+---------+---------------------------+\n|   HOST    | ALIVE | AVAILCAPACITY | TOTALCAPACITY | USEDPCT |          VERSION          |\n+-----------+-------+---------------+---------------+---------+---------------------------+\n| 127.0.0.1 | true  | 77.527 GB     | 96.727 GB     | 19.85 % | doris-2.0-beta-afe6bb9638 |\n+-----------+-------+---------------+---------------+---------+---------------------------+\n\n# stop cluster\n$ dorisctl stop\n\n# destroy cluster\n$ dorisctl destory\n\n# take over a manually deployed cluster so it can be managed by dorisctl\n$ dorisctl takeover --cluster-name yelo --fe-hosts 172.30.0.9,172.30.0.10 --fe-master 172.30.0.9 --be-hosts 172.30.0.5,172.30.0.6,172.30.0.12 --fe-deploy-dir /doris/fe  --be-deploy-dir /doris/be\n\n# handover managed cluster (remove manifest from dorisctl, without deleting the cluster)\n$ dorisctl handover --cluster-name yelo\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flobshunter%2Fdorisctl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flobshunter%2Fdorisctl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flobshunter%2Fdorisctl/lists"}