0% found this document useful (0 votes)
15 views

Informatica Batch 9

Uploaded by

V B Jagadeesh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views

Informatica Batch 9

Uploaded by

V B Jagadeesh
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 65

Informatica Batch 9

8/10/2022

Informatica it is a ETL tool

ETL:- Extract Transformation Load

Power center Tools

Step1:- We have configure the DB


How to create the table
1) Syntax:-Create table tbal_name(fileld1 datatype,field2 dtatype,……….)

Ex:- create table employee(eno number,ename varchar2(20),esal number,eloc varchar2(10));

2) How to create the user

Syntax:- create user username_name identified by password;

Ex:- create user test identified by test;

3) How to grant the permission to user


Syntax:- grant dba to username;

How to retrieve the Data from the table

4) Syntax:- select * from table_name


Ex:- select * from employee;
How to insert the data in to the table

5) Syntax:- insert into tablename values(field1_data,fileld2_data…….)

Ex:- insert into employee values(103,'Mani',400000,'MPL');

grant resource to domain_db;

ALTER SYSTEM SET open_cursors = 1500;

If you get the below error then start the services

How to start the services

Goto start menu and then search with services


If the services not running you will not be able to access the db

In that case check the services and if it not running then you can start the services manually.

Prerequisites to install the informtica:-

1) Need server along with required configuration


2) We need DB details
3) Open cursors( we can check with DB team to increase this value)
4) File descriptor limit ( ulimit –a)
5) We have to update environment variables
6) Download and extract Informatica software
7) We need license key
8) We need installation directory.

Domain service installation:-


Netstat port
Server installation steps:-

https://network.informatica.com/
EOL of Informatica: -

Application services:-
1) Repository services
2) Integration services

Repository services:-
Integration services:-
Dispatching modes:-
1) Roundrobin mode
2) MAtricbased
3) Adaptive mode
Types of repository

1) Versioned repository
2) Non-repository

How to unlock the write intent lock and execution lock

Difference b/n stop and abort


Interview questions:-

1) Can we create repository services without DB details

A: - no

2) Can we create multiple repository services under single domain?

A: - Yes, but we need separate DB details for each and every repository.

3) Can we use domain DB details to configure the repository?

A: - Yes, but we can create only one repository.

4) can we create multiple integration services under single reposiotry

A: - yes we can able create multiple in tegration services

5) can we create integration services without reposioty.

A:- No

6) can we use one integration service for the mul tiple repositories

A:- No
7) what is the difference b/n exclusive and normal

A:- exclusive mode means means locked mode, we can't able to login the client tools and can't able to
access the IS

Notmal mode meants unlocked mode,we can able to login the client tools and can able to access the
IS(integration services).

8)How many types of dispatchng modes

1)Roundrobin

2) MAtric baseed

3) Adaptive.

9) what is purposeof resilience timeout seconds

A:- before it will shutdown the informatica it will wait for the resilince time even if it is not responding
the DB then informatica services will go down.

10) What is domain?

A:- Domain is collection of nodes and services.

11) Why we need backup?

A:- if your DB got correcpted then you can retrive if backup ot to minimize the business impact will take
the backup's daily.

12) What is difference b/n versioned and non-versioned reposiotry.

A:- version repository will maintain the history of the objects and non-versioned reposiotry will not
maintain the history of the data.

13) How you will come to know whether it is a versioned repo or non-versioned repo

A:- Logon to the admin console --> reposiotry properties ---> version control if it showing True means
that is a versioned reposioty.
14) How to change the reposiotry DB password:

A:- Login to admin console page then go to the reposiotry and DB properties and then edit ---> modify
password.

15) How to unlock writeintent or execution lock?

A:- Go to the adconsole ---> repository ---> connections and locks --->

16) What is the difference b/n stop and abort.

A:- Stop - stop all running workflows

Abort - stop all processes immediately

17) W\How many types of data movement modes

a:- Ascii and unicode

18) If the Administrator password changed then where you will update.

A:- integration services leve;l and also we have update in the script level if we are using.

19) if the informatica services goes down what are all the steps you will perform?

A:- 1) We have checke dthe necessary logs and then based on the logs we have to communicate with
different teams

2) Try restart informatica services

20) How to restart the iformatica services?


A:- 1) cd $INFA_HOME/tomcat/bin

./infaservice.sh startup/shutdown

21) if the DB goes down will be informatica services will be available?

A:- no, informatica services will not be available.

22) What is mean by Priviliges

A:- Set of actions will called it as the Priviliges.

23) What is role:

A:- Role is nothing but collection of Priviliges.

24) What is group?

A:- Group is collection of users,Roles and Priviliges.

25) What is domain?

A:- Domain is a collection of nodes and application services.

26) What is Reposiotry services?

A:- The service between the reposiotry and database is called RS.

27) What is integration services?


A:- The communicatin between the source and target is called IS.

28) What kind of users you have setup in informatica?

A:- Ldap or NAvive users

29) how you will receive the requests?

A:- Through service now we will the requests.

Backup and Restore:-

BAckup screenshot:

How to save the Logs:-


Types of server level logs:-

1) Catalina
2) Exception
3) Node

What is log file location

$INFA_HOME/logs/Nodename – 10.x version

$INFA_HOME/tomcat/logs --- 9.x version

How to create the native user:-


How to create the new group

Scenarios:-

1) New user access( we required model or mirror id)


2) Updating the user access
3) Delete the user access
4) Disable/enable user

Types of roles:-

1) System defined role


2) Custom role

How to configure the LDAP:-


How to create OS profile:-
Once you are using OS profile then you have to enable the property in IS level:-

Informatica client installation steps:-


Types of client tools:-

1) Repository manager( RM)


2) Designer
3) Workflow manager
4) Workflow monitor

Repository manager:-

1) Adding the repositories


2) Changing the temp password for all users
3) Folder creation
4) Truncate log
5) Purge versions
How to add the domains in the client:-
How to change the temp password:-
How to create repository folder:-

Types of versions:-

1) Versioned( it will maintain the history of the data)


2) Non- versioned(it will not maintain the history of the data)

Checkin :- we will not able to edit the objects

Checkout :- We can able to edit the objects, delete the objects and update objects.

Designer:-

1) Sequence generator values updation


2) Deployments
3) Mapping persistence values updation
4) Propertied update in transformation level

To design the mapping what are all the prerequisites required.


1) Source
2) Target
3) Create userDSN for source and target
4) Import source and target
5) Create mapping
6) Create workflow and session

Admin tasks:-

1) Properties update in the transformation level


2) Mapping persistent variable values update
3) Delete unwanted objects.

Workflow manager:-

1) Connections creations

Relational connections

FTP connections

Application connections

Queue connections

Loader connections

Tnsping connection_string
Checkin and checkout:-

Ex:-

Auser – if the Auser modifying the abcd(objects) then Buser can’t be able to modify abcd objets since A
user already modifying the objects(Auser made it as checkout status)

Buser:- if Buser trying to do the modify on abcd objects then he will not be able to modify sice Auser is
trying to do some modification on abcd objects.

If Buser wnt to do the modification on abcd objects, first Auser should made it as checkin status and
Buser can able to do the checkout and then he can able to do the modification.

Workflow monitor:-

1) Restart workflow
2) Restart workflow from task
3) Restart task
4) Schedule workflow
5) Unscheduled workflow
6) Get the session log
7) Get the workflow log

Ho to kill the process?

Kill -9 processid

How to get the PID

Ps –ef | grep –I workflowname or sessionanme

Types of deployments:-

1) Copy & Paste


2) Export and import
3) Deployment groups
3.1) Static
3.2) Dynamic
Command line utilities:-

1) Pmcmd(start workflow, start task, schedule workflow, unscheduled workflow …..)


2) Pmrep(bakup, restore, folder creation ,folder modification, export objects, import objects ….)
3) Infacmd( export users and users groups, create user, delete user…..)
4) Infasetup( update nodeconfiguration file, backupdomain, restore domain…..)
5) Pmpasswd( to encrypt the password)

All Command line utilities will be under below location except infasetup command

$INFA_HOME/server/bin

Infasetup command location

$INFA_HOME/server

How to connect repository by using pmrep

C:\Users\Dell>cd C:\Informatica\9.6.1\server\bin

C:\Informatica\9.6.1\server\bin>pmrep connect -r repo_dev -n Administrator -x Ad

ministrator

Informatica(r) PMREP, version [9.6.1], build [724.0607], Windows 64-bit

Copyright (c) Informatica Corporation 1994 - 2014

All Rights Reserved.

This Software is protected by U.S. Patent Numbers 5,794,246; 6,014,670; 6,016,50

1; 6,029,178; 6,032,158; 6,035,307; 6,044,374; 6,092,086; 6,208,990; 6,339,775;

6,640,226; 6,789,096; 6,820,077; 6,823,373; 6,850,947; 6,895,471; 7,117,215; 7,1

62,643; 7,243,110; 7,254,590; 7,281,001; 7,421,458; 7,496,588; 7,523,121; 7,584,

422; 7,676,516; 7,720,842; 7,721,270; 7,774,791; 8,065,266; 8,150,803; 8,166,048

; 8,166,071; 8,200,622; 8,224,873; 8,271,477; 8,327,419; 8,386,435; 8,392,460; 8

,453,159; 8,458,230; and RE44,478, International Patents and other Patents Pendi

ng.
Invoked at Fri Sep 16 08:09:50 2022

Connected to repository repo_dev in Domain_Dell-PC as user Administrator

connect completed successfully.

Completed at Fri Sep 16 08:09:55 2022

C:\Informatica\9.6.1\server\bin>

How to create folder through command line

EX:- pmrep createfolder -n Project2

How to modify folder

pmrep modifyfolder -n Project2 –s

How to take the repository backup

pmrep backup -o repo_dev_20221609

How to unscheduleworkflow

C:\Informatica\9.6.1\server\bin>pmcmd unscheduleworkflow -sv int_svcs_dev -u Adm

inistrator -p Administrator -f Project1 wf_mp_student

Informatica(r) PMCMD, version [9.6.1], build [724.0607], Windows 64-bit

Copyright (c) Informatica Corporation 1994 - 2014

All Rights Reserved.

This Software is protected by U.S. Patent Numbers 5,794,246; 6,014,670; 6,016,50

1; 6,029,178; 6,032,158; 6,035,307; 6,044,374; 6,092,086; 6,208,990; 6,339,775;


6,640,226; 6,789,096; 6,820,077; 6,823,373; 6,850,947; 6,895,471; 7,117,215; 7,1

62,643; 7,243,110; 7,254,590; 7,281,001; 7,421,458; 7,496,588; 7,523,121; 7,584,

422; 7,676,516; 7,720,842; 7,721,270; 7,774,791; 8,065,266; 8,150,803; 8,166,048

; 8,166,071; 8,200,622; 8,224,873; 8,271,477; 8,327,419; 8,386,435; 8,392,460; 8

,453,159; 8,458,230; and RE44,478, International Patents and other Patents Pendi

ng.

Invoked at Fri Sep 16 08:52:23 2022

Connected to Integration Service: [int_svcs_dev].

Unscheduling workflow [wf_mp_student]

INFO: Workflow [wf_mp_student]: Workflow unscheduled.

Disconnecting from Integration Service

Completed at Fri Sep 16 08:52:24 2022

C:\Informatica\9.6.1\server\bin>

Linux:-

https://pythonanywhere.com/

ls –l ---- it will list the files/folders

pwd ---- present working directory(where are you in)

ls –lrt --- it will display the files/folders timestamp with A –to Z order

ls –lart -- it will display the hidden files/folders along with normal files/folders with A to Z order.

cd destinationPath --- we can navigate to one path to another path

mkdir foldername -- we can create the folder

mkdir f1 f2 f3 f4 ……. ---- we can able to create the multiple folders at a time

rmdir f1 -- it will remove the empty folder

rm –rf foldername - it will remove the folder and subfolders/files


touch filename -- it will create the empty file

vi filename -- we can edit the file

esc+I --- we can able to insert the date into the file

esc --- I will comeout from the insert mode from the edited file.

Esc+shift+: wq ---- It will save and exit from the file

Esc+shift+: q! --- it will exit from the file without saving.

dd -- it will delete entire line in the file

x – it will remove the single character in the file

cd .. – it will comeout from one step back

cd ../../.. …… --- it will comeout from multiple steps back

touch s1.txt s2.txt s3.txt s3.csv -- we can able to create the multiple file

Sift+g --- it will go to the last line of the file

Shift+a -- It will go to the end of the last character

Cp filename destination_filename --- we can able to take the file backup

Mv filename destination_file --- we can able to re-name the file

Mv filename destination path ---- we can able to move the file from one location another location

Ls –l *.txt or *.csv …… we can able to grep particular pattern files\folders

rm filename --- it will remove the file

rm f1 f2 f3 …. – it will remove the multiple file at a time

rm *.txt or *.csv or *.doc …. ----- it will remove the particular pattern files

rmdir folder*

ls –l | grep ^d -- it will display the only folders

ls –l | grep ^d > output.txt --- It will append the out put of command

ls –l | grep ^- --- it will display only files

Interview questions.
1) Can we create repository services without DB details

A: - no

2) Can we create multiple repository services under single domain?

A: - Yes, but we need separate DB details for each and every repository.

3) Can we use domain DB details to configure the repository?

A: - Yes, but we can create only one repository.

4) can we create multiple integration services under single reposiotry

A: - yes we can able create multiple in tegration services

5) can we create integration services without reposioty.

A:- No

6) can we use one integration service for the mul tiple repositories

A:- No

7) what is the difference b/n exclusive and normal

A:- exclusive mode means means locked mode, we can't able to login the client tools and can't able to
access the IS

Notmal mode meants unlocked mode,we can able to login the client tools and can able to access the
IS(integration services).

8)How many types of dispatchng modes

1)Roundrobin

2) MAtric baseed

3) Adaptive.

9) what is purposeof resilience timeout seconds

A:- before it will shutdown the informatica it will wait for the resilince time even if it is not responding
the DB then informatica services will go down.

10) What is domain?


A:- Domain is collection of nodes and services.

11) Why we need backup?

A:- if your DB got correcpted then you can retrive if backup ot to minimize the business impact will take
the backup's daily.

12) What is difference b/n versioned and non-versioned reposiotry.

A:- version repository will maintain the history of the objects and non-versioned reposiotry will not
maintain the history of the data.

13) How you will come to know whether it is a versioned repo or non-versioned repo

A:- Logon to the admin console --> reposiotry properties ---> version control if it showing True means
that is a versioned reposioty.

14) How to change the reposiotry DB password:

A:- Login to admin console page then go to the reposiotry and DB properties and then edit ---> modify
password.

15) How to unlock writeintent or execution lock?

A:- Go to the adconsole ---> repository ---> connections and locks --->

16) What is the difference b/n stop and abort.

A:- Stop - stop all running workflows

Abort - stop all processes immediately

17) W\How many types of datamovement modes


a:- Ascii and unicode

18) If the Administrator password changed then where you will update.

A:- integration services leve;l and also we have update in the script level if we are using.

19) if the informatica services goes down what are all the steps you will perform?

A:- 1) We have checke dthe necessary logs and then based on the logs we have to communicate with
different teams

2) Try restart informatica services

20) How to restart the iformatica services?

A:- 1) cd $INFA_HOME/tomcat/bin

./infaservice.sh startup/shutdown

21) if the DB goes down will be informatica services will be available?

A:- no, informatica services will not be available.

22) What is mean by Priviliges

A:- Set of actions will called it as the Priviliges.

23) What is role:

A:- Role is nothing but collection of Priviliges.


24) What is group?

A:- Group is collection of users,Roles and Priviliges.

25) What is domain?

A:- Domain is a collection of nodes and application services.

26) What is Reposiotry services?

A:- The service between the reposiotry and database is called RS.

27) What is integration services?

A:- The communicatin between the source and target is called IS.

28) What kind of users you have setup in informatica?

A:- Ldap or NAvive users

29) how you will receive the requests?

A:- Through service now we will the requests.

30) Where you will the create the connections?

A:- Under workflow manager


Requirement:-

if iwant create oracle connections what are all things required from DB end?

i need DB details and then once i will get the details then i will create the connections, will update the
required permissions.

i will ask the DB team whether tns entry added or not.

i will check tns entry added or not with the tnsping command

i will do the connectivity test with sqlplus username@dbanme followed by password.

Requirement r question?

31) What is the procedure to create the ODBC connectinos?

A:- We need details like username, password, Datasourcename

and we have to update the ODBC entry.

echo $ODBCINI -- then it will print the ODBC.ini file location

32) What is the extension of reposiotry backup file?

.rep

33) what is the extension of domain backup

.mrep

34) waht is the extension on backup objects

.xml
35) How many types of command line utilities

5 tyes ( pmrep,pmcmd,pmpasswd, infacmd and infasetup)

36) What is the difference b/n cp and mv command

cp command i will keep the original and schanned copy

mv it will just do the rename of the file

37) What are all frequesntly used commands

cd,mkdir,mv,cp , rmdir, rm, rm -rf, sftp, vi ,cat, ls -lart, ls -lrt, l -l, sftp(get, put) .........

38) upgradation steps, prerequisites, post upgradation steps

Commands:-

Cd+ enter --- it will go to the home directory

Echo $INFA_HOME --- it will display the Informatica homedirectory

rwxrwxrwx

r --- read - 4

w ---- write - 2

x -- excute - 1

rwx rwx rwx

Owner Group others

777

755

Chmod 755 file/folder

Chown ownername:Groupname file/folder

How to copy the files form one server to another server?


Source server target server

1) First if you login to the target server


2) then we have to go to the target path
3) then we have to do it sftp to source server(sftp username@sourcehostname)
4) we have to go to the source file path
5) Get filename or if you want to down the folder( get –R foldername)

Scp --- to copy the files from one server to another server

1) First login to the source server and go to the source file/folder path
2) scp source_file_name username@destination_host:destination_folder

How to mtransfer the files from local machine to unix and unix to local machine

Winscp

Informatica variables and file paths:-

echo $INFA_HOME -- it will display the Informatica home directory

echo $ORACL_HOME --- It will display the oracle home directory

echo $JAVA_HOME -- it will display the Java homepath

echo $ODBCINI -- it will display the ODBC home directory.

Server level logs path

Cd $INFA_HOME/logs/nodename/

1) catalina.out
2) exception
3) node

Domains.infa file path

Cd $INFA_HOME

Nodemeta.xml location

Cd $INFA_HOME/isp/config

Site key location:-


Cd $INFA_HOME/isp/config/keys

How to start Informatica services in linux

Cd $INF_HOME/tomcat/bin

./infaservice.sh shutdown/startup

Ps –ef | grep –i inform -- it will list out the Informatica services

Ps –ef | grep –i java --- it will list out the only java services

Ps –ef | grep –i pmrepagent -- it will display the repository services

Ps –ef | grep –i pmserver -- it will display the integration services.

Ps –ef | grep –i workflow/session name

Kill -9 PID

Df –kh $INFA_HOME --- it will display the Informatica home directory disk space

Df –kh - it will list out all the disk utilization

Du –sh * -- under particular path if you execute this command I will display the all the files/folders
utilization

Du –kh *

Pmrepagent = repository services

Pmserver = integration services

Ticketing tool

1) service now
2) Cherwell
3) CA service desk

1) Request
2) Incident
3) Problem tickets
4) Change request
4.1) Normal
4.2) Emergency
4.3) Standard change

Request:-

P1 -- 12 hrs time

P2 --- 1 business day

P3 -- 3 business days

P4 -- 7 business days

P5 --- 14 business days

Upgradation steps:-

Prerequisites

1) We have to get the approval form the affected end user


2) Down the Informatica software
3) In the server we have create the Informatica upgrade directory
4) Check the disk space under $NFA_HOME (df –kh)
5) Copy the Informatica software to the new upgrade directory and then untar the software
Tar –xvf tarfilename
6) Take the necessary backups(domain backup, repository backup, nodemeta.xml, .profile
backup, odbc.ini file backup, domains.infa, site key backup
7) Unset the variables and then remove the $INFA_HOME/server/bin/ from the path variable
Echo $PATH
PATH=

During upgrade step

8) Then execute ./install.sh


Select the appropriate options and then proceed with next steps
During upgradation it will ask Informatica old path and new path
Domain name
Domain username
Domainpassword
Domain dbname
Domain db password
Hostname
Port number
Connection string
The final step it will be like success or failure

Post upgradation steps

9) We have to update the .profile with new Informatica home directory


10) We have restart the Informatica services
11) Access the adminconsole
Upgrade the repository content
Check the all properties and where ever it is pointing to old Informatica directory that we
have update with the new Informatica home directory
12) Bounce the Informatica services
13) Hand over to the application team.

EBF installation:-

1) Download the EBF from the vendor portal


2) We have to stop the Informatica services
3) Goto the EBF folder and then update the input.properties file
Base_dir: $INFA_HOME
Rollback: 0
4) ./installebf.sh
5) Startup the Informatica services.

How to create the shortcut objects:-

Dev: - shared --- we have migrate the code from dev. shared folder to test shared folder

Test: - shared -- we have migrate the code from test shared folder to test non-shared folder

You might also like