Slide1 l.jpg
This presentation is the property of its rightful owner.
Sponsored Links
1 / 47

High Availability and Disaster Recovery for SharePoint Technologies PowerPoint PPT Presentation


  • 80 Views
  • Uploaded on
  • Presentation posted in: General

IW316. High Availability and Disaster Recovery for SharePoint Technologies. Joel Oleson http://blogs.msdn.com/joelo Sr. Technical Product Manager Microsoft Corporation. Session Objectives And Takeaways. Backup/Restore Options Disaster recovery methods High Availability Options

Download Presentation

High Availability and Disaster Recovery for SharePoint Technologies

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.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


High availability and disaster recovery for sharepoint technologies l.jpg

IW316

High Availability and Disaster Recovery for SharePoint Technologies

Joel Oleson

http://blogs.msdn.com/joelo

Sr. Technical Product Manager

Microsoft Corporation


Session objectives and takeaways l.jpg

Session Objectives And Takeaways

  • Backup/Restore Options

  • Disaster recovery methods

  • High Availability Options

    • Third Party Backup & High Availability Products


Backup and restore types l.jpg

Backup and Restore Types

Disaster Recovery

Content Recovery

High Availability

  • End user driven

  • Accidental update or deletion

  • Frequent and small-scale

Farm or database restore

Hardware failure or disaster

Hardware migration or replacement

Minimize downtime

Large amounts of data

Redundancy

Additional hardware


Content recovery solutions l.jpg

Content RecoverySolutions

  • Recycle Bin

  • Versioning

  • SQL DB Snapshots

  • Web Delete Event

Mostly end-user driven and sometimes admin


Recycle bin l.jpg

“I just deleted my deck and my presentation is in an hour!”

Recycle Bin

  • End user driven

  • Supports lists, doc libs, folders, docs, and items

  • Security trimmed

  • 2 stages

    • End User

    • Admin

  • Site collection level


Recycle bin two stages l.jpg

Recycle BinTwo Stages

  • 1st stage: end user deletes file/item

    • Appears in end user & site collection recycle bin

    • End user or site coll admin can restore

  • 2nd stage: end user empties recycle bin

    • Appears in site collection recycle bin

    • Site collection admin can restore


Recycle bin special features l.jpg

Recycle BinSpecial Features

  • Quotas

    • 1st stage counts for site collection quota

    • 2nd stage is part of “recycle bin quota”

      • Adds 50% by default

  • Auto-delete Service

    • Permanently deletes items (1st or 2nd stage) that have been deleted for more than X days

    • 30 days by default


Versioning l.jpg

Versioning

  • Pros:

    • Support both list item and document versioning

    • End users can retrieve earlier versions

  • Cons:

    • Versions count towards site quota

    • Functionality needs to be turned on per list (default no)

    • No support for Folder, Web and Site

“I made some changes but now I want to go back to a previous version!”


Sql database snapshots l.jpg

SQL Database Snapshots

  • SQL 2005 feature

  • Focused on preventing end user error

  • Not a backup or high availability solution

  • Record is changed in current DB, original value for that record is copied

  • Allows you to retrieve data from snapshot point

  • Efficient space usage

  • Recently posted KB Article: http://support.microsoft.com/?id=929649


Web delete event l.jpg

Web Delete Event

“There’s no recycle bin for sites!”

“I deleted my site, but now I want it back!”

  • SharePoint Object Model allows developer to custom build backup solutions at the “web delete” event

  • Sample: MS IT Site Delete Capture 1.0

  • http://www.codeplex.com/governance

  • SPWebEventReceiver.WebDeleting

Web Deleting

event fired

Automatically

backup the site

Site owner

deletes site


Web dele te event l.jpg

Web Delete Event

  • Pro:

    • Extensible

    • Sample available at: http://www.codeplex.com/governance

  • Con:

    • No out-of-box solution

Over 1000

Downloads


Migrate a site l.jpg

Migrate a Site

Content Migration: replaces smigrate.exe

STSADM –o export –url <url> -f mysite.cmp

STSADM –o import –url <url> -f mysite.cmp

Public file format to represent site

Additional options available via the Object Model

Fine-grained scope selection (SPWeb SPListItem)

Incremental migration (since given change token)

Limitations:

Only migrates site level and below

Not full fidelity: Cannot migrate workflow, alerts, features, solutions, recycle bin state

“I want to move my site to another farm!”

“What happened to Smigrate?”


Migrate a site collection l.jpg

Migrate a Site Collection

STSADM –o backup –url <url>

Pros:

Large scale content and security backup at site collection level

New read-only lock to prevent potential inconsistencies

Cons:

Performance-sensitive operation

Not ideal for frequent large backups on busy site collections

“I want to backup my site collection and migrate it to a different Content Database!”


Backup and restore types15 l.jpg

Backup and Restore Types

Disaster Recovery

Content Recovery

High Availability

  • End user errors

  • Accidental update or deletion

  • Frequent and small-scale

Farm or database restore

Hardware failure or disaster

Hardware migration or replacement

Minimize downtime

Large amounts of data

Redundancy

Additional hardware


Disaster recovery solutions l.jpg

Disaster RecoverySolutions

  • SharePoint Backup/Restore

  • SQL backup and restore

  • 3rd party solutions

Use when hardware fails, and as a last resort for service level agreement.


Sharepoint backup restore l.jpg

SharePoint Backup/Restore

“I have a small to medium deployment. Do you have anything for me out of the box?

Yes!

Out of the box backup/restore UI and command line for central administrators

Our recommended solution for small-medium deployments!


Sharepoint backup restore how it works l.jpg

SharePoint Backup/RestoreHow it works

Central Admin Console

Farm

File Server

SQL Backup/Restore


Sharepoint backup restore details l.jpg

Out of the Box UI and command line access for Central Administrator

‘Hooks up’ SharePoint databases and search index on Restore

Supports Full and Differential backup

Backs up the search index

Extensible framework for 3rd party applications

SharePoint Backup/RestoreDetails


Sharepoint backup restore limitations l.jpg

Use the command line with Windows Task Scheduler for scheduled backups

Backs up content databases and search index

You must manually backup front end files

We recommend you keep images of your web front ends

High restore time  Low availability

SharePoint Backup/RestoreLimitations


Sharepoint backup restore21 l.jpg

demo

SharePoint Backup/Restore


Sql only backup restore l.jpg

SQL-Only Backup/Restore

  • Pros:

    • Reuse existing technology and processes

    • Non-application specific

  • Cons:

    • Post-restore reattachment and clean up

    • Search index must be backed up separately via SharePoint backup

“My SQL servers are managed by a separate organization or data center from my SharePoint installations.”


Solution for each scenario l.jpg

Solution for each scenario

  • For Disaster Recovery:

  • To create a mirror farm:

    • Use stsadm –o backup/restore

  • To migrate a site collection:

    • Use stsadm –o backup http://server/site

  • To migrate a site/list/library/item:

    • Use stsadm –o export/import for sites

    • Use Site Manager within Site collection


3rd party backup tools l.jpg

3rd Party Backup Tools

What to look for in a 3rd party solution

Does it back up the Search Index or SSP?

Does it require post-restore manual work

SharePoint integration with VSS framework

Easier for 3rd parties to write custom backup/restore tools

Entire server (search index is included)

Only supports catastrophic overwrite scenario (not migration)

“I want to use a custom or 3rd party tool to backup/restore my farm! Does SharePoint support that?”


3 rd party backup tools l.jpg

3rd Party Backup Tools

  • “As companies move to SharePoint, one likely impact will be a transition from backing up lots of files housed in shared file systems to backing up monolithic databases. As might be expected, Microsoft provides some basic functional tools for backup, but to effectively manage SharePoint data most organizations will turn to third party tools.”

  • From Computerworld – Jan 23, 2007

  • http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9008906


3 rd party backup tools26 l.jpg

3rd Party Backup Tools

  • CommVault SharePoint Solutions

    • Data Protection – item level restore, database restore, front end files including web part assemblies and IIS config

    • Replication – move data across servers, support for snapshot recovery

    • Data Resource Management – monitor and manage disk usage, including archives, backup copies, and replication copies

    • Etc.

      http://www.commvault.com/solutions/sharepoint/


3 rd party backup tools27 l.jpg

3rd Party Backup Tools

  • AvePoint – DocAve 4.1

    • Enterprise Backup – data compression, item level restore

    • Content Manager – copy live contents across sites, servers, and farms

    • Archiver – complete archive solution

    • Etc.

      http://www.avepoint.com/products/DocAve4_0.htm


3 rd party tools l.jpg

3rd Party Tools

  • NeverFail

    • Providing End-to-End High Availability and Disaster Recovery for SharePoint Environments

    • NeverfailLow Bandwidth Module — a data compression tool — is available to optimize and reduce the amount of data that is transmitted between the servers

    • Etc.

      http://www.neverfailgroup.com/products/app-modules/sharepoint.aspx


Microsoft data protection manger dpm l.jpg

Microsoft Data Protection Manger (DPM)

  • Part of System Center

  • Beta 2 release supports WSS 3.0 and SharePoint Server 2007

  • Uses SharePoint VSS writer, Import/Export to backup and restore SharePoint

    • Can restore servers to individual items

  • Use a recovery server in order to extract item level data from their VSS backups

  • Has integrated UI experience for disk based and tape backups

    http://www.microsoft.com/systemcenter/dpm/default.mspx


Backup and restore types30 l.jpg

Backup and Restore Types

Disaster Recovery

Content Recovery

High Availability

  • End user errors

  • Accidental update or deletion

  • Frequent and small-scale

Farm or database restore

Hardware failure or disaster

Hardware migration or replacement

Minimize downtime

Large amounts of data

Redundancy

Additional hardware


High availability solutions l.jpg

High AvailabilitySolutions

  • SQL 2005

    • Database Mirroring and Log Shipping

    • SQL Clustering


Database mirroring l.jpg

Database Mirroring

  • Implemented on a per database level

  • Transaction logs sent from principle to mirror

  • Provides a “warm” standby in case of failure

  • Principal and mirror must be separate SQL 2005 SP1 servers (Enterprise or Standard)

  • Optional “witness” server to monitor primary and mirror to ensure both are working

    • Automatic failover - on failure the witness will turn the mirror into the principle

  • WSS v3 Whitepaper coming soon


Database mirroring33 l.jpg

Database Mirroring

  • Three modes that can be used:

    • High Availability: synchronizes transaction writes on both servers and enables automated failover (requires a witness server).

    • High Protection: synchronizes transaction writes on both servers, manual failover.

    • High Performance: writes are not synchronized on both servers, offering some performance gains. Assumes everything will complete successfully on the mirror.


Database mirroring34 l.jpg

Database Mirroring

Supported

Topology

Unsupported

Topology

Supported

Topology


Database mirroring35 l.jpg

Database Mirroring

Witness Server

Principal

Down!

I’m OK!

New

Principal

Everything ok?

Everything ok?

Encrypted channel

Principal

Mirror


Sharepoint and mirroring l.jpg

SharePoint and Mirroring

  • When failover occurs need to notify SharePoint

  • Need to tell these DBs that a new server is now the principal:

    • Configuration Database, Admin Content Database

    • Content Database

    • Shared Service Provider Database (MOSS)

    • Search Database (MOSS)

  • Content DBs attach reattach

  • Config DB and admin content DB

    • stsadm.exe -o renameserver -oldservername <oldServerName> -newservername <newServerName>

  • (refer to TechNet whitepaper)


  • Log shipping l.jpg

    Log-Shipping

    • Backup/Restore based technology that relies on transaction log files

    • Need to have a shared folder that contains the log file backups

    • Configure the frequency of backups and shipping

    • No automatic failover

    • Allows you to replicate data to several databases (one to many)


    Log shipping mirror farm l.jpg

    Log-Shipping Mirror Farm

    “I want the minimal delay when my data center goes down!”

    “I need another farm to test my solutions before I put them into production!”

    • Mirror / failover farm

      • Warm backup for quick content recovery

      • Replicate primary farm on secondary system

      • SQL log shipping transfers content DB data

      • On disaster, router switches traffic in minutes

    • Limitations:

      • Must manually replicate configuration changes

      • Errors will be log shipped to mirror farm

      • Requires additional hardware

      • Search indexer must run separately on mirror farm

      • Secondary farm must be read-only


    Log shipping mirror farm39 l.jpg

    Log-shipping Mirror Farm


    Sql failover clustering l.jpg

    SQL Failover Clustering

    Hot backup: short recovery time

    Unattended application availability: automatic failover capability without administrator intervention

    “If my SQL server blows up (hardware failure), how do I keep my SharePoint farm running?”

    SharePoint Web Front Ends

    Server Cluster

    Heartbeat

    Node B

    Node A

    Shared Disk Array


    Log shipping vs clustering l.jpg

    Log-Shipping vs. Clustering


    Summary l.jpg

    Summary


    Your options l.jpg

    Your Options

    • Recycle Bin

    • Versioning

    • DB Snap Shots

    • Site Delete Capture (Web Delete Event)

    • 3rd party tools

    Disaster Recovery

    Content Recovery

    High Availability

    SharePoint backup/restore

    SQL-only

    3rd party tools

    Database Mirroring

    Log-Shipping

    SQL Clustering

    3rd party tools

    Which combination of tools is right for your customer?


    Related content l.jpg

    Related Content

    • How to use SQL Server to take a snapshot of a Windows SharePoint Services 3.0 content database

      • http://support.microsoft.com/?id=929649

    • Overview of Database Mirroring 

      • http://msdn2.microsoft.com/en-us/library/ms189852.aspx

    • Understanding Log Shipping

      • http://msdn2.microsoft.com/en-us/library/ms187103.aspx

    • Log Shipping and Mirroring

      • http://msdn2.microsoft.com/en-us/library/ms187016.aspx


    Related content45 l.jpg

    Related Content

    • Joel Oleson’s SharePoint Land Blog describes backup/ restore considerations based on deployment: http://blogs.msdn.com/joelo/archive/2006/10/06/SharePoint-Tech-Content-Database-sizing-and-capacity-planning-_2800_backup_2F00_restore-implications_2900_.aspx

    • Using Backup and Restore (Office SharePoint Server 2007): http://technet2.microsoft.com/Office/en-us/library/5a39029f-0939-452b-acd2-44ff87e7ff711033.mspx?mfr=true

    • Replication and High Availability

      http://blogs.msdn.com/joelo/archive/2007/04/02/replication-and-high-availability.aspx


    Don t delay take em today be one of the first to pass the new mcts exams l.jpg

    For ITPros: (RTM Exam)

    70-631 - Windows SharePoint Services 3.0 - Configuring

    70-630 - Office SharePoint Server 2007 - Configuring

    For Developers: (Beta Exam)

    70-541 - Microsoft Windows SharePoint Services 3.0 - Application Development

    70-542 - Microsoft Office SharePoint Server 2007 - Application Development

    DON'T DELAY – TAKE 'EM TODAY!!!Be one of the first to pass the NEW MCTS Exams!!!


  • Login