Top Banner
Seamless Upgrade to Ektron 8.5 Performance Testing and Tuning of Ektron and the Environment Ranga Srinivasan – President Email: [email protected] Aditya Rambha – Lead, Ektron Practice email: [email protected]
39

Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Feb 10, 2015

Download

Technology

ameexusa

With the announcement of the 8.5 version by Ektron, we at Ameex being the accredited implementation partner of Ektron decided to perform a few upgrades and show some of the best practices in carrying out the upgrade. This ppt was received with great reception at the recently concluded Ektron Synergy 2011 conference. For more information, please contact us [email protected]
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Seamless Upgrade to Ektron 8.5Performance Testing and Tuning of Ektron and the Environment

Ranga Srinivasan – PresidentEmail: [email protected]

Aditya Rambha – Lead, Ektron Practiceemail: [email protected]

Page 2: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Agenda

• Benefit of 8.5 upgrade• Process of Upgrade • Performance testing• Tuning for best results

2

Page 3: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Benefit of Upgrades

• Add New Set of Features– Microsoft Search Server Integration– Complete Framework API– Support for 3-Tier Architecture– Cleaner Workarea Interface

• Stability– eSync updates– Complete Over Haul of Load Balancing

• Performance– Our tests proves 20%-40% improvements based

on some upgrades we’ve done ( < v7.6, > v7.6)

3

Page 4: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Agenda

Benefit of upgrades• Process of upgrade• Performance testing• Tuning for best results

4

Page 5: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Process of Upgrade

• System Requirements • Existing Architecture• Types of Upgrade• Process Walkthrough• Best Practices

5

Page 6: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Hardware System Requirements

• Web Server– Windows 2008 or above 64 bit (32 bit allowed for non search

components)– 8 GB (4 GB max if 32 bit used)– 2.6 GHz Quad core – 80 GB plus asset size free disk space

• Database Server– Windows 2008 or above 64 bit – 16 GB– 2.6 GHz Quad core

• Search Server– Windows 2008 or above 64 bit– 8 GB – 2.6 GHz Quad core – 80 GB plus 2xRam free disk space

6

Page 7: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Software System Requirements

• IIS 7.0 or higher• Microsoft .Net Framework 4.0• Microsoft SQL Server 2008 SP2 or

higher

7

Page 8: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Review Existing Architecture

• Features and Functionality– eCommerce– Community–Micro sites– Etc.,

• Customization– Custom Code– Custom DB Scripts– Third Party Integrations

8

Page 9: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Review Existing Architecture

• Baseline Performance metrics• eSync Setup• Load Balancing Setup• Search Functionality–Web Search– Product Search– Community search– XML Search

9

Page 10: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Upgrade Best Practices

10

• Search Server– Install PowerShell– Setup AD user for Search Server– Window Update Running– Copy assets / privateassets

• Web Server– Pause schedule eSync Profile– Backup certificates– Backup the site

• Database Server– Verify enough space– Backup the database

Page 11: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Process Walkthrough

11

• Download the product• Upgrade Steps

Page 12: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Upgrade Steps

12

Page 13: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Upgrade Steps

13

Page 14: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Upgrade Steps

14

Page 15: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Upgrade StepsSearch Server Connectivity

15

Page 16: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Upgrade StepsRegistering Site with Search Server

• Site not registered

16

Page 17: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Upgrade StepsRegistering Site with Search Server

• Connection String• Crawl Interval• Credentials• Advance crawl options

17

Page 18: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Issues

18

• HTTP Error 500.19 - Internal Server Error The requested page cannot be accessed because the related configuration data for the page is invalid.

• Point “Sharepoint Central Administrator v4” website to .Net Framework 2.0 in IIS

Page 19: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Agenda

Benefit of upgradesProcess of upgrade• Performance testing• Tuning for best results

19

Page 20: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Performance Goal

20

”“

Conclusions From Forrester / Akamai Study

Perceived page load times should be no more than two seconds. Companies direct online sales suffer when not meeting those expectations Companies will suffer in-directly across all channels and in the consumers’ perceptions of their brand

Page 21: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Performance Testing Goal

• Website is able to handle current and future website traffic?

• Website meets acceptable end user response time under Peak and Average Load Conditions?

• Plan and simulate future volume testing conditions.

• Identify, fine tune and optimize bottlenecks • Application level (through proper setup and

coding best practices)• Hardware (sizing, hosting, cloud etc..)• Servers – web, database and network

21

Page 22: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Test Process and Challenges

22

• Web Traffic Est. and Work Load Model• Planning for Load Testing• Team Work and Communication• Plan and Setup the Test Environment• Data Strategy• Scripting • Test Run and Monitoring• Results Analysis • Tuning• Retesting

Page 23: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

QA & Performance Test Center

Managed Performanc

e Testing ServicesDBA

Ektron DeveloperPerformance

Test Engineer

CSS Engineer

Network Administrator

Ektron Architect

Designer/Navigation

Page 24: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Performance Test Types

24

”“

• Load Testing• Reliability Testing/Endurance Testing• Stress Testing• Volume Testing• Capacity and Scalability Testing• Configuration Testing

Page 25: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Performance Test Tools

25

• When and Why to Automate? • HP Load Runner– VuGen– Controller– Analysis

• IBM Rational Performance Tester• OpenSTA• Jakarta Jmeter• SilkLoad

Page 26: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Methodology

26

Optimize

Goal Achieved?

Measure

Analyze

Page 27: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Test and Measure

• Bounce Rate• Time on Site• Page Views• Page Load Time• Page Size• Server CPU Usage• Server RAM Usage• DB Connections

27

Optimize

Goal Achieved?

Measure

Analyze

Page 28: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Analyze

• System Environments• Code Profile• Ektron Setup• Page Profile• Hardware Environment

28

Optimize

Goal Achieved?

Measure

Analyze

Page 29: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Optimize

• Content Size• Images• CSS• JS• Cache• System Tuning• Code Tuning

29

Optimize

Goal Achieved?

Measure

Analyze

Page 30: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Goal Achieved

30

Optimize

Goal Achieved?

Measure

Analyze

• Bounce Rate• Time on Site• Page Views• Page Load Time• Page Size• Server CPU Usage• Server RAM Usage• DB Connections

Page 31: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Agenda

Benefit of upgradesProcess of upgradePerformance testing• Tuning for best results

31

Page 32: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Tuning Overview

32

Page 33: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Tuning Scope

33

Performance Tuning

Web/Application server

IIS

Web Service Counters Adsutil

MetaEdit.NET

CLR TuningASP.NET Tuning

Enterprise Services

Application Pool Size Object Pool Size

Optimize Idle Time

ManagementPacket Privacy

Only

System

CPU Memory

Disk I/O Network I/O

Web Services

Configure maxconnections

Database server

SQL

Indexes

Cache

Transactions

Locks

System

CPU

Memory

Disk I/O

Network I/O

Page 34: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Environment Tuning

34

• CMS and DB must be in Separate Server• Web and DB Server Configurations must match

with Site Traffic and Size• Caching Techniques• Page Level and Data Level Caching according to

requirement• Keep the Business Pages warm by TinyGet URL -

IIS Resources

Page 35: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Environment Tuning

35

• Enable HTTP Compression • Web.config Settings– Ek_Cache Controls– Reduce Log Level– Disable Debug Mode– Increase ASP Threads per Processor Limit up to

the available resource limit– Disable WCF services tracing

Page 36: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Code Tuning

36

• Taxonomy Tuning and Search (Depth and Level)• Splicing of Data rendering for list, multimedia and

other content to reduce whole data rendering at first load

• Reusable Code in Business logic• Avoiding Unnecessary Loops• Appropriate Use of Javascript

Page 37: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Code Tuning

37

• Avoid too many post backs, use Ajax or JQuery• Zipped Files for lesser HTTP Request• Avoid In line JavaScript – make it as External • Avoid illegal characters in the URL• Avoid redirects wherever possible• Always keep CSS at Top, and Script below CSS• Avoid passing dynamic values to CSS

Page 38: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Agenda

Benefit of upgradesProcess of upgradePerformance testingTuning for best results

38

Page 39: Seamless Upgrade to 8.5 Version. Performance Testing Tuning of Ektron & the Environment

Thank you