kako izvuci (naj)vise iz vaseg share pointa 2013

Click here to load reader

Post on 24-Jan-2015

137 views

Category:

Technology

0 download

Embed Size (px)

DESCRIPTION

SharePoint 2013 Best Practices session at Windays 14

TRANSCRIPT

  • 1. Matija Blagus MSCE: SharePoint 2013 Acceleratio d.o.o. Kako izvui (naj)vie od vaeg SharePointa 2013
  • 2. Inspirirani Ugasite mobitele. Hvala.
  • 3. Inspirirani Sadraj
  • 4. Hardver i virtualizacija SQL Server SharePoint Alati
  • 5. Inspirirani Hardver i virtualizacija
  • 6. Hardverski zahtjevi za SharePoint 2013 http://technet.microsoft.com/en-us/library/cc262485(v=office.15).aspx
  • 7. Hardverski zahtjevi za SQL Server http://technet.microsoft.com/en-us/library/cc262485(v=office.15).aspx
  • 8. Virtualizacija Dobro isplanirajte okolinu NE korisiti dinamiku memoriju! (Distributed Cache, Search) Instalirajte Integration services Ne koristiti legacy mrene adaptere Ukljuiti Jumbo frameove na mrei http://technet.microsoft.com/en-us/library/ff621103(v=office.15).aspx
  • 9. Virtualizacija Koristite VLAN-ove Iskljuite time synchronization za SharePoint virtualke RAID 5/10 http://technet.microsoft.com/en-us/library/ff621103(v=office.15).aspx
  • 10. Topologije http://technet.microsoft.com/en- us/library/ff607811.aspx
  • 11. Inspirirani SQL Server
  • 12. Osnove UVIJEK koristiti dediciranu instancu za SharePoint Allocation Unit size za SQL server treba biti 64k (default 4k) Postaviti inicijalne vrijednosti baza na planirane vrijednosti (default 5MB) Autogrow treba biti u MB, a ne u % MAXDOP = 1, MAX/MIN memorija Koristiti alias za pristupanje bazi < 20 ms izvrenje operacija za TempDB http://channel9.msdn.com/Series/Tuning-SQL-Server-2012-for-SharePoint- 2013
  • 13. Optimizacija SQL-a za SharePoint Collation SQL servera (instance) treba biti LATIN1_GENERAL_CI_AS_KS_WS LOG fileovi trebaju biti smjeteni na drugi disk TempDB treba biti na najbrim diskovima TempDB treba imati broj fileova jednak broju logikih procesora (ne vie od 8) TempDB treba biti u SIMPLE recovery modeu TempDB bi trebao biti veliine cca. 10% Content baze
  • 14. Optimizacija i odravanje SQL-a za SharePoint Podesiti ModelDB prema vaem okruenju Baze kreirane kroz Central Administration nee preuzeti Autogrow vrijednosti od ModelDB baze 200 GB po Content bazi Full backup baza + defragmentacija + reorganizacija indexa + DBCC CHECKDB = SQL Maintenance plan Izbjegavati koritenje Auto-Shrinka Preporuena verzija SQL 2012 SP1
  • 15. Inspirirani SharePoint
  • 16. Osnove Koristiti PowerShell instalaciju Servisni rauni (http://www.toddklindt.com/blog/Lists/Posts/Post.aspx?ID=3 91) Upoznati se sa limitima SharePointa SharePoint logovi bi trebali biti na drugom disku Distributed Cache mora obavezno raditi Miminalno 2 farme (produkcijska i DEV/TEST/QA) HTTPS za povezivanje sa Office Web Apps serverom Iskljuiti Loopback check (http://blogs.technet.com/b/sharepoint_foxhole/archive/201 0/06/21/disableloopbackcheck-lets-do-it-the-right-way.aspx)
  • 17. Servisni rauni Account name Role Domain rights Local SharePoint Server rights needed SQL rights needed sp_install Used to install SharePoint binaries. Domain User Local administrator on all SharePoint boxes public, dbcreator, and securityadmin SQL roles. Need to be SysAdmin on SQL when installing the Workflow Manager sp_farm Farm account. Used for Windows Timer Service, Central Admin and User Profile service Domain User Local Admin during UPS provisioning, log on locally right None sp_webapp App pool id for content web apps Domain User None None sp_serviceapps Service app pool id Domain User None None sp_content Default account used by Search Service Application to crawl content Domain User None None sp_userprofile1 Account used by the User Profile services to access Active Directory Must have Replicating Change permissions to AD. Must be given in BOTH ADUC and ADSIEDIT. If domain is Windows 2003 or early, must also be a member of the "Pre-Windows 2000" built-in group. None None
  • 18. Distributed Cache Ako ne radi dobro oekujte probleme sa user profilima, searchom i autentifikacijom Ne kombinirati sa Excel, Search, User Profile servisnom aplikacijom, Project serverom i SQL-om Za manje farme 2 GB, za srednje i velike izmeu 8 i 16 GB Otvoriti portove na firewallu 22233 do 22236+ICMP inbound Imati pokrenuti Remote Registry servis
  • 19. Optimizacija SharePointa Ukljuiti BLOB i Page output cache Iskljuiti Verbose logging ako nije nuno potreban Premjestiti Search Index na drugi disk Razdvojiti servisne aplikacije na vie servera Ispravno podesiti antivirus (http://support.microsoft.com/kb/952167) Developer Dashboard Pratiti koritenje resursa i intervenirati prema potrebi
  • 20. Update Instalirati zadnji March 2013 Public Update NE (jo) instalirati Service Pack 1 Distributed Cache instalirati Cumulative Update 4 za AppFabric 1.1 (nakon to se rijei problem sa SP1) Stop-SPDistributedCacheServiceInstance - Graceful
  • 21. Ostalo Pratite SharePoint blogove Napravite load i disaster recovery testove Ako radite upgrade sa prijanjih verzija sve detaljno istestirajte http://social.technet.microsoft.com/wiki/contents/art icles/12438.sharepoint-2013-best-practices.aspx
  • 22. Inspirirani Alati
  • 23. Kako pratiti sve te stvari? Perfomance Monitor za praenje servera Developer Dashboard za praenje brzine uitavanje stranica SharePointa Wireshark analiza mrenog prometa ULS Viewer praenje SharePoint logova u itljivom formatu Koristiti 3rd party alate za nazdor servera/mree/SharePointa
  • 24. SPDocKit
  • 25. Zakljuak Optimizacija SharePointa je dugotrajan proces koji uvelike ovisi o poetnom planiranju Treba biti proaktivan i ne zanemarivati male greke Dokumentirajte sve postavke Nauiti PowerShell
  • 26. Inspirirani Pitanja i odgovori.