概要描述
本文档讲述在 TDH6.2.1 版本,部署 pilot enterprise 的步骤
详细说明
准备相关文件
-
下载meatinfo文件
metainfo文件下载地址:https://pan.baidu.com/s/1_WPU09S0hxqQRUyKX1xKYQ
下载 【Studio – Pilot Enterprise – 部署 – metainfo】文件夹下的 【PILOTENTERPRISE.zip】 压缩包
-
下载镜像
imagery文件下载地址:https://pan.baidu.com/s/1_WPU09S0hxqQRUyKX1xKYQ
下载 【Studio – Pilot Enterprise – 部署 – 安装镜像】文件夹下的 【pilot_mysql_image_0513.zip】 和 【pilot_tomcat_image_0513.zip】压缩包
安装pilot enterprise
-
上传压缩文件
将上面下载好的文件上传到集群的manager节点
-
解压三个zip压缩包
- 解压metainfo文件
unzip PILOTENTERPRISE.zip
PILOTENTERPRISE.zip解压之后后生成 PILOTENTERPRISE 和 __MACOSX 两个文件夹
- 解压镜像文件
unzip pilot_mysql_image_0513.zip unzip pilot_tomcat_image_0513.zip
镜像文件解压之后会生成 pilot_mysql_image_0513 和 pilot_mysql_image_0513 两个镜像文件
- 解压metainfo文件
-
准备metainfo文件
注意: 是在manager
节点操作
将PILOTENTERPRISE.zip压缩包解压生成的PILOTENTERPRISE拷贝到/var/lib/transwarp-manager/master/content/meta/services/
目录下
PILOTENTERPRISE文件夹下的文件名是 transwarp-6.0.1-final ,需要重命名为 transwarp-6.2.1-final,保持版本一致。
修改 metainfo.yaml 文件中的镜像为6.2.1版本的
上述步骤操作完之后,重启manager生效
/etc/init.d/transwarp-manager restart
-
加载镜像到集群
docker load -i pilot_mysql_image_0513 docker load -i pilot_tomcat_image_0513
-
修改镜像的tag
docker tag 172.16.1.99/gold/pilotenterprise-mysql:1.0-base mll01:5000/transwarp/smartbi-mysql:transwarp-6.2.1-final docker tag 172.16.1.99/tmp/pilotenterprise-tomcat:1.0.1 mll01:5000/transwarp/smartbi-tomcat:transwarp-6.2.1-final
注意:镜像的标签要和metainfo中的保持一致,也要和TDH集群版本(6.2.1)对应
-
push镜像到仓库
docker push mll01:5000/transwarp/smartbi-tomcat:transwarp-6.2.1-final docker push mll01:5000/transwarp/smartbi-mysql:transwarp-6.2.1-final
-
登到manager页面在 【应用市场】 中进行安装
-
等待安装成功
FAQ
安装过程在启动tomcat步骤报错
查看tomcat pod日志报错内容如下:Unable to load server configuration from [/tomcat/conf/server.xml] Cannot start server. Server instance is not configured.
解决方案:
将镜像里面的/tomcat/conf/server.xml拷贝到装了pilot enterprise的主机的/etc/服务名/conf目录下
docker cp a9513c36613b:/tomcat/conf/server.xml /etc/pilotenterprise1/conf/