-
Notifications
You must be signed in to change notification settings - Fork 0
Add comprehensive documentation: quick start, tutorials, user manual, reference #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,132 @@ | ||||||
| # Quick Start Guide | ||||||
|
|
||||||
| Orchestrator is a MySQL high availability and replication management tool that discovers replication topologies, enables refactoring of replica trees, and performs automated or manual failover. It runs as a service with a web UI, HTTP API, and CLI. | ||||||
|
|
||||||
| This guide gets you from zero to a running orchestrator instance in under 5 minutes. | ||||||
|
|
||||||
| ## Prerequisites | ||||||
|
|
||||||
| - **Go 1.25+** (for building from source) | ||||||
| - **gcc** (required by the SQLite driver via cgo) | ||||||
| - **MySQL 5.6+ or 8.0+** replication topology to manage (optional for initial setup) | ||||||
| - No external database required -- orchestrator can use a built-in SQLite backend | ||||||
|
|
||||||
| ## Step 1: Build from source | ||||||
|
|
||||||
| ```bash | ||||||
| git clone https://github.com/proxysql/orchestrator.git | ||||||
| cd orchestrator | ||||||
| go build -o bin/orchestrator ./go/cmd/orchestrator | ||||||
| ``` | ||||||
|
|
||||||
| Verify the build: | ||||||
|
|
||||||
| ```bash | ||||||
| bin/orchestrator --help | ||||||
| ``` | ||||||
|
|
||||||
| ## Step 2: Create a minimal configuration | ||||||
|
|
||||||
| Create a file called `orchestrator.conf.json` in the project root: | ||||||
|
|
||||||
| ```json | ||||||
| { | ||||||
| "Debug": true, | ||||||
| "ListenAddress": ":3000", | ||||||
| "MySQLTopologyUser": "orc_client_user", | ||||||
| "MySQLTopologyPassword": "orc_client_password", | ||||||
| "MySQLOrchestratorHost": "", | ||||||
| "MySQLOrchestratorPort": 0, | ||||||
| "MySQLOrchestratorDatabase": "", | ||||||
| "BackendDB": "sqlite", | ||||||
|
||||||
| "BackendDB": "sqlite", | |
| "BackendDB": "sqlite3", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The link to [Full configuration guide](configuration.md) appears to be broken as configuration.md is a table of contents. The new reference.md file contains the detailed configuration reference. Please update the link to point to the correct section in reference.md.
| - [Full configuration guide](configuration.md) -- backend database options, discovery tuning, security, and more | |
| - [Full configuration guide](reference.md#1-configuration-reference) -- backend database options, discovery tuning, security, and more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The required Go version is listed as
1.25+, which is a future version and not yet released. This is likely a typo. Please update it to a recent stable version, for example1.22+.