Installing the Plant Applications Message Bridge

You must install the Plant Applications Message Bridge on the Plant Applications server node to access the real-time updates on the applications in the Plant Applications Web Client.

Before you begin

We recommend that the Plant Applications Message Bridge be installed before installing the Plant Applications Web Client. In addition, the Message Bridge configuration file will not be replaced with the new one during the installation. Therefore, we recommend that you delete the existing configuration file located at <Plant Applications installation folder>\Proficy Server\RabbitMQMessageBridgeService\Proficy.PlantApps.MessageBridge.Service.exe.config.
  • Ensure that you complete the following procedure specific to the Plant Applications Message Bridge:
    1. Uninstall the earlier version of the Plant Applications Message Bridge, RabbitMQ, and Erlang.

      The Proficy Server Message Bridge service is disabled.

    2. Delete following directories:
      • C:\Program Files (x86)\Proficy\Proficy Server\RabbitMQMessageBridgeService
      • C:\Users\{users who installed MessageBridge}\AppData\Roaming\RabbitMQ
    3. Restart your computer.
    4. Delete (if any) the RabbitMQ key from the registry:
      • HKEY_LOCAL_MACHINE\SOFTWARE\Ericsson\Erlang\ErlSrv\1.1\RabbitMQ
    5. Install the version of the Plant Applications Message Bridge included in the Plant Applications installer.
    6. Restart the Proficy Server Manager service.

      The Proficy Server Message Bridge service is automatically restarted.

  • Ensure that you create a backup copy of the text file that includes the user-specific settings. The file is created in the directory <tomcat_home>/Apache Software Foundation/Tomcat 9.0/users/<user>, where:
    • <tomcat_home> is the directory where you installed Apache Tomcat. For example, C:/Program Files.
    • <user> is the name of a logged-in user.
    After you upgrade, you can copy-paste the file to the same location to replicate the user-specific settings. For more information, refer to the Plant Applications Web Client Help.

About this task

The Plant Applications Message Bridge installer installs the following prerequisites:
  • Erlang OTP
  • RabbitMQ Server
  • Kafka
  • Zookeeper
Note: If the Plant Applications Message Bridge is currently installed, do not reinstall the Message Bridge. You can verify whether the Message Bridge is installed in the Programs and Features list on your computer as shown in the following image.

Procedure

  1. Select the Plant Applications Message Bridge wizard, and, on the welcome screen, select Next to install the Message Bridge.
  2. Select Next.
    The Read and accept the license agreement to continue screen appears.

  3. Read the license agreement, select Accept, and then select Next to continue the installation.
    The RabbitMQ Administrator Account Credentials screen appears.

  4. In the RabbitMQ Administrator Account Credentials screen, enter the following credentials:
    CredentialDescription
    Server nameEnter the computer name or IP address that hosts your Plant Applications Message Bridge.
    UsernameEnter the user name you intend to use as an administrator.
    PasswordEnter the password for the administrator's user name you entered in the Username box.
    Confirm PasswordRe-enter the password that you entered in the Password box for confirmation.
  5. Select Next.
    The Kafka TCP port assignments screen appears.

    Note: Kafka is installed in a different directory than the default directory to ensure that the kafka service is up and running.
    • By default, Zookeeper is installed in <Plant Applications installation _directory>\Proficy\Proficy Server\zookeper-3.5.5.
    • Kafka is installed in C:\Kafka.
  6. In the Kafka TCP port assignments screen, enter the credentials to access the Kafka server as described in the following table.
    CredentialDescription
    Use external KafkaSelect this check box if you want to configure an external Kafka instance.
    Server NameEnter the host name of the Kafka server.
    Note: Instead of IP address, it is recommended to use the Kafka host name (computer name).
    Zookeeper Client PortEnter the Zookeeper Client port number.
    Note: Ensure that you have entered a valid Zookeeper port number. If you have entered an invalid port number, refer to Changing the Zookeeper Port Number.
    Zookeeper Admin PortEnter the Zookeeper Admin port number.
    Kafka PortEnter the Kafka port number.
    If all the options are entered correctly, the Next button is enabled.
  7. Select Next.
    The Plant Applications Database Credentials screen appears.
  8. In the Plant Applications Database Credentials screen, enter the Plant Applications database credentials as described in the following table.
    CredentialDescription
    Server nameEnter the server name where the Plant Applications database is installed in the format HOST_NAME\INSTANCE. Where HOST_NAME is the host name (either a fully qualified domain name or IP address, of the server) and INSTANCE is the instance of the server used by the database.
    Note: If there is no instance for the server, you can enter HOSTNAME as the server name. Localhost is not an acceptable value for HOSTNAME.
    DatabaseEnter the name of the Plant Applications database that you want to connect with the Plant Applications Web Client.
    UserEnter the user name that has permissions to access the database you entered in the Database box. By default, the user name appears as sa.
    PasswordEnter the password for the user name you entered in the User box.
    InstanceEnter the name of the instance of the SQL server. Entering an instance is optional.
    PortOptional: Enter the number of the port that the instance uses to listen for client connections.
  9. Select Validate Connection to validate the database connection.
    If the database connection is successfully validated, the Next button is enabled.
  10. Select Next.
    The Plant Applications Administrator Account Credentials screen appears.

  11. In the Plant Applications Administrator Account Credentials screen, enter the user name and password for an administrator account in Plant Applications, and then select Validate Connection to validate the credentials.
    If the credentials are successfully validated, the Next button is enabled.
  12. Select Next.
    The You are ready to install screen appears.
  13. Select Install to install all the prerequisites and the Message Bridge.
    Depending on the options selected, the installation process may take some time. The installer displays the status updates.
    On successful installation, the Installation Successful screen appears.
  14. Optional: Select View Logs to see the installation details.
  15. In the Installation Successful screen, select Exit to close the wizard.

Results

The Message Bridge is successfully installed on your computer.

What to do next

After you install the Message Bridge, complete the following procedure to enable the Proficy Server Manager service to pass messages between the Plant Applications:
  1. Configure your Administrator user in RabbitMQ. For more information, refer to the Configuring a User in RabbitMQ topic.
  2. Restart the Proficy Server Manager service to automatically start the Proficy Server Message Bridge service.

The Proficy Server Message Bridge service allows messages to pass between the Plant Applications clients.