spsdc reston 2013 getting started with sharepoint content deployment
TRANSCRIPT
#SPSDC @PGBhoyar
Presented By: Prashant G Bhoyar
Getting Started with Content Deployment
07 December 2013
#SPSDC @PGBhoyar
Who am I?• SharePoint Consultant at
Portal Solutions
• Product - AuthentiMate
• Services – We love SharePoint ..
• Guy with multiple hats
• University of Maryland College Park Alumni
• Recipient of Antarctic Service Medal
#SPSDC @PGBhoyar
About Today’s Session
• Sharing is Caring
• Ask Questions
• Let the learning begins…
#SPSDC @PGBhoyar
What Will We Cover Today?• What is Content Deployment?
• Content Deployment Topologies
• How Does Content Deployment job works?
• How to Setup Content Deployment?
• Common Misconceptions
• How to Test/Debug Content Deployment?
• Common Issues and Fixes
• Best Practices
#SPSDC @PGBhoyar
#SPSDC @PGBhoyar
What is Content Deployment?• Moving published contents from one site collection to another
AuthorsAuthoring Environment
Publishing Environment
Internet/Intranet visitors
#SPSDC @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 with Static Content
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
What's Get Carried Over?• List
• Libraries
• Documents
• Metadata
• Pages
• Other resources used by deployed pages
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
What's NOT Get Carried Over?• SharePoint Full Trust Solutions
• Workflows
• Assemblies
• File System Changes
• Configuration Files ( web.config)
#SPSDC @PGBhoyar
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Content Deployment Topology• Single Farm
• Source and Target in separate database
Single Farm
Authoring Site Collection
Production Site Collection
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Content Deployment Topology• Two Farm ( Authoring and Production)
Authoring Farm Production Farm
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Content Deployment Topology• Staged Approach (Development Staging and Production)
Authoring Farm Production FarmStage Farm
Alternate Deployment Path
#SPSDC @PGBhoyar
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
http://technet.microsoft.com/en-us/library/ee721058.aspx
#SPSDC @PGBhoyar
Typical Content Deployment Life Cycle
#SPSDC @PGBhoyar
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Configure Destination Farm
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Configure Destination Farm• For all jobs across the Farm
• Accept Content Deployment Jobs
• Import Server
• Export Server
• Connection Security
• Temporary Files
• Reporting
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Create Target Site Collection• Create empty site collection and do not specify template
OR
• New-SPSite -Url http://siteUrl -OwnerAlias “sharepointlab\pgbhoyar”
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Configure Source Farm
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Configure Source Farm• Create Content Deployment Path
• Name
• Source Web Application and Site Collection
• Destination Central Admin
• Authentication
• Destination Web App and Site Collection
• User Names
• Security Information
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Configure Source Farm• Create Content Deployment Job
• Name
• Path
• SQL Snapshots
• Scope
• Frequency
• Notification
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Types of Content Deployment Jobs• Full
• Deploys all the content
• Keep the Destination Content
• Incremental
• Deploys new/updated/deleted content
• Quick Deploy
• Only for Web Pages
• No dependent list/libraries and other assets
• Requires Publishing Infrastructure Feature Enabled
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Configure Source Farm
#SPSDC @PGBhoyar
DEMO
#SPSDC @PGBhoyar
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Common Misconceptions• One way communication only
• Require Identical Version of SharePoint
• No Full Trust Solutions
• No Configuration Changes
• No File System Changes
#SPSDC @PGBhoyar
#SPSDC @PGBhoyar
Common Issues and Fixes• Latency between when the content is
authored/published & when it is live
• Authors having direct access to Target
• Content Deployment job is stuck
• Custom Solutions modifying content databases
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
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“
#SPSDC @PGBhoyar
#SPSDC @PGBhoyar
Best Practices• 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
• After first full deployment, run incremental jobs only
• In production restart the Timer Services using command
• “Get-SPTimerJob job-timer-recycle | Start-SPTimerJob”
#SPSDC @PGBhoyar
When not to use Content Deployment?• Contents in the Target are Dynamic
• Users will edit the contents in the Target Site
• Better alternatives are available like Cross Site Publishing in SharePoint 2013
#SPSDC @PGBhoyar
Less
Co
mp
lexi
ty
Is Content Deployment Right Choice?• Yes if,
• Regulatory/Legal and Security Requirements
• Latency is not an issue
• Contents are static in Target Site
#SPSDC @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
#SPSDC @PGBhoyar
Thanks to our sponsors!
#SPSDC @PGBhoyar
#SPSDC @PGBhoyar
Questions? Feedback? Contact me:
Twitter: @PGBhoyar Blog: http://pgbhoyar.wordpress.com (limited contents) Email: [email protected]
Thank YouOrganizers, Sponsors and You for Making this Possible.