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
- 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
- Add the SMF plug-in
to the plug-ins list for the execution unit (XU).
- Open WebSphere Integrated
Solutions Console.
- Go to .
- Add <InstallDir>/zexecutionserver/lib/hbrsmf.jar to
the class path.
- Go to .
- Click the property with the name plugins.
- 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.
- 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.
- Open WebSphere Integrated Solutions Console.
- In the side panel, open .
- On the Application servers page,
click the name of your server.
- 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.
- Under Additional Properties,
click Environment Entries.
- Click New. Add an entry with
the name LIBPATH and the value <InstallDir>/lib.
- Click OK, and then click Save to
save the changes directly to the master configuration.
- Again under Additional Properties,
click Java Virtual Machine, and then click Custom
properties.
- Click New. Add an entry with
the name HBRSMFST100 and the value YES.
- Click OK, and then click Save to
save the changes directly to the master configuration.
- Restart your server to begin collecting execution data
records.