Set up DLM packages in local repository
Follow these steps to set up the DLM packages in the local repository.
-
Copy the repository tarball for the DLM Instance to the web server directory and
expand (uncompress) the archive file:
-
Navigate to the web server directory you previously created.
cd /var/www/html/
All content in this directory is served by the web server. -
Move the following tarballs to the current directory and expand the tarballs
- DLM-x.X.X.X-XX-<OSplatform>-rpm.tar.gz and
DLM-APP-x.x.x.0-xx-centos7-rpm.tar.gz.
Replace <filename> with the actual name of the RPM tarball that you are expanding.
tar zxvf <file-name>.tar.gz
During expansion of the tarball, subdirectories are created in /var/www/html/, such as DLM/centos7. These directories contain the repositories.Expanding the tarball might take several seconds.
-
Navigate to the web server directory you previously created.
-
Confirm that you can browse to the newly created local repository by using the
Base URL:
http://<your_webserver>:port/<repo_name>/<OS>/<version>
- <your_webserver>:port
This is the FQDN and port of the web server host.
- <repo_name>
The repository name of the DLM or DLM-App.
- <OS>
The operating system, which is centos6 or centos7.
- <version>
The version number of the downloaded component.
Base URL example for DLM Engine:http://<your_webserver>:port/DLM/centos7/1.1.1.0
Base URL example for DLM Service:http://<your_webserver>:port/DLM-App/centos7/1.1.0.0
Remember this Base URL. You need it to set up the repository configuration file in subsequent steps. - <your_webserver>:port
-
If you have multiple repositories configured in your environment, deploy the
following plugin on all the nodes in your cluster.
yum install yum-plugin-priorities
-
Edit the /etc/yum/pluginconf.d/priorities.conf file to add the
following values:
[main] enabled=1 gpgcheck=0
The local repository is now set up and ready for use.
Create the configuration file for the newly created local repository.