Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM...

30
1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject Matter Expert Optimizing the SMP Infrastructure

Transcript of Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM...

Page 1: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

1

Migrating to 7.x Optimizing the SMP Infrastructure

Paul Butler EMM Subject Matter Expert

Optimizing the SMP Infrastructure

Page 2: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Content

Optimizing the SMP Infrastructure 2

Global Design & Hardware 1

Operating System & IIS 2

SQL Server 3

SMP Console Settings 4

Page 3: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Global Design & Hardware

Optimizing the SMP Infrastructure 3

Page 4: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Global Design & Hardware

Optimizing the SMP Infrastructure 4

• Check Hardware/OS requirements for each server role

• 20k nodes per SMP

• One SQL instance for each SMP Server

• Properly plan replication or hierarchy or export/import

• Robust Site design

• Review Design and Implementation Guide

• Migration process well known and documented

• Design review from a Partner or a Symantec Architect

Page 5: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Global Design & Hardware

Optimizing the SMP Infrastructure 5

HDD Setup – the most important areas:

• Local storage: bootable RAID10 recommended

• SSD: Intel Rapid Storage Drivers & disable LPM – Link Power Management

• NTFS, blocksize: 4k for OS, 64k for database files

• Use IOMeter for realistic performance testing

http://www.iometer.org/doc/downloads.html

Page 6: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Global Design & Hardware

Optimizing the SMP Infrastructure 6

Component Storage System Role Requirement

SQL-Server instance Database Data File 200 IOPS, 64kB,

random read/write

SQL-Server instance Database Log File 400 IOPS, 64kB, sequential write

SQL-Server instance tempDB Data Files

(1 per assigned CPU core)

400 IOPS, 64kB,

random read/write

SQL-Server instance tempDB Log File

400 IOPS, 64kB, sequential write

SMP Server OS, NSCAP

200 IOPS, 4kB,

random read/write

Page 7: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Global Design & Hardware

Optimizing the SMP Infrastructure 7

Page 8: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Operating System & IIS

Optimizing the SMP Infrastructure 8

Page 9: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Operating System & IIS

Optimizing the SMP Infrastructure 9

• Turn off NTFS file encryption & compression

• Disk Defrag on SMP Install Point – It does matter!

• Disable Indexing Service

• Exclude from AV-scanning: *.MDF,*.LDF,*.TMP,*.NSE

• Optimize performance for Background Services

Page 10: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Operating System & IIS

Optimizing the SMP Infrastructure 10

• Stop any unneeded services and set them to „manual“

Page 11: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Operating System & IIS

Optimizing the SMP Infrastructure 11

• Set IP Helper service to „manual“ if no IPv6 is needed

• Optimize TCP/IP via „TCP-Optimizer“ for LAN-Speed

http://www.speedguide.net/downloads.php

Page 12: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Operating System & IIS

Optimizing the SMP Infrastructure 12

• IIS-Settings

• Disable IIS-logging if not needed

• Disable Web-Debugging (HOWTO6940)

• Set Default AppPool to „Classic Pipeline Mode“

• Split AppPool in dedicated pools per each area

• ActivityCenter

• SoftwarePortal

• NS-Agent

• InventoryRuleManagement

• TaskManagement

Page 13: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Operating System & IIS

Optimizing the SMP Infrastructure 13

AppPool configuration via script:

Page 14: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Operating System & IIS

Optimizing the SMP Infrastructure 14

Tuning ASP (machine.config) in two places: (TECH193594)

..\Windows\Microsoft.NET\Framework\v2.0.50727\CONFIG

..\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG

<runtime/>

<runtime>

<generatePublisherEvidence enabled="false"/>

</runtime>

Page 15: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Operating System & IIS

Optimizing the SMP Infrastructure 15

Page 16: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SQL Server

Optimizing the SMP Infrastructure 16

Page 17: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SQL Server

Optimizing the SMP Infrastructure 17

• Use enough RAM and assign it to the SQL instance

• Keep 3.5GB for the Operating system

• Use different disks for DB-data, tempDB and DB-logs

• Run IOMeter for IOPS testing

Page 18: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SQL Server

Optimizing the SMP Infrastructure 18

Configure rights for SQL-account and Altiris-Service-user:

Page 19: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SQL Server

Optimizing the SMP Infrastructure 19

Use AWE to allocate memory:

Page 20: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SQL Server

Optimizing the SMP Infrastructure 20

• Optimize for Ad-Hoc workload = True (SQL 2008+)

• Max. Degree of Parallelism = 2

Page 21: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SQL Server

Optimizing the SMP Infrastructure 21

TempDB configuration

• Recovery Model = simple

• 1 data file per assigned CPU core for the instance

• Exact same size for each file (use dbcc shrinkfile)

• Option „Auto Update Statistics Asynchronously“ ON

• Option „Arithmetic Abort Enabled“ ON

Page 22: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SQL Server

Optimizing the SMP Infrastructure 22

Page 23: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SQL Server

Optimizing the SMP Infrastructure 23

Symantec CMDB configuration

• Plan 7MB per managed node

• Recovery Model = simple

• Option „Auto Update Statistics Asynchronously“ ON

• Option „Arithmetic Abort Enabled“ ON

• Ensure Disable Auto Shrink is disabled

• Create SQL Maintenance Plan! – Commonly missed!

Page 24: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SMP Console Settings

Optimizing the SMP Infrastructure 24

Page 25: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SMP Console Settings

Optimizing the SMP Infrastructure 25

No more than 500 client Task Agents on the SMP

Page 26: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SMP Console Settings

Optimizing the SMP Infrastructure 26

Manage > Console > Enhanced View:

Page 27: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SMP Console Settings

Optimizing the SMP Infrastructure 27

Managed Deliver Settings, disable Verbose Logging

Page 28: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SMP Console Settings

Optimizing the SMP Infrastructure 28

Configure Resource membership Update

Page 29: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

SMP Console Settings

Optimizing the SMP Infrastructure 29

Task Agent Settings:

Page 30: Migrating to 7.x Optimizing the SMP Infrastructurevox.veritas.com/legacyfs/online/veritasdata/EM B19_0.pdf1 Migrating to 7.x Optimizing the SMP Infrastructure Paul Butler EMM Subject

Thank you!

SYMANTEC PROPRIETARY/CONFIDENTIAL – INTERNAL USE ONLY Copyright © 2010 Symantec Corporation. All rights reserved.

Optimizing the SMP Infrastructure 30

[email protected]