Skip Ribbon Commands
Skip to main content

Tales from a SharePoint farm

:

​​​​​​
Benjamin Athawes > Tales from a SharePoint farm > Posts > Content Deployment in SharePoint 2010
August 25
Content Deployment in SharePoint 2010

Whilst reviewing the content for exam 70-667 (TS: Microsoft SharePoint 2010, Configuring) this evening, I came across a SharePoint 2010 topic that I haven't previously covered in any great detail: Content Deployment​. Given that I wanted to recap the topic in advance of the exam anyway, I thought I would blog it in case anyone else in the SharePoint community is hoping to learn a little more about it. Note that content deployment is not new for SharePoint 2010 - it was present in MOSS, but I will be focussing on the 2010 implementation today.

In simple terms, content deployment is the authoring of content in one site collection that will be deployed to another site collection. A typical scenario for this feature is an Internet facing Web site that requires content authors to deploy to a staging environment prior to go-live. In these types of environments it is not uncommon to have one or more mandatory approval processes before content can be pushed to a public facing site - think corporate sites littered with legal jargon for example. Staging environments in this context can range from the use of a separate site collection in an "authoring" Web application (within the same SharePoint farm) to multiple pre-production farms in which content must be approved.

 

Typical two farm topology for Internet facing authoring scenarios.

You may be thinking that having an authoring farm may be a little overkill in some cases - and you would be right. Content deployment in SharePoint 2010 is not for everyone and typically covers scenarios where either security is a problem (i.e. authors should not be granted access to the production environment), or there are technical reasons for using a separate authoring farm (e.g. authors are publishing to an internal farm and external content is hosted on a farm with a completely different topology). Microsoft provide a good overview of Content Deployment in this PDF which gives further details. In many cases, organisations implementing a small or medium SharePoint 2010 farm may find that using publishing workflows within their production site collections to implement their content approval processes is sufficient.

For those that do decide that content deployment is appropriate for their environment, there are numerous considerations that you will need to note down. These include (amongst others):

  • The source and destination site collections must be in separate content databases. Given the typical usage scenario for content deployment this should not normally pose a problem but is one to bear in mind if simply experimenting on a VM.
  • The initial content deployment destination must be a blank site collection. You create a site collection and opt to select a template later on - do not create a site collection with a "blank template" as this is not classed as an empty site collection.
  • Content deployment is one way. There is no way of synchronising authoring and production environments, although typical usage scenarios deem this inappropriate anyway.
  • Import and export servers must both host an instance of the Central Administration Web site.

Without further ado, the steps for setting up a very basic content deployment job for test purposes are below.

Test environment:

  1. One SharePoint 2010 farm.
  2. Two Web applications: one for "authoring", one "production".
  3. One site collection at the root of the "authoring" Web application, created using the OOB "team site" template.

Steps to configure content deployment:

1. Create a blank site collection in the "production" Web application.

During this stage, ensure that you select "<Select template later>". Do not create a site collection using the "Blank Site" template, as this does not count as an empty site collection and content deployment will fail.

 

The initial content deployment job must be to an empty site collection - opt to select a template later.

2. Configure content deployment in Central Administration

Navigate to Central Administration > General Application Settings > Content Deployment > Configure Content Deployment. Opt to accept incoming Content Deployment jobs (allows content deployment jobs to be received from other farms) and for this test scenario we will choose not to require an encrypted connection for simplicity.

 

The Content Deployment section is located within "General Application Settings".

 

 

Accept incoming content deployment jobs and remove the encryption requirement (test scenarios only).

3. Configure new deployment path

A content deployment path is required to define a one-one relationship between a source and destination site collection for the purposes of content deployment. Once you have created a path, jobs can be scheduled and run on an ad-hoc basis to deploy content as required. Select your "authoring" Web application (i.e. the one with content) as the source and your "production" (empty) site collection as the destination. For the purposes of this test, simply enter the current central administration address, including the port number. Note that the name is simply for your own reference (I suspect given that this is SharePoint there is a GUID behind the scenes).

 

You will need to test your connection in order to populate the destination site collection list.

 

4. Create deployment job and run

Finally, you will need to create a deployment job. Jobs and deployment paths have a one-one relationship so you will need to create at least one job for each path you have specified. Select the "One time only" radio button to kick the job off immediately.

 

Create a schedule, or run the job now using the "One time only" option to test your new deployment path.

 

You can view current job status on the " Manage Content Deployment Paths and Jobs" page.

 

 

"Production" site collection with deployed content.

Summary

Although not appropriate for all environments (small environments may be able to make use of OOB workflows in a single production site collection), Content Deployment in SharePoint 2010 is a flexible solution that allows multi-step business approval processes for authored content to be implemented effectively. The solution can scale from a basic deployment path between two Web applications in one farm (as shown here) to a multiple farm authoring process appropriate for large scale validation and testing of custom content.

 

 Latest Video

 

Comments

Hi

You should enable a URL field and an author field in the comment section so people can let you know who they are / Z
 on 08/09/2010 07:14

lots of iissues with content deployment job

we are facing lots of iissues with content deployment job in sharepoint 2010 internet facing sites.

We have 2 host header site collections in a single web app.

We are getting lots of errors like

content deployment error 'Microsoft.SharePoint.SPException' : 'Could not find Feature

sometimes we get feature allready exists in site collection and job fails.

Content deployment seems not stable and we need some good alternative to trasfer content from qa to prod.

Is there any stable alternative to content deployment jobs?


--------------------------------------------------------------------------------
 on 11/01/2011 19:14

Getting huge errors for CD in SP 2011

While running Incremental Content deployment job for sub-site in SP 2010 from Source to Destination, job gets failed for following errors:
1. Cannot open file '******'
2. An unexpected error has occurred
3. A file with the name **/**/**.xsn already exists. It was last modified by on
4. A file with the name SiteCollectionImages/_t/***.jpg already exists. It was last modified by on

Can you please help me with this..
Where the problem lies?
 on 22/03/2011 13:13

errors for CD

Ninad,

It sounds like you are trying to deploy to a sub-site rather than a site collection.

A caveat of content deployment is that the source and destination site collections must be in separate content databases. You can't use CD to "deploy" to a sub site.

Ben
 on 03/04/2011 16:50

Content Deployment Import and Export Server Problem

Hi,

Intro:
I have two active directory domains (abc.com and xyz.com). My authoring SharePoint Server is under abc.com domain and the production is under xyz domain.

Problem:
When I am going to the production environment to accept contents deployment in CA -> General Configuration Settings -> Content Deployment Settings from the Source SharePoint Site Collection I am UNABLE to see the Source Server name in the list of import servers names to IMPORT contents from.

Please advise
 on 18/12/2011 23:11

Add Comment

Title (optional)


Body *


Your Name *


Your name will be published along with your comment.

URL (optional)

Type the Web address: (Click here to test)  

Type the description: 

Email (optional)


What is 1+2? *


To confirm you aren't a bot.

Attachments

MCTS Logo
 

 SharePoint tip of the day

 
  
  
At its core, SharePoint Foundation is a provisioning engineInside Microsoft SharePoint 2010
"STS" stands for "SharePoint Team Services"SharePoint 2010 Professional Administration
"vti" stands for Vermeer Technologies, Inc., the company that created FrontPageVarious sources
20 Web applications per SP2010 farm is a reasonable limitSpencer Harbars
The client-side object model was introduced in SharePoint 2010.Inside Microsoft SharePoint 2010
SharePoint 2010 projects must be configured to target .NET Framework 3.5Inside Microsoft SharePoint 2010
SharePoint 2010 is 64-bit only, no exceptions.Technet
Never access the SharePoint configuration database or any of the content databases directly. Use the OM.Inside Microsoft SharePoint 2010
The MSFT recommended limit of 10 applies to content application pools only, not service endpoints.Spencer Harbars
16 GB RAM is recommended for DB servers in medium sized SP2010 farms.Technet
Pre-grow SP2010 content databases for performance reasons.Technet
A SP2010 Standard FIS license is limited to a single AD domain and related subdomains.sharepoint.microsoft.com
BLOB caching can be used with host-named site collections in SP2010.SharePoint Server Caches Overview
Use an XML webpart with XSL to create a RSS feed viewer in SP2010 Foundation.Dux Raymond
Restoring a SharePoint SQL config DB backup is NOT supported, so ensure you document/backup your farm settings!Sean McDonough
Look after your SQL tempdb. It is used constantly!Michael Noel
Splitting your tempdb for performance should be based on physical - not virtual - CPU cores.Michael Noel
SQL Server 2008 R2 is strongly recommended over RTM for performance reasons.Michael Noel
Implement a 1:1 ratio of physical to virtual cores in your virtualised SP2010 farm for performance.Michael Noel
Office 365 represents a shift from capital expenditure to operational expenditure.Matt Groves
Following an upgrade to SP2010, you can still switch back to V3 visuals using PowerShell.Todd Klindt
A feature instance is what gets created when a user activates your feature definition.Inside Microsoft SharePoint 2010
SharePoint creates feature instances with entries in either a content db or the config db depending upon feature activation scope.Inside Microsoft SharePoint 2010
The only file that is required for every feature definition is the feature manifest file that must be named feature.xml.Inside Microsoft SharePoint 2010
The 4 possible feature activation scopes are Web, Site, WebApplication and Farm.Inside Microsoft SharePoint 2010
SharePoint does not allow two versions of a feature definition to be installed side by side within the same farm: Updated versions overwrite earlier versions.Inside Microsoft SharePoint 2010
The only way to back up your AAM configuration is to document itSpencer Harbars
SP2010 automates SQL index defragmentation & statistics maintenance"Database Maintenance for Microsoft® SharePoint® 2010 Products"
The DBCC CHECKDB command should be run on SharePoint DBs once a week."Database Maintenance for Microsoft® SharePoint® 2010 Products"
Do not auto-shrink databases or configure a maintenance plan that programmatically shrinks your databases."Database Maintenance for Microsoft® SharePoint® 2010 Products"
1 - 30Next
Sponsored Links





 

 Recent Posts

 
  
  
  
0
  
0
  
0
  
7
  
2
1 - 5Next

© Copyright 2010 Benjamin Athawes. Site powered by fpweb.net.