0
点赞
收藏
分享

微信扫一扫

Kettle在windows下分布式集群的搭建

集群的搭建

我这里用的是kettle7.1版本的

下载解压

 

Kettle在windows下分布式集群的搭建_服务器

 

我们打开kettle的安装目录,进入到data-integration->pwd目录,找到carte-config-master-8080.xml文件

Kettle在windows下分布式集群的搭建_xml文件_02

 我这里使用的是notepad工具打开的,carte-config-master-8080.xml文件,文件主要是进行master主机配置。

Kettle在windows下分布式集群的搭建_xml文件_03

 

 

 Kettle在windows下分布式集群的搭建_服务器_04

 在本机部署的集群环境中,建议hostname填localhost

 

 

 接下来编辑.carte-config-8081.xml文件,

Kettle在windows下分布式集群的搭建_xml_05

 其中master1中,name、hostname、port需要和carte-config-master-8080.xml中完全一致。

 

编辑.carte-config-8082.xml文件

Kettle在windows下分布式集群的搭建_xml_06

 

username和password并不是指主机的登陆账号和密码,是集群的账号密码,该账号密码是集群连接的依据,

账号密码是通过混淆的方式保存在pwd文件,kettle默认的账号密码是cluster/cluster

 

 

打开运行窗口(用管理员身份打开),进入到kettle解压的路径下

Kettle在windows下分布式集群的搭建_xml_07

 

 输入carte.bat pwd\carte-config-master-8080.xml,启动master节点

 Kettle在windows下分布式集群的搭建_服务器_08

Kettle在windows下分布式集群的搭建_xml_09

 

 再打开一个窗口,也是进到kettle的解压目录下,执行命令carte.bat pwd\carte-config-8081.xml,则启动8081端口的子服务器。

Kettle在windows下分布式集群的搭建_服务器_10

 

 

 Kettle在windows下分布式集群的搭建_服务器_11

 

 Kettle在windows下分布式集群的搭建_xml文件_12

 

 

 再打开第三个cmd窗口,也是进到kettle的解压目录下,执行命令carte.bat pwd\carte-config-8082.xml,则启动8082端口的子服务器

 

Kettle在windows下分布式集群的搭建_xml_13

 

 Kettle在windows下分布式集群的搭建_xml文件_14

 

 这个时候在浏览器输入http://localhost:8080/

Kettle在windows下分布式集群的搭建_服务器_15

 

 

 

 

 

 

 

用户名 和密码都是 cluster

 

Kettle在windows下分布式集群的搭建_xml_16

 

 

 

 Kettle在windows下分布式集群的搭建_服务器_17

 

 

 Kettle在windows下分布式集群的搭建_xml文件_18

 

 

表示主节点已经启动完毕。输入localhost:8081及localhost:8082查看子服务器状态。

 用户名和密码也都是cluster

Kettle在windows下分布式集群的搭建_xml文件_19

 

 Kettle在windows下分布式集群的搭建_服务器_20

 

另一个子节点也是一样的

 Kettle在windows下分布式集群的搭建_xml文件_21

Kettle在windows下分布式集群的搭建_xml_22

 

举报

相关推荐

0 条评论