getting started with content deployment in share point 2013 spbizconf 2015
TRANSCRIPT
#SPBizConf @pgbhoyar
WWW.SPBIZCONF.COM
Getting Started with Content Deployment
#SPBizConf @pgbhoyar
2
• Senior Consultant at Portal Solutions
• University of Maryland College Park
Alumni
• Recipient of Antarctic Service Medal
• Technical Reviewer of the book “Pro :
SharePoint 2013 Administration”
Who AM I ?
#SPBizConf @pgbhoyar
About Portal Solutions
We deliver Digital
Workplace Products
and Solutions that help
organizations share
what they know and
find what they need by
connecting people,
data, and content.
3
#SPBizConf @pgbhoyar
• What is Content Deployment?
• Content Deployment Topologies
• How does content deployment work?
• How to setup Content Deployment?
• Common Misconceptions
• How to Test/Debug Content Deployment?
• Common Issues and Fixes• Best Practices
Agenda
Outcome:
Familiarity with
Content
Deployment
Objective: Getting
Started with
Content
Deployment
#SPBizConf @pgbhoyar
Content Deployment is available only in On Premise version of SharePoint 2007,
2010, 2013 and may be available in SharePoint 2016
Spoiler Alert…
#SPBizConf @pgbhoyar
#SPBizConf @pgbhoyar
To create websites Intranet
Extranet
Public Facing WebSites
Document Management System
Collaboration System
Content Management System
7
What is SharePoint?
#SPBizConf @pgbhoyar
8
Image Source : http://threestepsbusiness.com/content-is-king-bill-gates/
Bill Gates Once Said..
#SPBizConf @pgbhoyar
#SPBizConf @pgbhoyar
• Moving published contents from one site collection to another
AuthorsAuthoring
Environment
Publishing
Environment
Internet/Intranet
visitors
What is Content Deployment?
#SPBizConf @pgbhoyar
What is Content
Deployment? Allows Designers and Content
Publishers to work on Non
Production Environment
Helps in Regulatory/Legal
Requirements
Helps in applying tighter security
Helps in disaster recovery
Good for public facing web sites
and static contents
#SPBizConf @pgbhoyar
List
Libraries
Documents
Metadata
Pages
Other resources used by the deployed pages
12
What’s get Carried Over?
#SPBizConf @pgbhoyar
Full Trust Solutions
Workflows
Full Trust Assemblies
File System Changes
Configuration Files ( web.config)
13
What’s NOT get Carried Over?
#SPBizConf @pgbhoyar
#SPBizConf @pgbhoyar
Less
Co
mp
lexi
ty
• Single Farm
• Source and Target in separate Content Database
Single Farm
Authoring Site
Collection
Production
Site Collection
Content Deployment Topology
#SPBizConf @pgbhoyar
Less
Co
mp
lexi
ty
• Two Farm ( Authoring and Production)
Authoring
Farm
Production Farm
Content Deployment Topology
#SPBizConf @pgbhoyar
Less
Co
mp
lexi
ty
• Staged Approach (Development Staging and Production)
Authoring Farm Production FarmStage Farm
Alternate
Deployment Path
Content Deployment Topology
#SPBizConf @pgbhoyar
#SPBizConf @pgbhoyarhttp://technet.microsoft.com/en-us/library/ee721058.aspx
#SPBizConf @pgbhoyar
Typical Content Deployment Life Cycle
Setup / Configuratio
n
• Identify the requirements
• Identify the topology
• Configuration
Test/Debug
• Test/Pilot Run
Adoption
• Content Deployment Jobs are Live
• Troubleshooting/Maintenance
#SPBizConf @pgbhoyar
#SPBizConf @pgbhoyar
22
Requires Lot of Backend Work
#SPBizConf @pgbhoyar
How to Setup Content
Deployment? Configure Destination Farm
Activate Feature in Source Site
Collection
Create Target Site Collection
Configure Source Farm
Create Content Deployment Path
Create Content Deployment Jobs
#SPBizConf @pgbhoyar
Less
Co
mp
lexi
ty
Configure Destination Farm
#SPBizConf @pgbhoyar
• For All jobs across the
farm
• Accept Content
Deployment Jobs
• Import Server
• Export Server
• Connection Security
• Temporary Files
• Reporting
Configure Destination
Farm
#SPBizConf @pgbhoyar
How to Setup Content
Deployment? Configure Destination Farm
Activate Feature in Source Site
Collection
Create Target Site Collection
Configure Source Farm
Create Content Deployment Path
Create Content Deployment Jobs
#SPBizConf @pgbhoyar
Activate Feature in Source Site Collection
#SPBizConf @pgbhoyar
How to Setup Content
Deployment? Configure Destination Farm
Activate Feature in Source Site
Collection
Create Target Site Collection
Configure Source Farm
Create Content Deployment Path
Create Content Deployment Jobs
#SPBizConf @pgbhoyar
• Create Empty Site Collection and do
not specify template
OR
• New-SPSite –Url http://siteurl –
OwnerAlias “sharePointlab\pgbhoyar”
Create Target Site Collection
#SPBizConf @pgbhoyar
How to Setup Content
Deployment? Configure Destination Farm
Activate Feature in Source Site
Collection
Create Target Site Collection
Configure Source Farm
Create Content Deployment Path
Create Content Deployment Jobs
#SPBizConf @pgbhoyar
Configure Source Farm
#SPBizConf @pgbhoyar
• Name
• Source Web
Application and Site
Collection
• Destination Central
Admin
• Authentication
• Destination Web
App and Site
Collection
• User Names
• Security Information
• Create Content
Deployment Path
Configure Source Farm
#SPBizConf @pgbhoyar
If you are lucky…you will not get this error
33
#SPBizConf @pgbhoyar
Troubleshooting Steps
34
#SPBizConf @pgbhoyar
Troubleshooting Steps
35
• De active all the features until the error messages disappear
• Painful 10-30 minutes …
#SPBizConf @pgbhoyar
Configure Source Farm
• Create Content Deployment Path
#SPBizConf @pgbhoyar
How to Setup Content
Deployment? Configure Destination Farm
Activate Feature in Source Site
Collection
Create Target Site Collection
Configure Source Farm
Create Content Deployment Path
Create Content Deployment Jobs
#SPBizConf @pgbhoyar
• Name
• Path
• SQL Snapshots
• Scope
• Frequency
• Notification
Configure Source Farm
• Create Content Deployment Job
#SPBizConf @pgbhoyar
Types of Content Deployment Jobs
• Full
Deploys all the content
Keep the Destination Content
• Quick Deploy
Only for Publishing Pages
No dependent list/library and other assets
Requires Publishing Infrastructure Feature Enabled
#SPBizConf @pgbhoyar
Configure Source Farm
#SPBizConf @pgbhoyar
DEMO
#SPBizConf @pgbhoyar
#SPBizConf @pgbhoyar
One way communication only
Require Identical Version of SharePoint
No full trust solutions
No Configuration changes
No File system Changes
43
Common Misconceptions
#SPBizConf @pgbhoyar
#SPBizConf @pgbhoyar
45
Common Issues and Fixes
Latency between when the content is
authored/published and when it is
live
Authors having direct access to
Target
Content Deployment job is stuck
Custom Solutions modifying target
contents
#SPBizConf @pgbhoyar
PowerShell Commands
• To Display Deployment Paths Configured on the Farm
• Get-SPContentDeploymentPath
• Display Deployment Jobs Configured on the Farm
• Get-SPContentDeploymentJob
• Get a Specific Content Deployment Job
• $job = Get-SPContentDeploymentJob -Identity “JobName“
• To Get a Specific Content Deployment Path
• $path = Get-SPContentDeploymentPath -Identity "PathName“
#SPBizConf @pgbhoyar
#SPBizConf @pgbhoyar
48
• Identical Updates in Source and Destination Farms
• Create the target site collection with no template
• Do not modify the contents directly in Target Site
• Run Deployment Jobs at different time intervals
• In production restart the Timer Services using command • “Get-SPTimerJob job-timer-recycle | Start-
SPTimerJob”
Best Practices
#SPBizConf @pgbhoyar
Contents in the Target are dynamic
Users will edit the contents in the Target System
Better alternatives are available like Cross Site
Publishing of SharePoint 2013
49
When not to use Content Deployment?
#SPBizConf @pgbhoyar
Difference between Content Deployment and Cross Site
Publishing
Content Deployment Cross Site Publishing
• Need access to Central Admin
• Recreate the content
• Deploy contents as it is
• Not supported in Office365/SharePoint Online
• Not required
• Re use the content
• Full control over how content is rendered in Publishing Site
• Supported in Office365 /SharePoint Online( added later )
#SPBizConf @pgbhoyar
References
Appendix/ResourcesMSDN/TechNet:
http://technet.microsoft.com/en-us/library/ee721058.aspx
http://blogs.technet.com/b/tothesharepoint/archive/2013/07/17/changes-
to-content-deployment-in-sharepoint-server-2013.aspx
http://blogs.technet.com/b/stefan_gossner/archive/2009/10/30/content-
deployment-the-complete-guide-part-1-the-basics.aspx
Books:
Pro SharePoint 2013 – Rob Garrett
#SPBizConf @pgbhoyar
Q&A
WWW.SPBIZCONF.COM
Please fill in my session feedback form available
from the ‘Session Resources’ tab
on my session window.
#SPBizConf @pgbhoyar
Questions? Feedback? Contact me:
Twitter: @PGBhoyar
Blog: http://pgbhoyar.com (limited contents)
Email: [email protected]
Thank You
Organizers, Sponsors and You for Making this Possible.