[ https://issues.apache.org/jira/browse/TRAFODION-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15802004#comment-15802004 ]
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_r94815054 --- 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 -- @mkby, The URL is what is we plug in to Ambari, so that it will set it up in a repo file on each node where it will install trafodion. Once the repo file is set up on the node, then ambari will do a yum install of apache-trafodion_server package. The only way to work around that is to manually install the RPM on each node. It is much easier to set up a yum repo, if you already have a webserver. If you have a bad URL (including the default one), it will probably break yum install on that cluster. If you have suggestion for better default URL, I'd be glad to hear it. > 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)