effiziente sharepoint installationen on- premise und in der cloud

36
AGENDA Effiziente SharePoint Installationen On-Premise und in der Cloud Danny von Borries, Consultant Trivadis AG Guido Forster, Consultant Trivadis AG Zeit Themen 9:00- 10.30 SharePoint OnPremise - vom Design bis zur Installation gemäss Best Practices: Planning and Sizing SharePoint 2013 Abhängigkeiten zu Infrastruktur Systemen, wie SAN, SQL Server, etc. Best Practice Tipps Automatisierung des Deployments mittels Powershell 10:30- 10:45 Kaffeepause 10:45- 12:00 SharePoint in der Cloud - Möglichkeiten von hybriden Lösungen bis hin zum Cloud Service gemäss Best Practices Möglichkeiten von Office 365 und SharePoint Online Abgrenzung OnPremise vs. Office 365 Möglichkeiten von Hybridlösungen

Upload: basil-nash

Post on 15-Mar-2016

63 views

Category:

Documents


6 download

DESCRIPTION

AGENDA Effiziente SharePoint Installationen On-Premise und in der Cloud Danny von Borries , Consultant Trivadis AG Guido Forster, Consultant Trivadis AG. Effiziente SharePoint Installationen On- Premise und in der Cloud. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Effiziente SharePoint Installationen On- Premise  und in der Cloud

AGENDA Effiziente SharePoint Installationen On-Premise und in der CloudDanny von Borries, Consultant Trivadis AGGuido Forster, Consultant Trivadis AG

Zeit Themen

9:00-10.30 SharePoint OnPremise  - vom Design bis zur Installation gemäss Best Practices:• Planning and Sizing SharePoint 2013• Abhängigkeiten zu Infrastruktur Systemen, wie SAN, SQL

Server, etc.• Best Practice Tipps • Automatisierung des Deployments mittels Powershell

10:30-10:45

Kaffeepause

10:45-12:00  

SharePoint in der Cloud -  Möglichkeiten von hybriden Lösungen bis hin zum Cloud Service gemäss Best Practices • Möglichkeiten von Office 365 und SharePoint Online• Abgrenzung OnPremise vs. Office 365• Möglichkeiten von Hybridlösungen

12:00 – 12:15

Q&A

Page 2: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN

2013 © Trivadis

Effiziente SharePoint Installationen On-Premise und in der Cloud

SharePoint OnPremise  - vom Design bis zur Installation gemäss Best Practices

Referent: Danny von Borries

07.02.2014Microsoft TechTalk

2

Page 3: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

07.02.2014Microsoft TechTalk

Planung und Sizing SharePoint 2013

3

Page 4: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

Planung von SharePoint 2013

07.02.2014Microsoft TechTalk

4

Datenbankumgebung Betriebssystem SharePoint Edition Sprachversion(en)

Anzahl der Farmen Sizing der Farmen Browserunterstützung ActiveDirectory

SHAREPOINT INFRASTRUKTUR

SHAREPOINT KONTEN

Setup Konto Farm Konto Application Pool Konten

Caching Konten Service Konten interne Services

Page 5: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

5

Softwarevoraussetzungen - SQL

SQL SERVER 2008 R2 (inkl. SP1)

SQL SERVER 2012

(SP1 für BI-Features)

Page 6: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

6

Best Practices für SharePoint SQL Instanzen

Max. degree of parallelism auf 1 setzen Collation der Instanz: Latin1_General_CI_AS_KS_WS Füllfaktor auf 80% setzen Content-Datenbanken mit hoher Leseaktivität (z.B. Publishing-Portale) Remote

BLOB Storage einsetzen

Feste Zuweisung von RAM zur SharePoint Instanz SQL Instanz mit Traceflag –T1117 starten

Verwendung von SQL Aliasen auf SharePoint Servern Content-Datenbanken «manuell» erstellen

(mehrere Datenfiles; PRIMARY Filegroup)

Page 7: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

7

Softwarevoraussetzungen - SharePoint

Mit Hotfixes KB2554876: SharePoint-Analyseprozess stürzt ab KB2759112: ASP.NET Racebedingung in .NET 4.5 KB2708075: IIS7.5 – Config. Update via ServerManager KB2472264: TCP Config. via netsh KB2567680: Securitypatch – Anhebung von Berechtigungen

Mit Hotfix KB2765317: ASP.NET Racebedingung in .NET 4.5

KEIN R2 Supported ab SharePoint 2013 SP1

WINDOWS SERVER 2008 R2 (inkl. SP1)

WINDOWS SERVER 2012

Page 8: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

8

Hardwarevoraussetzungen - SharePoint

Front-End Batch-Processing

CPU

empfohlen 64-bit, 4 cores 64-bit, 4 cores

Such - Query Komponente 64-bit, 6-8 cores 64-bit, 4 cores

RAM

Entwicklung / Testing

(Single Server)

4 GB

(24 GB / 32 GB)

4 GB

(24 GB / 32 GB)

minimal 8GB 8GB

empfohlen 12GB 12GB

Such - Index Komponente

Alle weiteren Such Komponenten

+16 GB

+8 GB

+16 GB

+8 GB

Page 9: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

9

Vorbereitung des Betriebssystems:

SharePoint Prerequisites

Hotfixes Windows Server 2012

‑ KB 2765317 (Hotfix .NET Framework 4.5) Windows Server 2008 R2

‑ KB 2554876 (SharePoint parsing process crashes)‑ KB 2708075 (IIS 7.5 config not updates through ServerManager)‑ KB 2759112 (Hotfix .NET Framework 4.5)‑ KB 2472264 (netsh-Fix for TCP configurations)‑ KB 2567680 (Securitypatch – could allow elevation of priviledge)

Page 10: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

10

Distributed Cache / Request Mgmt

Front-end Server

Batch Processing / special Workload

Database Server

. . . . .

. . . . . . .

. . . . .

. . . . .

. . . . .

Web Server . . . . .

Application Servers . . . . . . . . . .

Database Server . . . . . . .

Alle Dienste

Search

Serverrollen von SharePoint 2010 nach SharePoint 2013 Serverrollen von SharePoint 2013

Page 11: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

11

Single-Server

Workload < 100 Anwender Keine komplexen Anforderungen

Anwendung Testumgebung Entwicklungsumgebung

Alle Rollen auf einem Server, inklusive SQL Server

Page 12: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

12

Alle Rollen auf einem Server

Kleinste Farm

Workload < 1000 Anwender Kein komplexen Anforderungen

Dataset < 1,000,000 Items

Dedizierte Datenbankumgebung

Page 13: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

13

Front-end und Batch-Processing

Kleinste fehlertolerante Farm

Workload < 1000 Anwender Kein komplexen Anforderungen

Dataset < 1,000,000 Items

Dedizierte Datenbankumgebung

Page 14: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

14

Front-end

Fehlertolerante 3-stufige Farm

Workload > 1000 Anwender < 10,000 Anwender 10-50 Req./s

Dataset < 1,000,000 Items

Dedizierte Datenbankumgebung

Batch-Processing

Datacenter 1

Datacenter 2

Stretched Farms: Datacenter nahe beieinander Hohe Bandbreite (>= 1Gb/s) Intra-Farm Latenzzeit <1ms

Page 15: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

15

Front-end

3-stufige Farm – optimiert für Suche

Workload > 1000 Anwender < 10,000 Anwender 10-50 Req./s

Dataset > 1,000,000 Elemente < 10,000,000 Elemente 1-2 TB Datenbestand Für je zusätzliche 10,000,000

Elemente eine Index-Partition hinzufügen

Datenbanken

Batch-Processing

Query

SuchDatenbanken

Crawl

Dedizierte Suchserver

Page 16: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

16

Front-end

Distributed Cache

Workload > 10,000 Anwender

Anforderungen 4-Core CPU Arbeitsspeicher >= 8 GB CPU-Auslastung < 70% Cache-Size <= 16 GB

und <= 40% gesamter RAM

Nicht empfohlen auf:SQL Server, Project Server, Excel Services, Search Services

Datenbanken

Batch-Processing

Distributed Cache

Page 17: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

17

Deployment Grösse Kleine Farm Medium Farm Grosse FarmGesamtanzahl der User < 10,000 < 100,000 < 500,000Empfohlene Cache Size des Distributed Cache Service 1 GB 2.5 GB 12 GB

Gesamte Arbeitsspeicherallokierung für den Distributed Cache Service

2 GB 5 GB 24 GB

Empfohlene Architektur

dedizierter Server oder Co-located auf einem Front-end Server

Dedicated server Dedicated server

Minimum Cache Hosts pro Farm 1 1 1

Distributed Cache - Kapazitätsplanung

Page 18: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Planung und Sizing SharePoint 2013

07.02.2014Microsoft TechTalk

18

Workload15,000 Anwender2,500 Anwender / h8,800 Anwender / Woche1.7 Mio. Requests / Tag

Dataset1.3 TB Gesamtdaten~ 1,000,000 Dokumente10 Content DatenbankenGrösste DB: 290 GB~ 8,500 Site Collections (SC)Grösste SC: 275 GB

Service-level Agreement (99.9% Verfügbarkeit)

Microsoft Office Division’s SharePoint Server 2013 Farm

WebserversVM, 4-cores, 14GB RAM

ApplicationserversVM, 4-cores, 14GB RAM

Database8-cores, 64GB RAM

Distributed CacheVM, 4-cores, 14GB RAM

Dedicated for logging database

Performance during peak hoursAvgerage

CPUMemory

Utilization

12 %

45 %

80 %

11 %

8 GB

11 GB

12 GB

46 GB

Quelle: http://www.microsoft.com/downloads/details.aspx?FamilyID=a0180a33-9b32-46ae-bfd0-57185df30aac

Page 19: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

07.02.2014Microsoft TechTalk

Anhängigkeiten zu Infrastruktursystemen

19

Page 20: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Abhängigkeiten zu Infrastruktursystemen

07.02.2014Microsoft TechTalk

20

Firewall – Intra-Farm Kommunikation

DistributedCache

Front-End Search Index / Query

Search Admin, Crawl, Content Processing, Analytics Processing

Application Server (mit User Profile Sync)

App Fabric Caching ServiceTCP 22233 - 22236

App Fabric Caching ServiceTCP 22233 - 22236

App Fabric Caching ServiceTCP 22233 - 22236

App Fabric Caching ServiceTCP 22233 - 22236

Search Index Comp.

TCP 16500 - 16519

SMB - Index Propagation

TCP 445 (direkt TCP) oderTCP/UDP 137, 138, 139 (via N

etBT)

Search Index Comp.TCP 16500 - 16519

Web CrawlHTTP/80

HTTPS/443

Intra-Farm (alle Server)TCP 32843 (HTTP)TCP 32844 (HTTPS)TCP 32845 (custom)

TCP 32846 (user code service)TCP 808 (WCF)

Page 21: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Abhängigkeiten zu Infrastruktursystemen

07.02.2014Microsoft TechTalk

21

Firewall – Kommunikation Umsysteme

SQL Instanz(en)

DistributedCache

Front-EndSearch Index / Query

Search Admin, Crawl, Content Processing, Analytics Processing

Application Server (mit User Profile Sync)

Load Balancer

UserWeb Access

HTTP/80; HTTPS/443

Administrator

Central Admin AccessHTTPS/443

SQLTCP 1433, UDP 1434,

custom

DNS

Name ResolutionTCP/UDP 53

SMTP (mail server)

Outgoing EmailSMTP: TCP 25

External Content(File Shares)

Fileshare CrawlTCP/UDP 445 oder

TCP/UDP 137, 138, 139

AD

AD Auth.TCP/UDP 445 (DS)

TCP/UDP 88 (Kerberos)

People SearchTCP 5725

Page 22: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Abhängigkeiten zu Infrastruktursystemen

07.02.2014Microsoft TechTalk

22

Storage Systeme

Generell

DAS Storage erfüllt generelle Anforderungen nicht Keine Kapazitäten für Aulastungsspitzen

ICMP Echo Request (Ping) Antwort innerhalb 1ms Erstes Daten-Byte innerhalb von 20ms

SAN Einfachere Erweiterung bei Speicherplatzbedarf Kann von mehreren Servern angesprochen werden Kein Einschränkungen bezüglich der Diskanzahl

NAS Nur für Content-Datenbanken, die mit Remote Blob Storage (RBS) arbeiten

Page 23: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Abhängigkeiten zu Infrastruktursystemen

07.02.2014Microsoft TechTalk

23

Active Directory (ab Functional Level 2003)

User Profile Service – Berechtigungen für die Synchronisation Dediziertes User Profile Synchronization Konto Domänen-Berechtigung: Replicating Directory Changes ADSIEdit: Configuration Partition Replicating Directory

ChangesService Prinicpal Names (SPN) – bei Verwendung von Kerberos

Webapplication Pool Konto setspn –S HTTP/<WebAppUrl:Port> DOMAIN\WebAppPoolAccount setspn –S HTTP/<WebAppUrl-FQDN:Port> DOMAIN\WebAppPoolAccount

Application Pool der Search Admin Web Services setspn –S HTTP/<CrawlServer> DOMAIN\ServiceAppPoolAccount setspn –S HTTP/<CrawlServer-FQDN> DOMAIN\ServiceAppPoolAccount

Distributed Cache Service Konto setspn –S AppFabricCaching/<DistCacheServer> DOMAIN\

DistCacheAccount setspn –S AppFabricCaching/<DistCacheServer-FQDN> DOMAIN\

DistCacheAccount SQL Server Service Konto

setspn –S MSSQLSVC/SQLCluster.domain.com:1433 DOMAIN\SQLServiceAccount

Page 24: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Abhängigkeiten zu Infrastruktursystemen

07.02.2014Microsoft TechTalk

24

Domain Name Service (DNS)

Registrierung der Webapplication Url’s A-Host Einträge verwenden (KEIN CNAME)

Page 25: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

07.02.2014Microsoft TechTalk

Automatisierung des Deployments mit Powershell

25

Page 26: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Automatisierung des Deployments mit Powershell

07.02.2014Microsoft TechTalk

26

Vorteile:

«Klonen» der Umgebung (Test- / Integrations- / Produktionsfarm)

Fehlervermeidung

Nachvollziehbarkeit im Desasterfall

Schnellere Implementierung

Benennung der Datenbanken (ohne GUIDs)

Dokumentation der Installation und Konfiguration

Page 27: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Automatisierung des Deployments mit Powershell

07.02.2014Microsoft TechTalk

27

Reihenfolge

Server Rollen, Hotfixes und Prerequisites installieren SharePoint Binaries mit LanguagePack und CU installieren SQL Server Aliase erstellen

SharePoint Farm erstellen Weitere SharePoint Server der Farm hinzufügen Quota Templates einrichten

Service Applications einrichten Webapplications aufbauen Distributed Cache konfigurieren (optional)

Page 28: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Automatisierung des Deployments mit Powershell

07.02.2014Microsoft TechTalk

28

Nacharbeiten

Zeitgeberaufträge einrichten Delete IIS Logfiles (Setup-Account) SharePoint Warmup

‑ Wakeup-Account Log on as a batchjob Full Read auf alle Webapplications

User Profile Synchronization Connection einrichten

Page 29: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Automatisierung des Deployments mit Powershell

07.02.2014Microsoft TechTalk

29

IIS Anpassungen

Autostart deaktivieren Default Web Site DefaultAppPool .NET v2.0 / v.4.5 Application Pools

Logging anpassen Logpfad der IIS Websites (z.B. D:\Logfiles\IIS) Logformat «W3C» Logflags setzen

Page 30: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Automatisierung des Deployments mit Powershell

07.02.2014Microsoft TechTalk

30

Anpassungen – «Websites folgen»

GrantAccessToProcessIdentity MySite Webapplication WebApp AppPool Accounts

ServiceActivationExceptionServerauslastung zu hoch

$MySiteHost = Get-SPWebApplication <URL-of-MySiteHost>$MySiteHost.GrantAccessToProcessIdentity(“WebApp AppPool Account")Set-SPEnterpriseSearchService -PerformanceLevel Reduced / PartlyReduced

Page 31: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Automatisierung des Deployments mit Powershell

07.02.2014Microsoft TechTalk

31

Anpassungen – «Newfeeds»

Full Control UPSA UPSA AppPool Account MySite AppPool Account DistCache Account

GrantAccessToProcessIdentity MySite Webapplication WebApp AppPool Accounts

$MySiteHost = Get-SPWebApplication <URL-of-MySiteHost>$MySiteHost.GrantAccessToProcessIdentity(“WebApp AppPool Account")

Page 32: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Automatisierung des Deployments mit Powershell

07.02.2014Microsoft TechTalk

32

Anpassungen – «Work Management»

Search crawls Work Management Service Instanz Full Control UPSA

WebApplication AppPool Accounts UPSA AppPool Account Work Management Service AppPool Account Farm Account Distributed Cache Account

SPDataAccess Role auf alle Content Datenbanken MySites AppPool Account

Full Control MySite Webapplication Work Management Service AppPool Account

Page 33: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Automatisierung des Deployments mit Powershell

07.02.2014Microsoft TechTalk

33

Anpassungen – «folgen vorgeschlagener Websites»

db_owner auf MySite Content Datenbanken UPSA AppPool Account

Page 34: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Zusammenfassung

07.02.2014Microsoft TechTalk

34

Planung und Sizing von SharePoint 2013 Best Practices für SharePoint SQL Instanzen Sizing von SharePoint Servern SharePoint Topologiemodelle

Abhängigkeiten zu Infrastruktursytemen Intra-Farm Kommunikation Kommunikation mit Umsystemen Active Directory DNS

Automatisierung des Deployments mit Powershell Reihenfolge zur Bereitstellung von SharePoint Nacharbeiten Anpassungen – Newsfeeds, Tasks, Websites folgen

Page 35: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

BASEL BERN BRUGG LAUSANNE ZÜRICH DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. HAMBURG MÜNCHEN STUTTGART WIEN

Fragen und Antworten...

2013 © Trivadis

Danny von Borries, Consultant Trivadis AG

Competence Center Microsoft SharePoint

Phone: +41 58 459 50 93

Email: [email protected]

DatumAnsicht > Kopf und Fusszeile

Page 36: Effiziente SharePoint Installationen On- Premise  und in der Cloud

2013 © Trivadis

Linksammlung

07.02.2014Microsoft TechTalk

36

Planen der Browserunterstützung in SharePoint 2013http://technet.microsoft.com/de-de/library/cc263526.aspx

Planen der Verwaltung mit geringsten Berechtigungen in SharePoint 2013http://technet.microsoft.com/de-de/library/hh377944.aspx

Arbeitsblätter für die Planung für SharePoint 2013http://technet.microsoft.com/de-de/library/cc262451.aspx

Download and Install SharePoint 2013 Prerequisites on Windows Server 2012http://gallery.technet.microsoft.com/office/DownloadInstall-SharePoint-e6df9eb8

Technische Diagramme für SharePoint 2013http://technet.microsoft.com/de-de/library/cc263199.aspx

Hardware- und Softwareanforderungen für SharePoint 2013http://technet.microsoft.com/de-de/library/cc262485.aspx

Codeplex – AutoSPInstallerhttp://autospinstaller.codeplex.com/