SPSDC Reston 2013 Getting Started With SharePoint Content Deployment
1. Getting Started with Content
Deployment
Presented By: Prashant G Bhoyar
07 December 2013
#SPSDC @PGBhoyar
2. 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
4. 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
6. What is Content Deployment?
â˘
Moving published contents from one site collection to another
Authors
Authoring
Environment
#SPSDC @PGBhoyar
Publishing
Environment
Internet/Intranet
visitors
7. 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
8. What's Get Carried Over?
List
â˘
Libraries
â˘
Documents
â˘
Metadata
â˘
Pages
â˘
Other resources used by deployed pages
#SPSDC @PGBhoyar
Less Complexity
â˘
9. What's NOT Get Carried Over?
SharePoint Full Trust Solutions
â˘
Workflows
â˘
Assemblies
â˘
File System Changes
â˘
Configuration Files ( web.config)
#SPSDC @PGBhoyar
Less Complexity
â˘
11. Content Deployment Topology
Single Farm
â˘
Source and Target in separate database
Authoring Site
Collection
Single Farm
#SPSDC @PGBhoyar
Production
Site Collection
Less Complexity
â˘
12. ⢠Two Farm ( Authoring and Production)
Authoring Farm
#SPSDC @PGBhoyar
Production Farm
Less Complexity
Content Deployment Topology
13. Content Deployment Topology
Staged Approach (Development Staging and Production)
Authoring Farm
#SPSDC @PGBhoyar
Stage Farm
Alternate
Deployment Path
Less Complexity
â˘
Production Farm
19. 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 Complexity
â˘
20. Create Target Site Collection
Create empty site collection and do not specify template
Less Complexity
â˘
OR
â˘
New-SPSite -Url http://siteUrl -OwnerAlias âsharepointlabpgbhoyarâ
#SPSDC @PGBhoyar
22. 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 Complexity
â˘
23. Configure Source Farm
Create Content Deployment Job
â˘
Name
â˘
Path
â˘
SQL Snapshots
â˘
Scope
â˘
Frequency
â˘
Notification
#SPSDC @PGBhoyar
Less Complexity
â˘
24. 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 Complexity
â˘
28. ⢠One way communication only
⢠Require Identical Version of SharePoint
⢠No Full Trust Solutions
⢠No Configuration Changes
⢠No File System Changes
#SPSDC @PGBhoyar
Less Complexity
Common Misconceptions
30. 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
31. PowerShell Commands
⢠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
Less Complexity
⢠To Display Deployment Paths Configured on the Farm
33. 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
34. 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
35. â˘
Yes if,
â˘
Regulatory/Legal and Security
Requirements
â˘
Latency is not an issue
â˘
Contents are static in Target Site
#SPSDC @PGBhoyar
Less Complexity
Is Content Deployment Right
Choice?
39. Thank You
Organizers, Sponsors and You for Making this
Possible.
Questions? Feedback? Contact me:
ď§ Twitter: @PGBhoyar
ď§ Blog:
http://pgbhoyar.wordpress.com (limited contents)
ď§ Email:
pgbhoyar@gmail.com
#SPSDC @PGBhoyar