Date Created: Mon 01-Aug-2011

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


    Tuning an IBM WebSphere Application Server using pre-defined tuning templates

    You can use the python-based tuning script, applyPerfTuningTemplate.py, along with one of its template files, to apply pre-defined performance tuning templates to your application server or cluster. The script, and these property-based template files are located in the <WAS_HOME>/scriptLibraries/perfTuning/V70 directory.

    Before you begin
    Best practice: The configuration settings applied by this script and the associated tuning templates should be viewed as potential performance tuning options for you to explore or use as a starting point for additional tuning. The configuration settings that each of the pre-defined templates applies are geared towards optimizing common application server environments or scenarios. Typically, these settings improve performance for many applications.

    Because optimizing for performance often involves trade-offs with features, capabilities, or functional behavior, some of these settings might impact application correctness, while other settings might be inappropriate for your environment. Please review the documentation below and consider the impact of these settings to your application inventory and infrastructure.

    As with any performance tuning exercise, the settings configured by the predefined templates should be evaluated in a controlled preproduction test environment. You can then create a customized template to refine the tuning settings to meet the specific needs of your applications and production environment.

    Start the wsadmin tool if it is not already running, and then complete one of the following actions to tune an application server or all of the application servers in a cluster.

    Run the applyPerfTuningTemplate.py script to tune a specific server or cluster of servers running in a production environment.
    wsadmin -f applyPerfTuningTemplate.py
    [-nodeName
    node_name -serverName server_name][clusterName cluster_name] -templateFile peak.props
    Avoid trouble: For Versions 7.0.0.15 and higher, the peak.props template file is replaced with the production.props template file. An error message is issued if you are running on Version 7.0.0.15 or higher and try to use the peak.props template file.

    wsadmin -f applyPerfTuningTemplate.py
    [-nodeName
    node_name -serverName server_name][clusterName cluster_name] -templateFile production.props

    Run the applyPerfTuningTemplate.py script to tune a specific server or cluster of servers running in a development environment.
    wsadmin -f applyPerfTuningTemplate.py
    [-nodeName
    node_name -serverName server_name][clusterName cluster_name] -templateFile development.props

    Run the applyPerfTuningTemplate.py script to change the settings for a server or a cluster back to the standard out-of-the-box default configuration settings.
    wsadmin -f applyPerfTuningTemplate.py
    [-nodeName
    node_name -serverName server_name][clusterName cluster_name] -templateFile default.props

    This little nugget came from IBM WebSphere 7 Information Centre
    http://publib.boulder.ibm.com/infocenter/wasinfo/v7r0/topic/com.ibm.websphere.base.doc/info/aes/ae/tprf_tuneappserv_script.html?resultof=%22%72%75%6e%74%69%6d%65%22%20%22%72%75%6e%74%69%6d%22%20%22%70%72%6f%76%69%73%69%6f%6e%69%6e%67%22%20%22%70%72%6f%76%69%73%22%20

    Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories