Installing HCP with Ambari
Also available as:
PDF

Install HCP Ambari Management Pack

An HCP Ambari management pack bundles service definitions, stack definitions, and stack add-on service definitions so they do not need to be included with the Ambari core functionality and can be updated in between major releases. You can use the HCP management pack to install Metron, plus the parser topologies, indexing topologies, and enrichment topologies.

You can find the management pack repositories for each of the operating systems supported by HCP in the HCP Release Notes. The following is an example of installing the HCP Ambari management pack on CentosOS 7.
  1. Download the HCP management pack tar file from the HCP repo location:
    wget -nv http://public-repo-1.hortonworks.com/HCP/centos7/1.x/updates/1.8.0.0/tars/metron/hcp-ambari-mpack-1.8.0.0-58.tar.gz
    You can find the management pack repositories for each of the operating systems supported by HCP at HCP Repositories.
    Note
    Note
    When installing Elasticsearch with the HCP management pack on Ubuntu, you must manually install the Elasticsearch repositories. You also do not need to download and install the elasticsearch_mpack.
  2. If you are using Elasticsearch, download the Elasticsearch management pack tar file from the HCP repo location:
    wget -nv http://public-repo-1.hortonworks.com/HCP/centos7/1.x/updates/1.8.0.0/tars/metron/elasticsearch_mpack-1.8.0.0-58.tar.gz
  3. Install the HCP management packs onto the Ambari server:
    Install the elasticsearch_mpack only if you are using Elasticsearch.
    ambari-server install-mpack --mpack=/${MPACK_DOWNLOAD_DIRECTORY}/hcp-ambari-mpack-1.8.0.0-58.tar.gz --verbose ambari-server install-mpack --mpack=/${MPACK_DOWNLOAD_DIRECTORY}/elasticsearch_mpack-1.8.0.0-58.tar.gz --verbose
    You should see a message saying that the management pack completed successfully.