OpenMetadata/docs/install/run-in-production.md

50 lines
1.5 KiB
Markdown
Raw Normal View History

2021-08-12 11:39:56 -07:00
---
description: >-
This installation doc will help you start a OpenMetadata instances on your
production.
2021-08-12 11:39:56 -07:00
---
# Run in Production
2021-08-12 11:39:56 -07:00
2021-08-16 07:50:42 +00:00
Please refer to the previous section [Run Openmetadata](https://github.com/open-metadata/OpenMetadata/blob/63c66391cf27d4d77c4b5c21750d9c09bfa44049/docs/install/run-openmetadata.md) for configuring OpenMetadata.
2021-08-12 11:39:56 -07:00
{% hint style="info" %}
**Prerequisites**
* MySQL >= 8.x
* ElasticSearch >= 7.x
* Airflow or other schedulers to run Ingestion Connectors
{% endhint %}
## Start OpenMetadata
OpenMetadata release ships with `./bin/openmetadata` init.d style script.
2021-08-12 11:39:56 -07:00
```text
cd openmetdata-0.3.0
./bin/openmetdata start
```
2021-08-12 21:14:42 +00:00
We recommend configuring serviced to monitor openmetadata command to restart in case of any failures.
2021-08-12 11:39:56 -07:00
## Running with a load balancer
2021-08-12 21:14:42 +00:00
One or more OpenMetadata instances can be put behind a load balancer for reverse proxying, in that case, an appropriate OpenMetdata URL must be mentioned in the load balancer's configuration file.
2021-08-12 11:39:56 -07:00
For example, in case Apache mod proxy the VirtualHost tag in the configuration file should be edited out with the following
2021-08-12 11:39:56 -07:00
```text
<VirtualHost *:80>
<Proxy balancer://mycluster>
BalancerMember http://127.0.0.1:8585 <!-- First OpenMetadata server -->
BalancerMember http://127.0.0.2:8686 <!-- Second OpenMetadata server -->
</Proxy>
ProxyPreserveHost On
ProxyPass / balancer://mycluster/
ProxyPassReverse / balancer://mycluster/
</VirtualHost>
```