Apache Ambari Installation
Also available as:
PDF
loading table of contents...

Configuring Ambari to use RedHat Satellite or Spacewalk

The Ambari Server uses Version Definition Files (VDF) to understand which product and component versions are included in a release. In order for Ambari to work well with Satellite or Spacewalk, you must create a custom VDF file for the specific Operating System versions in your cluster that tells Ambari which RedHat Satellite or Spacewalk channel names to use when installing or upgrading the cluster.

To create a custom VDF file, we recommend downloading an existing VDF from the our HDP 2.6 Repositories table to your local desktop. Once downloaded, open the VDF file in your preferred editor and change the <repoid/> tags for each repository to match the Satellite or Spacewalk channel names previously configured. For this example, I’ve created the following channels in Satellite or Spacewalk:

Table 6.1. Exammple Channel Names for Hortonworks Repositories

Hortonworks RepositoryRedHat Satellite or Spacewalk Channel Name
HDP-2.6.5.0hdp_2.6.5.0
HDP-2.6-GPL*hdp_2.6_gpl
HDP-UTILS-1.1.0.22hdp_utils_1.1.0.22

* If LZO compression is going to be used in your cluster, see Configuring LZO Compression for more information.

<repository-info>
    <os family="redhat7">
      <package-version>2_6_5_0_*</package-version>
      <repo><baseurl>http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.5.0</baseurl>
      <repo>
 <baseurl>http://public-repo-1.hortonworks.com/HDP/centos7/2.x/updates/2.6.5.0</baseurl>
        <repoid>hdp_2.6.5.0</repoid>
        <reponame>HDP</reponame>
        <unique>true</unique>
      </repo>
      <repo><baseurl>http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.5.0</baseurl>
      <repo>
 <baseurl>http://public-repo-1.hortonworks.com/HDP-GPL/centos7/2.x/updates/2.6.5.0</baseurl>
        <repoid>hdp_2.6_gpl</repoid>
        <reponame>HDP-GPL</reponame>
        <unique>true</unique>
        <tags>
          <tag>GPL</tag>
        </tags>
      </repo>
      <repo>
 <baseurl>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7</baseurl>
        <repoid>hdp_utils_1.1.0.22</repoid>
        <reponame>HDP-UTILS</reponame>
        <unique>false</unique>
      </repo>
    </os>
  </repository-info>

Next Step

Import the custom VDF into Ambari