Presentation is loading. Please wait.

Presentation is loading. Please wait.

High Availability and Disaster Recovery for SharePoint Technologies Joel Oleson Sr. Technical Product Manager Microsoft Corporation.

Similar presentations


Presentation on theme: "High Availability and Disaster Recovery for SharePoint Technologies Joel Oleson Sr. Technical Product Manager Microsoft Corporation."— Presentation transcript:

1

2 High Availability and Disaster Recovery for SharePoint Technologies Joel Oleson http://blogs.msdn.com/joelo Sr. Technical Product Manager Microsoft Corporation IW316

3 Backup/Restore Options Disaster recovery methods High Availability Options –Third Party Backup & High Availability Products

4 Content Recovery Disaster Recovery End user driven Accidental update or deletion Frequent and small-scale Farm or database restore Hardware failure or disaster Hardware migration or replacement High Availability Minimize downtime Large amounts of data Redundancy Additional hardware

5 Microsoft Confidential Recycle Bin Versioning SQL DB Snapshots Web Delete Event Mostly end-user driven and sometimes admin

6 Microsoft Confidential End user driven Supports lists, doc libs, folders, docs, and items Security trimmed 2 stages End User Admin Site collection level “I just deleted my deck and my presentation is in an hour!”

7 Microsoft Confidential 1 st stage: end user deletes file/item Appears in end user & site collection recycle bin End user or site coll admin can restore 2 nd stage: end user empties recycle bin Appears in site collection recycle bin Site collection admin can restore

8 Microsoft Confidential Quotas 1 st stage counts for site collection quota 2 nd stage is part of “recycle bin quota” Adds 50% by default Auto-delete Service Permanently deletes items (1 st or 2 nd stage) that have been deleted for more than X days 30 days by default

9 Microsoft Confidential 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!”

10 Microsoft Confidential 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 http://support.microsoft.com/?id=929649

11 Microsoft Confidential 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 “There’s no recycle bin for sites!” “I deleted my site, but now I want it back!” Site owner deletes site Web Deleting event fired Automatically backup the site

12 Microsoft Confidential Pro: Extensible Sample available at: http://www.codeplex.com/governance http://www.codeplex.com/governance Con: No out-of-box solution Over 1000 Downloads Over 1000 Downloads

13 Microsoft Confidential Content Migration: replaces smigrate.exe –STSADM –o export –url -f mysite.cmp –STSADM –o import –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?”

14 Microsoft Confidential STSADM –o backup –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!”

15 Content Recovery Disaster Recovery End user errors Accidental update or deletion Frequent and small-scale Farm or database restore Hardware failure or disaster Hardware migration or replacement High Availability Minimize downtime Large amounts of data Redundancy Additional hardware

16 Microsoft Confidential SharePoint Backup/Restore SQL backup and restore 3 rd party solutions Use when hardware fails, and as a last resort for service level agreement.

17 Microsoft Confidential “I have a small to medium deployment. Do you have anything for me out of the box? Our recommended solution for small-medium deployments! Yes! Out of the box backup/restore UI and command line for central administrators

18 File Server Farm Central Admin Console SQL Backup/Restore

19 Microsoft Confidential 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 3 rd party applications

20 Microsoft Confidential 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

21 SharePoint Backup/Restore

22 Microsoft Confidential 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.”

23 Microsoft Confidential 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

24 Microsoft Confidential What to look for in a 3 rd 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 3 rd 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 3 rd party tool to backup/restore my farm! Does SharePoint support that?”

25 Microsoft Confidential “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&article Id=9008906

26 Microsoft Confidential 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/

27 Microsoft Confidential 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

28 Microsoft Confidential NeverFail Providing End-to-End High Availability and Disaster Recovery for SharePoint Environments Neverfail Low Bandwidth Module — a data compression tool — is available to optimize and reduce the amount of data that is transmitted between the serversLow Bandwidth Module Etc. http://www.neverfailgroup.com/products/app-modules/sharepoint.aspx

29 Microsoft Confidential 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

30 Content Recovery Disaster Recovery End user errors Accidental update or deletion Frequent and small-scale Farm or database restore Hardware failure or disaster Hardware migration or replacement High Availability Minimize downtime Large amounts of data Redundancy Additional hardware

31 Microsoft Confidential SQL 2005 Database Mirroring and Log Shipping SQL Clustering

32 Microsoft Confidential 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

33 Microsoft Confidential 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.

34 Microsoft Confidential Supported Topology Supported Topology Unsupported Topology

35 Microsoft Confidential Witness Server Principal Mirror Encrypted channel Everything ok? Principal Down! I’m OK!New Principal

36 Microsoft Confidential 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 -newservername (refer to TechNet whitepaper)

37 Microsoft Confidential 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)

38 Microsoft Confidential 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 “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!”

39

40 Microsoft Confidential 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?” Server Cluster SharePoint Web Front Ends Shared Disk Array Node A Node B Heartbeat

41 Failover Clustering Log Shipping Mirror Farm The secondary node takes over immediately (hot) A delay occurs before the secondary node takes over (warm); some manual intervention Failure is automatically detectedFailure detected automatically (if using a witness) Failover is automatic Protects against failed service Does not protect against failed storage Protects against failed storage All databases protectedOnly log-shipped databases are protected Transactionally consistent Transactionally concurrentNot transactionally concurrent Limited distance (Win 2003)Unlimited distance Short time to recovery (seconds/minutes) Longer time to recover

42 All but Config 3 rd party solution Farm WSS UI or STSADM Full or Diff Web application WSS UI/SQL Backup Database STSADM site collection backup Site Collection STSADM export/import STP (no security, datetime stamps) Site (Web) Export/Import API code STP (no security, datetime stamps, limited on size) List Export/Import API code List Item

43 Content Recovery Disaster Recovery Recycle Bin Versioning DB Snap Shots Site Delete Capture (Web Delete Event) 3 rd party tools SharePoint backup/restore SQL-only 3 rd party tools High Availability Database Mirroring Log-Shipping SQL Clustering 3 rd party tools Which combination of tools is right for your customer?

44 How to use SQL Server to take a snapshot of a Windows SharePoint Services 3.0 content database –http://support.microsoft.com/?id=929649http://support.microsoft.com/?id=929649 Overview of Database Mirroring –http://msdn2.microsoft.com/en-us/library/ms189852.aspxhttp://msdn2.microsoft.com/en-us/library/ms189852.aspx Understanding Log Shipping –http://msdn2.microsoft.com/en-us/library/ms187103.aspxhttp://msdn2.microsoft.com/en-us/library/ms187103.aspx Log Shipping and Mirroring –http://msdn2.microsoft.com/en-us/library/ms187016.aspxhttp://msdn2.microsoft.com/en-us/library/ms187016.aspx

45 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 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 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

46 For ITPros: (RTM Exam) –70-631 - Windows SharePoint Services 3.0 - Configuring70-631 –70-630 - Office SharePoint Server 2007 - Configuring70-630 For Developers: (Beta Exam) –70-541 - Microsoft Windows SharePoint Services 3.0 - Application Development70-541 –70-542 - Microsoft Office SharePoint Server 2007 - Application Development70-542 DON'T DELAY – TAKE 'EM TODAY!!! Be one of the first to pass the NEW MCTS Exams!!!

47


Download ppt "High Availability and Disaster Recovery for SharePoint Technologies Joel Oleson Sr. Technical Product Manager Microsoft Corporation."

Similar presentations


Ads by Google