DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

ASAM Database connections using parallel processes.

Hello, we are using an Avalon server for our ASAM database.  If I use parralel processes, and each worker connects to the database independentantly, will they pull data seperately? Does it matter if the connection strings used are identical?  Do you know if it will pull multiple licenses?  

 

Thanks. 

0 Kudos
Message 1 of 3
(3,469 Views)

Hi Russel, you can treat a DIAdem worker as a whole DIAdem started in parallel by the DIAdem master (neglecting some details like UI,....).

This being said, you can use the same connection string to your ASAM server in your DIAdem worker.

Each worker will pull data seperately.

This has no influence on DIAdem licenses - I can't tell for Avalon.

Message 2 of 3
(3,455 Views)

It is like Stefan said:

 

  • Starting multiple DIAdem licenses on a single machine will consume one DIAdem license.
    Also have a look at the DIAdem "Worker" object in DIAdem Help file. Might help to paralize jobs.
  • Each connection to an ASAM ODS server will consume a ASAM ODS Server license.

 

To share a session with its workers

 

If the current Session was opened with

 

<additionalauth>CREATE_COSESSION_ALLOWED=TRUE</additionalauth>

the Session  IOR can be retrived and be shared with the worker

 

 

dim sIOR : sIOR = store.GetContext(300).GetParameter("SESSIONIOR")

 if the store is opened with

 

<corba typ="sessionior">IOR....</corba><createcosession>yes</createcosession>

this will still opne a new session on the server but authentification has to be done only once.

 

0 Kudos
Message 3 of 3
(3,414 Views)