You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Florian Barca (JIRA)" <ji...@apache.org> on 2015/03/23 19:35:52 UTC
[jira] [Commented] (AMBARI-10149) Agent Automatic Bootstrap:
Install and setup Ambari Agent
[ https://issues.apache.org/jira/browse/AMBARI-10149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14376347#comment-14376347 ]
Florian Barca commented on AMBARI-10149:
----------------------------------------
Implemented setupAgent.py on Windows.
+Downloading the Agent msi from the URL received as parameter
+Installing, configuring & starting the Agent as a Windows service
> 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)