Kbase 21507: Dynamics Session Types, Physical, Logical Services Explained
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/6/2007 |
|
Status: Unverified
GOAL:
What 'session types', 'physical services' and 'logical services' are necessary to create a session in Dynamics.
FIX:
SESSIONS
The sessions in Dynamics are saved in the repository database and they can be accessed using the XML configuration file.
To create a session, it is necessary to create; session managers, sessions properties, physical services and logical services, and add them to the Dynamics session. Dynamics provides the 'Session Type Control' utility to create sessions. It can be accessed in the 'Session' menu from the 'Dynamics Administration Menu'.
SERVICES
There are two kinds of services: physical services and logical services. These are required to connect the client side and the server side.
Physical services
Physical services handle the information to connect the session to the databases, AppServer partitions and JMS partitions, like the -H, -S, and -N parameters.
Dynamics has the 'Physical Service Control' utility to create physical services and it can also be accessed in the 'Session' menu from the 'Dynamics Administration Menu'.
Logical services
Logical services are the bridge to connect the client session and the physical services. When creating a session, a logical service is associated to a physical service.
Dynamics has the 'Logical Service Control' utility to create logical services and it too is accessed via the 'Session' menu from the 'Dynamics Administration Menu'.
The following example steps create a physical and logical service to connect the sports2000 database in a Dynamics session:
1) Open the Physical Service Control and press the Add Record button
in the Dynamic Toolbar.
2) Add the following values:
Physical Service Code: sports2000n
Connection Parameters: Add the values for the -db, -H, -S and
-N parameters as you would in a normal connection to a database.
3) Open the Logical Service Control and press the Add Record button
in the Dynamic Toolbar.
4) Add the following values:
Physical Service Code: sports2000DB
Service type: Database / Database Connection
Check the toggle-box for 'Can run locally', 'System Owned' and
'Write to Config' options.
If 'Write to Config' option is not checked, this service will
not be written in the XML configuration file and it can not be
accessed from the client session.