You are on page 1of 12

HP Performance Center Implementation Service

best practices
White paper
Table of contents
Executive overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Why best practices? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
HP Services for products, people and processes .........................................4
Products . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
People . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Processes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Assess ....................................................................5
Scope . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Implement . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
Validate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Realize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
HP Performance Center best practices overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
HP Performance Center best practices examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Managing data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
The data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
The backup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Roles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Skill sets and prerequisites . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Optimizing the infrastructure tier . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
Executive overview HP Services for Products, People and Processes is
applied throughout the HP Services Methodology, a
phased approach by which HP Performance Center is
IT applications are fundamental to successful client
integrated into your organization. The HP Services
relationships. For that reason, they must run optimally
Methodology encompasses a clear series of iterative
and consistently. Thats why HP introduces a new
steps that guide you in applying HP best practices. This
strategy, business technology optimization (BTO),
takes you toward self-sufficiency in your management
which improves IT service delivery and management
and optimization processes.
lifecycle. BTO puts into place and leverages the proper
resources to increase the value of your business. This white paper introduces HP Performance Center
best practices as delivered through the HP Performance
HP Performance Center suite is a set of BTO applica-
Center Implementation Service. These help to make
tions and services that helps IT manage and optimize
certain that HP Performance Center implementation
the performance of delivered applications.
drives continual value for your organization.
HP deploys HP Performance Center by drawing on and
applying extensive best practices: in-depth knowledge,
experience and expertise to facilitate dramatic improve- Why best practices?
ment of critical application performance for your
The benefits of even the most advanced performance
organization.
testing automation and management system can be
HP best practices form the core of all HP Performance lost when it is not implemented properly, the organiza-
Center implementations. These best practices cover all tions testing personnel lack proper knowledge or
aspects of HP Performance Center deployment, including when appropriate processes are not implemented. But
product installation and operation, organizational unrealized benefits are only a fraction of the losses that
design, process implementation, continual process inevitably result from inefficient system capacity, inferior
improvement and measurement of return on investment user experience and increased infrastructure cost due
(ROI). HP knows that applying lessons learned means to ineffective performance validation and optimization.
that you shorten time to value, reduce the total cost of
The wealth of skill and proficiency documented in HP
achieving that value and lower your risk during the
Performance Center best practices reflects the depth
period of change.
of know-how that increases the benefits of application
HP Services for Products, People and Processes is the performance testing and management processes.
model by which HP Performance Center is most success-
Employing HP Performance Center best practices
fully introduced into an organization. By concentrating
allows you to achieve the benefits of HP Performance
on these three most-vital assets, you begin building an
Center through a smooth implementation:
optimized IT organization that leverages state-of-the-art
testing products and a skilled and experienced team. Faster time to achieve value
HP has proven methods for achieving quick and sig- Lower risk of implementation failure
nificant improvement in IT processes and application Reduced total cost of ownership for the entire project
performance.

3
These best practices are neither theoretical nor abstract, People
but real-world knowledge that has emerged from HP
HP starts by training your team in the effective use of
experts and HP customers, creating novel solutions to
the products. Following the standard classroom training,
emergent problems and challenging service delivery
we mentor your team through their first projects. This is
issues. Throughout HP Performance Center implementa-
where they apply what they have learned in the class-
tion, HP applies these best practices to your specific
room and gain real-world experience. Additionally,
situation, creating world-class processes for you that
the different team members become familiar with the
drive long-term success.
interfaces between each group and learn how to rely
on each other appropriately. HP also helps you design
HP Services for Products, an optimal organizational structure for the operation of
HP Performance Center.
People and Processes Processes
Achieving continuous, long-term improvement in appli- Performance validation and optimization, as well as
cation performance takes more than just state-of-the-art the operation of an enterprise-wide HP Performance
technology. Simply installing even the best technology Center, present a variety of challenges that call for
will provide little benefit. Your teams must be able to specialized experience and expertise. HP applies
make the best use of the products and your existing its best practicescreated over years of successful
processes must be updated to include their use. customer engagementsto your specific situation,
It is critical that best practices cover each of these three and creates repeatable processes that you can use to
aspects. HP uses a three-fold approach called HP operate HP Performance Center and validate and
Services for Products, People and Processes. HP best optimize performance across your application portfolio.
practices address each of the following areas. Additionally, the new HP Performance Center processes
are fully integrated with your other IT processes.
Products In summary, HP Services for Products, People and
HP installs the appropriate HP Performance Center Processes addresses the three fundamental elements
components, configures these in an optimal way for HP products, your people and your processesthat you
your situation and integrates these into your existing need to optimize to enable your success in improving
hardware and software infrastructure. The HP team your organizations application performance.
verifies that the entire HP Performance Center test
HP Services Methodology
environment, including core systems, load generators
HP Services Methodology is a proven approach to
and application server, is properly installed and
achieving improved application performance across
configured on adequate hardware. It is integrated into
the entire organization. Using HP Services Methodology,
your IT environment, with special considerations for
documented improvements range up to 400 percent
network, security and other systems.

4
Figure 1. HP Services
Methodology

1. 2. 3. 4. 5.
Access Scope Design Implement Validate

6.
Realize

increase in overall system capacity without additional Enable your self-sufficiency. One of the primary goals
investments into hardware and software infrastructure. of HP Services Methodology is to transfer expertise to
The methodology has five defining characteristics: you as quickly as possible, so you can get the most
Concentrate on all aspects required to successfully value from your investment in HP products. In addition
instill change in your organization: technology intro- to using a project-based approach with side-by-side
duction, people enablement and process change. mentoring, HP consultants apply best practices and
This three-part focusknown as Products, People and create processes that are customized to your organi-
Processesis the basis for all HP Performance Center zation, so your team can achieve your desired
services. business objectives using HP Performance Center.

Determine that the approach is practical. Start with Implementation phases


an achievable objective and build based on the Implementation of HP Performance Center in your organi-
success of that project. In practice, this means that zation is directly guided by HP Services Methodology.
HP Performance Center deployments typically start The implementation process itself is comprised of
small and then build toward complete implementation distinct and iterative phases that take the project from
across the organization when the organization is fully conception to completion in incremental steps. This
ready. This phased approach also leads to flexibility, achieves not only a finely tuned and customized
enabling HP to help you implement different performance-testing platform and processes based on
processes as required. your organizations specific needs, but also leads you
Drive to value as quickly as possible. In nearly all to achieving hands-on proficiency while under the
cases, HP implements a pilot project as part of the guidance of the on-site HP consulting team.
implementation. In the case of HP Performance
Center, this means that one of your most important Assess
applications is tested and optimized with the help of The purpose of the initial phase of the HP Performance
HP experts. In this way, you learn how to effectively Center implementation is to determine the high-level
use HP Performance Center from an operations architecture and the implementation approach. To start
standpoint while you deliver improved performance deploying HP Performance Center in the context of an
to your organization. actual testing project, HP consultants assess the relevant
Follow specific steps based on best practices. There strategic, functional and technical aspects of your
are literally thousands of successful implementations organization, meet with the right team of business and
of HP products. Based on these successes, widespread technical stakeholders to identify existing pain points
industry expertise and internal use of the products, and assess the current state of your organizations test-
HP has created an extensive set of best practices for ing environment. Your highest-priority testing project is
the successful deployment and use of HP Performance then identified and selected as the pilot for the imple-
Center. These best practices are put into action as HP mentation process, providing you with immediate value.
consultants follow a detailed roadmap to complete
your deployment.

5
Scope Implement
Drawing on the information gathered in the assess The approved plans from the preceding phases
stage, the HP team works with you to formulate a become reality as HP implements the selected project.
comprehensive solution roadmap specifying the major This phase starts with the installation of the product
parameters, overall strategy and detailed process flow suite in your testing environment, including validating
of the implementation. This includes a decision to the hardware and software environment, installing the
implement HP Performance Center in-house or through appropriate products and validating the installation.
HP Managed Software Solutions. Resource planning
Once the HP Performance Center environment has
and optimal capacity recommendations are aligned
been installed and configured, and the classroom
with your expected required testing capacity and high-
training completed, the pilot project begins with the
level business objectives are identified that will define
specification of well-defined, measurable performance
the projects success. This phase results in a proposal
requirements that fulfill the high-level business objectives.
detailing the optimal HP solution and a written
These performance requirements will determine the suc-
statement of work (SOW).
cess or failure of the project in meeting the objectives.
Design The next step is to identify which components to
The next phase begins with a series of discovery monitor based on the performance requirements that
meetings to confirm assessment findings and conduct apply to the system being tested. Below is an example
a more in-depth analysis of your existing organization, of monitoring metrics:
infrastructure and application environment. This includes
To form the basis for an automated script, use cases
system architecture, infrastructure, data flows, main
are established and documented appropriately. HP
users, machine accessibility, physical layout, enterprise
then helps you formulate the requirements document
network, maintenance procedures, your processes and
and project plan, detailing aspects such as the number
workflows, security requirements, and so forth. With
of projected users, the project test environment, test
this information combined to form the requirements
data, hardware and software.
specification document, the HP team works to design
your enterprise deployment with a project strategy and In the next step, performance validation is conducted
risk management strategy that: on the system. Depending on your specific situation
Define the general framework for the project and business needs, HP may recommend running
some or all of the different test types. The results are
Determine the optimal sizing of the HP Performance
then recorded and analyzed.
Center environment and technical specifications for
deployment Load tests are end-to-end performance tests that
emulate the anticipated product environment and
Specify required processes modifications
situation.
Specify knowledge transfer (training and mentoring)
Failover tests demonstrate what happens when a
plans
primary system fails under load.
Fulfill quality, resource and timeline requirements

6
Figure 2. Section of metrics
monitoring table
CPU management
Parameter Requirement Method Value Remarks
Utilization None of the CPUs Rstatd, Vmstat, 1015% High CPU idle time
should have a HP SiteScope indicates a machine
consistent utilization software with resources to
of more than 70%. spare.
Load average No more than three Rup, Rstatd, Less than 1 Since the CPU is mostly
processes should wait HP SiteScope idle, load average,
for the CPU. software which is a good
representation of
average process queue,
was never more than 1.

Durability tests validate system performance under In parallel with performance validation and optimization
heavy load for an extended period of time. for a pilot project, the HP team documents all processes,
Stress tests determine the maximum capacity of the changes in performance and new methods used. This
system by increasing load until the system fails. helps in creating the best practices specific to your
organization, augmenting the HP best practices that
Infrastructure tests isolate different components in the
are part of the knowledge transfer method that also
infrastructure tier to identify bottlenecks.
includes training and mentoring. These are the best
Performance tests determine end-to-end timing for the practices that your team will use in future projects to
system under low load with a production-size database; validate and optimize your application performance.
this helps set the best case for end-user timing. In subsequent projects, review and update the
processes as appropriate.
At appropriate points throughout the validation process
(or once the validation process has been completed), In addition to testing activity, it is critical to determine
the tuning process can begin to verify that your appli- that the HP Performance Center administrator properly
cation fits the production environment in the optimal maintains users and projects, applies software main-
way. Choose the tier to tune (infrastructure, database, tenance and upgrades HP Performance Center as soon
application, J2EE layer), then define the specific as is practical when new releases become available.
purpose of the tuning run and establish the threshold
for the specific metric you are evaluating. Develop the Validate
tests for the tier, and use the guidelines available for
Once implementation is complete, the principal stake-
your organization.
holders and the HP team conduct a retrospective to
Each tuning run should be highly collaborative among review the execution of the implementation and evaluate
the tuning experts, the application experts and the the HP Performance Center infrastructure and the pilot
environment experts. Implement the appropriate alerts testing process. Successful completion of deployment is
and then run the load test. Use your analysis of the validated against the validation checklist. After confirm-
results to determine the likely candidate for the load ing that best practices were followed and compliance
bottleneck and then recommend the appropriate change. to the implementation framework was maintained, the
If possible, implement the change and rerun the test. technical outcomes of the implementation, including
Once you have completed tuning a tier, move to the quantified system capacity and performance improve-
next tier until all are completed. This iterative process ments, are documented. The project final report contains
of test execution, analysis, recommending changes technical results, estimates of achieved value realization
and re-scripting is the center of the performance and implementation documentation. It is accompanied
tuning process. by an executive summary report detailing key per-
formance indicators (KPIs) and recommendations for
future improvements. The process continues by identify-
ing the next major phase in your HP Performance
Center of Excellence evolution.

7
Realize Disaster recovery

The realize phase is performed throughout the implemen- SLAs


tation. As stated above, each of the five phases has its Administrative team
specific set of indicators and goals against which to Administration
monitor progress. It is vital to check KPIs throughout the
Performing maintenance
deployment to monitor the achievement of implementa-
tion objectives, business performance and operational Managing data
effectiveness. Tangible value realization is demonstrated Managing users and roles
in the context of the specific phase by refining and
Managing projects
redefining these KPIs to reflect increasingly higher
levels of performance improvements as the project Upgrading to new versions
progresses. In the context of the implementation as a Organizing and training the HP Performance Center
whole, value is realized by applying best practices to team:
increase the benefits of the deployment. Roles
Skill sets and prerequisites
HP Performance Center Knowledge transfer
Integrating performance optimization with other IT
best practices overview processes:
This section lists some of the areas of best practices Change management
that are covered in the HP Performance Center Test management
Implementation Service. Areas listed in bold are
Release management
detailed in the following section.
Availability management
Building and maintaining the HP Performance Center
hardware and software environment: Resolution management (problem management)

Sizing Validating project performance:

Number of servers Organizing performance projects in HP


Performance Center
Number of hosts
Creating new projects
Servers HW configurationCPU, RAM, disk
space Resource allocation

Hosts HW configurationCPU, RAM, disk space Project team

Number and location of users Maintaining project materials

High availability Determining project performance requirements

Staging/testing areas High-level business requirements

Monitoring and alerting Next-level business requirements

8
Technical requirements obligation to the project team and their expectations,
Load testing objectives but is typically at least as long as a normal release
cycle for the application under test. The repository
Measurable performance requirements
includes data in the HP Performance Center database
Preparing the test environment for each project and file server. It is highly recommended to back up
Identifying/populating data this data in case of human error or a technical failure
that might cause some or all of the data to be lost.
Setting monitors
Following is a short description of suggested steps to
Enlisting subject matter experts enable a reliable backup process.
Creating scripts and scenarios
Selecting and creating use cases The data
Identifying data There are four types of project data:

Scripting tips and tricks Account and managementincluding test run


historyreside in the database.
Identifying load patterns
Load test definitions, monitor profiles and all other
Creating scenarios
load testing assets,other than those listed
Executing scenarios and analyze results belowreside in the database.
Preparing test environment Virtual user scripts reside on the file server.
Lining-up subject matter experts Test run results reside on the file server.
Reading and interpreting the results data All test results appear on the file system as soon as the
Preparing reports run is collated. The rawresults.zip file is sufficient to
reconstruct the test runs and their results. All project
Optimizing project performance:
data is saved in the file system under directories
Baselining numbered by project ID.
Choosing appropriate subject matter experts
Optimizing the infrastructure tier The backup
Optimizing the database tier The backup procedure is comprised of two steps:

Optimizing the J2EE infrastructure 1. Perform a full backup of all accounts.


Identifying specific problem indicators Each project directory should be archived with a
Validating fixes full-directory structure. All archive files should be
transferred to the backup file system under the

HP Performance Center designated directory. This is a vertical backup,


as each account is saved separately.

best practices examples Available archiving software can be used to


compress and preserve the directory structure of
This section describes a limited number of examples of the file system.
the best practices that are utilized in the HP Performance 2. Schedule daily backups. These include an incremental
Center Implementation Service. This white paper is not backup of the file system and a full backup of the
intended to constitute a summary of the complete best database.
practices; therefore, only a few of the best practices Using RDBMS management tools, set up a daily
are shown. The examples in this section include: full backup to a directory on the file system.
Managing data A daily incremental archive file should be created
Roles to include all modifications to the entire file system
Skill sets and prerequisites in the previous 24 hours. This is a horizontal
backup, as it includes data from multiple accounts.
Optimizing the infrastructure tier This file is transferred to the backup file system
under the designated directory.
Managing data
If multiple HP Performance Center farms are
HP Performance Center has a repository of all account available, it is possible to use each file system as
information, test run histories and test results. It is impor- the backup of the other. Alternatively, a backup file
tant to be able to retrieve historical information to server can be used.
compare current conditions, rerun tests or for accounting
purposes. The retention period is a matter of formal

9
Figure 3. Roles of select HP
Performance Center personnel
Roles for administration Roles for performance team Other team collaborators

HP Performance Center HP Performance Center Project Server Administrator


Administrator Manager Network/Security Administrator
Installs HP Performance Center Queries test runs Resolves hardware and
components Validates results software issues
Creates users Manages schedule conflicts Executive Sponsor (VP Quality,
Creates projects VP Applications, etc.)
Performance Engineer
Manages HP Performance Resolves business issues
Generates scripts
Center availability Business Process Expert
Schedules load tests
Provides expertise for
Runs load tests
application under test
Performance Tools Champion
HP Performance Center usage
assistance
Enhances/disseminates best
practices

To reduce the amount of backup data, it is recom- Performance-tools champion


mended to purge inactive accounts. Good understanding of the load testing process

Set up monitors to validate that the daily database Very good familiarity with HP LoadRunner software
backup is executed and that the daily scheduled and HP Performance Center
backup process is completed. Good programming skills (C, shell scripts)
Good knowledge of Java or VB script (required for
Roles testing specific application protocols)
The following roles should be defined and staffed for Good knowledge of system infrastructure
a successful HP Performance Center deployment.
Very good problem-solving skills
It is critical to fully staff the HP Performance Center Excellent communication skills, with both technical
administrator and the performance tools champion roles. and non-technical personnel
You should have one HP Performance Center adminis- Performance testing project manager
trator. Also, one performance engineer usually works Very good project management skills
full time on a validation and optimization project
Very good business analysis skills
for approximately five weeks. You should have one
performance engineer per every 20 projects you do Good understanding of load testing process
annually. It is possible that the performance engineer Good basic technical skills
fulfills the performance-tools champion role; in that
Good problem-solving skills
case, the performance tools-champion role takes
approximately 25 percent of a full-time equivalent. Very good communication skills

Performance engineer
Skill sets and prerequisites Excellent understanding of load testing process
HP Performance Center administrator Excellent knowledge of HP LoadRunner
Very good knowledge of existing system infrastructure
Very good knowledge of Java or VB script (required
Very good problem-solving skills for testing specific application protocols)
Very good communication skills, especially with Good understanding of existing system infrastructure
technical personnel
Good understanding of the general load testing
process

10
Optimizing the infrastructure tier TFN SYN flood

During the infrastructure tuning, evaluate the following TFN ping flood
for potential bottlenecks: TFN Smurf flood
Browser TFN Targa3 attack
User profiles Buffer overflow attack
Internet ISAPI buffer overflow attack
Site web pipes IP fragmentation attack
Border routers TCP segmentation attack
Load balancers Request obfuscation
Peripheral systems Search engine flood
External systems IDS limit test
Distributed hosting Example of database sub-system tuning
Firewalls When tuning the database sub-system, evaluate the
IDS (intrusion detection systems) following for potential bottlenecks.

Security Connection management


Sort data
Example of security sub-system tuning
When tuning your security sub-system, evaluate the Hash data
following security issues for potential performance I/O requests
bottlenecks: Indexing
Firewalls and multiple DMZs Fetch time
IDS Data buffering
Pre-load, load and post-load infrastructure scans Disk reads/writes
DOS attack simulation Caching
Bandwidth saturation flood Locking
HTTP connection flood Timeouts
Web session flood SQL statements
404 File Not Found flood
Additionally, monitor and measure additional aspects
Trinoo attack that are specific to different database vendors (Microsoft,
TFN UDP flood IBM, Oracle and Sybase) to identify and correct
bottlenecks.

11
Conclusion
Enterprise-wide deployment of any software can be
complex. While operation of HP Performance Center
technology can be quite straightforward, experience
and knowledge are required to efficiently tie together
all of the implementation aspects in a reasonable
timeframe. HP has leveraged its extensive customer
base and thousands of implementations to consolidate
the knowledge and expertise that will assist you in the
implementation of your HP Performance Center.

HP Performance Center best practices are structured


policies and procedures that guide you through the
performance testing lifecycle and help you to leverage
HP Performance Center. These best practices support
you through an incremental and iterative implementation
enabling fast results while consistently expanding the
role and increasing the value of HP Performance
Center within your organization.

To learn more, visit www.hp.com/go/software


Copyright 2007 Hewlett-Packard Development Company, L.P. The information contained herein is subject to
change without notice. The only warranties for HP products and services are set forth in the express warranty
statements accompanying such products and services. Nothing herein should be construed as constituting an
additional warranty. HP shall not be liable for technical or editorial errors or omissions contained herein.
Java is a U.S. trademark of Sun Microsystems, Inc. Oracle is a registered U.S. trademark of Oracle Corporation,
Redwood City, California. Microsoft is a U.S. registered trademark of Microsoft Corporation.
4AA1-2108ENW, May 2007

You might also like