Looking for python lib to manage remote tasks
Posted
by Riz
on Stack Overflow
See other posts from Stack Overflow
or by Riz
Published on 2010-05-04T10:22:54Z
Indexed on
2010/05/04
10:28 UTC
Read the original article
Hit count: 161
Hi, I have server with django on it, this server runs some manage.py commands and update database. Now I need to move some of this tasks to different servers. I don't want to allow remote db access and need some tool\lib to be able to start task on remote servers by main server's command and update tasks code/add new tasks. I have ssh access to every server, all servers run under debian and all code in python.
I was thiking about creating my own xmpp based solution(server sends messages to slave servers with commands to execute, like "update task", "run task"), or maybe some low-level ssh based solution where main server logs to slave servers and executes bash commands. But I would be happy to hear any advices.
© Stack Overflow or respective owner