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

集群的搭建

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

下载解压

 

Kettle在windows下分布式集群的搭建_第1张图片

 

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

Kettle在windows下分布式集群的搭建_第2张图片

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

Kettle在windows下分布式集群的搭建_第3张图片

 

 

 Kettle在windows下分布式集群的搭建_第4张图片

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

 

 

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

Kettle在windows下分布式集群的搭建_第5张图片

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

 

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

Kettle在windows下分布式集群的搭建_第6张图片

 

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

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

 

 

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

Kettle在windows下分布式集群的搭建_第7张图片

 

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

 Kettle在windows下分布式集群的搭建_第8张图片

Kettle在windows下分布式集群的搭建_第9张图片

 

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

Kettle在windows下分布式集群的搭建_第10张图片

 

 

 Kettle在windows下分布式集群的搭建_第11张图片

 

 Kettle在windows下分布式集群的搭建_第12张图片

 

 

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

 

Kettle在windows下分布式集群的搭建_第13张图片

 

 Kettle在windows下分布式集群的搭建_第14张图片

 

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

Kettle在windows下分布式集群的搭建_第15张图片

 

 

 

 

 

 

 

用户名 和密码都是 cluster

 

Kettle在windows下分布式集群的搭建_第16张图片

 

 

 

 Kettle在windows下分布式集群的搭建_第17张图片

 

 

 Kettle在windows下分布式集群的搭建_第18张图片

 

 

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

 用户名和密码也都是cluster

Kettle在windows下分布式集群的搭建_第19张图片

 

 Kettle在windows下分布式集群的搭建_第20张图片

 

另一个子节点也是一样的

 Kettle在windows下分布式集群的搭建_第21张图片

Kettle在windows下分布式集群的搭建_第22张图片

 

转载于:https://www.cnblogs.com/braveym/p/9719724.html

你可能感兴趣的:(Kettle在windows下分布式集群的搭建)