TDH621版本安装pilot enterprise步骤

  其他常见问题
内容纲要

概要描述


本文档讲述在 TDH6.2.1 版本,部署 pilot enterprise 的步骤

详细说明


准备相关文件

  1. 下载meatinfo文件
    metainfo文件下载地址:https://pan.baidu.com/s/1_WPU09S0hxqQRUyKX1xKYQ
    下载 【Studio – Pilot Enterprise – 部署 – metainfo】文件夹下的 【PILOTENTERPRISE.zip】 压缩包
    file

  2. 下载镜像
    imagery文件下载地址:https://pan.baidu.com/s/1_WPU09S0hxqQRUyKX1xKYQ
    下载 【Studio – Pilot Enterprise – 部署 – 安装镜像】文件夹下的 【pilot_mysql_image_0513.zip】 和 【pilot_tomcat_image_0513.zip】压缩包
    file

安装pilot enterprise

  1. 上传压缩文件
    将上面下载好的文件上传到集群的manager节点
    file

  2. 解压三个zip压缩包

    • 解压metainfo文件
      unzip PILOTENTERPRISE.zip

    PILOTENTERPRISE.zip解压之后后生成 PILOTENTERPRISE 和 __MACOSX 两个文件夹
    file

    • 解压镜像文件
      unzip pilot_mysql_image_0513.zip 
      unzip pilot_tomcat_image_0513.zip 

    镜像文件解压之后会生成 pilot_mysql_image_0513 和 pilot_mysql_image_0513 两个镜像文件

    file

  3. 准备metainfo文件
    注意: 是在manager节点操作
    将PILOTENTERPRISE.zip压缩包解压生成的PILOTENTERPRISE拷贝到 /var/lib/transwarp-manager/master/content/meta/services/ 目录下
    PILOTENTERPRISE文件夹下的文件名是 transwarp-6.0.1-final ,需要重命名为 transwarp-6.2.1-final,保持版本一致。
    file

    修改 metainfo.yaml 文件中的镜像为6.2.1版本的
    file

    上述步骤操作完之后,重启manager生效

    /etc/init.d/transwarp-manager restart
  4. 加载镜像到集群

    docker load -i  pilot_mysql_image_0513
    docker load -i pilot_tomcat_image_0513

    file

  5. 修改镜像的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)对应

  6. 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
  7. 登到manager页面在 【应用市场】 中进行安装
    file

  8. 等待安装成功
    file

FAQ

安装过程在启动tomcat步骤报错

查看tomcat pod日志报错内容如下:Unable to load server configuration from [/tomcat/conf/server.xml] Cannot start server. Server instance is not configured.
file

解决方案:
将镜像里面的/tomcat/conf/server.xml拷贝到装了pilot enterprise的主机的/etc/服务名/conf目录下

docker cp a9513c36613b:/tomcat/conf/server.xml /etc/pilotenterprise1/conf/

file

这篇文章对您有帮助吗?

平均评分 3.8 / 5. 次数: 5

尚无评价,您可以第一个评哦!

非常抱歉,这篇文章对您没有帮助.

烦请您告诉我们您的建议与意见,以便我们改进,谢谢您。