2

This is sort of a follow-up question to an unanswered question I have regarding administration of Cloudera cluster, but I figure generalizing the question to all of Ubuntu may help me get an answer.

I want to be able to start/stop the same service on all my cluster's nodes. The only way I see how to do this is to create keys for the root user on my master node to each of the other nodes. Since I follow the Ubuntu recommendation to not use the root account, and instead use a sudo'ing user, I am hesitant to touch the root account (i.e. adding the keys).

Perhaps an alternative would be to add keys for my user to each of the boxes, then use some command to run sudo remotely?

I know there has to be other scenarios where people do something similar. What is the standard practice for this type of cluster management?

Dolan Antenucci
  • 329
  • 1
  • 4
  • 16
  • 1
    Is there any particular reason you don't use something like Puppet instead of manually connecting to each system? – Alex Holst Sep 16 '11 at 19:57
  • Puppet's new to me, but it looks like a promising solution. If you got any favorite how-to's (outside of their documentation) or ways you've used, please let me know. Thanks! – Dolan Antenucci Sep 17 '11 at 04:32

1 Answers1

2

I agree that you should explore puppet. But to be more specific, puppet agents "pull" instructions from a central puppet master. To "push" commands from a central server out to N nodes, one might use mcollective (also a puppetlabs project).

http://blip.tv/the-marionette-collective

Kindjal
  • 154
  • 4