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 3.1.5 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 3.1. Example Channel Names for Hortonworks Repositories
Hortonworks Repository | RedHat Satellite or Spacewalk Channel Name |
---|---|
HDP-3.1.5.0 | hdp_3.1.5.0 |
HDP-3.1.5-GPL* | hdp_3.1.5_gpl |
HDP-UTILS-1.1.0.22 | hdp_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>3_1_5_0_*</package-version> <repo> <baseurl> https://username:password@archive.cloudera.com/p/HDP/centos7-ppc/3.x/updates/3.1.5.0</baseurl> <repoid>hdp_3.1.5.0</repoid> <reponame>HDP</reponame> <unique>true</unique> </repo> <repo> <baseurl> https://username:password@archive.cloudera.com/p/HDP-GPL/centos7-ppc/3.x/updates/3.1.5.0</baseurl> <repoid>hdp_3.1_gpl</repoid> <reponame>HDP-GPL</reponame> <unique>true</unique> <tags> <tag>GPL</tag> </tags> </repo> <repo> <baseurl> https://username:password@archive.cloudera.com/p/HDP-UTILS-1.1.0.22/repos/centos7-ppc</baseurl> <repoid>hdp_utils_1.1.0.22</repoid> <reponame>HDP-UTILS</reponame> <unique>false</unique> </repo> </os> </repository-info>
Next Step