How to create local HDP repository for production server? Please provide proper steps.
Provided step are proper but some time RPO is failing.
Can you please provide more details about what do you mean by "some time RPO is failing." any error / exception?The Following link provides the detailed steps to configure the local repo setup: https://docs.hortonworks.com/HDPDocuments/Ambari-220.127.116.11/bk_ambari-installation-ppc/content/getting_...
Basically it involves the following steps:
1. Installing the "yum-utils, createrepo" packages.
# yum install yum-utils createrepo
2. Creating a directory on WebServer (httpd) with "followsymlinks" enabled.
# mkdir -p /var/www/html/
3. Get the HDP repository from HDP repo "tar.gz" file from https://docs.hortonworks.com/HDPDocuments/Ambari-18.104.22.168/bk_ambari-installation/content/hdp_26_repos...
4. Copy the repository tarballs to the web server directory and untar inside the following dir:
# cd /var/www/html/
For HDP Create directory and untar under <web.server.directory>/hdp
So that the extarcted path of the HDP repo after extracting should be something so that we can access the "baseurl" of our local repo with the following URL: