49
Kaseya In The Cloud Server Optimization And Infrastructure Considerations & Cloud

Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

  • Upload
    kaseya

  • View
    1.629

  • Download
    3

Embed Size (px)

DESCRIPTION

Do you think you have maximized your Kaseya Server for your current environment? Are you running into performance issues that are difficult to address? Are you planning for future grown? Well this session is what you were looking for! Join us in this technical session as you hear from Kaseya Experts and how they have tuned Kaseya to scale and manage thousands of devices on a single virtual machine including IIS, SQL and Kaseya specific optimization techniques.

Citation preview

Page 1: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Kaseya In The Cloud

Server Optimization And Infrastructure Considerations & Cloud

Page 2: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Presenters

Maxon Duncan● VP, Cloud Operations & IT

Jacques Eagle● Vice President, Cloud Architecture

Page 3: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Maxon Duncan● VP, Cloud Operations & IT

Jacques Eagle● Vice President, Cloud Architecture

Page 4: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Count the clouds ;-)

Obscene $$

Post name & count to #kaseyauc

Page 5: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Count the clouds ;-)

Obscene $$

Post name & count to #kaseyauc

Page 6: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Agenda

Planing, Scaling & Optimizing Kaseya

● Highly performant on-premises installs

Kaseya’s Cloud

● Benefits● Under the hood● How we do it

Page 7: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Recommend Configuration

Page 8: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Virtual Environments? YES!

Page 9: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Recommended Configuration

● Kaseya Can Scale to three servers:

● Resources for 1k agents ● .5 GHz App Server● 1 GHz on DB Server

● Typical IOPS● 15 Application Server● 40 Database Server

Page 10: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Recommended Configuration

● Reporting Services can run on another server● Typically, memory usage of reporting services is based on

50% of memory upon startup● You can manually change the ReportServer.conf if

necessary to reduce● C:\Program Files\Microsoft SQL Server\MSRS10_50.

SYSPREP\Reporting Services\ReportServer.conf● <MemoryThreshold>90</MemoryThreshold>● <WorkingSetMaximum>2000000</WorkingSetMaximum>● <WorkingSetMinimum>500000</WorkingSetMinimum>● <RecycleTime>720</RecycleTime>

Page 11: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Recommended Configuration

● Use Processor Affinity

Page 12: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Best Practices

It's all about SQL Performance!

Page 13: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Best Practices

● AV Exclusions● OS defrag & mdf/ldf locks● Do not enable auto shrink on the

Ksubscribers database● Above 8 cores, it's best to set parallel

query degree to 4

Page 14: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Best Practices

Setting Parallel Query

Page 15: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Best Practices

● Synchronous replication will cause performance issues

● Always-On in SQL Server 2012 and Replication can cause re-apply schema to fail

Page 16: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Optimization

● Cache Hit Ratio > 98%● DiskIO , keep it below 20ms● TempDB, Broker Services and 6.3● Seperate Networks ● Maintain it!!

● Rebuild/Reorganize Indexes● Update Statistics

Page 17: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Optimization

Page 18: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Optimization

Typical Memory Usage of SQL Server

● Agents measured by cache/hit ratio● Calculation is 2Gb/1000 Agents● Reserve 4Gb Min for the OS

● Log retention and audit details = database size

Page 19: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Optimization

● Optimal File Layout can help your database Performance

● Kaseya Databases are typically 75% Read and 25 % Writes

● Add multiple data files for Tempdb

Page 20: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Optimization

Hidden link - live demo

Page 21: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Database Optimization

Page 22: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Kaseya Application Server

● Kaseya recommended configuration is a Guideline

● Kaseya and SQL on the same server? How big can it get?

● workloads affect server performance

Page 23: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Kaseya Application Server

● Baseline Audits are “expensive”● Baseline Audits only need to be run once

(Automatically run once when you add the agents)

● Rescheduling when “out of sync” condition● Latest Audits are “cheap”● Can be run daily spread out over 12 hours

Page 24: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Kaseya Application Server

● Scripts do take resources, so be careful how many you run

● Global Policy changes can generate very large loads on the server

● Monitor counter scans can cause high CPU spikes (6.2)

Page 25: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Kaseya Application Server

● Handling more load with threads● Kserver Threads● Messagesys Threads (6.2)● PluginHost Service (6.3)

Page 26: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Hyper Scaling Kaseya

● Split server configuration● Leveraging multiple SQL Server

Instances● SQL Server Distributed Views● For high volume installs

● aggregation apps● for system of record

● Leveraging Solid State Technologies

Page 27: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Scaling Kaseya

Page 28: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

FusionIO IODrive 2 SLC 1.2tb

Page 29: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

5 SAS 15k drive array

Page 30: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

FusionIO IODrive 2 SLC 1.2tb

Page 31: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Networking

Understand latency to endpoints

Leverage CDN's

OOB!!!!!!!!!!● Most firewalls strip

Firewall Session Management

● 5510x @250k

Page 32: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Virtualization

● Set reserves● Do not restrict, let it fly● Don't oversubscribe ● Don't allow ballooning● Backups / snapshots / revert● Independant mode● Use tiered storage● Reduncancy?

Page 33: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Leveraging Cloud Providers

● Use VMware monitor counters if possible to keep host honest

● Beware of adjacency issues● Kaseya can be spikes

● Test, monitor and understand iops● Port exhaustion● Vett network● Understand SLA's

Page 34: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

The Kaseya Cloud.

Page 35: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Cloud Architecture

● Purpose built virtualized infrastructure● - 3 tier, 10gbit storage (SSD, SAS, SATA)● - vmdk placement according to

hotspots● - fully redundant architecture● - result: 15-20k endpoints on single

instance

Page 36: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Do you really want to deal with this?

Page 37: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Cloud Architecture

● Purpose built virtualized infrastructure● 3 tier, 10gbit storage (SSD, SAS, SATA)● vmdk placement hotspots● fully redundant architecture● result: 15-20k endpoints single instance

Page 38: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Benefits of Kaseya’s Cloud

● Secure, Robust, Flexible, Performant● On demand service offering● Global Delivery: Akamai / Presence● Datacenter Presence ● 24x7 Operations staff ● Transparent: http://status.kaseya.com● Managed Security● Licensing

Page 39: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Kaseya’s Cloud Architecture

We are Kaseya’s biggest customer!

We know how to do this.

Page 40: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Kaseya’s Cloud Operations

● Monitoring

● ITIL Configuration Management

● Level 4 Remediation

Page 41: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Security

● IDS● HIDS● Security Audits● Security Events & Incident Mgt (SEIM)● Change management● MFA● Strong internal controls

Page 42: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Metrics

- 700k licensed / 250k online

- 3 gbps presence sustained

- 1pb KDB data managed

- 40 physical servers

- 4 TB memory

- 2.1 THz Processor

- Many many TB of SAN Storage

Page 43: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Dedicated

● Dedicated instances available○ Outside the Cloud Box○ Large scale customers

● On premises management

Page 44: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

We love Dogfood!

● KAV● BUDR● Service Desk (ticketing, ITIL)● 200 maintenance and remediation scripts● KNM monitoring● Patch management

Page 45: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Experience.

● 5 years delivery experience● Highly trained staff● Purpose infrastructure● We own the kit● We know what it takes.

Page 46: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Sign up today for a trial at Kaseya.com

Page 47: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Questions?

Page 48: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

Cloud count =

Page 49: Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infrastructure & Operations

42