Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

How To Setup Nuodb in FCM

Information in this document is subject to change without notice.

No part of this document may be reproduced or transmitted in any form or by any means,
for any purpose, without the express written permission of TEMENOS HEADQUARTERS SA.

© 2018 Temenos Headquarters SA - all rights reserved.


How To Setup Nuodb in FCM

Table of Contents

1. How To Setup Nuodb in FCM...............................................................................................................


2. Prerequisites.........................................................................................................................................
3. Creation of FCM database:...................................................................................................................
4. Batch file execution with Nuodb............................................................................................................
5. Jboss Application server with Nuodb setup..........................................................................................
6. Meta Data Track...................................................................................................................................

V1.0/Nov-18 Quality Assurance Internal Use


To view template history, please click here*
2
How To Setup Nuodb in FCM

Document History

Author Version Date

Maria Priyanka D 0.1 03-Sep-2020

Nikhet Nigaar 1.0 03-Sep-2020

Comments:

V1.0/Nov-18 Quality Assurance Internal Use


To view template history, please click here*
3
How To Setup Nuodb in FCM

1. How To Setup Nuodb in FCM.


This document details on setting up FCM with Nuodb.

2. Prerequisites
Below prerequisites are required for setting up FCM with Nuodb.
 Nuodb.
 FCM Package.
 Jboss Application server.

3. Creation of FCM database:


a. Unzip the package “financial-crime-mitigation-cli-xxxxx.x.x.zip”.

b. Go to “db_scripts\FCM\NuoDB”.

c. Execute full permission for the Nuodb Scripts folder with the below command.
chmod 777 * -R

d. Executed the below command so that the script files are in correct format
dos2unix *

e. Edit the file “NUODB_create_FCM_db_and_user.sh” in the highlighted places


according to the server.
==================================================
DIRECTORY=/data/TEST_ARCH_FINAL8
à Make sure a valid directory path is given
DBNAME=FCMDB à Name of the FCM Database
DBA_USER=dba à Name of the DB User.
DBA_PWD=dba à Database password.
SCHEMA=dbo
SERVER=server0 à Specific Nuodb Server
mkdir $DIRECTORY
chown nuodb:nuodb $DIRECTORY
> This command change the ownership of the $DIRECTORY to a new owner specified in
the “user” and group “group”. Modify the chown command according to the server.
nuocmd create archive --db-name $DBNAME --server-id server0 --
archive-path $DIRECTORY à specify the same Nuodb server.
nuocmd show archives
nuocmd create database --db-name $DBNAME --dba-user $DBA_USER --dba-
password $DBA_PWD --te-server-ids $SERVER
sleep 15
nuocmd show domain

V1.0/Nov-18 Quality Assurance Internal Use


To view template history, please click here*
4
How To Setup Nuodb in FCM

==================================================
f. Execute the script as below. Sample db execution screenshot created with
FCMDBNEW.

4. Batch file execution with Nuodb

a. Go to “financial-crime-mitigation-cli-xxxx.x.xx/engines/shared-config”
b. Execute “initial-db-setup.sh”.
c. Provide “6” for NuoDB and the IP address.

d. Jdbc.properties file will be created with the above highlighted content.


NOTE: Modify IP, port, db user name and db password respectively which were used in FCM
Nuodb creation script in the created file.

V1.0/Nov-18 Quality Assurance Internal Use


To view template history, please click here*
5
How To Setup Nuodb in FCM

5. Jboss Application server with Nuodb setup

a. Create a folder “nuodb\jdbc” in the Jboss application server path “JBOSS_HOME\


modules\system\layers\base\com”.

b. Place the Nuodb driver jar and module.xml in the above location.

c. module.xml content.

<?xml version="1.0" encoding="UTF-8"?>


<module xmlns="urn:jboss:module:1.1" name="com.nuodb.jdbc">
<resources>
<resource-root path="nuodb-jdbc-21.0.0.jar"/>
</resources>
<dependencies>
<module name="javax.api"/>
<module name="javax.transaction.api"/>
</dependencies>
</module>

d. Modify the standalone configuration file used for Jboss application server in the below
section.

Database connectivity section:

<system-properties>
<property name="org.apache.coyote.http11.Http11Protocol.SERVER"
value="Temenos"/>
<property name="com.temenos.fcm.datasource.driver" value="nuodb"/>
<property name="com.temenos.fcm.datasource.url"
value="jdbc:com.nuodb://localhost:48004/FCMDB?schema=dbo"/>
<property name="com.temenos.fcm.datasource.user" value="dba"/>
<property name="com.temenos.fcm.datasource.vault.password" value="dba"/>
<property name="com.temenos.fcm.datasource.validation.sql" value="SELECT 1
FROM dual"/>
</system-properties>

V1.0/Nov-18 Quality Assurance Internal Use


To view template history, please click here*
6
How To Setup Nuodb in FCM

Driver section:
<driver name="nuodb" module="com.nuodb.jdbc">
<driver-class>com.nuodb.jdbc.Driver</driver-class>
<xa-datasource-class>com.nuodb.jdbc.NuoXADataSource</xa-datasource-class>
</driver>

Data source Section:


<datasource jta="true" jndi-name="java:/jdbc/com/temenos/fcm/datasource" pool-
name="fcmDatasourcePool" enabled="true" use-ccm="false">
<connection-url>${com.temenos.fcm.datasource.url}</connection-url>
<driver>${com.temenos.fcm.datasource.driver}</driver>
<security>
<user-name>dba</user-name>
<password>dba</password>
</security>
<validation>
<check-valid-connection-sql>${com.temenos.fcm.datasource.validation.sql}</
check-valid-connection-sql>
<background-validation>true</background-validation>
<background-validation-millis>15000</background-validation-millis>
</validation>
<statement>
<share-prepared-statements>false</share-prepared-statements>
</statement>
</datasource>

<xa-datasource jndi-name="java:/jdbc/com/temenos/fcm/xa/datasource" pool-


name="fcmXaDatasourcePool" enabled="true" use-ccm="false">
<xa-datasource-property name="Url">
${com.temenos.fcm.datasource.url}
</xa-datasource-property>
<driver>${com.temenos.fcm.datasource.driver}</driver>
<xa-pool>
<is-same-rm-override>false</is-same-rm-override>
<interleaving>false</interleaving>
<pad-xid>false</pad-xid>
<wrap-xa-resource>false</wrap-xa-resource>
</xa-pool>

V1.0/Nov-18 Quality Assurance Internal Use


To view template history, please click here*
7
How To Setup Nuodb in FCM

<security>
<user-name>dba</user-name>
<password>dba</password>
</security>
<validation>
<check-valid-connection-sql>${com.temenos.fcm.datasource.validation.sql}</
check-valid-connection-sql>
<background-validation>true</background-validation>
<background-validation-millis>15000</background-validation-millis>
</validation>
<statement>
<share-prepared-statements>false</share-prepared-statements>
</statement>
</xa-datasource>

Sample standalone configuration file:

NOTE: This is just a sample file for reference. Modify only the sections highlighted above.

V1.0/Nov-18 Quality Assurance Internal Use


To view template history, please click here*
8
How To Setup Nuodb in FCM

Meta Data Track

Description of document * How To Setup Nuodb in FCM

Product * FCM

From T24 Release * R10

To T24 Release *
If the functionality is relevant till Current
R9, choose the value ‘Current’

Content Classification

Bank Unit * FINANCIAL CRIME MITIGATION

TAG 1 *(keyword) Nuodb Enter relevant tag, if not found in the


drop-down list.

TAG 2(keyword) FCM Enter relevant tag, if not found in the


drop-down list.

TAG 3(keyword) Database Enter relevant tag, if not found in the


drop-down list.

Document Administrative Details

Owner: Maria Priyanka D Email ID: mariapriyanka@temenos.com

Approver: Nikhet Nigaar Email ID: nikhet@temenos.com

Expiry Date: Click here to enter a date. PACS Reference: PACS00875888

6. Meta Data Track

V1.0/Nov-18 Quality Assurance Internal Use


To view template history, please click here*
9

You might also like