环境准备
1. otter manager依赖于mysql进行配置信息的存储,所以需要预先安装mysql,并初始化otter manager的系统表结构
wget https://raw.github.com/alibaba/otter/master/manager/deployer/src/main/resources/sql/otter-manager-schema.sql
在mysql命令行执行source otter-manager-schema.sql
2. 整个otter架构依赖了zookeeper进行多节点调度,所以需要预先安装zookeeper,不需要初始化节点,otter程序启动后会自检.
manager需要在otter.properties中指定一个就近的zookeeper集群机器
启动步骤
manager安装https://github.com/alibaba/otter/wiki/Manager_Quickstart
1. 下载otter manager
wget https://github.com/alibaba/otter/releases/download/otter-x.y.z/manager.deployer-x.y.z.tar.gz
2. 解压缩
tar -zxvf manager.deployer-$version.tar.gz
3. 配置修改vi otter.properties
otter.domainName = blg-otter.imrfre