|
||||||||
|
If you have deployed SharePoint or are still in the planning phases, you probably have an ideal SharePoint scenario in mind, one where your intranet becomes useful again; your end users collaborate using team sites; and information is both organised and searchable. Now imagine your phone ringing at 2 A.M. with a voice on the other end saying, "SharePoint is down." You rush to the office to discover that your SharePoint server has suffered a massive hardware failure. Your SharePoint dreams may have just turned into a massive nightmare. As you get this sinking feeling, you're asking yourself one question, "Did we back up SharePoint?" Backups are a fundamental operational activity for any organisation, and backing up SharePoint is no exception. Unfortunately, backup planning and implementation are often overlooked. This article explains how to protect your SharePoint environment and the data it contains. Even though you can't always prevent disasters from occurring, you can take steps to ensure your data is protected and can be restored if a disaster does occur. Before jumping into setting up and configuring backups, it's worth reviewing some SharePoint protection options. High Availability Options The Microsoft-supported way to ensure SharePoint high availability is to create a SQL cluster to host the SharePoint databases and create multiple load-balanced front-end Web servers. Microsoft Clustering Services use an Active/Passive technology to provide high availability to applications such as SQL Server and Exchange Server. Microsoft Clustering Services requires at least two servers and shared storage such as a Storage Area Network (SAN) as shown in the bottom box in Figure 1. One server acts as the active node performing all the processing for the application. The other server acts as a passive server, simply standing by in case the primary server fails. If that happens, the passive or fail-over server immediately takes over processing.
After clustering your SQL Server, you will more than likely want to set up network load balancing between two or more web front-ends. After all, what good is a highly available database if the application on the front-end isn't online? You can use a hardware load balancer or the Microsoft Network Load Balancing Service (NLBS) to provide high availability and load balancing between multiple web front-ends as shown in the top box in Figure 1. The NLBS option balances traffic between the multiple front-end SharePoint servers during normal operations. When servers go offline, all traffic is diverted to the server(s) still online. The top box in Figure 1 depicts two Web front-end servers set up with network load balancing. This scenario balances all Web traffic between the two front-end servers. If one server fails, traffic would continue to be routed through the still-active web server. With high availability in place, you can turn your attention to putting a solid data backup plan in place. SharePoint Data Protection
If you decide to use this backup method, you must make sure to document your SharePoint configuration thoroughly. It's also important to include IIS configuration information in your SharePoint documentation. The second built-in backup method involves using SharePoint's native backup tools. You'll find these tools in a "Backup" section within the Central Admin application, and there are also some command line utilities that you can script. The primary advantage of using the native SharePoint backup tools is that you they can backup and restore your entire SharePoint farm configuration. When you need to restore of the farm, you can perform a fresh install of SharePoint, and then restore data and configuration information straight from Central Admin or a script. The native tools let you backup things you might miss using SQL backups, such as Shared Service Providers (SSPs) and search configurations. They also make it easy to choose which Web applications, content databases, and configurations you want to backup. Regardless of which method you select, you should perform regular restores to a test environment to check the backup plan. If you can't restore the data, backups are useless. As you do so, document the entire recovery process, so that when a real emergency restore situation occurs, you won't have to guess which step to perform next. The SharePoint restore process is also a great way to build test and dev environments that mimic your production deployment. You can quickly configure and perform a backup of your entire farm or individual components by performing the following steps:
You can monitor the backup progress in the Central Admin console. After the backup completes, verify there were no errors. Increase Safety with Offsite Data Replication You can accomplish this using SQL log shipping to send the SQL transactions logs from the production SQL server to a stand-by SQL server in your secondary data centre. Log shipping is a SQL server technology that copies transaction logs from one server to another—either on a local network or over wide area network (WAN) links. Log shipping is supported only for the content databases; therefore, in the event of a disaster, you will need to have a SharePoint farm set up in the secondary data centre and manually configured to match the primary data centre. Like your backup plan, you should thoroughly test and document the procedures as part of your SharePoint deployment. To setup SQL Log Shipping to provide disaster recovery, perform the following:
In the event of a disaster you would need to bring the databases out of standby/read-only mode and update your DNS records to point to the new SharePoint farm. Planning for backups, availability, and disaster recovery is a critical step in deploying SharePoint. It's also important to test and document these processes on a regular basis. You will sleep better at night knowing you have a well-tested SharePoint protection plan in place. * This article originally appeared at http://www.sharepointbriefing.com/spservices/article.php/3806811/SharePoint-Protection-From-High-Availability-to-Disaster-Recoveryhtm. |
||||||||