README.md 3.5 KB
Newer Older
S
Shlomi Noach 已提交
1
# orchestrator [[Documentation]](https://github.com/github/orchestrator/tree/master/docs)
S
Shlomi Noach 已提交
2 3

[![build status](https://travis-ci.org/github/orchestrator.svg)](https://travis-ci.org/github/orchestrator) [![downloads](https://img.shields.io/github/downloads/github/orchestrator/total.svg)](https://github.com/github/orchestrator/releases) [![release](https://img.shields.io/github/release/github/orchestrator.svg)](https://github.com/github/orchestrator/releases)
S
Shlomi Noach 已提交
4

S
Simon J Mudd 已提交
5
![Orchestrator logo](https://github.com/github/orchestrator/raw/master/docs/images/orchestrator-logo-wide.png)
S
Shlomi Noach 已提交
6

7
`orchestrator` is a MySQL high availability and replication management tool, allowing for:
S
Shlomi Noach 已提交
8

S
shlomi-noach 已提交
9
#### Discovery
S
snoach 已提交
10

S
Shlomi Noach 已提交
11
`orchestrator` actively crawls through your topologies and maps them. It reads basic MySQL info such as replication status and configuration.
S
shlomi-noach 已提交
12 13 14

It provides with slick visualization of your topologies, including replication problems, even in the face of failures.

S
shlomi-noach 已提交
15
#### Refactoring
S
shlomi-noach 已提交
16

S
Shlomi Noach 已提交
17
`orchestrator` understands replication rules. It knows about binlog file:position, GTID, Pseudo GTID, Binlog Servers.
S
shlomi-noach 已提交
18

S
Shlomi Noach 已提交
19
Refactoring replication topologies can be a matter of drag & drop a replica under another master. Moving replicas around is safe: `orchestrator` will reject an illegal refactoring attempt.
S
shlomi-noach 已提交
20

G
George Miroshnykov 已提交
21
Fine-grained control is achieved by various command line options.
S
shlomi-noach 已提交
22

S
shlomi-noach 已提交
23
#### Recovery
S
shlomi-noach 已提交
24

S
Shlomi Noach 已提交
25
`orchestrator` uses a holistic approach to detect master and intermediate master failures. Based on information gained from the topology itself, it recognizes a variety of failure scenarios.
S
shlomi-noach 已提交
26

S
Shlomi Noach 已提交
27
Configurable, it may choose to perform automated recovery (or allow the user to choose type of manual recovery). Intermediate master recovery achieved internally to `orchestrator`. Master failover supported by pre/post failure hooks.
S
shlomi-noach 已提交
28

S
Shlomi Noach 已提交
29
Recovery process utilizes _orchestrator's_ understanding of the topology and of its ability to perform refactoring. It is based on _state_ as opposed to _configuration_: `orchestrator` picks the best recovery method by investigating/evaluating the topology at the time of
S
shlomi-noach 已提交
30 31
recovery itself.

S
shlomi-noach 已提交
32
#### The interface
S
shlomi-noach 已提交
33

S
Shlomi Noach 已提交
34
`orchestrator` supports:
S
shlomi-noach 已提交
35 36 37 38

- Command line interface (love your debug messages, take control of automated scripting)
- Web API (HTTP GET access)
- Web interface, a _slick_ one.
S
snoach 已提交
39

40
![Orcehstrator screenshot](https://github.com/github/orchestrator/raw/master/docs/images/orchestrator-simple-topology.png)
S
snoach 已提交
41

42
#### Additional perks
S
snoach 已提交
43

44 45 46 47 48 49
- Highly available
- Controlled master takeovers
- Manual failovers
- Failover auditing
- Audited operations
- Pseudo-GTID
S
shlomi-noach 已提交
50 51 52
- Datacenter/physical location awareness
- MySQL-Pool association
- HTTP security/authentication methods
S
Shlomi Noach 已提交
53
- Coupled with [orchestrator-agent](https://github.com/github/orchestrator-agent), seed new/corrupt instances
54
- There is also an [orchestrator-mysql](https://groups.google.com/forum/#!forum/orchestrator-mysql) Google groups forum to discuss topics related to orchestrator
S
shlomi-noach 已提交
55 56
- More...

S
Shlomi Noach 已提交
57
Read the [Orchestrator documentation](https://github.com/github/orchestrator/tree/master/docs)
S
snoach 已提交
58

59
Authored by [Shlomi Noach](https://github.com/shlomi-noach) at [GitHub](http://github.com). Previously at [Booking.com](http://booking.com) and [Outbrain](http://outbrain.com)
S
Shlomi Noach 已提交
60

61 62 63
#### Related projects

- Orchestrator Puppet module: https://github.com/github/puppet-orchestrator-for-mysql
64
- Orchestrator Chef Cookbook: https://github.com/silviabotros/chef-orchestrator/
65 66
- Nagios / Icinga check based on Orchestrator API: https://github.com/mcrauwel/go-check-orchestrator

S
Shlomi Noach 已提交
67 68 69
#### License

`orchestrator` is free and open sourced under the [Apache 2.0 license](LICENSE).