[
https://issues.apache.org/jira/browse/AMBARI-10149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14380420#comment-14380420
]
Hudson commented on AMBARI-10149:
---------------------------------
SUCCESS: Integrated in Ambari-trunk-Commit #2111 (See
[https://builds.apache.org/job/Ambari-trunk-Commit/2111/])
AMBARI-10149 Agent Automatic Bootstrap: Install and setup Ambari Agent (fbarca:
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=65b5b9c287483deb478f6fc2109703b624952dd5)
* ambari-agent/conf/windows/service_wrapper.py
* ambari-server/src/test/python/TestSetupAgent.py
* ambari-server/src/main/python/setupAgent.py
*
ambari-common/src/main/python/resource_management/libraries/functions/install_hdp_msi.py
* ambari-common/src/main/python/ambari_commons/os_windows.py
* ambari-common/src/main/python/ambari_commons/os_linux.py
* ambari-agent/src/main/python/ambari_agent/AmbariConfig.py
* ambari-common/src/main/python/ambari_commons/os_utils.py
> Agent Automatic Bootstrap: Install and setup Ambari Agent
> ---------------------------------------------------------
>
> Key: AMBARI-10149
> URL: https://issues.apache.org/jira/browse/AMBARI-10149
> Project: Ambari
> Issue Type: Task
> Components: ambari-agent, ambari-server
> Affects Versions: 2.1.0
> Reporter: Florian Barca
> Assignee: Florian Barca
> Priority: Critical
> Fix For: 2.1.0
>
> Attachments: AMBARI-10149.0.patch
>
>
> Design and implement a bootstrap script that receives a list of hosts to
> bootstrap the Ambari Agent on. Will leverage PowerShell remoting, which is
> expected to be set up as a prerequisite for Ambari deployment in the cluster.
> For each remote node:
> 1. Use PS scp to upload the bootstrap files (setupAgent.py + dependencies,
> client sertificate).
> 2. Remotely invoke python setupAgent.py <agentDownloadUrl> <serverName>
> <projectVersion>
> setupAgent.py:
> if the Agent is not downloaded or the download was interrupted
> download the Agent msi package
> install the Agent from the msi package
> customize the Agent configuration
> register the Ambari Agent Windows service
> if JDK is not installed on the local machine
> download and install JDK
> set the machine-wide JAVA_HOME environment variable
> if the Agent service is running from a previous session
> stop the Agent service
> create/switch the Agent dir symbolic link to the new version
> start the Agent service
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)