2014-01-25 03:19:14 +04:00
|
|
|
# Production setup
|
|
|
|
Setting up vitess in production will depend on many factors.
|
|
|
|
Here are some initial considerations:
|
2015-05-11 23:47:59 +03:00
|
|
|
|
2014-09-05 10:26:38 +04:00
|
|
|
* *Global Transaction IDs*: Vitess requires a version of MySQL
|
2015-05-08 20:30:31 +03:00
|
|
|
that supports GTIDs.
|
|
|
|
We currently support MariaDB 10.0 and MySQL 5.6.
|
2014-01-25 18:55:20 +04:00
|
|
|
* *Firewalls*: Vitess tools and servers assume that they
|
|
|
|
can open direct TCP connection to each other. If you have
|
|
|
|
firewalls between your servers, you may have to add exceptions
|
|
|
|
to allow these communications.
|
|
|
|
* *Authentication*: If you need authentication, you
|
|
|
|
need to setup SASL, which is supported by Vitess.
|
|
|
|
* *Encryption:* Vitess RPC servers support SSL.
|
2014-01-25 03:19:14 +04:00
|
|
|
* *MySQL permissions*: Vitess currently assumes that all
|
|
|
|
application clients have uniform permissions.
|
|
|
|
The connection pooler opens a number of connections under
|
|
|
|
the same user (vt_app), and rotates them for all requests.
|
|
|
|
Vitess management tasks use a different user name (vt_dba),
|
|
|
|
which is assumed to have all administrative privileges.
|
2014-01-25 18:55:20 +04:00
|
|
|
* *Client Language*: We currently support
|
2014-01-25 03:36:34 +04:00
|
|
|
Python and Go.
|
|
|
|
It's not too hard to add support for more languages,
|
2014-09-05 10:26:38 +04:00
|
|
|
and we are open to contributions in this area.
|
2014-01-25 03:36:34 +04:00
|
|
|
|
2015-05-08 20:30:31 +03:00
|
|
|
## Deploying in Kubernetes
|
2014-01-25 03:36:34 +04:00
|
|
|
|
2017-09-15 01:55:15 +03:00
|
|
|
See the [Getting Started]({% link getting-started/index.md %}) guide.
|
2014-01-25 03:36:34 +04:00
|
|
|
|
2015-05-08 20:30:31 +03:00
|
|
|
## Deploying on bare metal
|
2014-01-25 03:36:34 +04:00
|
|
|
|
2015-05-08 20:30:31 +03:00
|
|
|
See the
|
2018-03-05 18:31:55 +03:00
|
|
|
[Local Setup](https://github.com/vitessio/vitess/tree/master/examples/local)
|
2015-05-08 20:30:31 +03:00
|
|
|
scripts for examples of how to bring up a Vitess cluster manually.
|