Apache Ambari Installation for IBM Power Systems
Also available as:
PDF
Setting up a Local Repository With Temporary Internet Access

Prerequisites

Complete the Getting Started Setting up a Local Repository procedure.

- -

To finish setting up your repository, complete the following:

Steps

  1. Put the repository configuration files for Ambari and the Stack in place on the host.

  2. Confirm availability of the repositories.

    yum repolist
  3. Synchronize the repository contents to your mirror server.

    • Browse to the web server directory:

    • For Ambari, create ambari directory and reposync.

      mkdir -p ambari/centos7
      cd ambari/centos7
      reposync -a ppc64le -r ambari-2.5.2.0
    • For HDP Stack Repositories, create hdp directory and reposync.

      mkdir -p hdp/centos7
      cd hdp/centos7
      reposync -a ppc64le -r HDP-2.6.2.0
      reposync -a ppc64le -r HDP-UTILS-1.1.0.21
  4. Generate the repository metadata.

    • For Ambari:

      createrepo <web.server.directory>/ambari/centos7/Updates-Ambari-2.5.2.0
    • For HDP Stack Repositories:

      createrepo <web.server.directory>/hdp/centos7/HDP-<latest.version>
      createrepo <web.server.directory>/hdp/centos7/HDP-UTILS-<version>
  5. Confirm that you can browse to the newly created repository.

    URLs for the New Repository

    Repository

    Base URL

    Ambari Base URL

    http://<web.server>/ambari/centos7/Updates-Ambari-2.5.2.0

    HDP Base URL

    http://<web.server>/hdp/centos7/HDP-<latest.version>

    HDP-UTILS Base URL

    http://<web.server>/hdp/centos7/HDP-UTILS-<version>

    where <web.server> = FQDN of the web server host.

    [Important]Important

    Be sure to record these Base URLs. You will need them when installing Ambari and the Cluster.

  6. Optional. If you have multiple repositories configured in your environment, deploy the following plug-in on all the nodes in your cluster.

    • Install the plug-in.

      • yum install yum-plugin-priorities
    • Edit the /etc/yum/pluginconf.d/priorities.conf file to add the following:

      [main]
      enabled=1
      gpgcheck=0

More Information

Obtaining the Repositories