API Tier Configuration
API Tier Configuration
Guides
R24 AMR | Min(s) read Feedback
You need to configure the parameters com.temenos.iris.connector.name or -Dcom.temenos.iris.connector.name.<warfileName> to define the required
connector.
1. com.temenos.iris.connector.name=<connectorName> - This defines the connector for connecting all deployed API containers.
2. com.temenos.iris.connector.name.<warfileName>=<connectName> - This defines the connector for connecting the given API container war file.
For connectorName, You can configure jmsconnector for Queue-Mode and directconnector for Queue less-Mode. If you define any other values, it will consider the
default value as jmsconnector.
Example:
-Dcom.temenos.iris.connector.name=directconnector
This allows all the API container war files to run with direct connector only.
-Dcom.temenos.iris.connector.name=jmsconnector
This allows all the API container war files to run with JMS connector only.
-Dcom.temenos.iris.connector.name.irf-provider-container=directconnector
This connects the irf-provider-container.war with the direct connector and others based on their package definition.
NOTE:
When the container is built with the "buildForConfigurableConnectors" profile, Provide the required connector name as a JVM argument with the "com.temeno
s.iris.connector.name". However, if the argument is invalid, the JMS connector will be taken as the default connector.
Procedure
https://docs.temenos.com/docs/Solutions/Runbooks/R24-S01-Runbook/t_api-tier-configuration.htm# 1/5
10/7/24, 12:44 AM API Tier Configuration
<bean id="t24ConnectionFactory"
id="t24ConnectionFactory" class="com.temenos.irf.comms.jms.JMSConnectorFactory"
class="com.temenos.irf.comms.jms.JMSConnectorFactory"><property
><property name="propertyReader"
name="propertyReader" ref="t24Con
ref="t24Con
<bean id="t24ConnectionProperties"
id="t24ConnectionProperties" class=
class="com.temenos.irf.config.StandardPropertyReader"
"com.temenos.irf.config.StandardPropertyReader"><property
><property name="path"
name="path" value=
value="classpath:jm
"classpath:jm
7. Start the JBoss app server with below command. Define -Dcom.temenos.iris.connector.name.irf-provider-container=directconnector in jvm
arguments to explicitly launch JBoss with direct connector.
Procedure
https://docs.temenos.com/docs/Solutions/Runbooks/R24-S01-Runbook/t_api-tier-configuration.htm# 2/5
10/7/24, 12:44 AM API Tier Configuration
3. Click Add Server Group and provide the below details such as Name, Socket Binding Group with full-ha Profile.
In the previous step, You have defined Api-Server-Group in the JBoss admin console. You need to make the corresponding changes to host-slave.xml of api servers.
NOTE:
It is assumed that JBoss is installed on the API Slave Servers.
Procedure
1. Navigate to $JBOSS_HOME/domain/configuration directory and open the host-slave.xml using default text editor.
vi $JBOSS_HOME/domain/configuration/host-slave.xml
2. Search for domain-controller and modify the username to JBoss admin user and host to master IP address. Example -
<domain-controller>
<remote security-realm="ManagementRealm"
security-realm="ManagementRealm" username="<Jboss
username="<Jboss Admin User>">
User>">
<discovery-options>
<static-discovery name="primary"
name="primary" protocol=
protocol="${jboss.domain.master.protocol:remote+http}"
"${jboss.domain.master.protocol:remote+http}" host=
host="<Master
"<Master IP>" port=
port="${jboss.domain.maste
"${jboss.domain.maste
</discovery-options>
</remote>
</domain-controller>
3. Search for interfaces section. Add the public and unsecure interfaces. Modify the ip address from 127.0.0.1 to master ip address. Example -
<interfaces>
<interface name="management"
name="management">>
value="${jboss.bind.address.management:127.0.0.1}"
<inet-address value= "${jboss.bind.address.management:127.0.0.1}"/>
/>
</interface>
<interface name="public"
name="public">>
<inet-address value="${jboss.bind.address:10.23.50.140}"
value="${jboss.bind.address:10.23.50.140}"/>
/>
</interface>
<interface name="unsecure"
name="unsecure">>
<inet-address value="${jboss.bind.address.unsecure:10.23.50.140}"
value="${jboss.bind.address.unsecure:10.23.50.140}"/>
/>
https://docs.temenos.com/docs/Solutions/Runbooks/R24-S01-Runbook/t_api-tier-configuration.htm# 3/5
10/7/24, 12:44 AM API Tier Configuration
</interface>
</interfaces>
4. Search for servers section and add the api server as shown below. You need to customize your JVM heap size and permgen space according to your server
capacity.
a. For Slave server 1:
<server name="Api-Server-One"
name="Api-Server-One" group=
group="Api-Server-Group"
"Api-Server-Group" auto-start=
auto-start="true"
"true" update-auto-start-with-server-status=
update-auto-start-with-server-status="false"
"false"><jvm
><jvm name="A
name="A
<server name="Api-Server-Two"
name="Api-Server-Two" group=
group="Api-Server-Group"
"Api-Server-Group" auto-start=
auto-start="true"
"true" update-auto-start-with-server-status=
update-auto-start-with-server-status="false"
"false"><jvm
><jvm name="A
name="A
5. Once you complete the above steps, Start the JBoss slave servers using the below command:
Procedure
http:
http ://10.23.50.140:8090/irf-provider-container/api/v2.2.0/reference/currencies/USD
https://docs.temenos.com/docs/Solutions/Runbooks/R24-S01-Runbook/t_api-tier-configuration.htm# 4/5
10/7/24, 12:44 AM API Tier Configuration
3. Once the URL is executed, You can see the below result.
https://docs.temenos.com/docs/Solutions/Runbooks/R24-S01-Runbook/t_api-tier-configuration.htm# 5/5