(BWFT-Latest) Set Up, Install and Exporting results
Installation
Steps to install the transport requests:
- Copy the installation files into a transport directory. Normally, the 'cofiles' should be copied into /usr/sap/trans/cofiles and the 'data' should be copied into /usr/sap/trans/data.
- Add the transports to the Import Queue using the menu in STMS (Extras > Other Request > Add).
- Import the transports in the order, which is described in the transports.txt file. You received this file in the zipped folder from your consultant.
- User executing BW Fitness test should have this role assigned - /DVD/BWFT. It is part of the given transport.
Supported BW versions: 7.00 – 7.51 with up-to-date SPs
Supported database systems:
- MaxDB
- MSSQL
- DB2
- DB4
- DB6
- HANA
- Oracle
- Sybase ASE
- Informix
Prerequisites to run BWFT successfully
DB statistics should be up to date
- Details: In order to get accurate results for most of the BWFT collectors, database table statistics of all tables that are analyzed must be up to date. BWFT analyses sizes and row counts of the database tables used for the SAP system from its database statistics. The current and most accurate row count and size of a table cannot be retrieved during the BWFT execution due to performance reasons.
- Impact: If DB table statistics are not up to date, results don't have to be accurate. Outdated statistics on RS* tables can also cause performance issues during the BWFT execution.
- Action: Please check with your basis team if DB statistics can be updated shortly before the BWFT execution. Database statistics can be checked in DB20 transactions.
Query statistics should be turned ON prior to the BWFT execution
- Details: BWFT analyses a query and load performance in a BW system. In order to see the runtime of queries executed in the past, it is necessary that Query statistics (RSDDSTAT) are turned ON before the BWFT is executed. Our recommended period for the analysis of queries is 6 months. However, capturing a month is sufficient. It is required that for analyzed objects Query statistics is turned ON with the setting - OLAP Statistics Detail Level = 2 - All (a system records all data from an area for the front end and calculation layer as well as data from an area for an aggregation layer and aggregation information).
- Impact: If Query statistics are turned OFF or turned ON only for selected queries, tit is possible that some KPIs cannot be calculated properly. This applies also if query statistics are not turned on with Detail level "2 - All". This impacts only a single KPI of the BWFT - Query Performance. Query Performance KPI is not a showstopper for executing the rest of the BWFT.
- Action: Please check with your basis administrator or check the setting in the transaction RSDDSTAT.
InfoProvider statistics should be turned ON prior to the BWFT execution
- Details: BWFT analyses load performance in a BW system. In order to see details of executed InfoPackages in the past, it is necessary that InfoProvider statistics (RSDDSTAT) are turned ON for all InfoProviders before the BWFT is executed (OLAP Detail level is not important here). Our recommended period for the analysis of InfoPackages is 6 months. However, capturing a month is sufficient.
- Impact: If InfoProvider statistics are turned OFF or turned ON only for selected InfoProviders, it can cause that some KPIs aren't calculated properly. This impacts only a single KPI of the BWFT - InfoPackage performance analysis. This KPI is not a showstopper for executing the rest of the BWFT.
- Action: Please check with your basis administrator or check the setting in the transaction RSDDSTAT.
Steplist
The execution of BW FitnesTest consists of the following steps:
Initial settings
Add a system to a Monitoring area
In the first step add the current system to the BW FitnessTests monitoring area. Without completing this step, it's not possible to start the Collector job in CrystalBridge Monitoring™.
- In the CrystalBridge Monitoring™ program (transaction code DVD/MON) navigate to the menu bar Settings > System settings.
- In System settings, highlight the system where BW FitnessTest will be running and click on the Monitoring areas in the left panel.
- Click on New entries on the application toolbar and enter the area name "FT".
- Press the enter key or the Save icon. In the list of Monitoring areas, you should now see the "FT" monitoring profile.
The system which is going to be analyzed by BW FitnessTest is now added to the required monitoring area.
Set up the collection of data in input tables (optional)
This step is optional, as by default BW FitnessTest uses standard values for collecting data (two background jobs and a reset period of six months).
However, you have the possibility to customize the collection of data by setting up the input tables, which are in the default case empty. To customize the collection of data through a Collector job in input tables follow these instructions:
- Navigate to the top panels Settings > Collector settings.
- In Collector settings, choose (highlight) from the list the FitnessTest collector - /DVD/MON_FT_CL_COLL_MAIN, then go to Inputs & rules on the left side of the screen.
- Displayed are all input tables for the FitnessTest collector. To modify the collector settings click by the following tables.
/DVD/MON_FT_INEW
- System ID - enter the current system ID (F4)
- FT Run ID - enter "BWFC_INS"
- JOB_NUMBER - number of background jobs used for collecting data, the maximum value is 1/4 of total background jobs
- Recommended period value - number of time units specified in the Type field. After the collecting process finishes, Fitnesstest waits after the Recommended period value passes and starts all over again. This period is calculated starting from the Collector job execution.
- Type - time unit (F4)
- Do not change the field Server.
/DVD/MON_FT_IN2
In this table, you can specify the time difference between the execution of two schedulers FitnessTest collectors "InfoProviders in three runs (IPR3R)" and "Number range buffer (NR buffer)".
- KPI name - name of the Fitness test collector.
- Field Name - Each KPI name has two records with the time period parameters - PRDTYPE or PRDVALUE
- PRDTYPE: period type (in version 1811 only days (DA) - are supported)
- PRDVALUE: period value, enter a number of time units
Creating a Collector job
- In the CrystalBridge Monitoring™ transaction /DVD/MON click Create collector job.
- Fill the displayed dialog according to the following figure:
- Definition
System ID - ID of the current system (SID). This field is filled automatically. If you want to enter a SID of a remote satellite system, you should make sure that BW FitnessTest was transported to this system.
- Monitoring profile - enter "BWFT"
- Execution
- Change only if the collecting process shouldn't start immediately
- Period - how often does the Collector job run. The recommended value is set after clicking Predefined values
- Type - time units
- Value - number of time units
- Retention time - time period after which collected data is deleted. The recommended value is set after clicking Predefined values .
- Definition
- Select (Re)Start collector job.
Executing the Collector job
If you didn't customize the collection of data in input tables, then by the execution of the Collector job the below-displayed pop-up informs you that the FitnessTest uses the default values.
After clicking Yes the Collector job continues to the prerequisites check.
The prerequisites check indicates how accurate the results of FitnessTest are going to be. The prerequisites check is displayed only if the query and InfoProvider statistics settings contain some warnings.
- In the case the prerequisites check is successful
The FitnessTest Collector job is added to the Collector job list and automatically executed.
You can pause, modify or delete the Collector job by clicking the right mouse button on the Collector job and choosing one option.
Deletion of the Collector job
If you delete or modify the Collector job, its execution will start again and your collected data will be lost.
- If the prerequisites check ends with a warning
The following dialog appears. You may choose to continue with the execution by clicking Yes (the results might not be accurate) or display Query or InfoProvider statistics settings that may have caused the warnings.
Details about query and InfoProvider statistics can be seen after clicking on any of these two buttons.
Query statistics settings
You can view which queries have the statistics setting turned off (0,1,9) and should be turned on. For more information check the Info button.
InfoProvider statistics settings
You can view which InfoProviders have the statistics setting turned off (0,1,9) and should be turned on. For more information check the Info button.
At this point, if you want to adjust the queries and InfoProviders statistics settings, you must cancel the execution in the prerequisites warning pop-up.
Executing additional CrystalBridge Monitoring™ collectors
Completing this step you are able to display the following KPIs in the BW FitnessTest result:
- Number of delayed background jobs
- Number of failed background jobs
- Number of used background jobs (all systems)
- Number of queries falling on DM (BWA, DB, HANA)
- Aggregate usage
- BW duration running attribute change run
- BW duration of longest-running cube compression
- BW duration of longest-running DB indexing
- BW duration of longest-running DTP
- BW duration of longest-running InfoPackage
- BW duration of longest-running MD activation
- BW duration of longest-running ODS activation
- BW PC step count
- BW PC step error
- Size of column tables in delta memory (HANA systems only)
- Size of column tables estimated (HANA systems only)
- Size of column tables in main memory (HANA systems only)
- Total memory size of column tables (HANA systems only)
- Number of HANA dumps (HANA systems only)
To start monitoring mentioned KPIs:
- In the transaction /DVD/MON choose the appropriate system from the system tree and press
- Activate Extended Statistics
- In the taskbar click Goto → BW Analysis Wizard and click Next
- Enter system ID of monitored system and click Next
- Check (if not already activated)
- Continue through the BW Analysis wizard reading instructions
- Create collector job with profile HMBW_1DAY
- In the Collector jobs panel, click Create collector job
- Fill the HMBW_1DAY profile in the Monitoring profile field and click Predefined values
- Click
Additional CrystalBridge Monitoring™ KPIs are now being collected.
Checking the status of collecting data
While the Collector job is running, the status and progress of collecting data can be observed and checked through the CrystalBridge Monitoring™ or the BWFT Monitor (/DVD/BWFT).
a) Checking the status in CrystalBridge Monitoring™
To check the status of FintessTest KPIs, choose in the KPI groups tree a BW FitnessTest KPI group and choose the particular KPI.
All BW FitnessTest KPIs are divided into the following KPI groups:
- BW FitnessTest collectors
- Contains KPIs (statuses) of collectors, which were executed through the Task handler for non-HANA DB systems
- BW FitnessTest collectors for HANA
- Contains KPIs (statuses) of collectors, which were executed through the Task handler for HANA DB systems
- BW FitnessTest analyses
- Contains KPIs (statuses) of non-HANA post-processing programs
- BW FitnessTest analyses for HANA
- Contains KPIs (statuses) of HANA post-processing programs
Hovering the mouse over the chart line displays status in the form of a single number, which has the range from 0 to 4:
- 0 - not running
- 1 - running
- 2 - completed
- 3 - completed but with a non-critical error or a warning
- 4 - didn't complete due to a critical error (a short dump, etc.)
b) Checking the status of BW FitnessTest collectors in BWFT Monitor
To check the status of BW FitnessTest collectors
Open the transaction /DVD/BWFT.
- In the Run ID enter "BWFC_INS" (this is common for HANA and non-HANA FitnessTest) and click Display.
The transaction BWFC_INS serves only for observation purposes.
Don't access the individual jobs through a double click on the folder name. Random manual execution of tasks can damage the whole FitnessTest run.
To display a status of a BW FitnessTest collector select next to the particular collector group (Main collectors, Dependent collectors or Additional collectors).
The status may be as follows:
: Status is successful
: Status ended up with a warning
: FitnessTest collector is scheduled for a future time
: FitnessTest collector execution is in progress
: FitnessTest collector execution was completed with an error (negative result). You don't need to perform further steps, as error status doesn't influence the results of FintessTest.
: FitnessTest collector execution wasn't completed due to an error. Please contact our consultants for further support.
The time difference between the execution of scheduler collectors is set by default. It can be changed in an input table (See above the section on how to set the 6193171)
After all of the FitnessTest collector executions are successfully completed (all status except , , ), you can progress with the transport of the results.
- The run "BWFC_INS" exists only when the Collector job is running.
- If you are running BW FitnessTest on another than the central system (satellite system) the last task sends final data to the central system.
Transporting results
If you want to transfer collected data to another system (for example from the central system to the production system) you may follow the below described instructions.
The data transfer is possible only when the Collector job run isn't initiated remotely.
In this case, you are executing the Collector job remotely (The Collector job was created on another system), data from the Collector job will be stored in the system on which the Collector job was initially executed.
An example
You are on the NSQ system and you also create the FitnessTest Collector job for the NSQ system, then after the BW FitnessTest is completed, the results are saved on this NSQ system. You may generate data on this system.
If you are on NSQ and create a Collector job for the HD1 system (remote execution), after the BW FitnessTest is completed, the results are sent to the NSQ system (the data is not available on the HD1 system). The generation is possible only on the NSQ system.
To export collected data:
- Use the transaction /DVD/MON_FT_EXP.
- Fill the System ID with the system from which you want to export data (key F4).
As you can see in the below figure, several dummy systems are displayed. These systems are virtual systems, which were created during previous import processes. For example exported results from HD1 were imported to NSQ and saved under a dummy system H01, SIQ system saved under S01, etc.
- Choose a time frame, in which we export FitnessTest data.
- Data is exported from all of the checked collectors. You may check or clear check boxes to export data from specific collectors (main FitnessTest collector, additional CrystalBridge Monitoring™ collectors, etc.).
If you want to see chosen CrystalBridge Monitoring™ KPIs in BW FitnessTest results, you have to check also CrystalBridge Monitoring™ collectors, not only the main BW FitnessTest collector (highlighted red in the figure below). If you check a collector which was not collected by CrystalBridge Monitoring™, this will not cause any problems. - Click Export. After the export is complete a zipped file is created.
Please contact the responsible consultant and send them the results for further analysis. To save system resources, please Stop all collecting jobs that are not needed anymore (use Pause in case you want to preserve the state of the BWFT run). Don't click Stop for BWFT collector unless you want to delete the whole BWFT run.