setting up decentralized branch database oracle … up decentralized branch database oracle flexcube...

12
Setting up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 [May] [2011]

Upload: duongtuong

Post on 02-Apr-2018

238 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

Setting up Decentralized Branch Database Oracle FLEXCUBE Universal Banking

Release 11.3.0 [May] [2011]

Page 2: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

Table of Contents 1. SETTING UP DECENTRALIZED BRANCH DATABASE..................................................................................... 1-1

1.1 INTRODUCTION ......................................................................................................................................................... 1-1 1.2 PREREQUISITES......................................................................................................................................................... 1-1 1.3 PRE-INSTALLATION .................................................................................................................................................. 1-1 1.4 LOADING DATABASE OBJECTS ................................................................................................................................. 1-2

1.4.1 Using Multiple Source Directories .................................................................................................................. 1-4 1.4.2 Installing Incremental Source Files ................................................................................................................. 1-5

1.5 SETTING UP BRANCH DATABASE.............................................................................................................................. 1-8 1.5.1 Providing Grants in Host Schema ................................................................................................................... 1-8 1.5.2 Replicating Branch Data Using Script ............................................................................................................ 1-8

Page 3: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-1

1. Setting up Decentralized Branch Database

1.1 Introduction

This document explains the steps to install Decentralized Branch Database.

These steps include the use of Load objects. This tool automates the creation of the database. The database created using this tool will have the database objects that are available in the software source.

Database creation for decentralized branch is restricted to creation of DDL’s and compilation of INC’s related to the branch only.

1.2 Prerequisites

Following are the prerequisites for installing decentralize branch database:

Prerequisite Description

Operating System Windows 2000/XP, UNIX

Ensure that Oracle FLEXCUBE Schema (Branch) and database connectivity details are as per the standards.

HOST objects are not required during installation of Decentralized Branch Database

Software You will require the following software:

1. JDK1.6 or later versions

2. Oracle 11g Client or later versions (Refer the release certificate)

Note the following:

Make sure that Oracle FLEXCUBE Schema and database connectivity exist as per the norms in ‘TNSNAMES.ORA’ file of Oracle 11g Client or later versions.

During the setup, service/DB jobs should not be running in the schema. If some services are still running in the schema, use 'exec dbms_job.remove('||job||');' from ;user_jobs’.

1.3 Pre-Installation

To guide DBA to setup the database for Oracle FLEXCUBE and to do the routine DBA basic activities for the following DB version:

DB version Refer Release Certificate

FLEXCUBE version 11.3

Page 4: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-2

1.4 Loading Database Objects

This section contains the steps to setup the database. Loading database objects include the provisions for the schema to connect and source and destination locations of software source objects. This process will compile the objects of the selected modules.

Source Input for the Installer for DB Setup

1. Copy the ‘DATABASE’ folder containing ‘BRANCH’ folder under ‘MAIN’ from the Software Source to a folder in the local system in the location ‘\MAIN\DATABASE\BRANCH’. E.g.: D:\DBSource\11.3\MAIN\DATABASE\BRANCH

Note: The Database folder should contain ‘BRANCH’ folder only.

2. The source folder in the Installer may point to ‘D:\ DBSource\11.3’.

3. Check the ‘Oracle FLEXCUBE Universal Installer’ screen.

4. By default, the Installer selects ‘Host Database’ radio button. However, you have copied only the ‘Branch’ folder to the database folder and hence the Installer will load only the Branch related objects.

5. Specify the following details:

Application Type

Select ‘FCJ’ from the drop-down list.

Branch Plugin

Leave the default value.

Page 5: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-3

Branch DB Type

Leave the default value.

Schema

Specify the branch schema name into which the components are to be installed

Password

Enter the schema password

Connect String

Specify a valid connect string that contains the details for database connectivity.

IP Address

Specify the IP address of the system where the database schema is installed.

SID/Service Name

Specify SID/Service name.

Port

Specify the port number.

6. Once you have set the details, click ‘Next’. The following screen is displayed:

7. Specify the following details:

Page 6: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-4

Source Directory

Specify the location of the source directory. The installer needs ‘MAIN\DATABASE’ folder and the contents in the Source Directory.

Destination Directory

Specify the location of the destination directory.

This is an optional field. If you do not specify the destination directory and click ‘Next’ after checking the checkboxes, then the Installer will display the following message:

Sources will be compiled from source directory.

Click ‘Yes’ if you wish to proceed. If you click ‘No’, the installer will prompt you to specify the destination directory.

CONSOL/DELTA

Choose one of the following:

CONSOL: If this is a fresh installation of 11.1 sources, you need to select ‘CONSOL’.

DELTA: If this is an Incremental releases after 11.1, you need to select ‘DELTA’.

Load DDL

If you check this box, the installer will load the DDL scripts, types and sequences that are present in ‘MAIN\\DATABASE\Branch’ in the source folder to the schema.

You need to load the static data manually from ‘MAIN\\DATABASE\Branch\CONSOL\INC’ folder in the software source. The following INC files needs to be compiled:

FBTB_BRANCH_REFRESH_DEFN

Note the following:

In case of a dump import, you need to check ‘Load DDL’.

Check the folders ‘MAIN\ DATABASE\Host\INC’ and ‘MAIN\DATABASE\Branch\INC’ in the software source, for ‘SET DEFINE @’ or ‘SET DEFINE &’ in all INC files. Replace these with ‘SET DEFINE OFF’.

1.4.1 Using Multiple Source Directories

You can specify multiple source directories using ‘Multiple’ button. Follow the steps given below:

1. Invoke Oracle FLEXCUBE Universal Installer.

Page 7: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-5

2. Specify the locations of the source and the destination directories.

3. Click ‘Multiple’ button. The ‘Incremental Source’ screen is displayed.

4. Specify the source location. You may use ‘Browse’ button to browse the source directory.

5. Click ‘OK’ button.

6. Select the load objects under ‘Oracle FLEXCUBE Universal Installer’ screen. Click ‘OK’.

7. The Installer will copy the sources from the multiple locations into the destination directory. You can have consolidated sources in the destination directory.

1.4.2 Installing Incremental Source Files

If you are already using one version of FCUBS application and want to upgrade to the next supported version, you may go for an incremental installation.

1. Invoke Oracle FLEXCUBE Universal Installer.

Page 8: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-6

2. Specify the locations of the source directory.

3. Against ‘Destination Directory’, specify the location where you have the older version of FCUBS installed. If you have already consolidated some sources manually, then you need to provide that location in the Sources Directory and leave the Destination Directory field blank.

4. Check the box ‘Incremental’ and click ‘Next’. The following screen will be displayed.

Page 9: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-7

5. Click ‘Yes’. You will be navigated back to ‘Oracle FLEXCUBE Universal Installer’ screen. Click ‘Next’. The following screen is displayed:

This screen displays the plug-in details. You cannot modify the plug-in details from this screen. In order to modify the plug-in details, you need to create a new property file and load it. Make sure that the source folder pertaining to the selected plug-in exists in the source directory.

6. Click ‘Next’. The following screen is displayed.

7. You need to choose one of the following actions:

Continue Installation: Select this option to continue the FCUBS installation activities.

Finish Installation: Select this option to terminate the Installer Application.

Page 10: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-8

This completes the database objects load and compilation.

1.5 Setting up Branch Database

For installing branch database, you need to complete the following tasks.

Provide Grants in the Host Schema

Replicate Branch Data from Host Schema

1.5.1 Providing Grants in Host Schema

You need to provide the following grant to the Host Schema database:

dbms_java.grant_permission( '<schema_name>', 'java.net.SocketPermission', '*', 'connect,resolve' )

1.5.2 Replicating Branch Data Using Script

In order to replicate the existing branch data, you need to follow the steps given below:

1. Compile the branch installation package in Host schema. The package specification and body names are as follows:

MAIN\Branch\SQL\DIPKS_BRANCH_INSTALLATION.spc

MAIN\Branch\SQL\DIPKS_BRANCH_INSTALLATION.sql

2. You need to update the following tables for the new branch before creating the installation script.

STTM_FLEXBRANCH_LOC

STTM_BRANCHLOC_MAP

Sample records for these tables are given below:

STTM_FLEXBRANCH_LOC

BRANCH_CODE LOC_CODE BRANCH_URL

WB1 WB1 http://10.80.150.32:8989/FCJNeoWeb/ReplicationBranchServlet

STTM_BRANCHLOC_MAP

BRANCH_CODE LOC_CODE MAIN_BRANCH GEN_SCR

WB1 Refer below Refer below Refer below

For centralized setup, you need to maintain the following values:

LOC_CODE CN

MAIN_BRANCH NULL

GEN_SCR Y

Page 11: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

1-9

For decentralized setup, you need to maintain the following values:

LOC_CODE <Branch_Code>

MAIN_BRANCH If multiple branches use the same schema, then you need to set ‘Y’ for one branch and ‘N’ for the other branches.

GEN_SCR Y

3. Compile the ‘dipks_branch_installation’ package. Further, execute the procedure ‘pr_start’ on that package. exec dipks_branch_installation.pr_start();

4. On successful execution of this procedure, the branch installation script will be created in the Work Area folder as defined in ‘cstb_param’.

5. Run the Installation scripts in the required branch schema. You can modify this according to your maintenances in the SQL script below:

CentrailzedWebBranchInsertScripts.sql

Page 12: Setting up Decentralized Branch Database Oracle … up Decentralized Branch Database Oracle FLEXCUBE Universal Banking Release 11.3.0 ... Setting up Decentralized Branch Database

Setting up Decentralized Branch Database [May] [2011] Version 11.3.0 Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. Worldwide Inquiries: Phone: +1.650.506.7000 Fax: +1.650.506.7200 www.oracle.com/ financial_services/ Copyright © [2011] Oracle Financial Services Software Limited. All rights reserved. No part of this work may be reproduced, stored in a retrieval system, adopted or transmitted in any form or by any means, electronic, mechanical, photographic, graphic, optic recording or otherwise, translated in any language or computer language, without the prior written permission of Oracle Financial Services Software Limited. Due care has been taken to make this document and accompanying software package as accurate as possible. However, Oracle Financial Services Software Limited makes no representation or warranties with respect to the contents hereof and shall not be responsible for any loss or damage caused to the user by the direct or indirect use of this document and the accompanying Software System. Furthermore, Oracle Financial Services Software Limited reserves the right to alter, modify or otherwise change in any manner the content hereof, without obligation of Oracle Financial Services Software Limited to notify any person of such revision or changes. All company and product names are trademarks of the respective companies with which they are associated.