+

Search Tips   |   Advanced Search

(iSeries)

Use Collection Services performance data

Collection Services, a component of WebSphere Application Server for IBM i, collects Performance Monitoring Infrastructure (PMI) data for stand-alone application servers. This PMI data is collected at specified intervals, providing a snapshot of activity during that time.

Perform the following steps enable Collection Services for WAS. When Collection Services is enabled, it writes the collected data into the following new database files:


Tasks

  1. Install and enable the Collection Services custom service:

    1. Type the following command on an IBM i command line to start the Qshell environment:
      STRQSH 
      

    2. Type the following command:
      cd app_server_root/bin
      

    3. Type the following command to install and enable the Collection Services custom service:
      manageWASCollectionServices -profileName pName -server.name sName -enable
      
      where pName is the name of the WAS profile to manage and sName is the name of the Application Server to manage.

  2. Enable PMI and set the level using the administrative console.

  3. Stop and restart the application server.

  4. Perform the following steps to configure Collection Services:

    • On an IBM i command line, type CFGPFRCOL (Configure Performance Collection) and press the F4 key.

    • Make note of the collection library specified to create the management collection object (Collection library parameter, LIB keyword).

    • Make note of whether or not database files are automatically created (Create database files parameter, CRTDBF keyword).

  5. Type the following command to start the performance collection:
    STRPFRCOL
    

  6. If we configured Collection Services with CRTDBF(*YES), new records are written to all of the previously listed files at every collection interval. If CRTDBF(*NO) is specified, no database files are created automatically, we need to do it manually using the CRTPFRDTA command. Here are two examples:

    • To create all the Collection Services files, type the following command:
      CRTPFRDTA FROMMGTCOL(MYLIB/Q123456789)
      

    • To create the new WAS files only, type the following command:
      CRTPFRDTA FROMMGTCOL(MYLIB/Q123456789)
      
      CRTPFRDTA FROMMGTCOL(MYLIB/Q123456789) CGY(*WAS)


What to do next

For more information about Collection Services, see the IBM i and System i Information Center at: http://www.ibm.com/eserver/iseries/infocenter


Subtopics

  • Enable PMI