Documente Academic
Documente Profesional
Documente Cultură
Change History
Version No. Date of Issue Author Comment
1.0 Architecture Initial
1.1 5/22/2008 Sharath NitturiAdded sections
1.2 11/24/2008 Sharath NitturiUpdated
1.3 12/04/2008 Sharath NitturiUpdated
1. Introduction
Informatica application has several directories, called some times application directories,
required on the server for source files, target files, logs etc. A default installation keeps
binaries for the application, and these directories within same location. This – combining
binaries and application directories - poses a challenge, and some times danger in multi-
user development environment. Both have different requirements, and need different
access/security levels.
2. Requirements:
• Give write access to application developers to the application directories, but not
expose the binaries to them.
• Provide same path for scripts on dev/qa/prod. We need to provide same path
across all three environments to make migration easier and error free. At present, the path
on dev is: (Currently this is not the same for FTP file system). It will be fixed.
3. STANDARDS
Each of the above environments will have its own informatica server and associated
repository running. This provides the flexibility to support a multi-function environment
where a development stream, QA stream and User acceptance stream can exist in
parallel. Associated to this environment is the need to manage object migration between
individual environments (repositories).
B. Folders:
Folders are setup according to subject areas defined in the application groups. The
migration of folders and objects become critical. While entire folder migration is a
desired approach when changes need to be propagated between environments, there is a
need to enable individual object migration too.
There should be a Common folder called <FolderName>_SHARED that will host the
shared objects such as mapplets, et al. This provides reusability and encapsulation of
common business logic across subject areas. Care must be taken to migrate the
<FolderName>_SHARED folder first before migrating any other dependent folders
across environments.
When folder migrations are performed, use the XML Export/Import method to
successfully migrate folders. Likewise, if object migrations are to be performed use the
XML export/import to migrate the same. In a non-versioned repository the Object
migration method is preferred and recommended.
The primary disadvantage of the folder copy method is that the repository is locked while
the folder copy is being performed. Therefore, it is necessary to schedule this migration
task during a time when the repository is least utilized. Please keep in mind that a locked
repository means than NO jobs can be launched during this process. This can be a
serious consideration in real-time or near real-time environments.
Other method that can be considered for migration is deployment groups. This method
needs further expertise in Informatica administration (refer to the manual). This method
is used if the repository is versioned.
C. Connection objects:
D. Mappings:
1. Mapping names consist of no more than 50 bytes. The standard as a guideline
shall consist of m_<SourceName>_<Target>_<description>, rather than
“m_myMappingName (mixed case)”. The description is as appropriate but definitely not
required to provide type and name of database names !! The name can be either in
lowercase or upper case (upper case preferred but definitely no mixed case please!). The
session logs inherit mapping names, and the file names on unix server are case sensitive.
When session logs are created on unix server, it becomes difficult to follow the files,
when they are longer and in mixed case.
Examples: m_OCC_GMI_OPTIONS
m_AML_S3D_SECURITY_UPD
2. The transformation names as in Informatica help book. When multiple short cuts
to same transformation (such as lookup) are used in a mapping, the names of such
transformations shall be given a valid name that indicates purpose of such transformation.
3. The database short names in Sources (as a result of ODBC names) should be in
UPPER CASE and should be in generic, i.e., AML instead of AML_DEV, or
AML_ORACLE.
4. As far as possible, the source qualifier to a database table, should NOT have a
over-ride query. If a filter is needed, please add the filter, rather than, generate a query.
Sufficient care must be taken and discussed, when we need to over ride the query.
5. It is good to have expression transformation after SQ, as well as before
connecting to a target. It is very painful to remember and connect the ports to the target.
6. Leverage the use of shortcuts into shared folders.
7. If Object level migration is performed, use the XML export/import method.
8. Use Parameters and variables in the mappings to keep the mapping as generic as
possible. Reusability can be achieved by changing the parameter files and the
corresponding values within them.
9. Following table summarizes the naming standards for the mapping
transformations.
E. Workflows:
F. Scripts:
G. Documentation:
L.
General
• Confirm that the Oracle client is installed in the machine where PowerCenter is
installed.
• Confirm that Oracle is able to establish connectivity.
Using the same user that starts PowerCenter connect to the Oracle database using
SQL*Plus (do not use other tools such as Toad).
• Confirm that the type of Oracle client libraries matches the type of PowerCenter
libraries.
Only 32-bit Oracle client libraries can be used with 32-bit PowerCenter.
Only 64-bit Oracle client libraries can be used with 64-bit PowerCenter.
PowerCenter Server and Repository Server
• Confirm that the ORACLE_HOME points to the Oracle installation directory.
• <UNIX: Confirm that library path (LD_LIBRARY_PATH, LIBPATH etc) must
point to Oracle client libraries.
• Confirm that the ORACLE_HOME/bin is in the PATH environment variable.
• If there is a TNS_ADMIN environment variable, confirm that it is set to the
correct tnsnames.ora file.
• Confirm that the NLS_LANG environment variable is set to the correct value for
reading and writing data. The client character set must match the setting of the Oracle
database
• If there is an Oracle end of file communication error, then check Oracle log for
details
• HP-UX: Confirm that the Oracle 9i client is being used when connecting to an
Oracle 9i database.
On HP-UX there are known issues with using the Oracle 8i client to connect to an Oracle
9i database
• If multiple Oracle clients are installed on the same machine, confirm that the path
and library path environment variables as set to the correct Oracle client directory.
• Check the Oracle listener status from command line using the following
command
• TNS_PACKET failure error will mostly be due to network error. Contact the
DBA for this error. There is a known issue that can cause this error as well
PowerCenter Client
• Confirm that the Data Direct Oracle ODBC drivers (supplied by Informatica) are
being used and not any other ODBC drivers.
• Confirm that the correct relational connection information is provided in
Workflow Manager.
• Confirm that the definition of the source or target (or other database object) in the
repository matches the table (or function, etc.) definition in the database.
Performance
The following lists reasons for poor performance and failures when using PowerCenter
with Oracle.
• Performance will be drastically reduced if Oracle tracing is turned on in
tnsnames.ora. In this scenario each and every packet sent from client to server is traced.
• Logs to check on Oracle side for failure
o Trace Logs
o Alert Logs
• The tnsping connect string can be used to determine the speed of the connection
between the client and server.
• If the PowerCenter server is on the same machine as the Oracle database Oracle
IPC connectivity can be used (this is faster than TCP/IP).
• Confirm that the recommended version of Oracle client is being used (version
8.1.7.4 and 9.2.0.5 or later are recommended).
Compatibility
The following lists reasons for issues that will arise when connected to Oracle.
Datatypes
Confirm that the Oracle datatype is supported in PowerCenter (Timestamp is currently
unsupported).
Triggers
If a trigger is being used on and Oracle target table then commit behavior will be
affected. It could commit more than the specified commit interval Oracle Events
Check for events in init.ora file and turn them off.
Note: This might cause behavioral changes.
Bulk mode
To run a session in bulk mode the minimum version of Oracle client is 8.1.7.0.
Bulk mode cannot be used if there are indexes on the target table.
• Give write access to application developers to the application directories, but not
expose the binaries to them.
• Currently, any developers are given sudo to ‘pwrmart’. Once they are given
pwrmart, they have rights on the binaries. It is not acceptable. The developers may need
to be given a different group.
• All the jobs are run under pwrmart. Hence the logs/files are created by pwrmart.
The developers need to access them on dev environment. Hence, the users need to have
r/w/x rights to the application directories, thru’ the groups.
• The binaries consume fixed amount of disk space. Disk space for application
directories varies, and increases over time. It depends on many parameters – type and
number of jobs, option on how much history is kept etc.
• Provide same path for scripts on dev/qa/prod. We need to provide same path
across all three environments to make migration easier and error free. At present, the path
on dev is: ‘/mif-as1/u01/pwrmart/informatica’ and on qa/prod, it is ‘/inform-
as1/pwrmart/informatica/Server’.
4. Changes: