Installing from Packages

Install SRM from packages.

Obtain the SRM software artifacts from the Cloudera Downloads portal. For more information, see Download from the SRM repository.

  1. Copy the package to the machine you want to install SRM on.
  2. Install SRM:
    1. For RHEL/CentOS:
      yum install [SRM_PACAKAGE_NAME]
    2. For Ubuntu/Debian
      dpkg -i [SRM_PACAKAGE_NAME]
    3. For SLES
      zypper install [SRM_PACAKAGE_NAME]
    Replace [SRM_PACAKAGE_NAME] with the name of the package you have downloaded. For example. streams-replication-manager-0.0.1.1.0.0.0-42.x86_64.rpm.
  3. Optional: Specify an alternate temporary-file directory for RocksDB.
    This step is only required if you have mounted /tmp with the noexec option. In this case you have to specify an alternate tmp directory for RocksDB. You can achieve this by adding the alternate directory path to srm-env.sh:
    1. Navigate to the SRM config directory located at /opt/streams-replication-manager/config.
    2. Open srm-env.sh with an editor of your choice and add the following environment variable:
      export ROCKSDB_SHAREDLIB_DIR=/root/tmp/srmrocksdb
SRM is installed on the host.
Use the command line tools provided with SRM to start the driver and service.