Using FCS Capacity Tester
for Logging and Performance Charting

This zip package contains the FCS Capacity Tester files. This document provides instructions for using the logging and charting capabilities of the FCS Capacity Tester. The FCS Capacity Tester is a complete capacity testing harness for the FCS server, and is highly flexible and extensible. The harness is itself a FCS application and utilizes a FCS server (capacity master) to apply load and measure performance of any FCS server (target server). This document only explains the logging and charting aspects of the system, a complete description is beyond its scope. Also a good knowledge of developing and administering FCS applications is necessary.


Package Contents

The package consists of a number of files and folders. The following are of particular interest -

  1. README.htm - this is the document you are currently reading.
  2. ct_master/ - the main capacity application
  3. xcl_ct_viewer/ - a tool that converts logs generated by ct_master


System Requirements

You will need to have two separate FCS servers, let's assume that they are accessible as cap_master.foo.com and cap_target.foo.com. Please substitute appropriate names for these as you see fit. We will refer to these machines as cap_master and cap_target in the rest of the document. You will also need Microsoft Excel installed on the machine that will be used for generating charts, and it should have at least one printer driver installed (though need not be attached to a printer).


Installation

  1. Unpack the contents of the zip file in some temporary location.
  2. Copy the ct_master folder into the FCS applications folder cap_master server.
  3. Restart the FCS server on cap_master.


Generating Performance Logs


Charting Performance Logs

The performance logs are written out as flv streams. A special charting tool is provided in the package which is integrated into Microsoft Excel is provided that can process these logs and generate standard charts. Follow the steps below to generate charts for the previously generated logs.

  1. Make sure you have MS Excel installed on the system being used to generate the performance charts. The charting tool uses macros, so please enable them.
  2. You should have at least one printer driver installed on this system.
  3. Next ensure that you have all the files from xcl_ct_viewer/ folder in the package available on this system.
  4. Double click the xcl_logviewer_tool.xls file, this should bring up MS Excel. If you are asked whether to enable Macros, please enable them, the tool will not work with this.
  5. Next type <Ctrl-Shift-L>
  6. This will bring up a form 'EXCEL CAPACITY LOG PARSER'
  7. Enter the appropriate server url, for e.g. rtmp://cap_master.foo.com/ct_master, please note that the trailing /ct_master must be present regardless of the hostname.
  8. If you are able to successfully connect to the cap_master, you will be presented a list box with all the available log files, they are always named as Capacity_YYYYMMMDD_hhmmss, for e.g. Capacity_2003Sep02_17.13.47. These files are simply the flv streams created when generating performance logs. The flv files can be found on cap_master in the applications folder under ct_master/streams/_definst_/. You can also type in the flv file name explicitly (without the trailing .flv) in the 'LOG FILE' input text field.
  9. Click 'View Log' button to generate the charts. IMPORTANT - 'Remove Log' permanently removes the performance log so be careful in its usage.
  10. The time taken to generate the chart depends upon the length of the performance log. The cpu usage can be quite high during chart generation and can be used to determine when it is done. Typically though it should not take more than a couple of minutes.
  11. Once the generation is complete you will have a workbook with a number of graphs and spreadsheets of raw data. You will need to save this into an appropriately named file. DO NOT OVERWRITE xcl_logviewer_tool.xls file.