Top Banner
La gouvernance Infrastructure et Administration
37

La gouvernance infrastructure et administration

Jan 15, 2017

Download

Business

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: La gouvernance infrastructure et administration

La gouvernance Infrastructure et Administration

Page 2: La gouvernance infrastructure et administration

About me

Gokan OzcifciSharePoint consultantVision Consulting Group

@gokanozcifciwww.gknzcfc.net

( gokanx.wordpress.com)

Microsoft Community Contributor

Page 3: La gouvernance infrastructure et administration

Agenda

SQL Server

SharePoint

Server

Windows

Server

Page 4: La gouvernance infrastructure et administration

WhoisQui?Who is using Applicative governance?

The definition is: strategy, guide, processes to follow for a specific goal

The difference between you and me is not longer than that « | »

GovernanceBest PracticeN+10

Page 5: La gouvernance infrastructure et administration

Platform goverance (PRE-I)

Hardware

Stay Close

Keep it clean

latest update

s

MABackup TL

Stand BY env + Test

Bakups

Page 6: La gouvernance infrastructure et administration

Hardwarelots of memory on the Web and application servers

Use gigabit network adapters for all server roles.

For front-end Web servers and application servers, use dual network adapters in production environments. Use one network adapter for users and one for Microsoft SQL Server communication.

Lots of Memory

Page 7: La gouvernance infrastructure et administration

Stay closeNo front-end Web server or application server should have more than one millisecond (ms) of latency between it and the database server.

Keep all the servers in a farm in the same data centerStay Close

Page 8: La gouvernance infrastructure et administration

UpdatesNO ! Only when impacted

Turn on Windows Update to download updates automatically, but not install automatically.

Schedule time to install updates at off-peak hours.

For high availability, rotate servers out of service one at a time during the update process.

latest updates

Page 9: La gouvernance infrastructure et administration

Managed AccountsBest practice that isn’t a best practice for corporates

Web applications: Use different accounts based on your security requirements.

Search account: Use one account for the farm.

Excel Services account: Use one account for external connections.

MA

Page 10: La gouvernance infrastructure et administration

BackupDo not only back up the data.

The usage logs, IIS logs, transaction logs, and SMTP e-mail logs all must be backed up if you want to be able to fully recover your environment.

For transaction logs, you should back up and truncate the log file every five minutes

Backup TL

Page 11: La gouvernance infrastructure et administration

EnvironmentPROD – ACC- TEST – DEV

In case of…

Routinely test backups and validate their consistency

Do not assume that the backup will work.

Disaster Recovery

Stand BY env + Test Bakups

Page 12: La gouvernance infrastructure et administration

Keep it cleanLimit content databases to 200 GB.

When you use SQL Server mirroring, do not store more than 50 databases on a single physical instance of SQL Server .

Free disk space: more than 25 percent

Memory used: less than 70 percent

Keep it clean

Page 13: La gouvernance infrastructure et administration

SQL Server 1/10 ( I-POST)Why is SQL Server so important to SharePoint?

Central store for most SharePoint data Stress on SQL Server causes stress on front-end servers and ultimately degrades user experience

Page 14: La gouvernance infrastructure et administration

SQL Governance 2/10 ( VvsP)

HA

Scale

HQ/DR

I/O €

Page 15: La gouvernance infrastructure et administration

SQL Server 3/10 (Hardware)

Your SQL Server needs to have enough RAM to function properly. If your SQL Server runs only SharePoint, here are the minimum requirements. 

Page 16: La gouvernance infrastructure et administration

SQL Server 4/10 (Disk)

Page 17: La gouvernance infrastructure et administration

SQL Server 5/10 (MP)Maintenance plans can both automate and schedule essential tasks to protect your data

Page 18: La gouvernance infrastructure et administration

SQL Server 6/10 (MB)Maximum Server Memory in MB: 2147423647Only for multiple instancesWhat to fill?

Page 19: La gouvernance infrastructure et administration

SQL Server 7/10 (MB)SQL Max Memory = TotalPhyMem - (NumOfSQLThreads * ThreadStackSize) - (1GB * CEILING(NumOfCores/4))

  NumOfSQLThreads = 256 + (NumOfProcessors*- 4) * 8   (* If NumOfProcessors > 4, else 0) 

  ThreadStackSize = 2MB on x64 or 4 MB on 64-bit (IA64)  

Page 20: La gouvernance infrastructure et administration

SQL Server 8/10 (Stats)Do not enable auto-create statistics on a server that hosts SQL Server and SharePoint Server. Not supportedSharePoint uses a stored procedure that maintains the statistics (proc_UpdateStatistics)

Page 21: La gouvernance infrastructure et administration

SQL Server 9/10 (FF)When an index is created or rebuilt, the fill-factor value determines the percentage of space on each leaf-level page to be filled with data

When Index are created or rebuilt for SharePoint 80 is optimal

Page 22: La gouvernance infrastructure et administration

SQL Server 10/10 (NTFS)

SQL server reads and writes 64k at a time, therefore is a best practice to make sure your disks are formatted with an allocation size of 64K and not the 4K default. This small change alone, will improve your SQL performance by up to 30%

Command Promt:  »chkdsk C: »

Page 23: La gouvernance infrastructure et administration

SharePoint Server (PRE-I)

Know what is in your

env.

Test = Prod

Use real data

Tests E/W

Page 24: La gouvernance infrastructure et administration

Know where you areKnow what is in your environment. Do a full survey first.

FULL Trust – Real Case

Know what is in your env.

Page 25: La gouvernance infrastructure et administration

EnvironmentIf possible, use the same kind of hardware and use the same settings

SettingsURL ( port )

What if Production Down? DB attach?

Spend time resolving unrelated issues to make sure that they will not occur during the actual upgrade.

Test = Prod

Page 26: La gouvernance infrastructure et administration

Real StealUse copies of your actual databases to run the tests

When you use real data, you can identify trouble areas and also determine upgrade performance.

Make sure that you find issues with the different kinds and sizes of sites, lists, libraries, and customizations that are present in your environment.

Use real data

Page 27: La gouvernance infrastructure et administration

TestingA single test can tell you whether you will encounter big problems.

Multiple tests will help you find all the issues

The upgrade/Install approaches

The downtimeHow the process or

performance may change after you address the issues that you uncovered in your first tests

Tests

Page 28: La gouvernance infrastructure et administration

Error / WarningsEven though a warning is not an error

IT CAN be an error

Investigate warnings

Write a Operational GuideE/W

Page 29: La gouvernance infrastructure et administration

SharePoint Server 1/8 (Wizard)Always use Wizard (just kidding )

Managed AccountSecurityDatabase Name

Page 30: La gouvernance infrastructure et administration

SharePoint Server 2/8 (PS)

Learn to install from Command-linePowershell is your friend!

Learn to manage from Command-linePowerShell Help

Script everything (if possible)Win-Win

It’s not going away any time soonMost Microsoft products will eventually use itYou can’t do everything from the GUI any moreIt can make your life easierMicrosoft certification exams contain PowerShell questionsIf you don’t learn it, someone else will

Page 31: La gouvernance infrastructure et administration

SharePoint Server 3/8 (SA)Never use a single service account!Password Policy ( Our biggest problem )Create the Following Accounts

SQL Admin AccountSharePoint Installation AccountSharePoint Farm Admin Global Administrator

Page 32: La gouvernance infrastructure et administration

SharePoint Server 4/8 (IIS)

Fine tuning of you’re IIS ServerRegular Recycle?Specific time(s)

Page 33: La gouvernance infrastructure et administration

SharePoint Server 5/8 (WUS)IIS cache has to be filled by Warm Up

Has to be configured on each serverIIS reset, receycle, … be carefull on Production Env.

Page 34: La gouvernance infrastructure et administration

SharePoint Server 6/8 (Design)HTML5, Dreamweaver, …No more real SharePoint Designers

Other governance from other platforms has to be adopted ( google eye )

Page 35: La gouvernance infrastructure et administration

SharePoint Server 7/8 (Disable)The SharePoint Health Analyzer detected a condition requiring your attention. Drives are at risk of running out of free space.

Be carefull when custommer/business has access to your platform.

Page 36: La gouvernance infrastructure et administration

SharePoint Server 8/8 (SC)Wizard again

Check your needExcel Services on Search Center?

Page 37: La gouvernance infrastructure et administration

Thanks & Great Governance