简体   繁体   English

通过PMCMD命令并行提交Informatica工作流

[英]Submitting Informatica Workflows Parallely through PMCMD command

How do I submit Informatica workflows to run at the same time..? 如何提交Informatica工作流以同时运行..?

We developed a file having all the PMCMD commands for every workflow. 我们开发了一个文件,其中包含每个工作流程的所有PMCMD命令。 We intend to call this file in the script that will eventually hit Workflow manager for the execution of Infa Workflows. 我们打算在脚本中调用此文件,该脚本最终将命中Workflow Manager以执行Infa Workflows。 The problem we are facing is, the workflows are running sequentially. 我们面临的问题是,工作流按顺序运行。 There is no dependency between any of the workflows and can be run in parallel. 任何工作流程之间都没有依赖性,可以并行运行。

Im already using as below: 我已经使用如下:

./pmcmd startworkflow -sv intg_ser -d Domain_name -u user -p welcome123 -usd Native -f SDE_ORAR1213_Adaptor -rin intg_ser SDE_ORA_InventoryLotDimension & ./pmcmd startworkflow -sv intg_ser -d域名-u用户-p welcome123 -usd本机-f SDE_ORAR1213_Adaptor -rin intg_ser SDE_ORA_InventoryLotDimension和

(followed by next pmcmd command) (后接下一个pmcmd命令)

'&' used to run the workflows in background. “&”用于在后台运行工作流程。

Is there any way to do apart from using '&' , since i do not want to run the w/f in background. 除了使用'&'之外,还有什么方法可以做 ,因为我不想在后台运行w / f。 Any info of how Scheduling tools like DAC achieved this parallelism, we wanted to implement the same functionality without using any scheduling tool. 关于DAC之类的调度工具如何实现这种并行性的任何信息,我们都希望在不使用任何调度工具的情况下实现相同的功能。

If not, can I achieve this through unix scripting itself? 如果没有,我可以通过UNIX脚本本身来实现吗? If so please provide me the steps. 如果是这样,请向我提供步骤。

Any Java related suggestions also accepted. 任何与Java相关的建议也都接受。

Thanks in Advance! 提前致谢!

You can use nowait mode to run multiple workflows in parallel. 您可以使用nowait模式来并行运行多个工作流。 If the workflow execution is in wait mode, workflow will not triggered by integration serveice until current workflow execution is completed. 如果工作流执行处于等待模式,则直到当前的工作流执行完成,集成服务才会触发工作流。 You can use -nowait command before the workflow name to ignore currently executing workflow so the multiple workflows can be executed in parallel. 您可以在工作流名称之前使用-nowait命令来忽略当前正在执行的工作流,以便可以并行执行多个工作流。

Let me know in case you face any issues. 如果您遇到任何问题,请告诉我。

u can create a master-workflow in which u can call workflows at same time giving same trigger function and they will run parallel over monitor also. 您可以创建一个主工作流程,在其中您可以同时调用具有相同触发功能的工作流程,并且它们还将在监视器上并行运行。

also for performance u can use clock to run after desire time or from when workflow was triggered. 为了提高性能,您可以使用时钟在期望时间之后或从触发工作流时开始运行。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM