Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

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.