Configuring Rule Execution Server on WebSphere Application Server for z/OS to collect execution data

You must be authorized to the BPX.SMF profile of the FACILITY class to write System Management Facility (SMF) records. You must configure a few things in Rule Execution Server on WebSphere® Application Server for z/OS® before you start collecting execution data.

Procedure

  1. Ensure that the user that runs WebSphere Application Server is authorized to the BPX.SMF profile of the FACILITY class. Use the following commands:
    PERMIT BPX.SMF CLASS(FACILITY) ID(<WASSTCID>) ACCESS(READ)
    SETROPTS RACLIST(FACILITY) REFRESH
  2. Add the SMF plug-in to the plug-ins list for the execution unit (XU).
    1. Open WebSphere Integrated Solutions Console.
    2. Go to Resource adapters > XU RAR file.
    3. Add <InstallDir>/zexecutionserver/lib/hbrsmf.jar to the class path.
    4. Go to Resource adapters > XU RAR file > J2C connection factories > xu_cf > Custom properties.
    5. Click the property with the name plugins.
    6. Add the following string to the plugins property:
      {pluginClass=com.ibm.rules.hbr.smf.SMFPlugin,allowEmpty=NO},

      Set the allowEmpty property to YES if you want to write an empty record when there have been no executions during the interval.

      Note: You must have a comma between two entries to separate one plug-in from the next plug-in.
  3. Add the SMF function to the native library path.
    Note: If you are using WebSphere Application Server Network Deployment, the following steps from 3-c to 3-f must be repeated for every server that you require the SMF data collection for.
    1. Open WebSphere Integrated Solutions Console.
    2. In the side panel, open Servers > Server types > WebSphere application servers.
    3. On the Application servers page, click the name of your server.
    4. Under Server Infrastructure, expand Java and Process Management and click Process definition.

      In WebSphere Application Server for z/OS, an extra layer provides three resources that can be administered: Adjunct, Control, and Servant. If you are working in that environment, select Servant.

    5. Under Additional Properties, click Environment Entries.
    6. Click New. Add an entry with the name LIBPATH and the value <InstallDir>/lib.
    7. Click OK, and then click Save to save the changes directly to the master configuration.
    8. Again under Additional Properties, click Java Virtual Machine, and then click Custom properties.
    9. Click New. Add an entry with the name HBRSMFST100 and the value YES.
    10. Click OK, and then click Save to save the changes directly to the master configuration.
  4. Restart your server to begin collecting execution data records.