{"id":29571887,"url":"https://github.com/oceanbase/ob-configserver","last_synced_at":"2025-07-19T04:36:31.464Z","repository":{"id":279185466,"uuid":"934055971","full_name":"oceanbase/ob-configserver","owner":"oceanbase","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-24T08:11:18.000Z","size":118,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-02-24T09:23:58.121Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oceanbase.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":"2025-02-17T07:45:34.000Z","updated_at":"2025-02-24T08:11:23.000Z","dependencies_parsed_at":"2025-02-24T09:24:17.080Z","dependency_job_id":"0f848578-faf8-4161-bf2e-7483ef10f964","html_url":"https://github.com/oceanbase/ob-configserver","commit_stats":null,"previous_names":["oceanbase/ob-configserver"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oceanbase/ob-configserver","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-configserver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-configserver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-configserver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-configserver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oceanbase","download_url":"https://codeload.github.com/oceanbase/ob-configserver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oceanbase%2Fob-configserver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265889161,"owners_count":23844539,"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":"2025-07-19T04:36:30.892Z","updated_at":"2025-07-19T04:36:31.449Z","avatar_url":"https://github.com/oceanbase.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ob-configserver\n\n## What is ob-configserver\nOb-configserver is a web application provides oceanbase metadata storage and query.\n\n## How to build\n\nTo build ob-configserver requires go 1.16 or above\n\n### build binary\nYou can build ob-configserver using the commands list below\n```bash\n# build debug version\nmake build\n\n# build release version\nmake build-release\n\n```\nYou will get the compiled binary file in folder bin\n\n### build rpm\nYou can build a rpm package using the following command\n```\ncd {project_home}/rpm\nbash ob-configserver-build.sh {project_home} ob-configserver 1\n```\n\n## How to run ob-configserver\n\n### run binary directly\n* copy the config.yaml file from etc/config.yaml and modify it to match the real environment\n\n* start ob-configserver with the following command\n```bash\nbin/ob-configserver -c path_to_config_file\n```\n\n### install rpm package\n\n* install rpm package\n```bash\nrpm -ivh ob-configserver-xxx-x.el7.rpm\n```\n\nafter installation, the directory looks like this\n```bash\n.\n├── bin\n│   └── ob-configserver\n├── conf\n│   └── config.yaml\n├── log\n└── run\n```\n\n* modify config file\n\n* start ob-configserver\n```bash\nbin/ob-configserver -c conf/config.yaml\n```\n\n\n## How to use ob-configserver\n\n### config oceanbase to use ob-configserver\n* config ob-configserver when observer startup\n```bash\nadd obconfig_url='http://{vip_address}:{vip_port}/services?Action=ObRootServiceInfo\u0026ObCluster={ob_cluster_name}' in start command, specify with -o\n```\n\n* config ob-configserver when observer already starts using sql\n```sql\n# run the following sql using root user in tenant sys\nalter system set obconfig_url = 'http://{vip_address}:{vip_port}/services?Action=ObRootServiceInfo\u0026ObCluster={ob_cluster_name}'\n\n```\n\n### config obproxy to use ob-configserver\n* config ob-configserver when obproxy startup \n```bash\nadd obproxy_config_server_url='http://{vip_address}:{vip_port}/services?Action=GetObProxyConfig' in start command specify with -o\n```\n\n* config ob-configserver when obproxy already starts using sql\n```sql\n# run the following sql using root@proxysys\nalter proxyconfig set obproxy_config_server_url='http://{vip_address}:{vip_port}/services?Action=GetObProxyConfig'\n\n```\n\n## API reference\n[api reference](doc/api_reference.md)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanbase%2Fob-configserver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foceanbase%2Fob-configserver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foceanbase%2Fob-configserver/lists"}