Create the Repository Configuration File

A repository configuration file must be created for the Streams Messaging Manager Service on the DP Platform host. The file is required to identify the path to the repository data, establish whether a GPG signature check should be performed on the repository packages, etc. A unique repository configuration file is required for DP Platform and the SMM application. No configuration files is required for the SMM Rest Server.

  1. Navigate to the repository directory.
    cd /etc/yum.repos.d/
  2. Create a repository file.
    vi dss-app.repo
    vi smm-app.repo
    Alternatively, you can copy an existing repository file to edit.
  3. Add the following content in the repository file:
    #VERSION_NUMBER=<downloaded-version#> [<service-name-abbreviation>]
    This is composed of the service name abbreviation and version number (includes the build number). Example: SMM-APP-2.0.0.0-x
    name=<service-name-abbreviation> Version - <service-name-abbreviation>
                         
    baseurl=http://<webserver-host-name>/<directory-containing-repo>
                         

    <webserver-host-name> is the FQDN of the web server host that contains the repository. This is the same base URL that you used in the task to prepare the repositories.

    <directory-containing-repo> is the path expanded from the tarball.

    gpgcheck=1
    gpgkey=http://<webserver-host-name>/<directory-containing-repo>/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
    enabled=1
    priority=1

Example Repository File

#VERSION_NUMBER=1.0.0.0-59 
[DSS-APP-1.0.0.0-59] 
name=DSS-APP Version - DSS-APP-1.0.0.0-59
baseurl=http://<your_webserver>:port/DSS-APP/centos7/1.0.0.0
gpgcheck=1
gpgkey=http://<your_webserver>:port/DSS-APP/centos7/1.0.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
#VERSION_NUMBER=2.0.0.0-x 
[SMM-APP-2.0.0.0-x] 
name=SMM-APP Version - 2.0.0.0-x
baseurl=http://<your_webserver>:port/SMM-APP/centos7/2.0.0.0
gpgcheck=1
gpgkey=http://<your_webserver>:port/SMM-APP/centos7/2.0.0.0/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1