Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1112 from mcrauwel/system-dependency-check
Browse files Browse the repository at this point in the history
Orchestrator systemd depency
  • Loading branch information
shlomi-noach authored Apr 8, 2020
2 parents d982e43 + 00ff507 commit b4c4d5a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ Edit `orchestrator.conf.json` to match the above as follows:
"MySQLOrchestratorPassword": "orch_backend_password",
...

On systemd, and assuming your `orchestrator` config uses a MySQL backend (as opposed to SQLite), ensure that Orchestrator starts after your backend is loaded. Edit `/etc/systemd/system/orchestrator.service` and add `mysqld.service` in the [Unit] section:

[Unit]
After=syslog.target network.target mysqld.service


#### Grant access to orchestrator on all your MySQL servers
For `orchestrator` to detect your replication topologies, it must also have an account on each and every topology. At this stage this has to be the
same account (same user, same password) for all topologies. On each of your masters, issue the following:
Expand Down
2 changes: 1 addition & 1 deletion etc/systemd/orchestrator.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=orchestrator: MySQL replication management and visualization
Documentation=https://github.com/github/orchestrator
After=syslog.target network.target
After=syslog.target network.target mysqld.service mysql.service

[Service]
Type=simple
Expand Down

0 comments on commit b4c4d5a

Please sign in to comment.