The IBM RACF connector can be used to run any command in the Time Sharing Option (TSO) environment on the target IBM mainframe. The LDAPX exit must be installed and configured for this functionality to be supported.
The IBM RACF connector can be used to run any command in the Time Sharing Option (TSO) environment on the target IBM mainframe. The LDAPX exit must be installed and configured for this functionality to be supported.
The TSO command is run using an ARSS synchronization step to create an object of type ldapxtsocmd on the target IBM RACF system and supplying the name of the TSO command or script to be run in the attribute racfprogrammername. When the step is run, the IBM RACF connector intercepts the create command and instead sends an LDAP search command with the required parameters via the LDAP protocol.
The LDAPX exit intercepts this request, extracts the TSO command information and runs the command. The LDAP response is constructed, containing the results obtained from running the command. The IBM RACF connector receives this LDAP response, extracts the results and saves them in a text file that can be examined later.
No object is created during the synchronization step so it can be run indefinitely, each time executing the TSO command stored in the racfprogrammername attribute from the same or any other synchronization step.
The following example shows a method of issuing a TSO command using synchronisation from Active Directory (AD).
Using Active Directory Users and Computers create a container in AD that can be filtered on by the ARSS. For example, create an organisational unit container called TSO Commands.
Create a dummy computer object within this container with name TSOCMD and description field set to the string STATUS. The TSO command STATUS will return the current system status.
Create a workflow called Run TSO Command.
Within this workflow, create a synchronization step item as follows:
Synchronization step type: Create
Source object: Active Directory, specified container as created above, name starts with TSOCMD.
Target connector: IBM RACF
Object type: ldapxtsocmd
Mapping: from AD Description attribute to IBM RACF racfprogrammername attribute
Save the step.
Run the synchronization step. There should be one item to be created with the following properties:
objecttype: ldapxtsocmd
racfprogrammername: STATUS
Perform the synchronization step.
The LDAP command will be sent and interpreted by the LDAPX exit to run the TSO command.
Once complete, the synchronization step will show as being successful.
The output from running the command can be found in the following text file:
<ARSS installation folder>\SyncService\TSOCommandOutput\YYDDMM.txt, where, YYMMDD represents the date when the command was run.
The text file will contain the output returned from IBM RACF having run the STATUS command.
Multiple commands run on the same day will have their output appended to the same daily text file.
This section describes how to create or modify a connection to MySQL database so that Synchronization Service could work with data in that data system.
To create a connection to MySQL database, you need to use Synchronization Service in conjunction with a special connector called MySQL Connector. This connector is included in the Synchronization Service package.
The MySQL database Connector supports the following features:
Feature |
Supported |
Bidirectional synchronization Allows you to read and write data in the connected data system. |
Yes |
Delta processing mode Allows you to process only the data that has changed in the connected data system since the last synchronization operation, thereby reducing the overall synchronization operation time. |
No |
Password synchronization Allows you to synchronize user passwords from an Active Directory domain to the connected data system. |
Yes |
In this section:
For instructions on how to rename a connection, delete a connection, modify synchronization scope for a connection, or specify password synchronization settings for a connection, see Synchronization Service Administration Guide.
To create a new connection
Make sure that on the system where Synchronization Service is installed, you install the connector/Net, an ADO.NET driver for MySQL.
For supported versions of connector/Net, see the System Requirements section in the latest version of the Active Roles Release Notes.
Click Add connection, and then use the following options:
Connection name. Type a descriptive name for the connection.
Use the specified connector. Select MySQL Connector.
On the Specify connection settings page, use the following options:
MySQL server. Type the fully qualified domain name of the MySQL server that hosts the MySQL database that you want to participate in data synchronization operations.
Access MySQL server using. Type the user name and password of the account with which you want to access MySQL server. Ensure the account has sufficient permissions to perform operations (Read, Write) on objects in the database to which you want to connect.
Connect to database. Type the name of the database to which you want to connect on the MySQL server.
Advanced. Click this button to specify additional parameters you want to add to the connection string that will be used to access the MySQL server. In the dialog box that opens, click the Add Parameter button to specify the name and value of the parameter you want to add to the connection string.
Test Connection. Click this button to verify the specified connection settings.
Click Next.
On the Specify how to select and modify data page, use the following options:
Use data from this table. Allows you to select the database table that includes the data you want to participate in the synchronization operations. You can click Preview to preview the database table you have selected.
Use an SQL query to specify data. Allows you to compose an SQL query that provides a more flexible way for specifying data that will participate in the synchronization operations. For example, you can use this option to specify multiple database tables. Select this option, and then click the Configure Query button to type your SQL query.
Configure Settings. Click this button to configure settings for modifying data in the connected system during synchronization operations. For example, you can specify the database tables in which you want to insert, update, or delete data during synchronization operations.
On the Specify attributes to identify objects page, use the following options:
Available attributes. Lists the attributes that are available in the external data system. Use this list to select the attributes whose values you want to use to generate a unique identifier for each object in the external data system. You can filter attributes by typing in the text box at the top of this list. To select multiple attributes, hold down CTRL and click to select attributes in the list.
UniqueID attributes. Lists the attributes whose values are currently used to generate a unique identifier for each object in the external data system.
Add->. Moves the selected attributes from the Available attributes list to the UniqueID attributes list.
<-Remove. Moves the selected attributes from the UniqueID attributes list to the Available attributes list.
Constructed UniqueID. Displays a combination of the attributes whose values will make up a unique identifier for each object in the external data system.
© ALL RIGHTS RESERVED. 使用条款 隐私 Cookie Preference Center