Business Continuity Management

Post on 22-Feb-2016

22 views 0 download

Tags:

description

Business Continuity Management. About Me…. Rick Taylor, MCSE, MCT Principal Architect for Summit 7 Systems http://www.summit7systems.com Richard.Taylor@summit7systems.com Former SharePoint Engineer with Microsoft Business Productivity Online Services – (SharePoint Online) - PowerPoint PPT Presentation

Transcript of Business Continuity Management

Business Continuity Management

About Me…• Rick Taylor, MCSE, MCT

– Principal Architect for Summit 7 Systems – http://www.summit7systems.com– Richard.Taylor@summit7systems.com– Former SharePoint Engineer with Microsoft Business Productivity

Online Services – (SharePoint Online)– Contributing author on MS Press MOSS 2007

Administrator’s Companion– Principal author of MS Press SharePoint 2010 Administrator’s

Companion

AgendaNew featuresSite deletionsBackup/restoreAvailability within a farmDisaster recovery across farmsMinimal downtime during patching

What’s New in 2010Improved site deletion logicConfiguration settings backup supportOperations previously only available via command line now supported in the user interfaceUnattached Content Database RestoreSnapshot support (Microsoft SQL Server)Read-only environments

Site Delete

Site DeleteImproved site deletion logic

Minimizes blockingSite is deleted from SiteMapA GUID referencing that site is instantiated in a new tableTimer Job performs background, chunk-based deletion

Backup and Restore Using Central Admin

Backup - FarmInitiates a SQL backup of each service and content databaseConfig settings are written to an xml fileSearch does some additional actions

Farm Backup Solutions

Backup – Config SettingsThe configuration settings are written to an xml file, and backed up with file server backup.

Restore – Farm or ConfigInstantiate a new farm with the same topology as the original farmExecute STSADM (restore) or PowerShell (restore-spfarm) with the –configurationonly flagDeploy customizations as requiredOnce you have started your farm, in Central Administration

Activate any featuresPerform a farm restore *IF* you are not just restoring config only

Config Backup Solutions

Backup – Content DBWhen you backup a web application or single content database, SharePoint starts a SQL Server backup of each content database

Restore – Content DBRestore with a new name

-OR-Restore database and overwrite

Content DB Backup Solutions

Backup - SearchBackup takes place in two sequential phases

Phase 1Index merges are prevented from happening, crawling can still continue at this pointIndexes are copied from one query server per index partitionAll search databases are backed up

Phase 2Crawls are pausedAny changes to the indexes since phase 1 are copiedAny changes to the search databases since phase 1 are backed upCrawls and merges are resumed

Restore - SearchIf restoring to existing Search Service App (overwrite)

All search components are unprovisioned (crawl/query stops working)Indexes are restoredDatabases are restoredCrwls and merges are resumedIf this is a restore from an earlier build, upgrade is run (i.e. backup from RTM, restoring to SP1)

If restoring to a new Search Service AppExisting Search Service Application continues to workIndexes are restoredDatabases are restoredCrawls and merges are resumedIf this is a restore from an earlier build, upgrade is run

Search Backup Solutions

Backup – Service AppsIf the service applications has an associated databases(s)

SharePoint starts a SQL Server backup of the database(s)

SharePoint starts a backup of the service config

Restore – Service AppsIf restoring to existing service application (overwrite)

Existing service app is unprovisionedOtherwise, existing service app continues to work

Databases, if any, are restoredConfig is restoredService is started

Service App Backup Solutions

What’s Included in Service Application Backups…

NOTE: Session state is not included in any backup

Service App Backup Solutions

NOTE: Session state is not included in any backup

Backup – Site CollectionSharePoint does backup by performing one or two SQL SELECT statements to collect data, then writing data to file

Optional – Use PowerShell with the UseSqlSnapshot parameter. It creates a snapshot and exports the site collections from the snapshot. It then deletes the snapshot when it’s done.NOTE: Requires a version of SQL Server that supports snapshots (ENTERPRISE)

Restore – Site CollectionRestore from an unattached content database

Do a site collection backup from the unattached content db

Use PowerShell or STSADM to restore the site collection from backup

PowerShell: restore-spsite

Backup – Site or ListNow possible from within Central AdminSharePoint exports the identified site or list by performing multiple SQL SELECT statements to collect data, then writing data to a package

Optional: Use PowerShell (export-SPWeb) with the UseSqlSnapshot parameter

Restore – Site or ListRestore from an unattached content database

Export a site or listUse PowerShell to restore the site or list (import-SPWeb)

Backup HistoryProvides execution time, warning and error counts

Unattached Content Database Restore

Granular restore and content browsing of “offline” database

Browse contentExplore site collection content

Backup site collectionBacks up to File System as .bak

Export site or listExports to File System as .cmp artifactCan include Security and Versions

Mitigates requirements to support expensive dedicated restore environments

Restore from Unattached Content Database

Using PowerShellUse Restore-SPSite for site collection

Restore-SPSite http://<server>/sites/site –path \\<share>\site.bak -overwrite

Use Import –SPWeb for site or ListImport –SPWeb http://<server>/sites/site/web –path \\<share>\web1.cmp -includeusersecurity

Recovery ScenariosBackups can be performed to support many recovery scenarios. Common scenarios include

Recreate a farm on new hardware, or in a different location, assuming that no parts of the original farm are available. (Disaster recovery)Create a new farm based on existing farm’s configuration and backupsCreate backups to support highly-available farmsArchive versions of a siteUse unattached databases to recover site collections, sites or lists

High Availability

Database Mirroring SupportProvides support for database mirroring

Adds failover partner to ADO.NET connection stringDoes not implement the mirroring sessions

UI entry pointsAny place you add a new database you can put the failover server name

PowerShellAll databases, including configuration database

Configurable through APISPDatabase

AddFailoverServiceInstance (method, string)FailoverServiceInstance (property, SPServer)

User Interface Support

Object Model Support (C#)

PowerShell Support

Disaster Recovery

Read-Only ModeRead-only mode introduced in SharePoint 2007 SP2

Hides parts of UI that aren’t applicable in read only mode

Read-only support provided forContent databasesService Applications

Make it read only in SQLContent databases can set the IsReadOnly SPDatabase property programmatically

SummarySeveral new and extended features in SharePoint 2010 to support BCMReduced blocking for site deletionConfiguration-only backup and restoreExport sites and lists from central adminUsed unattached content databases for restoreUse SQL snapshots during backupUI trimmed for read-only environments

CalendarPhoenix SharePoint Users Group Meeting

Fourth Thursday of every monthJobing.com building

4747 N. 22nd St. Phoenix, AZ 85016 http://www.azsharepointpros.com

SharePoint Best Practices ConferenceAugust 24-27, 2010

Hyatt Regency Reston, VAhttp://www.bestpracticesconference.com