Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Are we able to stop ambari agents without logging into each and every host? Can we do make it possible from ambari server?

avatar
Expert Contributor
 
1 ACCEPTED SOLUTION

avatar
Super Collaborator

@Ram D. If you have passwordless SSH set up from the Ambari Server to all the hosts with Ambari Agents, you can use a distributed shell, such as pdsh, to issue the command to your hosts and stop the Ambari Agents. Doing so from the Ambari Server console is not an option and I do not believe it will be based on the architecture type that Ambari uses.

View solution in original post

2 REPLIES 2

avatar
Super Collaborator

@Ram D. If you have passwordless SSH set up from the Ambari Server to all the hosts with Ambari Agents, you can use a distributed shell, such as pdsh, to issue the command to your hosts and stop the Ambari Agents. Doing so from the Ambari Server console is not an option and I do not believe it will be based on the architecture type that Ambari uses.

avatar
Master Mentor

Mobaxterm, pdsh, ansible, chef, saltstack any of these tools can execute in parallel across your nodes.