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