----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/53496/#review154959 -----------------------------------------------------------
ambari-agent/conf/unix/agent-multiplier.py (line 35) <https://reviews.apache.org/r/53496/#comment224756> Each VM will contain this file. The user is expected to * install Ambari Agent RPMs on the VM * modify its ambari-agent.ini file to point it to the server * add dummy configs like, hostname_script=foo public_hostname_script=fo * create the agent-multiplier.conf file with values for start, num, and prefix And then run this script, python agent-multiplier start To start all of the agents on this VM, each with a unique port number. ambari-agent/conf/unix/agent-multiplier.py (line 237) <https://reviews.apache.org/r/53496/#comment224751> Will add this in a future patch. ambari-agent/conf/unix/agent-multiplier.py (line 279) <https://reviews.apache.org/r/53496/#comment224754> These are the supported commands. - Alejandro Fernandez On Nov. 4, 2016, 6:27 p.m., Alejandro Fernandez wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/53496/ > ----------------------------------------------------------- > > (Updated Nov. 4, 2016, 6:27 p.m.) > > > Review request for Ambari, Andrew Onischuk, Aravindan Vijayan, Myroslav > Papirkovskyy, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi. > > > Bugs: AMBARI-18735 > https://issues.apache.org/jira/browse/AMBARI-18735 > > > Repository: ambari > > > Description > ------- > > We need a method of easily bootstrapping multiple Ambari Agents on a single > host. > For example, a script that will create each agent's home directory, modify > its config file with unique hostname and port number, etc. > The script should also allow starting/stopping all agents on the host, and > aggregating the status. > > > Diffs > ----- > > ambari-agent/conf/unix/agent-multiplier.py PRE-CREATION > > Diff: https://reviews.apache.org/r/53496/diff/ > > > Testing > ------- > > Verified it works locally and on a cloud environment. > > > Thanks, > > Alejandro Fernandez > >
