elasticjob-ui 部署

elasticjob-cloud-ui 部署

目前使用包进行部署,后续可以制作为docker镜像部署,并配置为高可用

依赖 ZooKeeper 集群,需要先部署 ZooKeeper

ZooKeeper集群部署

依赖 Mesos 集群,需要先部署 Mesos

Mesos集群部署

依赖 elasticjob-cloud-scheduler 集群,需要先部署 elasticjob-cloud-scheduler

elasticjob-cloud-scheduler集群部署

1. 下载 elasticjob-cloud-ui 文件

# mkdir /data/elasticjob-cloud-ui -pv
# cd /data/elasticjob-cloud-ui

## 下载 elasticjob 文件
# wget https://archive.apache.org/dist/shardingsphere/elasticjob-3.0.1/apache-shardingsphere-elasticjob-3.0.1-cloud-ui-bin.tar.gz

2. 解压包,并修改配置文件

# tar -xvf apache-shardingsphere-elasticjob-3.0.1-cloud-ui-bin.tar.gz

3. 修改配置文件

# cat conf/application.properties


server.port=8088

auth.root_username=root
auth.root_password=root
auth.guest_username=guest
auth.guest_password=guest
auth.token_expires_after_seconds=3600

# ElasticJob-Cloud's zookeeper address
#zk.servers=127.0.0.1:2181
zk_servers=10.0.0.1:2181,10.0.0.2:2181,10.0.0.3:2181

# ElasticJob-Cloud's zookeeper namespace
zk.namespace=elasticjob-cloud

# ElasticJob-Cloud's zookeeper digest
zk_digest=user:123456


# Max size of job accumulated
job.state.queue_size=10000

# Event trace rdb config

event.trace.rdb_driver=com.mysql.jdbc.Driver
event.trace.rdb_url=jdbc:mysql://10.0.0.4:3306/elastic_job_cloud_log
event.trace.rdb_username=root
event.trace.rdb_password=root

4. 下载 com.mysql.jdbc.Driver jar包

# cd /data/elasticjob-cloud-ui/lib
# wget https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.29/mysql-connector-java-8.0.29.jar

5. 启动服务

# cd /data/elasticjob-cloud-ui

## 启动服务
# bin/start.sh

# ss -tnlp | grep 8088
posted @ 2022-04-28 16:33  evescn  阅读(766)  评论(0编辑  收藏  举报