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 3.1.5 Repositories table to your local desktop. Once downloaded, open the VDF file in your preferred editor and change the 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. Example Channel Names for Hortonworks Repositories

Hortonworks Repository RedHat Satellite or Spacewalk Channel Name
HDP-3.1.5.6091 hdp_3.1.5.6091
HDP-3.1-GPL* hdp_3.1_gpl
HDP-UTILS-1.1.0.22 hdp_utils_1.1.0.22
  1. <repository-info>
  2. <os family="redhat7">
  3. <package-version>3_0_0_0_*</package-version>
  4. <repo>
  5. <baseurl>http://public-repo-1.hortonworks.com/HDP/centos7/3.x/updates/3.1.5.6091</baseurl>
  6. <repoid>hdp_3.1.5.6091</repoid>
  7. <reponame>HDP</reponame>
  8. <unique>true</unique>
  9. </repo>
  10. <repo>
  11. <baseurl>http://public-repo-1.hortonworks.com/HDP-GPL/centos7/3.x/updates/3.1.5.6091</baseurl>
  12. <repoid>hdp_3.1_gpl</repoid>
  13. <reponame>HDP-GPL</reponame>
  14. <unique>true</unique>
  15. <tags>
  16. <tag>GPL</tag>
  17. </tags>
  18. </repo>
  19. <repo>
  20. <baseurl>http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.22/repos/centos7</baseurl>
  21. <repoid>hdp_utils_1.1.0.22</repoid>
  22. <reponame>HDP-UTILS</reponame>
  23. <unique>false</unique>
  24. </repo>
  25. </os>
  26. </repository-info>

Next Step

Import the custom VDF into Ambari