rainbond.md 3.2 KB
Newer Older
1 2 3 4 5 6 7 8
# Use Rainbond Deployment

This section describes the one-click deployment of high availability DolphinScheduler clusters through the [Rainbond](https://www.rainbond.com/) cloud native application management platform. This method is suitable for users who don't know much about complex technologies such as `Kubernetes`, lowering the threshold for deploying DolphinScheduler in `Kubernetes` mode.

## Prerequisites

* Available Rainbond cloud native application management platform is a prerequisite,please refer to the official `Rainbond` documentation [Rainbond Quick install](https://www.rainbond.com/docs/quick-start/quick-install)

9
## DolphinScheduler Cluster One-click Deployment
10 11 12 13 14 15 16

* Logging in and accessing the built-in open source app store, search the keyword `dolphinscheduler` to find the DolphinScheduler App.

![](../../../../img/rainbond/appstore-dolphinscheduler.png)

* Click `install` on the right side of DolphinScheduler to go to the installation page. Fill in the corresponding information and click `OK` to start the installation. You will get automatically redirected to the application view.

17 18
| Select item  |             Description             |
|--------------|-------------------------------------|
19
| Team name    | user workspace,Isolate by namespace |
20 21 22
| Cluster name | select kubernetes cluster           |
| Select app   | select application                  |
| app version  | select DolphinScheduler version     |
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44

![](../../../../img/rainbond/install-dolphinscheduler.png)

* Wait a few minutes, the installation completes and `DolphinScheduler` will be running.

![](../../../../img/rainbond/topology-dolphinscheduler.png)

* Access DolphinScheduler-API components and the default user credentials are `admin` / `dolphinscheduler123`.

![](../../../../img/rainbond/homepage-dolphinscheduler.png)

## API Master Worker Node Telescopic

DolphinScheduler API、Master、Worker all support scaling multiple instances, ensuring the high availability of the entire service.

Take `worker` as an example: enter the `component -> Telescopic` page, and set the number of instances.

![](../../../../img/rainbond/dolpscheduler-worker.png)

To verify `worker` node, enter `DolphinScheduler UI -> Monitoring -> Worker` page to view detailed node information.

![](../../../../img/rainbond/monitor-dolphinscheduler.png)
45

46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
## Configuration file

API and Worker Services share the configuration file `/opt/dolphinscheduler/conf/common.properties`. To modify the configurations, you only need to modify that of the API service.

## How to support Python 3?

Worker service is installed with default `Python3`,you can add environment variables `PYTHON_HOME=/usr/bin/python3`

## How to support Hadoop, Spark, DataX ?

Take `DataX` as an example:

1. Install the plugin。Rainbond Team View -> Plugin -> Install plugin from the App Store -> search `initialization plugin` Install.
2. Open plugin.enter Worker component -> plugin -> open `initialization plugin` and modify the configuration.
   * FILE_URL:http://datax-opensource.oss-cn-hangzhou.aliyuncs.com/datax.tar.gz
   * FILE_PATH:/opt/soft
   * LOCK_PATH:/opt/soft
3. Update component, the plug-in `Datax` will be downloaded automatically and decompress to `/opt/soft`
64 65
   ![](../../../../img/rainbond/plugin.png)

66
---
67