19
1 Web Services

PMCMD in Informatica

Embed Size (px)

DESCRIPTION

PMCMD in Informatica

Citation preview

Page 1: PMCMD in Informatica

1

Web Services

Page 2: PMCMD in Informatica

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

Page 3: PMCMD in Informatica

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

Page 4: PMCMD in Informatica

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

Page 5: PMCMD in Informatica

5

DEMO

Page 6: PMCMD in Informatica

6

Using PmCmd

Greg Hanson – Principle Consultant

Page 7: PMCMD in Informatica

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

Page 8: PMCMD in Informatica

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

Page 9: PMCMD in Informatica

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)

Page 10: PMCMD in Informatica

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

Page 11: PMCMD in Informatica

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

Page 12: PMCMD in Informatica

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.

Page 13: PMCMD in Informatica

13

DEMO

Page 14: PMCMD in Informatica

14

Version Control

Greg Hanson – Principle Consultant

Page 15: PMCMD in Informatica

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

Page 16: PMCMD in Informatica

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

Page 17: PMCMD in Informatica

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

Page 18: PMCMD in Informatica

18

PmRep Commands

• AddToDeploymentGroup

• ApplyLabel

• Checkin

• ClearDeploymentGroup

• CreateDeployment

• CreateLabel

• DeleteDeploymentGroup

• DeleteLabel

• DeployDeploymentGroup

• DeployFolder

• ExecuteQuery

• FindCheckout

• UndoCheckout

• Validate

Page 19: PMCMD in Informatica

19

DEMO