ODBC2Ident_Validation
Workflow for Validation between ODBC and Identity Store
A validation workflow compares the content of the connected system with the state that DirX Identity
holds for the corresponding target system. It runs in one of two modes, controlled by the mode
parameter of the workflow:
-
InitialLoad - exports all accounts and groups and their relationships from the connected system and imports them into the target system subtree of the Identity Store in replace mode. Use this mode when you take a target system into operation.
-
Validation - detects deviations between the state known in DirX Identity and the state in the connected system, for example accounts or groups that were created or deleted outside of DirX Identity, and writes a message about each deviation into the "to do" field (
dxrToDo) of the affected target system object.
Both modes update the dxrTSState attribute and the group member attributes of the affected target
system objects.
ODBC2Ident_Validation validates the content of an ODBC-connected system against the corresponding target system subtree in the Identity Store. It exports groups and accounts with ODBCExport and imports them with MetaCP so that DirX Identity can compare both sides.
The workflow processes groups first and accounts second during the validation run.
The workflows in this reference are delivered as factory data and are loaded into the Connectivity configuration database during the initial configuration. They are samples: use the Identity Manager to copy a workflow into your own scenario and adapt the copy. Do not change the delivered objects, because a product update can replace them.
At a Glance
Name |
|
Category |
Target Scheduled / ODBC |
Technology |
Tcl-based scheduled workflow |
LDAP object class |
|
Workflow type |
|
Connected system / controller type |
- |
Configuration wizard |
|
Active in the factory data |
not set |
Factory data version |
7.0 |
Factory data path |
|
Prerequisites
-
Configure
ODBCExportfor the ODBC-connected system or database that you want to validate. -
Configure
MetaCPfor the corresponding target system subtree in the Identity Store.
Workflow and Activities
| Step | Activity | Description | Agent | Runs after |
|---|---|---|---|---|
1 |
|
Export groups/memberships from ODBC |
|
start activity |
2 |
|
import groups/memberships to Role |
|
|
3 |
|
export accounts from ODBC |
|
|
4 |
|
import accounts to Role |
|
|
Jobs and Agents
| Activity | Job | Agent | Operation | Input channel | Output channel |
|---|---|---|---|---|---|
|
|
|
Full Export |
|
|
|
|
|
Delta Import |
|
|
|
|
|
Full Export |
|
|
|
|
|
Full Export |
|
|
Configuration Parameters
| Parameter | Default value |
|---|---|
|
InitialLoad |
| Parameter | Default value |
|---|---|
|
TRUE |
|
4 |
|
full |
|
0 |
|
100 |
|
0 |
|
0 |
|
W S FS CA Stats |
| Parameter | Default value |
|---|---|
|
0 |
|
full |
|
0 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
10 |
|
1 |
|
0 |
| Parameter | Default value |
|---|---|
|
TRUE |
|
4 |
|
full |
|
0 |
|
100 |
|
1 |
|
0 |
|
W S FS CA Stats |
| Parameter | Default value |
|---|---|
|
0 |
|
full |
|
0 |
|
FALSE |
|
REAL |
|
10 |
|
0 |
|
0 |
|
TRUE |
|
FALSE |
|
10 |
|
1 |
|
0 |
A Tcl-based workflow runs scheduled in the C++-based Server (IdS-C). Its activities run in the order
defined by the dxmPredecessorActivity-DN chain, and each activity starts a job that runs one agent
with one input and one output channel. Agents exchange their data through files or directly through
the meta controller, so a typical workflow consists of an export activity that writes the data of the
connected system and an import activity that maps and loads that data into the Identity Store.
You start these workflows manually from the Identity Manager or attach them to a schedule.
In this workflow, the C++-based Server runs these activities in sequence:
-
ODBC2Ident_ODBCExportexports group data from the ODBC-connected system. -
ODBC2Ident_ValGroup_MetaCPimports that group data into the Identity Store validation flow. -
ODBC2Ident_ValAccount_ODBCExportexports account data from the ODBC-connected system. -
ODBC2Ident_ValAccount_MetaCPimports that account data into the Identity Store validation flow.
If one activity fails, the workflow stops at that point and the remaining activities do not run.
Operation
-
Start
ODBC2Ident_Validationmanually or on a schedule. -
The workflow first exports group data with
ODBC2Ident_ODBCExportand imports it withODBC2Ident_ValGroup_MetaCP. -
It then exports account data with
ODBC2Ident_ValAccount_ODBCExportand imports it withODBC2Ident_ValAccount_MetaCP. -
Depending on the selected
mode, the run either refreshes the target system subtree from the ODBC data or records deviations between the ODBC-connected system and the Identity Store on the affected target system objects. -
When the workflow completes successfully, DirX Identity has processed both group and account data for the ODBC target system.