39
#SPSDC @PGBhoyar Presented By: Prashant G Bhoyar Getting Started with Content Deployment 07 December 2013

SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

Embed Size (px)

Citation preview

Page 1: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Presented By: Prashant G Bhoyar

Getting Started with Content Deployment

07 December 2013

Page 2: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 3: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

About Today’s Session

• Sharing is Caring

• Ask Questions

• Let the learning begins…

Page 4: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 5: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Page 6: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

What is Content Deployment?• Moving published contents from one site collection to another

AuthorsAuthoring Environment

Publishing Environment

Internet/Intranet visitors

Page 7: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 8: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Less

Co

mp

lexi

ty

What's Get Carried Over?• List

• Libraries

• Documents

• Metadata

• Pages

• Other resources used by deployed pages

Page 9: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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)

Page 10: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Page 11: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 12: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Less

Co

mp

lexi

ty

Content Deployment Topology• Two Farm ( Authoring and Production)

Authoring Farm Production Farm

Page 13: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Less

Co

mp

lexi

ty

Content Deployment Topology• Staged Approach (Development Staging and Production)

Authoring Farm Production FarmStage Farm

Alternate Deployment Path

Page 14: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Page 15: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Less

Co

mp

lexi

ty

http://technet.microsoft.com/en-us/library/ee721058.aspx

Page 16: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Typical Content Deployment Life Cycle

Page 17: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Page 18: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Less

Co

mp

lexi

ty

Configure Destination Farm

Page 19: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 20: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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”

Page 21: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Less

Co

mp

lexi

ty

Configure Source Farm

Page 22: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 23: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Less

Co

mp

lexi

ty

Configure Source Farm• Create Content Deployment Job

• Name

• Path

• SQL Snapshots

• Scope

• Frequency

• Notification

Page 24: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 25: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Less

Co

mp

lexi

ty

Configure Source Farm

Page 26: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

DEMO

Page 27: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Page 28: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 29: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Page 30: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 31: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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“

Page 32: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Page 33: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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”

Page 34: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 35: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 36: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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

Page 37: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Thanks to our sponsors!

Page 38: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#SPSDC @PGBhoyar

Page 39: SPSDC Reston 2013 Getting Started With SharePoint Content Deployment

#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.