简体   繁体   English

寻求开源Linux工具进行分布式任务管理

[英]Seeking open source linux tools for distributed task management

We have an architecture with a couple hundred of servers with about 200 processes (all developed in-house) spread over them, some controlled by crontab and some that run as daemons. 我们有一个架构,其中包含数百个服务器,其中散布着大约200个进程(全部由内部开发),其中一些由crontab控制,另一些作为守护程序运行。 Some servers are in 'groups' where all servers are configured identically, and other servers have custom configurations. 一些服务器位于“组”中,其中所有服务器的配置都相同,而其他服务器则具有自定义配置。 I've been tasked with centralizing the control of these tasks. 我的任务是集中控制这些任务。

One use case is that a user ssh'ed into any box must be able to control any process on the network in something close to real time, by starting and stopping the relevant daemon or rebuilding and reinstalling the crontab. 一个用例是,通过启动和停止相关的守护程序或重新构建并重新安装crontab,将用户放入任何盒子都必须能够以接近实时的方式控制网络上的任何进程。 There are already various bits and pieces created to drive all of this from a database, but the overall architecture hasn't been thought through. 已经创建了各种零碎的东西来从数据库中驱动所有这些操作,但是尚未考虑整个体系结构。

I'm expecting I'll write a daemon that will run on each server and mediate between peer-to-peer networking, the database and the daemons and crontabs. 我期望我将编写一个守护程序,该守护程序将在每台服务器上运行,并在对等网络,数据库以及守护程序和crontabs之间进行中介。

I'm surveying what technologies might aid and abet this project. 我正在调查哪些技术可以帮助和教bet该项目。

I think I'm looking for peer-to-peer reliable communication technologies. 我认为我正在寻找对等可靠的通信技术。 Though I'm not 100 percent sure that's what I need. 尽管我不是100%确信那是我所需要的。 Things on my radar include Spread, JXTA, Zookeeper and JMS. 我关心的事情包括Spread,JXTA,Zookeeper和JMS。

What are people's experiences with these technologies, and what other technologies should I check out? 人们对这些技术有什么经验,我还应该检查哪些其他技术? As I see it, I'm going to have very low data rates (a few thousand bytes per hour at most). 如我所见,我将具有非常低的数据速率(每小时最多几千个字节)。 But reliability and a mature API are important. 但是可靠性和成熟的API很重要。

Sorry, this is not a really direct answer to any of your questions but stuff you describe sounds alot like you will end up doing alot of duplicate work - specially if just thinking about the "user ssh's into one box" part. 抱歉,这不是对您提出的任何问题的直接答案,但是您描述的内容听起来很像您最终将完成大量重复的工作-特别是如果仅考虑“将用户ssh放入一个盒子”部分。 (pun unintentional but now that i noticed it, yey!=) (双关语是无意的,但现在我注意到了,是!=)

Have you taken a look in projects like http://www.cfengine.org or http://www.theether.org/pssh/ ? 您是否浏览过http://www.cfengine.orghttp://www.theether.org/pssh/等项目?

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

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