[
https://issues.apache.org/jira/browse/TRAFODION-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15803822#comment-15803822
]
ASF GitHub Bot commented on TRAFODION-2291:
-------------------------------------------
Github user svarnau commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/901#discussion_r94908143
--- Diff: install/README.md ---
@@ -0,0 +1,75 @@
+<!--
+ # @@@ START COPYRIGHT @@@
+ #
+ # Licensed to the Apache Software Foundation (ASF) under one
+ # or more contributor license agreements. See the NOTICE file
+ # distributed with this work for additional information
+ # regarding copyright ownership. The ASF licenses this file
+ # to you under the Apache License, Version 2.0 (the
+ # "License"); you may not use this file except in compliance
+ # with the License. You may obtain a copy of the License at
+ #
+ # http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing,
+ # software distributed under the License is distributed on an
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ # KIND, either express or implied. See the License for the
+ # specific language governing permissions and limitations
+ # under the License.
+ #
+ # @@@ END COPYRIGHT @@@
+ -->
+
+## Trafodion Installers
+
+* **install** - This is the current command-line installer. It installs a
server tarball
+ on an existing CDH or HDP Hadoop cluster.
+* **python-installer** - This is the new command-line installer, meant to
replace current
+ command-line installer. Likewise, installs server tarball on existing
CDH, HDP,
+ or APACHE cluster.
+* **ambari-installer** - This integrates with Ambari cluster manager, so
only applies to HDP.
+ In this case, trafodion server is installed via RPM. This is installed
on Ambari server as
+ a management pack. Trafodion can be included in the initial cluster
creation or added later.
+
+## Ambari Integration
+
+The Ambari MPack (management pack) is also packaged as an RPM, having a
dependency on ambari-server.
+Given a proper yum repo file, `traf_ambari` rpm
+can be installed directly and it pulls in ambari-server.
+If ambari-server is previously installed and running, it must be restarted
to pick up the Trafodion
+management pack.
+
+#### Packaging
+
+Part of Ambari's job is to set up yum repo files on each node in order to
install packages.
+The default URLs are for Hortonworks' public repos. But since your
custom-built Trafodion is
+not hosted there, you need to specify a URL for your local yum repo
server. To build that into
+the `traf_ambari` package, use make to specify value of `REPO_URL`.
+
+ `make package REPO_URL=http://my.repo.server/repo/...`
--- End diff --
Ambari seems to only prompt for the HDP and HDP-UTIL repo URLs, and not any
repo added in an mpack. It certainly can be changed in the repoinfo.xml file
after installing traf_ambari RPM. Trafodion does source code releases, so
anyone going to build it to install or distribute it can specify their own web
server URL. Also, downstream provider can use it to distribute releases. Just
as hortonworks distributes other products. If/when a distributor provides a
site for trafodion releases, they can provide this ambari plugin that points to
that site.
> Integrate with Ambari cluster manager
> -------------------------------------
>
> Key: TRAFODION-2291
> URL: https://issues.apache.org/jira/browse/TRAFODION-2291
> Project: Apache Trafodion
> Issue Type: New Feature
> Components: Build Infrastructure, installer
> Reporter: Steve Varnau
> Assignee: Steve Varnau
>
> Trafodion should be installable via Ambari. We can create an extension or
> management pack that would plug into ambari.
> The trafodion management commands (sqstart, sqstop, sq...) currently work
> across cluster via required ssh access. Eventually, we should get away from
> that, but in the mean time we can define a component/role on a single node to
> run these commands.
> Current installer also does not fit into the required architecture to run
> installation node-by-node. That needs to be re-factored, so that command-line
> install can share code with cluster-manager (e.g., ambari) install.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)