Installing Broker on RHEL systems
Make sure you have completed all generic prerequisites mentioned in the Prerequisites section.
Install OpenJDK 21 using the following command:
Older versions of RHEL:
sudo yum install java-21-openjdk-develNewer versions of RHEL:
sudo dnf install java-21-openjdk-devel
Verify the Java version:
java --versionInstall the broker using the downloaded package:
sudo rpm -ivh britivrbroker.rpmChange the directory to /opt:
cd /optVerify if the owner of the folder britive-broker is britivebroker; if not, change the owner of the britive-broker directory:
sudo chown -R britivebroker:britivebroker britive-brokerChange directory to broker's config file:
cd /opt/britive-broker/config/Rename the config file:
mv broker-config-template.yml broker-config.ymlOpen and edit the broker configuration file using vi:
vi broker-config.ymlStart the broker service:
sudo systemctl start britive-broker
Upgrading Access Broker
There are two ways to upgrade an Access Broker on RHEL:
Uninstalling and installing broker package again:
Uninstall the Britive package for the broker and install the desired version.
Ensure /opt/britive-broker/conf/broker-config.yml and /opt/britive-broker/conf/logback.xml have not been modified after the upgrade.
In-place upgrade, preserving the existing broker configuration files:
Verify the current version of the broker package:
$ sudo rpm -q britive-brokerExpected output example:
britive-broker-2.0.1Make a note of the current version. This is useful for rollback reference if needed.
Run the following command to perform the in-place upgrade, replacing the filename with the actual RPM file path:
$ sudo yum upgrade ./britive-broker-2.1.0.rpmYum resolves dependencies and upgrades the existing installation without removing configuration files. Confirm any prompts during the process.
Restart the broker service to load the new version:
$ sudo systemctl restart britive-broker.serviceThe service stops, applies the updated binaries, and starts again. No output is returned on success.
Run the version query again to confirm the upgrade was successful:
$ sudo rpm -q britive-brokerExpected output example:
britive-broker-2.1.0