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/20 11:16:39 UTC

[jira] [Created] (AMBARI-10149) Agent Automatic Bootstrap: Install and setup Ambari Agent

Florian Barca created AMBARI-10149:
--------------------------------------

             Summary: 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


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)