Docker环境及Rancher控制台部署完成后,可以开始部署Smartbi及其组件。如未部署Docker环境及Rancher控制台,请参考:安装配置Rancher控制台 进行相关配置。
部署Smartbi相关服务
下载服务的配置文件
使用WinSCP工具下载<Smartbi_Base>/deployment_yaml目录
如下图,选择deployment_yaml,右键下载
![](/download/attachments/60391985/worddav8b0d351991673210889072db6e487b62.png?version=1&modificationDate=1600412104000&api=v2)
部署Mysql数据库
点击左上角全局图标,选择Default
点击导入YAML
![](/download/attachments/60391985/worddav55da82a459b66c95fdae235f1ec9acbc.png?version=1&modificationDate=1600412104000&api=v2)
选择从文件读取
选择刚刚下载的deployment_yaml文件夹里的Smartbi-Mysql.yaml,点击打开
![](/download/attachments/60391985/worddav8c4157abcff481d659ef2e2297634df3.png?version=1&modificationDate=1600412104000&api=v2)
点击导入
![](/download/attachments/60391985/worddavfc82e0cd22932dfc347b65517a8e593c.png?version=1&modificationDate=1600412104000&api=v2)
等待状态栏的图标变成绿色的Active,说明smartbi-mysql部署成功。
![](/download/attachments/60391985/worddava31eab07bd37c14d836c8d35d6d0c151.png?version=1&modificationDate=1600412104000&api=v2)
部署Smartbi应用服务
使用同样的方法导入Smartbi-Tomcat.yaml,等待状态图标变成绿色的,说明smartbi-tomcat
容器导入成功。
可以点击查看日志,查看smartbi-tomcat容器的运行状态
如下图,说明smartbi已经成功部署
访问Smartbi:
可以通过http://服务器ip:31080/smartbi/vision/index.jsp 访问smartbi
第一次启动可能需要导入license,可以参考Smartbi Config页面介绍
首次登录访问Smartbi:
默认管理员帐号:admin
默认密码:manager
部署Smartbi-Engine-Experiment服务
Smartbi-Engine是数据挖掘引擎。包含了数据挖掘实验(smartbi-engine-experiment)和数据挖掘服务(smartbi-engine-service)两部分。
Base版本中只包含数据挖掘实验smartbi-engine-experiment.
Base版本中,由于数据挖掘需要连接smartbi进行通讯,smartbi知识库默认带了mining帐号(默认密码:smartbimining),建议在部署后修改mining的默认密码(需要同步修改引擎连接smartbi的密码),确保系统安全。
参考mysql部署章节说明的方法导入Smartbi-Engine-Experiment.yaml,等待状态图标变成绿色的,说明Smartbi-Engine-Experiment节点创建成功。
![](/download/attachments/60391985/worddav25cc3bef102646e93924cb0e2f620b22.png?version=1&modificationDate=1600412104000&api=v2)
部署Smartbi-Infobright服务
参考mysql部署说明的方法,导入Smartbi-Infobright.yaml,等待状态图标变成绿色的,说明Smartbi-Infobright容器导入成功。
![](/download/attachments/60391985/worddave6446e5fbe9dde4527f52adaca5468e3.png?version=1&modificationDate=1600412104000&api=v2)
部署Smartbi-Export导出引擎
参考mysql部署说明的方法,导入Smartbi-Export.yaml,等待状态图标变成绿色的,说明Smartbi-Export容器导入成功。
![](/download/attachments/60391985/worddav2fc5df7498780cc95807bbb790005822.png?version=1&modificationDate=1600412104000&api=v2)