Interfaces run in parallel
I have 6 interfaces and each interface loads different staging table. I want to run all 6 interfaces in parallel so that I can't wait for a single interface to complete before starting another interface. I would be grateful if someone suggest the best approach to do this?Thank you
RP
See this article: [http://blogs.oracle.com/dataintegration/2009/11/parallel_processing_in_odi.html | http://blogs.oracle.com/dataintegration/2009/11/parallel_processing_in_odi.html] which describes how to make what you want.
Hope this helps
C
Tags: Business Intelligence
Similar Questions
-
Running in parallel to the interfaces
Hello. In the package of the ODI, I can locate my interfaces and join each two of them in two lines: 'ok' (successful) and "ko" (unsuccessful). So I get a sequential execution of these interfaces. How can I make ODI run in parallel?To do this, create a scenario for each of the interfaces (right button of the mouse on the interface, generate scenario) and drag the scenario on the package, and not the interface. This will give you a script to execute tool, which you set to execute asynchronously. run each of the interfaces and then use an OdiWaitForChildSession tool to wait for the complketion of the child sessions. If only some of the tasks that you run asynchronously are on the critical path, you can use tags when you start the executions and the tool of waiting. For those who are on the critical path, give a keyword CP. The tool to wait, wait with the key word CP.
-
Prerequisites for reentrant SubVIs to run in parallel
Hello!
In my VI, two clones préallouées of a Subvi, I thought I would go in a separate thread of each. Just this sub - VI contains a reference to a double and it increments. The two clones ran in parallel, but not in separate threads. For comparison, I did a Subvi, which does not have a reference - these clones run each in own thread.
I noticed this watching the CPU usage: in the first case, has been used as a single core in the second respectively two sons were used.
(1) I wonder what are the prerequisites for a Subvi to run effectively not only in parallel, but in fact in separate threads?
(2) is there a way to discover during compilation which (Tufts) parts of a VI run in parallel, and SubVIs get making their own thread of execution?
For reference: the execution is slow. If I understand correctly, the GUI is running in its own thread, so no interfering only not with the SubVIs that multiply references. I think that there is also no locking a reference readings and writings to a reference should be very fast. Is this correct? If so, why is this slow running?
Thanks for your replies
Marco
(The test computer has a Quad-Core with Hyperthreading, using LabVIEW 2012SP1)
One thing I know is if you have any manipulation of the UI elements.
In the case you use a reference to a UI element user and properbly using the property node to insert data.
This limits LabVIEW for your sub vi of in the UI thread.If you have transferred the values on the queue to a vi that manages all the user interface controls, then only that vi will be in the UI thread.
Who is?
-
Have Windows 7 running on Parallels Desktop with a Mac. Get "setup.exe is not a valid Win32 application" when trying to download a program with Windows Explorer. I can download from these sites with Vista and XP with other computers. Now, I can't download the programs that are supposed to solve the problem! including FoxFire
Try to download from this site:
- Firefox 8.0.x: http://www.mozilla.com/en-US/firefox/all.html
-
You need to pass arguments to the Sub - VI which runs in parallel to the main vi.
Please help me.
I can pass arguments to a subvi using "call-by-reference-node" but the sub - vi will not work in parallel. I can also run my sub - vi in parallel using "invoke the node", but then cannot pass arguments. I can't understand how to merge these two concepts.
When I open the reference VI, I specify the strict type, using call-by-reference-node. When I use call node, I don't specify the type. It seems that specifying the type strict guard screw run in parallel, but also seems necessary to pass arguments.
I apologize for my absence of a deeper understanding of this and appreciate any help you can give me.
Chris
You must invoke 'Ctrl Val.Set' node.
-
Upgrade to esxi 6 - running in parallel 5.5 versions Enterprise
Hello together,
We want to improve our Enterprise 5.5 to 6.0 Enterprise environment more.
Can we run in parallel business with Enterprise 6.0 5.5 more ESXi hosts.
or
We can add the license keys for the company more than 5.5 to existing hosts without any configuration problem, then
upgrade the esxi hosts to 6.0?
Thank you
There is no problem, but I recommend to keep this scenario only during migration.
-
Can't run in parallel Invoke VMScript
Hi all!
I create script that convert model VM, and then run VMs converted, then Invoke VMScript. After that my script restart, stop this VMs and VMs convert to patterns.
All operations of this I have run in parallel mode of powershell.
But when my script tries to run Invoke-VMScript in parallel mode , my script freezes on this operation. I see only - 'Inline Script runniung'
But if I open one of the virtual machines, I see my local script on the VM run command and it's done.
In VM events, I see the same, command done VMScript Invoke.
How to solve this problem? What I've done wrong?
Thanks in advance!
My script:
function Load-PowerCLI
{
Add-PSSnapin VMware.VimAutomation.Core
Add-PSSnapin VMware.VimAutomation.Vds
}
Load-PowerCLI
# Connect to Vcenter
$vcenter = "vcenter.domain.local"
function Connect to Vcenter
{
SE connect-VIServer-Server $vcenter
}
SE connect Vcenter
function Unload-PowerCLI
{
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
Remove-PSSnapin VMware.VimAutomation.Vds - ErrorAction SilentlyContinue
}
# Download the list template
Function Get-FolderFromPath
{
(param
[String] $Path
)
$chunks = $Path.Split('\')
$root = get-View - VIObject (Get-file-name $chunks [0])
If (-$pas?) {return}
$chunks [1.. $chunks. Count] | % {
$chunk = $_
$child = $root. ChildEntity |? {$_. Type - eq "File"} |? {(Get-Folder-id ("{0}-{1}»-f ($_.)"))} Type $_. (Value))). Name - eq $chunk}
If ($child - eq $null) {throw "File '$chunk' not found"}
$root = get-View - VIObject (Get-Folder-Id ("{0}-{1}" f ($child. ")) Type, $child. Value)))
If (-$pas?) {return}
}
return (Get-Folder-Id ("{0}-{1}" f ($root. ")) MoRef.Type, $root. MoRef.Value)))
}
$Templateslist = (get-FolderFromPath-path 'DC\Templates\Windows' |) Get-model? ({$_.name - eq 'TEST'}). name
$Templateslist
# Convert templates of virtual machines
workflow convert-models-to-vm {}
(param
[string []] models of $,.
[string] $vcenter,
[string] $session,
[string] $user,.
[string] $pass
)
for each-parallel ($template in $templates)
{
$run = {InlineScript
Add-PSSnapin VMware.VimAutomation.Core
SE connect-VIServer-Server $Using: vcenter-Session $Using: session
Entire-Template - Template $Using: model ToVM.
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
}
$run
}
}
Convert-models-to-vm - $Templateslist - vcenter $vcenter models - session $global: DefaultVIServer.SessionSecret
# PowerOn VMs
workflow poweron-vms {}
(param
[string []] models of $,.
[string] $vcenter,
[string] $session,
[string] $user,.
[string] $pass
)
for each-parallel ($vm in $templates)
{
$run = {InlineScript
Add-PSSnapin VMware.VimAutomation.Core
SE connect-VIServer-Server $Using: vcenter-Session $Using: session
Start-VM - VM $Using: vm | Waiting-Tools
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
}
$run
}
}
PowerOn-vms-models $Templateslist - vcenter $vcenter - session $global: DefaultVIServer.SessionSecret
# Wait 1 minute
sleep of the 1960s
# Run the command update Script
{of workflow run-update
(param
[string []] models of $,.
[string] $vcenter,
[string] $session,
[string] $script,
[string] $guestuser,
[string] $guestpass
)
for each-parallel ($vm in $templates)
{
$run = {InlineScript
Add-PSSnapin VMware.VimAutomation.Core
SE connect-VIServer-Server $Using: vcenter-Session $Using: session
Invoke VMScript - ScriptText ' $Using: script "-VM" $Using: vm "-Server" $Using: vcenter '-GuestUser ' $Using: guestuser '-GuestPassword ' $Using: guestpass»
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
}
$run
}
}
$script = "c:\update.ps1".
$guestuser = "administrator."
$guestpass = "myPASS".
Run-update - $Templateslist - vcenter $vcenter models - session $global: DefaultVIServer.SessionSecret - $script - $guestuser guestuser - guestpass $guestpass script
# Restart virtual machines
workflow restart-vms {}
(param
[string []] models of $,.
[string] $vcenter,
[string] $session,
[string] $user,.
[string] $pass
)
for each-parallel ($vm in $templates)
{
$run = {InlineScript
Add-PSSnapin VMware.VimAutomation.Core
SE connect-VIServer-Server $Using: vcenter-Session $Using: session
Restart-VMGuest - VM $Using: vm | Waiting-Tools
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
}
$run
}
}
restart vms models $Templateslist - vcenter $vcenter - session $global: DefaultVIServer.SessionSecret
stop # VMs
workflow stop-vms {}
(param
[string []] models of $,.
[string] $vcenter,
[string] $session,
[string] $user,.
[string] $pass
)
for each-parallel ($vm in $templates)
{
$run = {InlineScript
Add-PSSnapin VMware.VimAutomation.Core
SE connect-VIServer-Server $Using: vcenter-Session $Using: session
Stop-VMGuest - VM "$Using: vm '-confirm: $false
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
}
$run
}
}
stop-vms-models $Templateslist - vcenter $vcenter - session $global: DefaultVIServer.SessionSecret
sleep 120
# Convert models of virtual machines
{to convert vm-to-model of workflow
(param
[string []] models of $,.
[string] $vcenter,
[string] $session,
[string] $user,.
[string] $pass
)
for each-parallel ($template in $templates)
{
$run = {InlineScript
Add-PSSnapin VMware.VimAutomation.Core
SE connect-VIServer-Server $Using: vcenter-Session $Using: session
Set-VM - VM "$Using: model"-ToTemplate-confirm: $false
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
}
$run
}
}
Convert-vm-to-models - models $Templateslist - vcenter $vcenter - session $global: DefaultVIServer.SessionSecret
Unload PowerCLI
The problem in this part:
{of workflow run-update
(param
[string []] models of $,.
[string] $vcenter,
[string] $session,
[string] $script,
[string] $guestuser,
[string] $guestpass
)
for each-parallel ($vm in $templates)
{
$run = {InlineScript
Add-PSSnapin VMware.VimAutomation.Core
SE connect-VIServer-Server $Using: vcenter-Session $Using: session
Invoke VMScript - ScriptText ' $Using: script "-VM" $Using: vm "-Server" $Using: vcenter '-GuestUser ' $Using: guestuser '-GuestPassword ' $Using: guestpass»
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
}
$run
}
}
$script = "c:\update.ps1".
$guestuser = "administrator."
$guestpass = "myPASS".
Run-update - $Templateslist - vcenter $vcenter models - session $global: DefaultVIServer.SessionSecret - $script - $guestuser guestuser - guestpass $guestpass script
I found the solution!
I just add this string - $WarningPreference = "SilentlyContinue" in an inline script
Like this:
{of workflow run-update
(param
[string []] models of $,.
[string] $vcenter,
[string] $session,
[string] $script,
[string] $guestuser,
[string] $guestpass
)
for each-parallel ($vm in $templates)
{
$run = {InlineScript
$WarningPreference = "SilentlyContinue".
Add-PSSnapin VMware.VimAutomation.Core
SE connect-VIServer-Server $Using: vcenter-Session $Using: session
Invoke VMScript - ScriptText ' $Using: script "-VM" $Using: vm "-Server" $Using: vcenter '-GuestUser ' $Using: guestuser '-GuestPassword ' $Using: guestpass»
Remove-PSSnapin VMware.VimAutomation.Core - ErrorAction SilentlyContinue
}
$run
}
}
$script = "c:\update.ps1".
$guestuser = "administrator."
$guestpass = "myPASS".
Run-update - $Templateslist - vcenter $vcenter models - session $global: DefaultVIServer.SessionSecret - $script - $guestuser guestuser - guestpass $guestpass script
-
With the help of DAC for running no BIApps infa jobs n 2 EP running in parallel
Hello
We already have configuration BI Apps prod environment using DAC, Informatica and OBIEE 11 g for one of our customers.
Now, we want to check the possibility of using the DAC for the execution of BIApps no informatica related jobs.
(That we had only a week of the execution plan of DAC weekend and Informatica and DAC are inactive most of the time during the week)
Customer wants a separate new small datamart be configured which meet the requirements of statement for different departments and has no links of kinship or any link with existing BI Data Warehouse applications.
I just wanted to check if it will violate the license terms (if we use CAD to workflows not BI Apps and run another EP)?
In addition, the DAC Build 10.1.3.4.1 is capable of running two parallel execution plans?
We have heard long back that two parallel feature EP will be lunched in the version 11g CAD. Pointers or new in this space?
Thanks in advance,From what I remember, you cannot load a 'distinct' DB instance that is NO OLIVIER. If you create a small custom datamart on the INSIDE of the OLIVIER exitsing schema, then it is acceptable. However, if you use DAC (no matter if its plan one or two plans) to load a NON-OBIA target, this may violate the license agreement. You need a self-contained separate license for Informatica and use the planner of Informatica tool. If you want to use DAC, ensure that your target is inside the DW OBIA.
Pls correct brand...
-
Concurrent program is not running in parallel
Hello
There is a simultaneous custom program that must be run in order, sometimes and sometimes it should be able to run in parallel. The program was defined initially to be incompatible with itself and it is used to run only in sequence, as planned, but when the incompatibility with the self has been deleted or disabled can still, he runs in the order but does not run in parallel. What could be the reason?
As a temporary solution, I tried to remove the simultaneous program and recreate and defined without any inconsistency and it works in parallel. But it won't help the incompatibility could be switched on/off often enough and recreate the simultaneous program every time is not a good idea.
Thanks in advance.
Kind regards
RAMThere is a simultaneous custom program that must be run in order, sometimes and sometimes it should be able to run in parallel. The program was defined initially to be incompatible with itself and it is used to run only in sequence, as planned, but when the incompatibility with the self has been deleted or disabled can still, he runs in the order but does not run in parallel. What could be the reason?
The CM has been revived after doing the above?
As a temporary solution, I tried to remove the simultaneous program and recreate and defined without any inconsistency and it works in parallel. But it won't help the incompatibility could be switched on/off often enough and recreate the simultaneous program every time is not a good idea.
Whenever you toggle incompatibilities, please make sure that you bounce the CM.
Establish rules of incompatibility for Custom Reports [107224.1 ID]
Thank you
Hussein -
Hello
I use DBMS_FILE_TRANSFER. PUT_FILE as part of my portable from tablesspace shell script
my intermediate dwh instance to my instance of dwh report.
The problem is that I face the data files after one.
There are about 20 files of data, and each of them is 10 gigabytes in size.
I would like to copy the files in parallel and not after one.
I thought to create dynamically 20 jobs/Scheduler (based on the number of data files) and all run togther.
This way I could actually run in parallel.
Bellows is part of my TTS shell script.
The for loop generates the list of data files that I need to copy.
the DBMS_FILE_TRANSFER. PUT_FILE copy one after one.
Can you suggest how can I changed the plsql block below to create
and present in parallel a job for each data file?
Thank you.
sqlplus -s "sys/${SourceSysPass}@${SOURCE_ORACLE_SID} as sysdba" << EOF whenever sqlerror exit 1 declare v_link varchar2(30); begin select db_link into v_link from dba_db_links where db_link like '%TTS%'; for x in ( select fname, ltrim(rtrim(substr(fname,1,instr(fname,'.')-1)))||'_'||rownum nf_name from (select substr(file_name,instr(file_name,'/',-1)+1) fname from dba_data_files where tablespace_name in ('${TableSpacesList}') order by file_id) ) loop DBMS_FILE_TRANSFER.PUT_FILE('source_tts', x.fname, 'target_tts', x.nf_name, v_link); end loop; exception when others then raise; end; / EOF
Hello
I'm happy that it worked. Don't worry, in this case, this setting is not necessary
Kind regards
Christian Balz -
Several scenarios running in parallel
Hi all
I'm trying to find a way to run multiple Interfaces / scenarios within a single thread, I found some useful pointers in the thread below.
Link: multiple interfaces within a package in parallel running
Which lead me to use ODIStartScen in asynchronous Mode. This works for most, but this method generates a new Session for each child thread number. Is it possible to run sessions of the child in the parent?
Thanks in advance
MikeHi Mike,.
The sessions of the child are always marked for parent sessions. You can find it in the rest work table in the table of snp_session domain name is parent_sess_no.
To keep the same session id in the parent, try it below:
1 declare a variable with the mode of updating as 'select' <%=odiRef.getInfo(SESS_NO")%>
2 update this variable in the Parent Package.
3. in all the child packages, just declare this variable. This will help ODI to identify the variable and the value is already refreshed, it will be used during execution.
4 use this variable and do what you are interested.I hope this helps.
Thank you
Laetitia B -
Two Partitions of disk for both systems or running under Parallels
I have a 27 "Quad core i7 with 8 GB and 1 hard drive I partitioned the hd in 2 partitions: the boot partition has OS X-Yosemite and works very well. However there are occasions when I need to run OS X - Snow Leopard because some devices that I need to use are not compatible with Yosemite because there is no update for the OEM driver. Frankly I do not have the budget to upgrade the devices, so I need a workaround solution. Is the drive of the 2 score or running 2 OS under Parallels the best solution? Help, please!
Thank you
Joe has.
If the system can operate in native mode of SL (outside of the virtual machine), there is nothing wrong with it. I currently have a 480 GB SSD with 240 GB Mavericks and my original SL on another partition of 240 GB. You have to keep 2 backups, one for each system, but that is expected.
On the other hand, if you want both running at the same time, use VM.
VM is usually a puzzle that I reserve for Linux and Windows that need special 'hooks' to run on an Apple and are easier to exploit, because I didn't need "both running simultaneously.
-
User Message message of Labview VI interface running on another thread
I have a Labview GUI, which displays information on my oven.
It's the thread that runs on the background it querys my oven, then I save variables stationglobals and then send a message to the user interface. It works very well.
Now, I made an improved OVEN that not only monitor but also controls the oven. It is written in labview.
on the above example, I use a statement for the user of Message interface:
RunState.Thread.PostUIMessageEx (UIMsg_UserMessageBase + 1, 0, "",StationGlobals.ovenDatum, True)
Where StationGolbals.ovenDatum is a container with the numbers and strings.
Now on my Labview code
I already have this wire in labview. So my question is... Can I just wire up my container in the ActiveXdataParameter ovenDatum or what I need to do some sort of conversion. ? I just do it?
Problem solved after trying and you are looking for a solution...
-
How to manage the runtime at the stage of PreUUT error when running in parallel mode
I would like to run Test DUT in parallel mode, and some actions are made in PreUUT of this kind of reading serial number and control of the aircraft.
The model of process don't goto PostUUT step when the runtime error occurs at the stage of PreUUT, so I would like to add a few things to check if error in the cleaning of the sequence and return to the configuration at PreUUT stage, but I think it's jumping all the actions of installation and the main stage?What should I do if I want to go back to run PreUUT again after the first run when the runtime error occurs?
Or, is it a good way to handle this kind of error withour restart of the program?
Bandaged,
There is no decent way to do this. The reason is the following: TestStand assumes that failure in the facility to a unique testsocket mechanism, it is senseless to proceed with this testsocket at all. It is recommended to manage the routines of judgment in this case using the SequenceFilePostStepRuntimeError callback. You also can use this callback to execute a loop on the step that creates the error until the error is resolved.
By default, TestStand does not support a tribute of the error but the proceedings concerning the execution of shots. You can just ignore the error (deletion of the error indicator) or you can implement your own features. For example, you can set a custom fault indicator which will be evaluated as a first step in your hand. If the flag is set, ignore you everything in your hand.
I know that this suggestion seems not to be a good idea because it's 'hack mack', but it solves your problem. TestStand, as already the State evaluates the execution errors that occur in the PreUUT as to the deficiencies of the system and carry out any checks is not suggested.
Norbert
-
Running in parallel two copies of the Subvi
I try to create the kind of life test for a series of mechanical switches 1 way. In this test, I need to measure insertion loss of my devices under test during a manoeuvre repetitiously them. I use switch 4-way USB controlled to test 4 was FORCED at the same time. I built a Sub VI going to the path chosen (S-1, S-2, S-3 and S-4) and take a measurement. It works very well.
Now, I add another switch 4-way to test another 4 HAD. And I have a plan to add up to 8 switches to 4-channels in parallel. This works. But I was surprised that the measurement time has doubled. And I realized that my second switch & soul Sub VI cannot be called from a parallel loop, while, at the same time with the first. He waits until one finishes its routine.
Ok. I've saved a copy of the Sub VI and call it from a second loop. And now it works in parallel, two 4-way switch are turning like crazy. But I think I just do something else stupid.
Please take a look at the example. I removed all features of the device, replacing them with delays and random numbers. Can you suggest some sort of start the same Sub VI in parallel without creating multiple copies?
Learn more about the screw reentrant I think, it's going to do what you want. The setting can be found in the VI properties > run.
Lynn
Maybe you are looking for
-
Not set SSID and no wireless connection not maintained
My wireless printer worked fine for over a year, and no it's not. The blue light on the just wireless button continues to Flash. I've already directly connected my printer and router and it still does not work. My configuration page says that my SSID
-
Why Windows System 32\WinSAT.exe short when I restart my computer
Whenever my computer restarts, the Windows System32\WinSAT.exe runs before I can get to my office. Is there a reason that this could happen?
-
where can I get accompanying scanjet G4050 photosmart software
I bought my scanjet when I had XP to scan slides and it worked very well. Have not used in a few years. Now, I've upgraded to windows 7 (64) and I have several slides to be scanned. The scanner is not recognized by hp or scanvue (I used both a couple
-
WebWorks widget navigation mode work only not in ripple or Phone Simulator
Hi, this is my first Bb Widget/WebWorks app, and I am currently having problems with the navigation mode. Basically, it does not ripple, or in the simulator of v6.0 9700 device or on a real device of 9700 after packaging and signing of the package.
-
can not find the fsx.cfg file?
I have to make some adjustments in FSX, but I can't raise FSX. CFG? I tried the pages of suggestions with any success? Help, please?