Cybersecurity
DevOps Cloud
IT Operations Cloud
What is the Application Repository? How does the Application Repository (AR) fit within the SBM ecosystem? The Application Repository connects different runtime environments. It is the common repository for individual design elements, and their versions, from Composer.
The runtime environment is the Application Engine, Orchestration Engine, Common Services, Common Logger and Mail Services. We connect these runtime environments into groups called environment sets. Note the phrase environment set is a group of environments connected by the Application Repository.
Environment: An environment is a named group of servers and services to which you can deploy process apps. Each environment has one Application Engine server and one or more other target servers and endpoints. Environment Set: One or more environments that share the same code stored in the Application Repository. Often, the development environment will be installed on just one server, while the production environment will consist of multiple servers, including possibly, load balanced servers. |
The Application Repository is not part of the runtime environment. It is the one SBM component that is not needed once the environment is up and running. We merely use the repository when process application changes need to be created, stored, deployed and promoted.
The Application Repository is both a server component and a database. The server component serves the contents of the AR database. Each SBM environment set should have one and only one Application Repository database and server. When setting up SBM on each of your servers, do not install the Application Repository server components on each SBM server. Instead, install the AR components on one and only one server.
Different environments that have an Application Repository service each pointing to a unique AR database/schema can lead to accidental updates of process application elements to the wrong AR database. Process apps being published and deployed to different databases can leave a process app in a bad state and cause many hours of lost work. Of course, there is a valid use case for multiple AR databases, but it beyond the scope and purpose of this blog entry.
Multiple Application Repository service components pointing to the same database will cause anomalous issues. The reason for the anomalies is that activities processed by the AR are scheduled. This is not to say that you have literally scheduled AR to deploy a process app at a future time. When you deploy a process application and do not schedule it, it runs as a scheduled process. The only time two Application Repository services should point to the same database is when JBOSS/Tomcat clustering has been enabled.
When installing SBM on each of servers, do not use a complete install. Instead, do the custom install. The custom install will allow you to deselect the Application Repository server component as necessary. Select to install the AR component on only one server in the environment set.
The SBM Configurator: Components Section
We can just move the Application Repository server component to a new server in the components section, correct?
The SBM Configurator is used to setup the configuration files of each SBM component. These files tell the component how to contact every other component. Your Application Repository component may be listed on a separate server under the Components section of the SBM Configurator (see left). However, if the component is installed on the server, it may still be configured to connect to a database and process commands.
To determine what components are installed on your server, go to the System Information section of your SBM Configurator. If the Application Repository is listed in this section, it is installed and should be assumed configured to run on this server even if the Components section shows the Application Repository on a different server.
If your setup has the repository installed on multiple servers, you have options.
Step 1: Uninstall the Application Repository Component
STEP 2: Direct SBM to the correct Application Repository component
Step 3: Update any Composer connections
Composer connects to the Application Repository component and stores changes to the process apps. If any users were connecting to an Application Repository that was uninstalled, those users will need to update Composer to connect to the remaining AR.
Connection attempt failed. Could not connect to the Repository. Please check that the
Repository Machine Name and Port are connect.