Professional Documents
Culture Documents
HP Performance Center Best Practices PDF
HP Performance Center Best Practices PDF
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.
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
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:
9
Figure 3. Roles of select HP
Performance Center personnel
Roles for administration Roles for performance team Other team collaborators
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.
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.