wubolive / dss-linkis-ansible

DSS1.1.1 & Linkis 1.3.0 Ansible 单机一键部署脚本
40 stars 16 forks source link

添加openeuler22.03支持 #14

Closed stdnt-xiao closed 1 year ago

stdnt-xiao commented 1 year ago

已经在阿里云ECS进行测试,使用openeuler22.03镜像 公有云建议直接使用公网ip进行部署

TASK [linkis : 复制依赖包] **** changed: [dss-service] => (item=datanucleus-api-jdo-4.2.4.jar) changed: [dss-service] => (item=datanucleus-rdbms-4.1.19.jar) changed: [dss-service] => (item=javax.jdo-3.2.0-m3.jar) changed: [dss-service] => (item=jdo-api-3.0.1.jar)

TASK [启动linkis服务] **** changed: [dss-service]

TASK [打印linkis启动信息] ** ok: [dss-service] => { "start_info.stdout_lines": [ "We will start all linkis applications, it will take some time, please wait", "<-------------------------------->", "Begin to start mg-eureka", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh restart mg-eureka", "server mg-eureka is not running", "Start to check whether the mg-eureka is running", "Start server, startup script: /home/hadoop/linkis/sbin/ext/linkis-mg-eureka", "=====Java Start Command=====", "nohup java -DserviceName=linkis-mg-eureka -Xmx1024M -XX:+UseG1GC -Xloggc:/home/hadoop/linkis/logs/linkis-mg-eureka-gc.log -cp /home/hadoop/linkis/conf:/home/hadoop/linkis/lib/linkis-spring-cloud-services/linkis-mg-eureka/:/home/hadoop/linkis/lib/linkis-commons/public-module/ org.apache.linkis.eureka.SpringCloudEurekaApplication --eureka.instance.hostname=dss-service --spring.profiles.active=eureka 2>&1 > /home/hadoop/linkis/logs/linkis-mg-eureka.out &", "server linkis-mg-eureka start succeeded!", "\u001b[0;32mSucceed\u001b[0m to start mg-eureka", "", "<-------------------------------->", "<-------------------------------->", "Begin to start mg-gateway", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh restart mg-gateway", "server mg-gateway is not running", "Start to check whether the mg-gateway is running", "Start server, startup script: /home/hadoop/linkis/sbin/ext/linkis-mg-gateway", "=====Java Start Command=====", "nohup java -DserviceName=linkis-mg-gateway -Xmx1024M -XX:+UseG1GC -Xloggc:/home/hadoop/linkis/logs/linkis-mg-gateway-gc.log -cp /home/hadoop/linkis/conf:/home/hadoop/linkis/lib/linkis-spring-cloud-services/linkis-mg-gateway/:/ org.apache.linkis.gateway.springcloud.LinkisGatewayApplication 2>&1 > /home/hadoop/linkis/logs/linkis-mg-gateway.out &", "server linkis-mg-gateway start succeeded!", "\u001b[0;32mSucceed\u001b[0m to start mg-gateway", "", "<-------------------------------->", "<-------------------------------->", "Begin to start ps-publicservice", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh restart ps-publicservice", "server ps-publicservice is not running", "Start to check whether the ps-publicservice is running", "Start server, startup script: /home/hadoop/linkis/sbin/ext/linkis-ps-publicservice", "=====Java Start Command=====", "nohup java -DserviceName=linkis-ps-publicservice -Xmx1024M -XX:+UseG1GC -Xloggc:/home/hadoop/linkis/logs/linkis-ps-publicservice-gc.log -cp /home/hadoop/linkis/conf:/home/hadoop/linkis/lib/linkis-commons/public-module/:/home/hadoop/linkis/lib/linkis-public-enhancements/linkis-ps-publicservice/:/ org.apache.linkis.filesystem.LinkisPublicServiceApp 2>&1 > /home/hadoop/linkis/logs/linkis-ps-publicservice.out &", "server linkis-ps-publicservice start succeeded!", "\u001b[0;32mSucceed\u001b[0m to start ps-publicservice", "", "<-------------------------------->", "<-------------------------------->", "Begin to start cg-linkismanager", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh restart cg-linkismanager", "server cg-linkismanager is not running", "Start to check whether the cg-linkismanager is running", "Start server, startup script: /home/hadoop/linkis/sbin/ext/linkis-cg-linkismanager", "=====Java Start Command=====", "nohup java -DserviceName=linkis-cg-linkismanager -Xmx1024M -XX:+UseG1GC -Xloggc:/home/hadoop/linkis/logs/linkis-cg-linkismanager-gc.log -cp /home/hadoop/linkis/conf:/home/hadoop/linkis/lib/linkis-commons/public-module/:/home/hadoop/linkis/lib/linkis-computation-governance/linkis-cg-linkismanager/:/ org.apache.linkis.manager.am.LinkisManagerApplication 2>&1 > /home/hadoop/linkis/logs/linkis-cg-linkismanager.out &", "server linkis-cg-linkismanager start succeeded!", "\u001b[0;32mSucceed\u001b[0m to start cg-linkismanager", "", "<-------------------------------->", "Tue Apr 18 15:41:19 CST 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.", "Tue Apr 18 15:41:28 CST 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.", "<-------------------------------->", "Begin to start cg-entrance", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh restart cg-entrance", "server cg-entrance is not running", "Start to check whether the cg-entrance is running", "Start server, startup script: /home/hadoop/linkis/sbin/ext/linkis-cg-entrance", "=====Java Start Command=====", "nohup java -DserviceName=linkis-cg-entrance -Xmx1024M -XX:+UseG1GC -Xloggc:/home/hadoop/linkis/logs/linkis-cg-entrance-gc.log -cp /home/hadoop/linkis/conf:/home/hadoop/linkis/lib/linkis-commons/public-module/:/home/hadoop/linkis/lib/linkis-computation-governance/linkis-cg-entrance/:/ org.apache.linkis.entrance.LinkisEntranceApplication 2>&1 > /home/hadoop/linkis/logs/linkis-cg-entrance.out &", "server linkis-cg-entrance start succeeded!", "\u001b[0;32mSucceed\u001b[0m to start cg-entrance", "", "<-------------------------------->", "<-------------------------------->", "Begin to start cg-engineconnmanager", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh restart cg-engineconnmanager", "server cg-engineconnmanager is not running", "Tue Apr 18 15:41:50 CST 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.", "Start to check whether the cg-engineconnmanager is running", "Start server, startup script: /home/hadoop/linkis/sbin/ext/linkis-cg-engineconnmanager", "=====Java Start Command=====", "nohup java -DserviceName=linkis-cg-engineconnmanager -Xmx1024M -XX:+UseG1GC -Xloggc:/home/hadoop/linkis/logs/linkis-cg-engineconnmanager-gc.log -cp /home/hadoop/linkis/conf:/home/hadoop/linkis/lib/linkis-commons/public-module/:/home/hadoop/linkis/lib/linkis-computation-governance/linkis-cg-engineconnmanager/:/ org.apache.linkis.ecm.server.LinkisECMApplication 2>&1 > /home/hadoop/linkis/logs/linkis-cg-engineconnmanager.out &", "server linkis-cg-engineconnmanager start succeeded!", "\u001b[0;32mSucceed\u001b[0m to start cg-engineconnmanager", "", "<-------------------------------->", "<-------------------------------->", "Begin to start cg-engineplugin", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh restart cg-engineplugin", "server cg-engineplugin is not running", "Start to check whether the cg-engineplugin is running", "Start server, startup script: /home/hadoop/linkis/sbin/ext/linkis-cg-engineplugin", "=====Java Start Command=====", "nohup java -DserviceName=linkis-cg-engineplugin -Xmx1024M -XX:+UseG1GC -Xloggc:/home/hadoop/linkis/logs/linkis-cg-engineplugin-gc.log -cp /home/hadoop/linkis/conf:/home/hadoop/linkis/lib/linkis-commons/public-module/:/home/hadoop/linkis/lib/linkis-computation-governance/linkis-cg-engineplugin/:/* org.apache.linkis.engineplugin.server.LinkisEngineConnPluginServer 2>&1 > /home/hadoop/linkis/logs/linkis-cg-engineplugin.out &", "server linkis-cg-engineplugin start succeeded!", "\u001b[0;32mSucceed\u001b[0m to start cg-engineplugin", "", "<-------------------------------->", "start-all shell script executed completely", "Start to check all linkis microservice", "<-------------------------------->", "Begin to check mg-eureka", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh status mg-eureka", "82972", "server mg-eureka is running.", "<-------------------------------->", "<-------------------------------->", "Begin to check mg-gateway", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh status mg-gateway", "83032", "server mg-gateway is running.", "<-------------------------------->", "Tue Apr 18 15:42:06 CST 2023 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.", "<-------------------------------->", "Begin to check ps-publicservice", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh status ps-publicservice", "83080", "server ps-publicservice is running.", "<-------------------------------->", "<-------------------------------->", "Begin to check cg-linkismanager", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh status cg-linkismanager", "83135", "server cg-linkismanager is running.", "<-------------------------------->", "<-------------------------------->", "Begin to check cg-entrance", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh status cg-entrance", "83239", "server cg-entrance is running.", "<-------------------------------->", "<-------------------------------->", "Begin to check cg-engineconnmanager", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh status cg-engineconnmanager", "83308", "server cg-engineconnmanager is running.", "<-------------------------------->", "<-------------------------------->", "Begin to check cg-engineplugin", "Is local execution:sh /home/hadoop/linkis/sbin/linkis-daemon.sh status cg-engineplugin", "83377", "server cg-engineplugin is running.", "<-------------------------------->", "Apache Linkis started successfully" ] }

TASK [linkis : 检查端口是否运行] ***** ok: [dss-service] => (item=20303) ok: [dss-service] => (item=9001) ok: [dss-service] => (item=9101) ok: [dss-service] => (item=9102) ok: [dss-service] => (item=9103) ok: [dss-service] => (item=9104) ok: [dss-service] => (item=9105)

TASK [解压linkis前端包] *** changed: [dss-service]

TASK [创建linkis前端目录] ** changed: [dss-service]

TASK [linkis : 复制前端代码] *** changed: [dss-service]

TASK [linkis : 创建nginx配置] **** changed: [dss-service]

TASK [linkis : 重载nginx配置] **** changed: [dss-service]

TASK [linkis : 检查端口是否运行] ***** ok: [dss-service]

PLAY RECAP *** dss-service : ok=23 changed=18 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0