Welcome to TechNet Blogs Sign in | Join | Help

Windows Server 2008, SQL Server 2008 Disaster Recovery Notes with SharePoint Products and Technolgies

In recent months there has been a great deal of discussion and debate on disaster recovery and high availability with Microsoft SharePoint Products and Technologies and with the recent releases of both Microsoft SQL Server 2008 and Windows Server 2008 there are open opportunities to leverage components available natively to these technologies and compliment a SharePoint Products and Technologies disaster recovery design.

One of the most significant challenges has been overcoming latency penalties applied through distance between the active and passive datacenters, particularly with Microsoft SQL Server Log Shipping since we're dealing with SMB and a synchronous process.  This is where both SQL Server 2008 and Windows Server 2008 come in...

SQL Server 2008 introduces backup compression which can be further integrated in the Microsoft SQL Server Log Shipping configuration (see also http://msdn.microsoft.com/en-us/library/ms188168.aspx).  By compression the Transaction Log backups and scheduling an aggressive backup schedule in the configuration and administrator can apply a general level of predictability surrounding the size and number of Transaction Log backups and make more efficient use of bandwidth where working with limited throughput and maintaining synchronicity is a concern.

To compliment a Microsoft SQL Server Log Shipping configuration, an administrator can leverage the improvements made to Distributed File System in Windows Server 2008 to optimize WAN performance when copying Transaction Log backups to a remote Secondary server instance.  Windows Server 2008 DFSR improvements include:

  • RPC Asynchronous Pipe vs. Multiple RPC Calls in Windows Server 2003 R2
  • Asynchronous I/Os vs. Synchronous I/Os in Windows Server 2003 R2
  • Unbuffered I/Os vs. Buffered I/Os in Windows Server 2003 R2
  • Low Priority I/Os vs. Normal Priority I/Os in Windows Serve 2003 R2
  • 16 Concurrent File Downloads vs. 4 Concurrent File Downloads in Windows Server 2003 R2

In this scenario, Windows Server 2008 DFSR would be configured with the Microsoft SQL Server 2008 backup and load shares as members of a replication group actively replicating Transaction Log backups generated in through the Microsoft SQL Server 2008 Log Shipping configuration.  The Microsoft SQL Server Log Shipping Copy job would be disabled permitting DFSR to perform replication between the shares.

So what about my Domain Controllers?

Windows Server 2008 introduces support for Read-Only Domain Controllers and additionally Windows Server 2008 DFSR improvements can be realized providing AD DS schema version 31.

Best Practice Resource Center is now live...

[To avoid common pitfalls and keep your Office SharePoint Server 2007 environment available and performing well, follow these best practices based on real-world experience from Microsoft Consulting Services and the product team.]

http://technet.microsoft.com/en-us/office/sharepointserver/bb736746.aspx

Microsoft SharePoint Administration Toolkit v2.0 Released

The Microsoft SharePoint Administration Toolkit contains functionality to help administer and manage Microsoft Office SharePoint Server 2007 and Windows SharePoint Services version 3.0.

http://www.microsoft.com/downloads/details.aspx?FamilyID=263cd480-f6eb-4fa3-9f2e-2d47618505f2&DisplayLang=en

Database Mirroring, Notes and Considerations

The question of Microsoft SQL Server 2005 Database Mirroring (DBM) continues to be a topic of discussion in implementation with Microsoft SharePoint Products and Technologies, attached is a set of key notes and considerations to take into account when implementing DBM.

Before implementing DBM with Microsoft SharePoint Products and Technologies, you must first understand that many applications are not natively aware of a Microsoft SQL Server 2005 Database Mirroring architecture in most cases.  With most applications, to include Microsoft SharePoint Products and Technologies, the application expectation is to consume storage from a single, specific source - generally a single instance (named or default) or cluster resource.

High Availability and Connectivity

DBM provides high availability (HA) at the database level, wherein a failure of a database is recoverable through its failover partner.  In addition, DBM also provides HA at the server level in which hardware failure is recoverable through the individual databases' failover partners.  In either scenario, the addressable database is that which is Principal, the Mirror database is in Recovery and cannot be addressed by the client application.  When database role reversal occurs, the addressable database resides on a separate physical instance, to which SharePoint is not configured to consume from.  By implementing Connection Aliases on the Web front-end computers using the SQL Server Client Network Utility, client connections can be redirected to the new instance hosting the Principal databases as a potential solution to these limitations.

In either scenario with DBM and Microsoft SharePoint Products and Technologies, due to the limitations as mentioned previously, a need to maintain database -> node majority is required - that being all databases as Principal should reside on the same SQL Server instance (think of it as a cluster group).  A bidirectional mirrored session, where one or more, but not all, databases reside on a separate physical instance as Principal will result in that content hosted in those databases to be unavailable to SharePoint (see the following illustrations).  In the event this occurs, the Web front-end computers Application Event Log will commonly provide two application events, not specific to the condition, but more over to overall database health.  The Event Id's in this scenario are 3760 and 5586.  By monitoring for the occurrence of these events in DBM, you can diagnose when a condition exists where database -> node majority is lost and reactively restore majority on either node and where necessary updating the Connection Alias on the Web front-end computers. 

An additional configuration that can be implemented as had been commonly implemented with Windows Server 2000 Domain Controllers is leveraging WLBS to provide a single cluster resource that the client application will use to establish its connections; however, in this scenario you need to be mindful of the NLB state to ensure that connections are not distributed, but are specific to only one node in the load balancing rotation which hosts the databases as Principal.  The server instance hosting the databases as Mirror should be suspended in WLBS to ensure client connections are not passed to it which will result in client errors, generally, presented as "An unexpected error has occurred." in the user interface.

The following illustrations examine several possible database level configurations and notes regarding each.

Illustrations

image

In the illustration above, connections are established to the server instance where all databases are Principal.  In this scenario, connections will be successful and there are no issues in your topology.  Failover to the partner will require either updating the Connection Alias or resuming the node in the load balancing rotation depending on the configuration used to establish the connection.

image

In the illustration above, connections are established to the server instance where the majority of databases are Principal.  In this scenario, connections are successful; however, content in Database B will not be served since the database is in Recovery.  Failover to the partner will require either updating the Connection Alias or resuming the node in the load balancing rotation depending on the configuration used to establish the connection and establishing database -> node majority.

image

In the illustration above, connections are established to the server instance where all databases are Mirror.  In this scenario, connections will be unsuccessful.  Failover to the partner will require either updating the Connection Alias or resuming the node in the load balancing rotation depending on the configuration used to establish the connection.

Operating Modes

When running in high safety mode with automatic failure, implying a Witness server instance is configured in the DBM architecture, you should consider configuring the failover partner timeout value to a value that provides a level of assurance that the Principal database can sustain protracted issues, to include blocking, secure channel float, etc.  that may cause a bidirectional mirrored state inadvertently.  The default failover partner timeout value is 20 seconds, and generally 120 seconds offers increased level of protection with Microsoft SharePoint Products and Technologies.  To ensure database -> node majority and enforce failover only when a catastrophic issue occurs at the instance or server level, you should consider using the high safety without automatic failover DBM operating mode.  The high safety without automatic failover mode provides synchronous mirroring and requires manual intervention in the event one or more databases needs to be failover over to the failover partner.

Recovery Models

Another consideration when implementing DBM is that the databases participating in the DBM session must use the Full Recovery Model.  While Simple is the most commonly implemented Recovery model, you should keep aware that this may introduce operational complexity into your design and also ensure your operations staff and DBA's are familiar with the Full Recovery Model.

In conclusion, before implementing DBM, you should consider the impact on your topology and understand the support boundaries as documented in White paper- Using database mirroring (Office SharePoint Server) or Using database mirroring with Windows SharePoint Services (white paper).

Posted by William Baer | 3 Comments
Filed under:

Plan for Availability Whitepaper Published

The Plan for Availability whitepaper has been published and describes at a high level, the varying methods to achieve high-availability, associated costs, and challenges specific to designing a high-availability solution for Microsoft SharePoint Products and Technologies.

Read more...

Microsoft SharePoint Products and Technologies Infrastructure Update Released!

The Microsoft SharePoint Products and Technologies Infrastructure Update has been officially released. The update includes both improvements in core functional scenarios such as Office SharePoint Server Search with the introduction of S2 in addition to management enhancements resolving core customer issues such as scalability and performance improvements to support search incremental crawl (WSS), patch and upgrade of WSS server farms where a large number of host header-based site collections are implemented, support for Kerberos authentication to access SSP Web services, and more...

Download

Microsoft Office SharePoint Server 2007

x86 - http://www.microsoft.com/downloads/details.aspx?FamilyId=256CE3C3-6A42-4953-8E1B-E0BF27FD465B&displaylang=en

x64 - http://www.microsoft.com/downloads/details.aspx?FamilyId=6E4F31AB-AF25-47DF-9BF1-423E248FA6FC&displaylang=en

Windows SharePoint Services 3.0

x86 - http://www.microsoft.com/downloads/details.aspx?FamilyId=3811C371-0E83-47C8-976B-0B7F26A3B3C4&displaylang=en

x64 - http://www.microsoft.com/downloads/details.aspx?FamilyId=3A74E566-CB4A-4DB9-851C-E3FBBE5E6D6E&displaylang=en

Developing Web Parts, considerations on Microsoft SharePoint Products and Technologies

Background Information

Web Parts as defined by MSDN are an integrated set of controls for creating Web sites that enable end-users to modify the content, appearance, and behavior of Web pages in a browser.

In Windows SharePoint Services 3.0 Web Parts ultimately derive from the ASP.WebPart (System.Web.UI.WebControls.WebParts) base class; however, Windows SharePoint Services 3.0 also has a Web Part base class (Microsoft.SharePoint.WebPartPages.WebPart) derived from the ASP.WebPart class.  If you are developing Web Parts you can elect to derive from either the Asp.WebPart or WSS.WebPart; however you should carefully consider your approach before developing custom Web Parts for use with Windows SharePoint Services 3.0.  To help define the differences, we'll examine each class and their respective pros and cons.

ASP.NET Web Parts

When deriving from the ASP.WebPart your Web Part derives directly from the ASP.WebPart class which does not have a dependency on Windows SharePoint Services 3.0 code so it can be used in both ASP.NET Web sites or a Windows SharePoint Services 3.0 site collection/Web.  To ensure the Web Part customization is sustainable you should consider using the ASP.WebParts.  ASP.WebParts are exportable using the .webpart extension, can be displayed in SPD using attribute markup and are persisted to the Windows SharePoint Services store in binary Web Part format.

Hybrid (ASP.NET 2.0 + Windows SharePoint Services Web Parts)

Hybrid Web Parts typically derive from the Wss.WebPart base class; however, adhere to the design guidelines for ASP.WebParts though the dependency on WSS.WebPart implies its use strictly in a Windows SharePoint Services 3.0 site collection/Web.  Hybrid Web Parts should be considered only where features provided in the WSS.WebParts class are required, for example, client-side connections.  Hybrid Web Parts can also be used in version to version upgrades where the existing legacy hybrid Web Part cannot be retired in favor of a ASP.WebPart.  Hybrid Web Parts are exportable using the .webpart extension, can be displayed in SPD using attribute markup and are persisted to the Windows SharePoint Services store in binary Web Part format.

Windows SharePoint Services Web Parts

WSS Web Parts derive from the WSS.Web Part base class and meet the guidelines as provided by the Windows SharePoint Services 2.0 Web Part design guidelines.  The WSS.WebPart class is obsolete and is retained solely for backwards compatibility.  Wss.WebParts are exportable using the .dwp extension, can be displayed in SPD using XML Markup and are persisted to the WSS store in a compressed XML format.

The bottom line is, if you are considering developing custom Web Parts you should consider deriving from the System.Web.UI.WebControls.WebParts.WebPart class and referencing the MSDN guidance on developing ASP.NET Web Parts to ensure the Web Parts to maximize interoperability and sustainability.

Resources

Working with ASP.NET 2.0 Web Parts and Windows SharePoint Services 3.0

http://msdn.microsoft.com/en-us/library/bb153523.aspx

Discover Significant Developer Improvements in SharePoint Services (Integration with ASP.NET 2.0 Web Parts)

http://msdn.microsoft.com/en-us/magazine/cc163578.aspx

Use Windows SharePoint Services as a Platform for Building Collaborative Apps, Part 2

http://msdn.microsoft.com/en-us/magazine/cc188713.aspx

Windows SharePoint Services Developer Center

http://msdn.microsoft.com/en-us/sharepoint/default.aspx

Developing Web Parts (Developer Center)

http://www.microsoft.com/click/SharePointDeveloper/

Windows SharePoint Services Version Comparison

http://office.microsoft.com/en-us/sharepointtechnology/FX101862291033.aspx?ofcresset=1&mode=print

Posted by William Baer | 1 Comments
Filed under:

Master Page Example

I used the sample master pages at http://office.microsoft.com/en-us/sharepointdesigner/HA102223711033.aspx in several Feature Stapling/Receiver demonstrations over the past year and was asked if I could provide the solution package I compiled using the Clarity master page (see image) in conjunction with a Feature Receiver to update the master page on both site collections and Webs.  I've finally gotten around to uploading the .wsp, so for those interested it can be downloaded here.

Usage:

Copy the Clarity Master Page.wsp to a location on a Web front-end computer.

Open a Command Prompt and change directories to %commonprogramfiles%\Microsoft Shared\Web Server Extensions\12\BIN\.

Run STSADM -o addsolution -filename "<path>\Clarity Master Page.wsp" and wait for the operation to complete.

Run STSADM -o deploysolution -name "Clarity Master Page.wsp" -immediate -force -allowGacDeployment and wait for the operation to complete.

Run STSADM -o execadmsvcjobs and wait for the operation to complete.

NOTE Existing site collections will not be affected and can be modified either through SPD or the SharePoint UI.

Newly created site collections and Webs will receive the Clarity master page.

Posted by William Baer | 1 Comments
Filed under:

Microsoft Windows Server 2008 as a Host Operating System for Microsoft Virtual Server 2005

Suppose you would like to use Windows Server 2008 as your host operating system, but the system does not provide support for Hyper-V.  The good news is that Microsoft Virtual Server 2005 will install and run under Windows Server 2008 providing the following conditions are met (including the Virtual Server Administration Web site):  see notes http://support.microsoft.com/kb/948515.

  1. You need to run Virtual Server 2005 R2 SP1
  2. You must have KB948515 applied to enable Windows Server 2008 host operating system support (http://www.microsoft.com/downloads/details.aspx?FamilyID=a79bcf9b-59f7-480b-a4b8-fb56f42e3348&displaylang=en)
  3. Internet Information Services 7.0 is configured to support the Virtual Server Administration Web site

Obtaining Virtual Server 2005 R2 Service Pack 1

Microsoft Virtual Server 2005 R2 Service Pack 1 (SP1) QFE contains the latest software updates for Virtual Server 2005 R2 SP1.

Download Microsoft Virtual Server 2005 R2 Service Pack 1 - http://technet.microsoft.com/en-us/evalcenter/bb738033.aspx

Release notes for Virtual Server 2005 R2 Service Pack 1 - http://technet2.microsoft.com/windowsserver/en/library/60009f7c-9a6b-472c-949a-4f047e791dd21033.mspx?mfr=true

Obtaining KB948515

This update for Microsoft Virtual Server R2 SP1 includes support for the following additional Host and Guest Operating Systems

Additional Guest Operating System support:
Windows Vista® Ultimate Edition with Service Pack 1 (SP1)
Windows Vista® Business Edition with Service Pack 1 (SP1)
Windows Vista® Enterprise Edition with Service Pack 1 (SP1)
Windows Server® 2008 Core
Windows Server® 2008 Standard
Windows Server® 2008 Datacenter
Windows Server® 2008 Enterprise
Windows Server® 2008 Small Business Server
Windows XP Professional with Service Pack 3

Additional Host Operating System support:
Windows Vista® Ultimate Edition with Service Pack 1 (SP1) (non-production use only)
Windows Vista® Business Edition with Service Pack 1 (SP1) (non-production use only)
Windows Vista® Enterprise Edition with Service Pack 1 (SP1)(non-production use only)
Windows Server® 2008 Core
Windows Server® 2008 Standard
Windows Server® 2008 Datacenter
Windows Server® 2008 Enterprise
Windows Server® 2008 Small Business Server
Windows XP Professional with Service Pack 3 (non-production use only)

Download details:  Virtual Server 2005 R2 Service Pack 1 Update - http://www.microsoft.com/downloads/details.aspx?FamilyID=a79bcf9b-59f7-480b-a4b8-fb56f42e3348&displaylang=en

Configuring Internet Information Services 7.0

To enable the Virtual Server Administration Web site on Windows Server 2008, Internet Information Services 7.0 should be configured as provided in the steps below:

On the host machine click Start and select Server Manager.

Click Roles.

Click Add Roles (see illustration).

image

On the Add Roles Wizard click Next >.

Select Web Server (IIS) from the list of available Roles.  Click Add Required Features on the Add features required for Web Server (IIS) page if prompted and then click Next >.

Click Next > on the Web Server (IIS) page.

On the Select Role Services page select the checkbox labeled CGI under Application Development.

On the Select Role Services page select the checkbox labeled Windows Authentication under Security.

On the Select Role Services page select the checkbox labeled IIS 6 Metabase Compatibility under Management Tools | IIS 6 Manageability Compatibility.

Accept the remaining default values and click Next > on the Select Role Services page.

Click Install on the Confirm Installation Selections page.

Click Close on the Installation results page.

The Web Server Role Services should appear similar to those as provided in the illustration below:

image

NOTES

If presented with a 401.2 error when browsing the Virtual Server Web application, ensure Windows Authentication is enabled both at the Web server and Web site levels, if the error persists, enable Anonymous Authentication for the Web site.  Authentication models can be configured in the Internet Information Services (IIS) Manager.

The Virtual Server Administration Web site requires scripting to be enabled for navigation.  To enable scripting, either add the Virtual Server Administration Web site to the Trusted Sites zone or optionally disable Internet Explorer Enhanced Security Configuration.

To configure Virtual Server settings using the Virtual Server Administration Web site you must run Internet Explorer as an Administrator in Windows Server 2008.

In the event an access denied-type message is presented when browsing the Virtual Server Administration Web site after performing the previous steps, reinstall Microsoft Virtual Server 2005 R2 Service Pack 1 after configuring Internet Information Services 7.0 as specified above.

Posted by William Baer | 1 Comments
Filed under:

SELECT FullUrl [Please Don't] from dbo.Webs

I was just browsing Mike Fitzmaurice's blog and I'm glad to see he continues to dissuade direct database access with Microsoft SharePoint Products and Technologies.  All too often I've seen what was conceptually a good idea, result in performance, scalability, and manageability problems long term.  While initially an otherwise simple SELECT statement, yes, even read, may be perceived as non-intrusive, problems later down the road may be compounded by what was offered as a "simple means" to getting a particular task accomplished.

Most often instances of directly reading and/or writing to SharePoint Products and Technologies databases occur in what I call a dotted-line deployment, where there is little or no separation of those who are responsible for Microsoft SharePoint Products and Technologies and those responsible for hosting and maintaining the database servers.  The problem is less frequent where there are distinct groups of individuals responsible for their respective technologies, a more physically separated deployment and management approach.  But in either case, the possibility exists.

So what's the problem:

Consider dirty reads, while SQL servers' default behavior is Read Committed Isolation Model, in this scenario while SQL server will not allow transactions to read data written to a table by an uncommitted transaction, phantom and non-readable reads are fair game.  And then we have record locking, so in the event the individuals actions result in concurrent collisions, SQL server will do its best to protect itself from the individual or otherwise you from yourself, but this comes with a measurable performance penalty.  Since this post is intended to promote a programmatic approach to accessing data stored in Microsoft SharePoint Products and Technologies databases, we won't discuss the last set of statements with using SELECT and disabling record locking.  ;-)

With that said, I am equally pleased to see both the Microsoft Asset Inventory Tool and Nintex Reporting 2008 offer a robust reporting solution that avoid directly accessing the database(s), using SOAP, WMI, and other providers to extrapolate the data and provide a presentation layer for the end-user or IT Pro.  Not only are these great reporting applications, but serve as an example of how a well thought solution can be implemented without compromising the integrity of the environment.

In conclusion, use the Object Model when and wherever possible to replace directly accessing Microsoft SharePoint Products and Technologies databases, it provides protection in the form of supportability, reduces operational complexity, and enables an upgrade path for your solutions when the time arises and can manage database schema changes, all of which are not guaranteed when manipulating databases directly with Transact-SQL and/or other methods.

Resources

SharePoint Database Access

http://msdn.microsoft.com/en-us/library/bb861829.aspx

Office Development (Microsoft SharePoint Products and Technologies)

http://msdn.microsoft.com/en-us/library/bb931739.aspx

Renaming Content Databases

I received an inquiry this morning on what procedural steps are required to rename a Windows SharePoint Services 3.0 content database and decided to make the information more broadly available.

Step 1 Detach Content Database

Detach the Windows SharePoint Services 3.0 content database from its associated Web application in either Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007 using the steps as outlined below:

  1. On a Web front-end computer open a command prompt and change directories to %commonprogramfiles%\Microsoft Shared\Web Server Extensions\12\BIN.
  2. Enter STSADM -o deletecontendb -url <http://<virtualServer> -databasename <databaseName> -databaseserver <databaseServer> and press Enter to detach the content database (Windows SharePoint Services 3.0/Microsoft Office SharePoint Server 2007).  For additional information on the addcontentdb operation see http://technet.microsoft.com/en-us/library/cc287664(TechNet.10).aspx.

NOTE Content databases optionally can be detached from their associated Web application using the SharePoint 3.0 Central Administration interface.  For additional information on managing and removing content databases using the SharePoint 3.0 Central Administration user interface see http://technet.microsoft.com/en-us/library/cc262440(TechNet.10).aspx#section3.  In Microsoft Office SharePoint Server 2007 you should run the STSADM preparetomove operation prior to detaching content databases.  This prevents the synchronization service from failing and losing user privacy settings for those sites after the sites are moved.

Step 2 Rename Content Database

Rename the content database (Microsoft SQL Server 2005 instructions)

  1. Connect to your database server and open SQL Server Management Studio.
  2. In Object Explorer connect to an instance of the SQL Server 2005 Database Engine, and then expand that instance.
  3. Set the database to single-user mode.  See http://msdn.microsoft.com/en-us/library/ms345598.aspx for instructions on how to set single-user mode using the SQL Server Management Studio.
  4. Expand the Databases node, right-click the database to rename, and then click Rename.
  5. Enter the new database name, and then click OK.

NOTE Renaming databases using SQL Server Management Studio will only rename the database, to rename the data and transaction log files you must use Transact-SQL following the steps as documented in the SQL Server 2005 Books Online at http://msdn.microsoft.com/en-us/library/ms174269.aspx.  Any time a database is renamed you should consider backing up the master database.

Step 3 Attach Content Database

After the database has been renamed on the database server, reattach the content database to its associated Web application be following the steps below:

  1. On a Web front-end computer open a command prompt and change directories to %commonprogramfiles%\Microsoft Shared\Web Server Extensions\12\BIN.
  2. Enter STSADM -o addcontentdb -url <http://<virtualServer> -databasename <databaseName> -databaseserver <databaseServer> and press Enter to attach the content database (Windows SharePoint Services 3.0/Microsoft Office SharePoint Server 2007).  When using a SQL login you supply the appropriate credentials using the -databaseuser and -databasepassword arguments.  To reconfigure the site warning and site maximum count for the content database, pass the -sitewarning and -sitemax arguments.  For additional information on the addcontentdb operation see http://technet.microsoft.com/en-us/library/cc288692(TechNet.10).aspx.

NOTE Content databases optionally can be attached to their associated Web application using the SharePoint 3.0 Central Administration interface.  For additional information on managing and adding content databases using the SharePoint 3.0 Central Administration user interface see http://technet.microsoft.com/en-us/library/cc262440(TechNet.10).aspx#section1.

Ensure all dependencies are updated to reference the new database name to include monitoring, backups, mirroring, etc.
Posted by William Baer | 3 Comments
Filed under:

Microsoft IT Site Delete Capture LE Version 1.0 Released

Microsoft IT Site Delete Capture LE version 1.0 has been released.

Microsoft Site Delete Capture LE version 1.0 is an Windows SharePoint Services 3.0 solution package that when deployed to a Windows SharePoint Services 3.0 or Microsoft Office SharePoint Server 2007 server farm enables administrators to create a snapshot of site collections and Webs when they are deleted through the SharePoint user interface, the SharePoint Administration Tool, or Microsoft Office SharePoint Designer 2007.

Microsoft IT Site Delete Capture LE 1.0 is a light-weight implementation of the Microsoft IT Site Delete Capture 1.0 offered as a Windows SharePoint Services 3.0 solution package. This build does not include e-mail notification logic and introduces deprecated application event logging.

Read more...

Posted by William Baer | 1 Comments
Filed under: ,

Microsoft Office SharePoint Server 2007 Data Protection and Recovery Whitepaper

The Microsoft Office SharePoint Server 2007 Data Protection and Recovery Whitepaper has been updated to include guidance for all sizes of enterprises, additional information on recovery environments, and updated guidance on managing the recovery of the Configuration Database. 

Read more...

Add this to your image...

One of the most common configuration inconsistencies I find in SharePoint farms is the Web application path, in most scenarios the Web applications are provisioned under the default root path of C:\Inetpub\wwwroot\wss\VirtualDirectories.  This is usually the result of oversight during the provisioning process. 

Windows SharePoint Services 3.0 provides a configuration field (see screenshot) that allows administrators to configure the path to the Web application host directory; however, in many cases, this setting is overlooked.  Unfortunately, once a Web application has been provisioned, the only reliable method of moving the Web application is to delete and recreate the Web application on the server farm.

image

Windows SharePoint Services 3.0 derives the directory information from the Web server registry setting at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\PathWWWRoot, this path is subsequently appended with \wss\VirtualDirectories.   To ensure Web applications are provisioned on the proper disk volume, modify the Registry values later in this post on your Web front-end computers to reference the desired path.  This can be modified either prior to or after Windows SharePoint Services 3.0/Microsoft Office SharePoint Server 2007 has been installed; however, any pre-existing Web applications will not reflect the path change (see above).

A Microsoft Internet Information Services best practice is to avoid using the default path (c:\inetpub\wwwroot) and moving Web content to a non-system directory.  By configuring the WWWRoot default path it provides a safeguard for oversight and promotes consistency across Web servers.

Configure the WWWRoot Default Path (Windows Server 2003)

  1. Click Start, and then select Run…
  2. In the Open field enter Regedit and click OK.
  3. Locate the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp key and modify the PathWWWRoot Value data to D:\Inetpub\vroots.
  4. Locate the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\ContentIndex\Catalogs\Web key and modify the Location Value data to d:\inetpub.
  5. Locate the HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\ContentIndex\Catalogs\Web key and modify the Location Value data to d:\inetpub.
  6. Locate the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ContentIndex\Catalogs\Web key and modify the Location Value data to d:\inetpub.
  7. Repeat steps 1 through 6 on each Web front-end and application server.

Some of the Registry keys in the steps above may not be available on all Web servers depending on configuration and Operating System versions.  Always backup the registry before modifying any Registry settings.

Watch SharePoint Grow!

I visited http://www.carbongrove.com on the commute home this evening and planted SharePoint.  Watch SharePoint grow at http://www.carbongrove.com/Trees/243029#g=0 or plant your own!

In partnership with a world leader in planting trees for environmental restoration, Windows Internet Explorer will sponsor the planting of up to 250,000 real trees in deforested regions around the globe.

Users simply need to visit their tree once a week and watch it grow.  After six weeks of your carbon reducing efforts, Windows Internet Explorer will sponsor the planting of a real tree.

For more information about Carbon Grove visit http://www.carbongrove.com/About.

More Posts Next page »
 
Page view tracker