Mirror repository server

IBM Storage Scale requires a local repository. Therefore, select a server to act as the mirror repository server. This server requires the installation of the Apache HTTP server or a similar HTTP server.

Every node in the Hadoop cluster must be able to access this repository server. This mirror server can be defined in the DNS, or you can add an entry for the mirror server in /etc/hosts on each node of the cluster.
  • Create an HTTP server on the mirror repository server, such as Apache httpd. If the Apache httpd is not already installed, install it with the yum install httpd command. You can start the Apache httpd by running one of the following commands:
    • apachectl start
    • service httpd start
  • [Optional]: Ensure that the http server starts automatically on reboot by running the following command:
    • chkconfig httpd on
  • Ensure that the firewall settings allow inbound HTTP access from the cluster nodes to the mirror web server.
  • On the mirror repository server, create a directory for your repositories, such as <document root>/repos. For Apache httpd with document root /var/www/html, type the following command:
    • mkdir -p /var/www/html/repos
  • Test your local repository by browsing the web directory:
    • http://<yum-server>/repos
For example:
# rpm -qa | grep httpd
# service httpd start
# service httpd status 
Active: active (running)  Check to ensure is active 
# systemctl enable httpd