简体   繁体   English

在多节点集群上配置Twister

[英]Configuring Twister on multiple node cluster

The only instructions I found on how to set up Twister on multiple nodes, are these . 我对如何建立扭腰多个节点上发现的唯一的指令,是这些 I am quite a newbie to distributed programming and map reduce paradigm, so I could use some more detailed literature (tutorials, articles, examples, questions on stack overflow etc). 我是分布式编程和map reduce范式的新手,因此我可以使用一些更详细的文献(教程,文章,示例,有关堆栈溢出的问题等)。

Let's say I have small cluster, containing two computers. 假设我有一个小型集群,其中包含两台计算机。 Both computers can run a Twister application I wrote on the local host. 两台计算机都可以运行我在本地主机上编写的Twister应用程序。 They are connected within same LAN, with addresses eg 192.168.0.11 and 192.168.0.18 . 它们连接在同一LAN中,地址为192.168.0.11192.168.0.18 Let's say 192.168.0.11 will be master node - the one from which I would like to run my application. 假设192.168.0.11将成为主节点-我希望从中运行应用程序。 Let's call other computer slave . 我们称另一台计算机为slave

Computers can communicate via SSH, without prompting password (master can do password-less SSH to slave and himself; slave can do password-less SSH to master and himself). 计算机可以通过SSH进行通信,而无需提示输入密码(主机可以对从属和自己进行无密码SSH;从属可以对主人和自己进行无密码SSH)。

I also understood that on master node, one should name all IP nodes' addresses in the $TWISTER_HOME/bin/nodes file; 我还了解到,在主节点上,应该在$ TWISTER_HOME / bin / nodes文件中命名所有IP节点的地址。 so, in this case: 因此,在这种情况下:

192.168.0.11
192.168.0.18

What is next? 下一步是什么? Are there some more configurations? 还有更多配置吗? Should something be changed on the slave computer's configuration? 从属计算机的配置是否应该更改? Should Narada and Twister be ran on both computers, or just on master? Narada和Twister应该在两台计算机上运行,​​还是仅在主计算机上运行? These steps look quite blurry to me. 这些步骤对我来说似乎很模糊。

Also, I would very appreciate any related article or something of that kind. 另外,我将不胜感激任何相关文章或此类文章。

Thank you. 谢谢。

On slave: 在奴隶上:

  1. run narada (ip of that node) 运行narada(该节点的IP)

On master: 在母版上:

  1. run narada (both nodes) 运行narada(两个节点)
  2. run twister 运行绕线机
  3. run application 运行应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM