Topics: |
How to: |
At run time, Resource Management collects usage monitoring data in a log file. At predetermined times, such as during server startup or a user request, the log data collected is archived to a permanent repository. Before collecting the data, Resource Management must be configured.
To configure Resource Management, after the server is installed, you must:
There are two levels of security to consider:
Note: In order for User activity to be collected correctly by Resource Management, all users who connect to the WebFOCUS Reporting Server need to have Executive privilege for the EDACONF/catalog/rm directory. The default directory name is ibi\srvnn\wfs\catalog\rm (for Windows) or ibi/srvnn/wfs/catalog/rm (for UNIX), where nn is the Reporting Server release.
While the standard security roles, Server Admin, Application Admin, Operator, and Basic User, have this privilege available to them after a server install, any Custom roles need to be explicitly configured for EDACONF/catalog/rm with the Execute (PRRUN) privilege.
To enable Resource Management, you must have a valid license key. After typing the key, you can specify the type of repository to be used for Usage Monitoring. The Usage Monitoring tables are then created. This procedure shows how to create Usage Monitoring tables in a FOCUS or relational repository using a license code for Resource Analyzer.
Before performing the following steps, make sure the server is running.
If you are using an operating system other than Windows, enter
http://ipaddress:port
where:
Identifies the server where Resource Analyzer is to be configured. Do not use localhost when accessing the Web Console for Resource Management initial configuration.
Is the port number for that server.
Note: On the Programs or All Apps menu under iWay Software, the server types can include iWay Full-Function Server, or iWay DataMigrator Server. On the Programs or All Apps menu under Information Builders, the server type can include a WebFOCUS Server. Resource Analyzer can be configured on any of these servers.
The Web Console opens, as shown in the following image.
The Resource Management page opens, as shown in the following image.
The Resource Management Configuration pane opens.
Note: If you need to change the server name after configuring Resource Management, you have to remove the current configuration and reconfigure it using the new server name. Note that removing the current configuration of Resource Management will delete all of your collected data.
Note: If no certified Resource Management adapter has been configured, the only option in the drop-down menu will be FOCUS.
The current list of certified relational engines is:
The limit on the number of locks has been exceeded for the tablespace within Db2.
If the DDL Only option is used at configuration time, then this parameter can be added to the DDL that is generated. Otherwise, the DBA of the site can add it to the existing Resource Management environment.
When Resource Management data is archived to a target Db2 repository, the user ID that is used to submit the archive job must have the authority to create temporary tables in Db2 with a minimum page size of 4K.
When No is selected, the configuration process will not issue DROP TABLE, DROP INDEX, CREATE FILE, and CREATE INDEX commands. Because the configuration process will always initialize the repository with default data and issue the default GRANTS, the repository must exist when the commands are executed or the configuration will fail. Yes is the default value.
For more information, see Using DDL Statements to Create the Internal Tables.
If the tables are to be created in an alternate database that the owner has rights to, and the technique is supported by the RDBMS, the database name must be specified as well (for example, database.owner). Consult the appropriate RDBMS documentation for the appropriate syntax. On the System i platform, the Owner Name will be shown as Library.
Indicates whether Data Request Monitoring is on or off. When Global Data Request Monitoring is enabled, or set to On, Resource Analyzer collects information on all SQL SELECT and FOCUS TABLE, TABLEF, MATCH, GRAPH, MODIFY, and MAINTAIN requests. The default value is Off. Monitoring will be by individually selected data sources.
Note: On initial configuration it is recommended that this value is set to On so that all default monitoring data can be collected for an initial period after which reports can be run to determine at what level future monitoring should be set. Default monitoring is down to the Field/Column level, which could amount to a large volume of Repository data. If, after reviewing the available reports, it is determined that, for example, this level of monitoring is not required, it can be turned off. For more information, see How to Set Repository Properties.
Indicates the level of Procedure Request Monitoring. The following options are available:
Determines whether WebFOCUS internal system procedures will be monitored. The following options are available:
Indicates the load method that will be used to add log data to the data repository. The following options are available:
After the data is loaded into the temporary table using either load method, the MERGE command is then used to merge the data from the temporary table into the data repository.
The Configure Resource Management PDS Data Sets pane opens, as shown in the following image.
Note: This process can only be completed once.
Note: If you need to change the server name after configuring Resource Management, you have to remove the current configuration and reconfigure it using the new server name. Note that removing the current configuration of Resource Management will delete all of your collected data.
The Repository Statistics page opens, and the navigation pane appears on the left, as shown in the following image.
SET SMARTMODE=ON
There can only be one of these commands active on the server. It should not be duplicated in any other profile or user code.
After a successful configuration, a confirmation dialog box opens, as shown in the following image.
You can now select monitoring levels for Resource Analyzer. For more information, see How to Set Repository Properties.
Click OK.
Topics: |
Several considerations and steps must be taken in order to configure Resource Management to gather monitor data for multiple servers into a single repository. This can only be done using relational adapters. Access must be available from each server machine to the selected relational engine, and a license will be needed for each individual adapter. All servers must be at the same major release level.
All servers in a cluster environment, or multiple servers on UNIX, IBM i/MVS/PDS, and Windows platforms, can collect monitor data into a single repository. If you have environments with multiple WebFOCUS or iWay servers configured for Resource Management and want to collect monitor data from those servers into a single repository, the steps in the following procedure show how to configure Resource Management using the Web Console of the servers.
How to: |
If you have not used the Resource Management DDL to create the repository tables, then you need to pick a server to do the initial configuration that will create the repository tables. Using the Web Console of the server, you will need to perform the steps in How to Configure the First Server. If the Resource Management DDL was used to create the repository tables, then go to How to Configure Additional Servers.
For the first server, configure Resource Management from the Web Console of the server using the following steps:
After configuration is complete, select the monitoring level for Resource Analyzer. For more information, see How to Set Repository Properties.
For additional servers that will use the same repository, configure Resource Management from the Web Console of the server using the following steps:
Note: Create Repository must be set to No on each additional server. If set to Yes, an error message will be displayed stating that the repository already exists.
If the relational repository tables were created by the DBA using the DDLs provided with the product, then all servers have to be configured using Create Repository No.
After configuration is complete, select the monitoring level for Resource Analyzer. For more information, see How to Set Repository Properties.
Note: All administration for Resource Analyzer must be done on each of the servers configured to use the same repository tables.
WebFOCUS | |
Feedback |