Upload
vmaximiuk
View
2.144
Download
5
Embed Size (px)
DESCRIPTION
Citation preview
Veenus Maximiuk
SharePoint Managing Architect
ICC
Getting SharePoint 2010 Deployment Right
*Agenda
Common Deployment Mistakes
Installation and Configuration Approaches
New Services Architecture
Virtualization Deployment Considerations
Avoid the Common Pitfalls
Questions
*Common Deployment Mistakes
Poor planning
Using the Farm Configuration Wizard for production
Use one service account for everything
Provision all service applications
*Installation and Configuration
Point-n-click Deployments SharePoint Configuration Wizard
Farm Configuration Wizard
Scripted Deployments PowerShell
stsadm/PSConfig
*SharePoint Configuration Wizard
Automatically launches the UI for PSConfig
*SharePoint Configuration Wizard
Automatically creates Central Administration Database Name
*Farm Configuration Wizard
*Farm Configuration Wizard
*Service Applications DBs Using Configuration Wizard
*Service Applications DBs Using Configuration Wizard
*Configuration Wizard Recommendations
Recommend for Development
Proof of Concept
Not best for production Too many services
Automatically creates database names for service applications
*PowerShell
What is it? Command line utility
Built on top .NET Framework
Extensible
Why use it? More control
More efficiency
Community Support Script Repository:
http://gallery.technet.microsoft.com/ScriptCenter/en-us
*STSADM Marked as “deprecated”
Occasionally required
Compared to PowerShell
Less complex
Less granular
A lot of community support
Stsadm to PowerShell Mapping http://technet.microsoft.com/en-us/library/ff621081.aspx
* Service Applications DBs Using PowerShell
*Using PowerShell
DEMO
*Service Application Architecture
Replaces Shared Services Provider (SSP)
New deployment considerations What does each Service Application do?
Which SharePoint edition do I need?
Which Service Applications depend on others?
How big do the databases normally get?
*Service Application per Edition Service applications Stores data? Cross-
farm?
SharePoint
Foundation
2010
SharePoint
Server 2010
Standard
SharePoint
Server 2010
Enterprise
Access Services Cache X
Business Data Connectivity DB X X X X
Excel Services Application Cache X
Managed Metadata Service DB X X X
PerformancePoint DB X
Search DB X X X
Secure Store Service DB X X X
State Service DB X X
Usage and Health Data Collection DB X X X
User Profile DB X X X
Visio Graphics Service Cache X
Web Analytics X X X
Word Automation Services DB X X
Microsoft SharePoint Foundation
Subscription Settings Service
DB X X X
*Service Application Dependencies
Service Applications Business
Data
Connectivity
Managed
Metadata
Secure
Store
State Usage and
Health Data
Business Data Connectivity X*
Excel Services X*
PerformancePoint X*
Enterprise Search X* X
User Profile X* X*
Visio Graphics X* X
Web Analytics X
X* indicates conditional dependency based on usage scenarios
*Service Application DB Planning
Service Application Database Database Relative Size
Usage and Health Data Collection Service Application Usage Extra-large
Business Data Connectivity Service Application Business Data Connectivity Small
Application Registry Service Application Application Registry Small
Microsoft SharePoint Foundation Subscription Settings
Service
Subscription Settings Small
Search Service Application Search Administration Medium
Search Service Application Crawl Extra-large
Search Service Application Property Large to Extra-large
Web Analytics Service Application Reporting Extra-large
Web Analytics Service Application Staging Medium
State Service Application, Visio Service Application,
InfoPath Forms Services
State Medium-large
User Profile Service Application Profile Medium-large
User Profile Service Application Synchronization Medium-large
User Profile Service Application Social Tagging Small to Extra-large
Managed Metadata Service Application Managed Metadata Medium
Secure Store Service Application Secure Store Small
Word Automation Service Application Word Automation Services Small
PerformancePoint Service Application PerformancePoint Small
*Virtualization Deployment Guide
Can you virtualize SharePoint 2010 Production Servers?
Absolutely. It is supported but with caveats.
Must architect the environment properly
Not taking into account disk, processor, memory, and other host and guest environments can make a virtualized environment run slowly.
*Virtual Host Guideline• Dedicated hosts for SharePoint Virtual Guests
• Assume 1GB of memory taken by host OS (Hyper-V), 3rd party varies
• No Software on Host OS! (Except A/V or Backup)
General
• Allocate Direct / Passthrough NICs when possible
• Create dedicated NIC for Management
• Create dedicated NIC for Failover NICs
• Dedicated spindles for SharePoint
• Dedicated volume for Host OS
• Dedicated volume for Guest OS VHDs
• Dedicated volume for Databases and Logs
Disk
• Do not over allocate (applies to memory as well)
• No more than 2 vCPUs for every Core on host
• For optimal performance use 1:1 ratio Processor
*Virtualization Role
• Excellent Virtualization Candidate
• Can be easily provisioned via templates Web
• Higher proc/mem requirements, but still good candidate
• Often paired with SP2010 Web Role
Query/
Crawl
• Higher proc/mem requirements, but still good candidate
• Low disk requirements compared to other roles App
• Requires the most memory, proc, and disk IO
• Be cautious when virtualizing, make sure host is scaled
• If virtual, be sure to use pass-through or fixed size disks DB
*Performance Counters Threshold on Hosts
Processor <60% Utilization = Good
60%-90% = Caution
>90% = Trouble
Available Memory 50% and above = Good
10%-50% = OK
<10% = Trouble
Disk – Avg. Disk sec/Read or Avg. Disk sec/Write
Up to 15ms = fine
15ms-25ms = Caution
>25ms = Trouble
Network Bandwidth – Bytes Total/sec
<40% Utilization = Good
41%-64% = Caution
>65% = Trouble
Network Latency - Output Queue Length
0 = Good
1-2= OK
>2 = Trouble
*Performance Counters Threshold on Guests
Processor (N/A)
Available Memory 50% and above = Good
10%-50% = OK
<10% = Trouble
Disk – Avg. Disk sec/Read or Avg. Disk sec/Write
Up to 15ms = fine
15ms-25ms = Caution
>25ms = Trouble
Network Bandwidth – Virtual NIC Bytes Total/sec
<40% Utilization = Good
41%-64% = Caution
>65% = Trouble
Network Latency - Output Queue Length
0 = Good
1-2= OK
>2 = Trouble
*Virtualization Deployment Guide SQL Server connection aliases enable efficient transition and migration between physical and virtual servers
Configure Index server to crawl itself to reduce network traffic and minimize propagation
Perform regular disk maintenance on host and guest machines
Keep databases maintained and optimized
Restoring snapshot is not supported
Beware of over subscribing host servers
Host is a single point of failure Use host clustering to enhance VM availability
*Avoid Common Pitfalls
Using the Farm Configuration Wizard for production
Problems configuring some Service Applications with PowerShell
Search Service Application
User Profile Service Application
Order of execution and dependencies
Not all site templates support MUI
*SharePoint Service Accounts
Never use a single service account
Create the following accounts SQL Admin Account
Installation Account
SharePoint Farm Administrator
Search Administrator
Default Content Access Account
Application Pool Identity Account
*Deployment Guide
Carefully design and document your SharePoint implementation
Start only the Service Applications you need
Understand SharePoint’s Boundaries – absolute values
Limits – configurable values
Establish a performance baseline Maintain periodic performance measurements
Evaluate using Remote Blob Storage in heavy ECM environments
Limit content databases to 200 GB for collaboration sites
*Resources Windows PowerShell for SharePoint Foundation 2010
http://technet.microsoft.com/en-us/library/ee662510.aspx
SharePoint Server 2010 capacity management: Software boundaries and limits
http://technet.microsoft.com/en-us/library/cc262787.aspx
Server virtualization validation program http://www.windowsservercatalog.com/svvp.aspx
Downloadable white paper: Virtualization of Microsoft SharePoint Products and Technologies
http://download.microsoft.com/download/1/6/f/16f53b33-a118-4d78-a3d8-653a139aec0e/Virtualization_of_SharePoint_Products_and_Technologies_White_Paper_-_final1%20(2).pdf
Questions?