Defining where new resources get created can be very complicated and specific to your organization. The Data Governance server allows you to select a managed host or use a server selection script to select the QAMNode to host a new file system share. Creating customized server selection scripts allows you to define the server selection process to be used for selecting the appropriate QAMNode. Available server selection scripts appear on the Server Selection Scripts dialog when the Data Governance Administrator selects to assign a file share host using the script option on the File Share page of the New File Share dialog.
By default, Data Governance Edition provides the following server selection script, which is available in the QAMServerSelectionScript table in One Identity Manager:
Use the Designer to write and compile the server selection script and commit it to the One Identity Manager database.
|
Note: Server selection scripts must have a particular signature or they will fail at run time. These scripts are functions that take one parameter, the UID of the PersonWantsOrg record for this request, as a string and returns a string. For example: Public Function Foo (UID_PersonWantsOrg As String) As String |
To add a server selection script (Object Browser)
In the new Server Selection Script page, specify the following:
UID_DialogScript: Use the drop-down menu to select from a list of previously defined scripts.
|
Note: UID_QAMServerSelectionScript: This value is automatically generated by One Identity Manager. |
Click the Save toolbar button to save your selections.
The new server selection script appears in the Sever Selection Scripts result list pane.
To add a server selection script (PowerShell)
If necessary, run the following cmdlet to import the QAM.Client.PowerShell.dll assembly:
Import-Module "<path>"
Where <path> is the file path for the QAM.Client.PowerShell.dll assembly. By default, the <path> for the Data Governance server machine is "C:\Program Files\One Identity\One Identity Manager\QAM.Client.PowerShell.dll".
Run the following cmdlet to add a new server selection script:
Add-QServerSelectionScript -DialogScriptID <String> [<Common parameters>]
For more information, see Server selection script management.
A managed resource function is a One Identity Manager script that can be invoked indirectly by some arbitrary name to satisfy a pre-defined extension point in the business logic. Data Governance Edition provides sample managed resource function records that contain the necessary mappings to perform the following functions which are used in the default process chain (QAM Create DGE Managed Resource) to fulfill self-service requests to managed resources:
You can override the default functionality, by mapping a custom script to a predefined managed resource function record. However, each custom script must match the function signature and return the expected object. By doing this, you eliminate the need to modify the existing process chain. If you create a new managed resource function, you are required to create a custom process chain to call the custom managed resource function record.
If you are writing a custom script, use the Designer to write and compile the managed resource function script and commit it to the One Identity Manager database.
|
Note: Managed resource function scripts must have a particular signature or they will fail at run time. These scripts are functions that take one parameter, the UID of the PersonWantsOrg record for this request, as a string and returns an object or null. The type of object returned varies based upon the expectations of the consuming code. It is highly recommended that you look at the sample implementations to see what is expected from the script. Currently all data needed to invoke the function must be resolvable directly or indirectly using the PersonWantsOrg record specified.
|
To point an existing managed resource function record to a custom script (Object Browser)
The ManagedResourceFunction table contains a mapping between the function name and the script to be run. By overriding the functionality in this manner you do not need to modify the process chain.
In the Managed Resource Function page (right pane), specify the following:
|
Note: UID_QAMManagedResourceFunction: This value is automatically generated by One Identity Manager and cannot be modified. |
Click the Save toolbar button to save your selections.
To point an existing managed resource function record to a custom script (PowerShell)
If necessary, run the following cmdlet to import the QAM.Client.PowerShell.dll assembly:
Import-Module "<path>"
Where <path> is the file path for the QAM.Client.PowerShell.dll assembly. By default, the <path> for the Data Governance server machine is "C:\Program Files\One Identity\One Identity Manager\QAM.Client.PowerShell.dll".
Run the following cmdlet to map a custom script:
Set-QManagedResourceFunction -Id <String> [-Description [<String>]] -DialogScriptID <String>
For more information, see Managed resource function management.
One Identity Manager uses process steps (also known as process chains) to represent company workflows. A default process chain is provided to fulfill self-service share creation requests; however, if the workflow defined in the default process does not meet your company's procedures, you can use the Process Editor in the Designer to create a new process or modify the default process chains. In order to fulfill self-service share creation requests, the following process chain is provided:
To modify the file share creation process chain
From the navigation pane, select Process Orchestration and expand Processes to locate target process.
Right-click and select Navigation | Process Editor | Edit process or click the Edit process task in the far right pane.
The current process is loaded and displayed in the process editor.
Use the Process | Copy menu command to make a copy of the original process chain.
The Copy process wizard appears. Ensure the following copy options are selected on the first page:
Enter the requested information (for example, name of the new process and names for the process steps).
For more information on modifying process chains, see the One Identity Manager Configuration Guide.
Data Governance Edition provides Windows PowerShell cmdlets to manually manage resources used in the file system share creation feature.
© ALL RIGHTS RESERVED. Feedback Terms of Use Privacy