Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

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

Solved Go to solution

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

Expert Contributor
 
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

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

Expert Contributor

@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
Highlighted

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

Expert Contributor

@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

Highlighted

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

Mentor

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

Don't have an account?
Coming from Hortonworks? Activate your account here