Presentation is loading. Please wait.

Presentation is loading. Please wait.

AM04 – MAINTAINING TARGET SYSTEM PERFORMANCE WHEN UPGRADING FROM ON-PREMISE TO A VIRTUAL ENVIRONMENT Alexander Lutz, brands4friends Tassos Vassilopoulos,

Similar presentations


Presentation on theme: "AM04 – MAINTAINING TARGET SYSTEM PERFORMANCE WHEN UPGRADING FROM ON-PREMISE TO A VIRTUAL ENVIRONMENT Alexander Lutz, brands4friends Tassos Vassilopoulos,"— Presentation transcript:

1 AM04 – MAINTAINING TARGET SYSTEM PERFORMANCE WHEN UPGRADING FROM ON-PREMISE TO A VIRTUAL ENVIRONMENT Alexander Lutz, brands4friends Tassos Vassilopoulos, SQLPerform Duilio Tacconi, Microsoft Marco Mels, Microsoft

2 #NAVUGCongress 2 YOUR PRESENTERS Duilio Tacconi SR. Support Engineer, Microsoft Marco Mels Support Escalation Engineer, Microsoft Tassos Vassilopoulos SQLPerform

3 #NAVUGCongress Clear Management processes Implementation Methodology Technical expert activities HOW TO PLAN FOR PERFORMANCE 3

4 #NAVUGCongress Company overview eBay company (since 2010) Germany’s leading shopping club for fashion & lifestyle brands4friends offers a great selection of high quality goods at significantly reduced prices exclusively to its member Founded and situated in the vibrant heart of Berlin 250 employees from 15 countries BRANDS4FRIENDS OVERVIEW 4

5 #NAVUGCongress Project targets migrate B4F-NAV5.0 to NAV2015 end2end physical to virtual new datacenter for backend architecture implement Terminal- server based deployment model for NAV B4F – THE CHALLENGE 5

6 #NAVUGCongress NAV5.0 (til March 2016) Physical SQL2012 server and LAN based NAV client deployment 2TB database 1TB RAM SQL server NAV2015 (from April 2016) Virtual SQL2012, NAV and Terminal Server for NAV Windows Client in WAN data center 3,5TB database (2.7TB used space) 384GB RAM SQL server Flash based storage for NAV database 6 NST instances each on a dedicated VM 6 VMs for Terminal Server instances B4F – NAV INFRASTRUCTURE 6

7 #NAVUGCongress Max. 15.000 sales orders per day, 120 concurrent user, 37 recurring batch job automations In- and outbound logistic and payment handling Webshop event update handler Inventory reservation management Long running reports Legacy data volume, indexes, C\AL Code B4F – KEY PERFORMANCE CONSUMER 7

8 #NAVUGCongress Main risk: NAV performance when experiencing the full workload performance from Day One on How we managed the go live decision? Invested in knowledge transfer from external to internal resources (skills!) Connected NAV application specialists with Infrastructure specialists long termed Developed Load Test Automation for repeatable stress tests Developed end2end time logging for NAV core processes (key indicator!!) Baseline and Scoring Based performance measurement KPIs RASCI for Infrastructure and Application experts for stress tests, scoring and Mangement summaries Certain stress test iterations, KPI based Management summaries after each iteration by all tech stakeholders Prepared „NAV Data Archive“ product to reduce data volume Implemented „performance management“ as long term process to CLOSE THE GAP between subjective performance experience, and our performance indicators. To come up Real time overall performance score (end2end perspective) Long term performance trend logging B4F – RISK APPROACH 8

9 #NAVUGCongress Defined „Management Baseline“Management Baseline Sized hardware Defined repeatable, time boxed, appropriate, manual and automated load test scenarios Integrated „NAVLoadTest“- ToolNAVLoadTest Identified all performance significant indicators across infrastructure & application Defined „technical baseline&scoring“ for all indicatorstechnical baseline&scoring Defined Data Archiving strategy with SQL Perform Data Archiving ToolSQL Perform Data Archiving Tool Defined developer guides for performance optimized C/AL Code B4F – MANAGEMENT METHOD PLAN-DO-CHECK-ACT 9

10 #NAVUGCongress Executed certain stress test iterations (repeatable scenarios) test environment stress test preparation (warmup- phase) Execution Data collection & Analysis Management summary findings&conclusions, optimization action plan, plan next stress test iteration Executed 2 „Pizza Parties“ (combined automated load test scenarios with broad manual user involved business workload simulation) preparing the management summary for final go live advisory board Setup, Administration, Optimization (expert driven scope) It´s end2endless… Physical, virtual, Windows server, Clients, network, NAV server, SQL server, Index Optimization, NAV C/AL Code Optimization, load balancing… B4F – MANAGEMENT METHOD PLAN-DO-CHECK-ACT 10

11 #NAVUGCongress Compared „As-is“ with target performance score in „Management summaries“Management summaries Prepared Go- Live decision based on management summaries Implemented NAGIOS & CHECK_MK for Infrastructure & Application monitoring, logging & alertingCHECK_MK B4F – MANAGEMENT METHOD PLAN-DO-CHECK-ACT 11

12 #NAVUGCongress Execute performance optimization tasks Ensured sustainable knowledge transfer from external consultants to internal employees Made ERP application&infrastructure team to cooperate Refined indicators, scoring, stress test organization B4F – MANAGEMENT METHOD PLAN-DO-CHECK-ACT 12

13 #NAVUGCongress Clear Management processes Implementation Methodology Technical expert activities HOW TO PLAN FOR PERFORMANCE 13

14 #NAVUGCongress Build your KPIs Build your Baseline Implement the Performance Lifecycle IMPLEMENTATION METHODOLOGY 14

15 #NAVUGCongress Which KPIs Which Tools & Resources How to keep the System Healthy TECHNICAL EXPERT ACTIVITIES 15

16 #NAVUGCongress Select Key Performance Indicators Establish threshold values for KPIs How ? Experience, best of practice, commonly accepted values Assign weights on each KPI (some are more important than others) BUILD YOUR KPIs 16

17 #NAVUGCongress Existing system: Build your baseline from real performance data New system: Build your baseline from test data Baseline  shows where you are KPIs  Shows where you want to go BUILD YOUR BASELINE 17

18 #NAVUGCongress Operate - Test Measure and report Update your KPI – baseline spreadsheet Fix performance issues Repeat if necessary THE PERFORMANCE LIFECYCLE 18

19 #NAVUGCongress Infrastructure CPU Memory Storage KPIs – WHICH? 19

20 #NAVUGCongress Application Blocks Timeouts Deadlocks Queries KPIs – WHICH? 20

21 #NAVUGCongress Helicopter View Report Overall System Overview Based on historic data collected by our tools Performance engineers Experience in SQL Experience in NAV Results oriented TOOLS & RESOURCES USED 21

22 #NAVUGCongress Database maintenance Long term trending & monitoring Archive and Compress KEEP THE SYSTEM HEALTHY 22

23 #NAVUGCongress Clear Management processes Implementation Methodology Technical expert activities HOW TO PLAN FOR PERFORMANCE 23

24 #NAVUGCongress SQL SERVER IN AZURE VIRTUAL MACHINES 24 VM Size - DS12 or higher for NAV Production environments Storage - Use Premium storage - Keep the storage account and SQL Server VM in the same region (same data center, to minimize latency) - Disable Azure geo-redundant storage on the storage account (not guaranteed multiple disks write order).

25 #NAVUGCongress SQL SERVER IN AZURE VIRTUAL MACHINES 25 Disks - Use a MINIMUM of 2 P30 disks (1 for LOG files; 1 for DATA files and TempDB) - Avoid using OS or TEMP disks for database storage or logging - Stripe multiple Azure data disks (increase IO throughput) - Avoid partition misalignments when formatting - Enable READ caching on the disk(s) hosting the data files and TempDB - Do not enable any caching on disk(s) hosting the log file

26 #NAVUGCongress SQL SERVER IN AZURE VIRTUAL MACHINES 26 I/O - Disable autogrow / autoshrink on the database. - Move SQL Server error log and trace file directories to DATA disks. - Enable lock pages in memory. - Apply SQL Server performance fixes

27 #NAVUGCongress NAV IN AZURE VIRTUAL MACHINES 27 NAV Server and NAV Client - Isolate and dedicate logical stacks (NAV Database, NAV Server, NAV Client). - NAV Server is chatting. For long-running processes, keep one with SQL, where possible. - Use Azure LB for multiple NAV Server VMs (e.g. D3 / D4) - Use Azure LB for multiple NAV Client VMs (e.g. A6) - Apply latest NAV Cumulative Update (CU) - Test, test and test once again.

28 #NAVUGCongress USEFUL LINKS 28 SQL Server in Azure Virtual Machines https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-sql-performance/ https://azure.microsoft.com/en-us/documentation/articles/storage-premium-storage/ https://azure.microsoft.com/en-us/documentation/articles/virtual-machines-windows-sizes/ NAV on Azure https://msdn.microsoft.com/en-us/library/dn271710(v=nav.90).aspx

29 #NAVUGCongress Contact information Alexander Lutz Alexander.Lutz@brands4friends.deAlexander.Lutz@brands4friends.de Tassos Vassilopoulos tassos@sqlperform.nltassos@sqlperform.nl Duilio Tacconi dtacconi@microsoft.comdtacconi@microsoft.com Marco Mels mmels@microsoft.commmels@microsoft.com 29 THANK YOU FOR ATTENDING

30 #NAVUGCongress Reminders: Please download the session slides from the conference app Please visit our Dynamics NAV help desk Monday evening in the Expo Please complete your session survey 30 THANK YOU FOR ATTENDING

31


Download ppt "AM04 – MAINTAINING TARGET SYSTEM PERFORMANCE WHEN UPGRADING FROM ON-PREMISE TO A VIRTUAL ENVIRONMENT Alexander Lutz, brands4friends Tassos Vassilopoulos,"

Similar presentations


Ads by Google