Upload
balachandar-batchu
View
108
Download
6
Embed Size (px)
DESCRIPTION
PMCMD in Informatica
Citation preview
1
Web Services
2
Informatica PlatformSingle organic product architecture
XML, Messaging,and Web Services
PackagedApplications
Relational andFlat Files
Mainframeand Midrange
Provider Audit
Third
Par
ty IN
TER
OPE
RA
BIL
ITY
XML, Messaging,and Web Services
PackagedApplications
Relational andFlat Files
Mainframeand Midrange
Portals,Dashboards,and Reports
Repository Server Global Local
Repository
Shared Services
IntegrateAccess
Informatica Data Integration Platform
VisualizeAudit
Engine
Web Services Hub
PowerCenterConnects
PowerExchange
Data Server
Universal Data Services Architecture
Third Party EXTENSIO
NS
3
10,000developers
3rd partyproducts
Major appvendor OEMs
Customerextensions
Web
S
ervi
ces
(SO
AP
, WS
DL
, UD
DI)
Web
Services
(SO
AP
, WS
DL
)
Web Services(SOAP, WSDL)
Web Services: Extensibility, InteroperabilityService oriented architecture for extensibility
4
Web Services Example Usage
Call to D&B for credit rating
Get customerGet customerdatadata
Call a PowerCenter workflow
Return info to callingapplication
1
2
3
4
OrderApplication
CustomerApplication
D&B
5
DEMO
6
Using PmCmd
Greg Hanson – Principle Consultant
7
What is PmCmd??
• pmcmd is a program that you can use tocommunicate with the PowerCenter Server. Youcan perform some of the tasks that you can alsoperform in the Workflow Manager such asstarting and stopping workflows and tasks
8
PmCmd Modes
• Command line mode.
The command line syntax allows you to write scriptsfor scheduling workflows. Each command you write inthe command line mode must include connectioninformation to the PowerCenter Server.
• Interactive mode.
You establish and maintain an active connection tothe PowerCenter Server. This allows you to issue aseries of commands.
N.B Some functionality is dependent upon the mode in which connected
9
So what can I do with PmCmd
• Connect/Disconnect to and from the server
• Get Server Details / Properties and shutdown server
• Navigate the repository
• Start/Stop/Abort/Resume Sessions and Workflows
• Monitor Sessions and Workflows
• Receive session status messages (using WaitCommands)
10
Useful Commands
• Ping ServerIn the command line mode, use the following syntax to ping the PowerCenter Server:
pmcmd pingserver
<-serveraddr|-s> [host:]portno
In the interactive mode, enter the following syntax at the pmcmd prompt to ping the
PowerCenter Server:
Pingserver
This is Useful to ensure that the server is running prior tocarrying out any subsequent commands
11
Useful PmCmd Commands - Cont
• Starting a Workflow
pmcmd startworkflow
<-serveraddr|-s> [host:]portno
<<-user|-u> username|<-uservar|-uv> userEnvVar>
<<-password|-p> password|<-passwordvar|-pv> passwordEnvVar>
[<-folder|-f> folder] PowerCenter Folder in which workflow exists
[<-startfrom> taskInstancePath] Point Within Workflow you wish to start from
[-recovery] Enables recovery flag
[-paramfile paramfile] Workflow parameter file existing on PowerCenter Machine
[<-localparamfile|-lpf> localparamfile] Parameter file existing on Pmcmd Machine
[-wait|-nowait] Wait for Job to finish and receive return codes
Workflow Workflow Name
12
External Schedulers
• You can use pmcmd commands with operatingsystem scheduling tools like cron
• Embed pmcmd commands into shell scripts orPerl programs.
• Each command must include the connectioninformation to the PowerCenter Server and thePowerCenter repository.
13
DEMO
14
Version Control
Greg Hanson – Principle Consultant
15
Team-based Development forTransparency of Location
• Complete versionmanagement
• Automated objectmigration
• Fully schedulabledeployment
New Approach
Industry’s onlyglobal and local
metadataarchitecture
MetadataRepository
MetadataRepository
Local Repository
Traditional New Approach
RepositoryServer
Industry’s only3-tier architecture
16
Version Control Functionality
• Object versioning• Check-in and -out of versioned objects• Compare objects• Delete or purge a version• Deployment groups• Labels• Queries• Track changes• Rollback• Command line deployment
17
PMRep Utility – Lights Out Deployment
• System commands.
• Repository commands.
• Security commands.
• Change management commands.Add, copy, or delete deployment groups. Check in objects.
Add or delete labels. Import or export objects. Executequeries
18
PmRep Commands
• AddToDeploymentGroup
• ApplyLabel
• Checkin
• ClearDeploymentGroup
• CreateDeployment
• CreateLabel
• DeleteDeploymentGroup
• DeleteLabel
• DeployDeploymentGroup
• DeployFolder
• ExecuteQuery
• FindCheckout
• UndoCheckout
• Validate
19
DEMO