ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Barca (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-10149) Agent Automatic Bootstrap: Install and setup Ambari Agent
Date Fri, 20 Mar 2015 10:16:39 GMT
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)

Mime
View raw message