Informatica Admin
Informatica Admin
1.Before processing the flatfile for informatica,u can check data according to the requirement
specified(like Header,Trailer data or how many details records etc).
2.Send mail to conern person,if the files having issues against the requirement.
3.Using pmcmd command,u can run the workflow if all are fine(eg.start the workflow,Abort the workflow
etc).In 8.6 we have extra option for creating folder,label,user using infacmd.U can check the COMMAND
REFERENCE under Adminstrator Guide in informatica help.
4.After each successful run of Session in informatica,u can use unix with combination of Oracle to
Delete,Update,insert,select for different scenarios either in pre,post session command or using Command
task to call the Shell script.
5.For e.g to remove,move,rename,compress the cache,log,parameter,dat file u can use unix shell script.
6.Dynamically u can create Paramare files,Zero byte files(no data),Giving permission to the file using
Chmod,Chown etc.
Example:
Business_date.dat - format
23/03/2013,24/03/2013,25/03/2013
At the start of execution i need to execute this command and use the value $CURR_BUSS_DATE
as mapping variable to pass to the source qualifier
/opt/informatica/811/server/tomcat/bin
infaservice.sh startup
ps -ef | grep pmserver
1. java Duser.dir = Domain
2. pmrepagent = Repository Service
3. pmserver = Integration Service
# export single
$WORKFLOW -m -s -b -r -u ${EXPORTDIR}/${FOLDER}_${WORKFLOW}.xml
done done
Example3
echo
1. What is a Repository and difference between repository database and repository service
Answer: Repository is metadata which means it has data about the data(objects). It stores the data
regarding the Informatica objects .For eg: We have a folder say Folder1 and 3 mappings has been
created within it, so all the information regarding all objects in mapping and the folder will be stored in
repository database in forms of tables.
Repsoitory database is a database which contains all the metadata whereas the repository service is
nothing but a service which runs on repository database and provides its services.
OPB_Mapping: This table contains all the mapping names.
2. What is a code page
Answer: Code page contains encoding to specify characters in a set of one or more languages.
Eg: If you have Malaysian or Chinese character in your source data then you have to choose the
appropriate code page for these characters else youll see square boxes once the data is loaded and
processed as Informatica will not be able to understand those characters.
3. What is resilience time?
Answer: Resilience time is the time defined in Informatica to wait before it lose the connection
on a network failure.
Eg: If your resilience time is 180 sec and the network goes down so Informatica will wait for 180 sec and if
network is established in between, the connection will be established. If the network is not up within 180
sec so the unsaved data will be lost and the client will be disconnected from the domain or repository
4. What is a node in Informatica?
Answer: A node in Informatica is logical representation of a machine.
5. What is data movement mode in Informatica and difference between them?
Answer: The data movement mode depends on whether Informatica server will process single byte or
multi-byte character data set.
There are two data movement modes in Informatica
I. Unicode: It allows two bytes for each character and uses the additional byte for each non ASCII
character(Such as Malaysian characters)
II. ASCII: It holds the data in a single byte.
6. How do you migrate data from one environment to another.
Answer: There are generally three types of methodology used for data migration in Informatica
I. Copy Paste: Copy the folder or object in one repository and click on the destination repository and paste
it(This can be done with pmrep command aslo)
II. Import and Export: Exporting the object definition in xml file and then importing it to the destination
folder or repository
III. Deployment group: While migrating objects in bulk the deployment group concept comes into picture.
Create a deployment group, add then folders and object to it and then migrate the deployment group.
All the versions will be listed out. Select the version you want to revert back to and export or save its
definition in local drive. Rename the last version with new name and then import the file.
13. What is DR strategy for Informatica project?
Answer:A backup node can be defined for all nodes and services, so incase if the primary node goes
down the backup node can take over the control.
Note: You should have the license to create a backup node
14. How to open an older version of an object in the workspace
Answer:To open an older version of an object in the workspace:
I. In the workspace or Navigator, select the object and click Versioning > View History.
II. Select the version you want to view in the workspace and click Tools > Open in Workspace.
Note: An older version of an object is read-only, and the version number appears as a prefix before the
object name. You can simultaneously view multiple versions of a non-composite object in the workspace
15. How would you join a node to the already existing domain?
Answer: joining a node to an existing domain can be archived while installing Informatica.
Eg: Server is on machine1 and the new node is on machine2. Then go to machine2-Open Installer->join
node to domain while configuring domain and provide the existing domain details.
16. Is it possible to create multiple domains on a single Informatica server?
Answer: Yes it is possible to create multiple nodes on same Informatica server
17. How to compare two versions of an object
Answer:
I. In the workspace or Navigator, select an object and click Versioning > View History.
II. Select the versions you want to compare and then click Compare > Selected Versions.
-OrSelect a version and click Compare > Previous Version to compare a version of the object with the
previous version.
The Diff Tool appears.
18. What is primary and backup node?
Answer: Primary node is a node where a current node or applications are running and backup node is
defined to run the domain or applications services while primary node goes down
19. What is a grid in Informatica?
Answer: Grid in Informatica is used for load balancing. A grid is nothing but a combination of nodes which
distributes the request among them.
Eg: node1, node2, node3, node4 are assigned in a grid. 10 workflows started simultaneously. Now
instead of giving burden to a single node to run the 10 workflows the request for running workflows will be
distributed to all nodes.
20. Can we create a Integration service without a Repository service and vice versa.
Answer: It is not possible to create an Integration service without a repository service however a
repository can be created without an integration service.
21. Can we create multiple integration service on single repository?
Answer: Yes it is possible to create multiple integration service on single repository. This is used when
you have to choose different code page for different integration service in same repository
Eg: Repository : ASIA_PACIFIC_Repo is used to load the data for countries specific to ASIA PACIFIC to
target warehouse. Different Integration service created for non English countries to support different code
page (Malaysia, China, Japan, Thailand)
22. What is native users.
Answers: Native users are the users created with admin console.
23. What is meant by LDAP users
Answer: LDAP users are the user which are configured with LDAP server (also may be MS Active
directory ) and LDAP is integrated with power center to allow users to provide single sign on
24. What are roles and groups and benefits of using them?
25. What is domain and gateway node:
Answer: Domain is a single point of entry or the administrative unit in Informatica. All the request from
different clients (like Designer) first reaches to domain and then routed to associated services. A gateway
node is the node on which a domain is defined.
26. What is difference between a gateway node and worker node?
Answer: A gateway node is a node on which domain is defined and it act as a router or administrator to
all services. All other nodes in a domain are worker nodes where application services like Informatica
services, repository services will be running.
27. What do you understand by SOA of Informatica?
Answer: SOA or service oriented architecture allows the Informatica to have services on distributed
system. You can define a domain on a node say node1 and repository service on node2, repository
service on node3. All nodes can be anywhere within a network. Once a request is made from client it
goes to the domain or the gateway node and then it directs the request to the appropriate nodes or
services.
28. Is it possible to define a single node as a Gateway node as well as worker node?
Answer: Yes it is possible to define a node to act as both gateway node as well as worker node.
Eg: The domain is created on node1 and integration services and repository services are also running on
the same machine or node. In this case a node will behave both as a domain and a worker node.
29. Can we create a node as a gateway node and the same node can be assigned to a grid?
Answer: Yes it is possible assign a gateway node to a grid.
Answer: Exclusive mode is a mode defined while you make any changes to repository service. Its like a
lock while you play with repository configuration so its associated services like integration services will not
be able to use its services.
36. What all are steps in up gradation of Informatica server?
Answer: To upgrade Informatica power center from one version to other version follow the below steps.
1. Upgrade Informatica server
2. Login to admin console help->About Informatica administrator and see the upgraded version
3. Select on repository Action->Content->Upgrade
4. Select on repository action-Content->upgrade users and groups
37. Is it possible to use a client with different version than that of its Informatica server?
Answer: Its not possible use client with different version than that of its Informatica server.
38. Have you ever worked with licensing objects and if a license expires what would be your approach.
Do we have to create another repository and upload the content or the older repository will work.
39. What do mean by local and global repository?
Answer: Local repository is a repository whose objects are accessible within that repository only.
Global repository: is a repository is a repository which can share its objects among the domain in different
repository.
Eg: A mapping created in global repository can be accessed to all repositories in the domain.
40. Is it possible to revert a global repository to local one and why?
Answer: It is not possible to make global repository to local because its associated objects might be used
by other repositories as well.
41. What is a shortcut and copy in Informatica and how two are different with each other.
Answer: A shortcut is a object which is defined inside a shared folder and used in different folders. Where
as a copy is the replica of any object.
You cannot change the definition of a shortcut but can be changed in case of a copy.
Shortcut is useful in cases where source or target definition is same across multiple applications.
You just need to drag the source from shared folder and change the connections while creating a
workflow in folder.
42. What do you mean by Parameter file? Why do we use it and what all things we can define in a
parameter file?
Answer: Parameter file is a file assigned to a session which has configuration details in it. The parameter
file is used for reusability. Below things are defined in it.
Connections, mapping parameter, mapping variable
43. How do you manage the Parameter files while migrating your data from one environment to another
environment?
Answer: While migrating the data from one environment to other the parameter file should also be copied
to new location else the file name on both environments can be same and then just we have to modify the
parameter file to pint to the correct environment
44. What all challenges you faced in Informatica in your last project as an admin and how did you resolve
them?
Answer: The oracle client was not installed properly on Informatica server and also the tns entry in oracle
client was not properly. During Informatica server installation the domain was not able to ping to the
database due to the client issue.
2. The Informatica admin console was not opening due to open files in OS
Used ulimit n command to check open files and then increased the no to 4096.
45. If your server is running on Unix and one of the sessions are keep on running without loading any
data how would you kill it.
Answer: type the below command in command prompt
Ps ef |grep pm
Check the id for the running session and then kill it using kill command
Kill -9 id
46. What does tail f command do and what is its use as an Informatica admin.
Answer:This command is used to follow the log file which keeps on appending.
47. How do you start and stop services in unix without using admin console
Answer: infaservice.sh startup shutdown
48. What does nodemeta.xml file contain?
49. What do you mean by DTM and Load manager and what is difference between load manager and
load balancer?
Answer:
Load Balancer. The Integration Service uses the Load Balancer to dispatch tasks. The Load Balancer
dispatches tasks to achieve optimal performance. It may dispatch tasks to a single node or across the
nodes in a grid.
Data Transformation Manager (DTM) process. The Integration Service starts a DTM process to run each
Session and Command task within a workflow. The DTM process performs session validations, creates
threads to initialize the session, read, write, and transform data, and handles pre- and post- session
operations.
50. I am not able to connect to the domain with the client although all services and databases are up and
there is no network issue.
Answer: Manage user connections and locks
51. How would you copy the content of one repository to another repository(The new repository is not
having anything in it)
Answer: backup the repository using pmrep and the restore the content on new repository.
52. What could be the possible resons of locks by user.
Answer:
Network problems occur.
A PowerCenter Client, Integration Service, Repository Service, or database machine shuts down
improperly.
53. While migrating the data from one environment to another environment how would you manage the
connections?
Answer: While migrating the folder or workflows make sure the connection name in both environment are
same.
54. What is a difference between complete, stop and abort
Answer:
Complete. Allows the sessions and workflows to run to completion before disabling the service process.
Stop. Stops all sessions and workflows and then disables the service process.
Abort. Attempts to stop all sessions and workflows before aborting them and disabling the service
process