Local OS repository
You must create the operating system repository because some of the IBM Storage Scale files, such as rpms have dependencies on all nodes.
-
Create the repository path:
mkdir /var/www/html/repos/<rhel_OSlevel>
-
Synchronize the local directory with the current yum repository:
cd /var/www/html/repos/<rhel_OSlevel>
Note: Before going to the next step, ensure that you have registered your system. For instructions to register a system, refer to Get Started with Red Hat® Subscription Manager. Once the server is subscribed, run the following command: subscription-manager repos --enable=<repo_id> -
Run the following command:
reposync --gpgcheck -l --repoid=rhel-7-server-rpms --download_path=/var/www/html/repos/<rhel_OSlevel>
-
Create a repository for this node:
createrepo -v /var/www/html/repos/<rhel_OSlevel>
- Ensure that all the firewalls are disabled or that you have the httpd service port open, because yum uses http to get the packages from the repository.
- On all nodes in the cluster that require the repositories, create a file in /etc/yum.repos.d called local_<rhel_OSlevel>.repo.
-
Copy this file to all nodes. The contents of this file must look like the following:
[local_rhel_version] name=local_rhel_version enabled=1 baseurl=http://<internal IP that all nodes can reach>/repos/<rhel_OSlevel> gpgcheck=0
- Run the yum repolist and yum install rpms without external connections.