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.4 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. Example Channel Names for Hortonworks Repositories

Hortonworks Repository RedHat Satellite or Spacewalk Channel Name
HDP-3.1.4.0 hdp_3.1.4.0
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>https://archive.cloudera.com/p/HDP/3.x/3.1.4.0/centos7/</baseurl>
  6. <repoid>hdp_3.1.4.0</repoid>
  7. <reponame>HDP</reponame>
  8. <unique>true</unique>
  9. </repo>
  10. <repo>
  11. <baseurl>https://archive.cloudera.com/p/HDP-GPL/3.x/3.1.4.0/centos7/</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>https://archive.cloudera.com/p/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