1 / 27

Get To The Point SharePoint 2010 Farm Admin Bootcamp

Get To The Point SharePoint 2010 Farm Admin Bootcamp. Mark Rhodes. Agenda. Goals of Workshop Course Overview Lab Overview. Module 1. Introduction to PowerShell. Why Use PowerShell?. Repeatable Tasks Ease of access Some things simply cannot be done via GUI or STSADM

eamon
Download Presentation

Get To The Point SharePoint 2010 Farm Admin Bootcamp

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Get To The PointSharePoint 2010 Farm Admin Bootcamp Mark Rhodes

  2. Agenda • Goals of Workshop • Course Overview • Lab Overview

  3. Module 1 Introduction to PowerShell

  4. Why Use PowerShell? • Repeatable Tasks • Ease of access • Some things simply cannot be done via GUI or STSADM • Why not VBScript? • Object Based "...Like fire or guns, PowerShell is a good tool, you just need to have a healthy respect for it..." Todd Klindt "...PowerShell is not a vigorous artillery exercise, but it can be almost as much fun." Sean McDonough "I've got two words for you: Get-Help. That's all you need to learn PowerShell." John Ferringer

  5. About PowerShell • Currently in V3.0 • This is what SharePoint 2013 uses. • SharePoint 2010 uses V2.0 • Snap-Ins • PowerShell v1.0 / V1.1 • Modules • Added in PowerShell v2.0 • Used in PowerShell v3.0

  6. SharePoint and PowerShell • This is where all future investments lie • Administrators must be fluent in PowerShell • STSADM is now deprecated

  7. Syntax Breakdown • Cmdlets • These are the commands loaded by snap-ins and modules. • Functions • Snippets of code that can be loaded and run • Alias • A shortened way to access a cmdlet or function • Eg “C:” is an alias for “Set-Location C:”

  8. Cmdlets • CmdLets • Verb • EgGet,Set,Add,Remove,Attach,Detach,Clear,New • Noun • EgService,WindowsFeature • All SharePoint Nouns prefixed with SP

  9. Functions • Pre-written code snippets • Time savers • Can accept piped input

  10. Aliases • Shortened commands • ASNP = Add-PSSnapin

  11. Finding your way • Get-Help • examples • full • Get-Command • Verb • Noun • Get-Member • Methods • Properties

  12. Everything is an Object • Get-Member • Methods • Properties

  13. Sorting and Filtering • Sort-Object • Can format object output based on properties • Can limit number of objects returned • Where-Object • Eq • Neq • Match • Notmatch • Gt • Lt • Like • Notlike • Contains • notcontains

  14. Loops • Multiple Loop Types Available • Do While • Do Until • For • For Each

  15. SharePoint 2010 • 500+ PowerShell CmdLets • 538 Cmdlets • 4 Aliases • Some operations just cannot be done via GUI • Multi-Tenancy Feature • State Service (Can only be done in Farm Config Wizard, cannot be done in CA) • Naming your service application databases with out including huge guids • Establishing trusts with other Farms • Some operations are still more difficult with PowerShell • stsadm-o getproperty / setproperty • Creating Enterprise Search • Some other service applications

  16. Modules 2 and 3 Backup and recovery

  17. SharePoint 2010 Backup • Granular Backup Built-In • Export Site Collections, lists, sites • Recover from Unattached Content Db • Farm Backup • Better Control • Reporting • Real Time visibility

  18. Farm Backup • While better, still no: • Item Level Recovery • Scheduling • Management • Monitoring • Tape • Very Large disk requirements

  19. Unattached database recovery • Able to restore from SQL backup without building a recovery farm • Can connect to any restored SQL database and recover content • No need to add databases to web application • Exports to package

  20. Backup and Recovery Deep Dive • Farm • SharePoint • Service Applications • Web Applications • Content Databases • Site Collection • Sites • List • Items • SQL • Content Databases • SharePoint Farm Databases • Service Application Databases

  21. Recommended Approach • Backup all servers with a server backup solution • Backup all Databases via SQL daily, with transaction log backups every few hours • Backup Farm regularly if you: • Do not have high availability • Need granular recovery • Are Paranoid

  22. Module 4 SharePoint Maintenance

  23. Patching 101 • You can now patch bits and database seperately • Databases can run within compatibility boundaries • Patch the binaries on a week night • Patch the databases on the weekend • SharePoint now knows : • Product Build numbers • Database Schema

  24. Installing the files • Just install on one server at a time • No need to rush • Exit out of the wizard on each one

  25. Patching the database • Run the Psconfig Wizard on every server in your farm • Gives control over timing • Gives control over content

  26. Flexible approaches • Hybrid Patching allows flexible approach • Allows maximum control over patching schedule

  27. Hybrid Patching • Install updates • Detach Content Databases • Patch Databases • Re-attach Content Databases • Upgrade Content Databases

More Related