54
#SPBizConf @pgbhoyar WWW.SPBIZCONF.COM Getting Started with Content Deployment

Getting started with content deployment in share point 2013 SPBizConf 2015

Embed Size (px)

Citation preview

Page 1: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

WWW.SPBIZCONF.COM

Getting Started with Content Deployment

Page 2: Getting started with content deployment in share point 2013 SPBizConf 2015

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

Page 3: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 4: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 5: Getting started with content deployment in share point 2013 SPBizConf 2015

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

Page 6: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Page 7: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

To create websites Intranet

Extranet

Public Facing WebSites

Document Management System

Collaboration System

Content Management System

7

What is SharePoint?

Page 8: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

8

Image Source : http://threestepsbusiness.com/content-is-king-bill-gates/

Bill Gates Once Said..

Page 9: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Page 10: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

• Moving published contents from one site collection to another

AuthorsAuthoring

Environment

Publishing

Environment

Internet/Intranet

visitors

What is Content Deployment?

Page 11: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 12: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

List

Libraries

Documents

Metadata

Pages

Other resources used by the deployed pages

12

What’s get Carried Over?

Page 13: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Full Trust Solutions

Workflows

Full Trust Assemblies

File System Changes

Configuration Files ( web.config)

13

What’s NOT get Carried Over?

Page 14: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Page 15: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 16: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Less

Co

mp

lexi

ty

• Two Farm ( Authoring and Production)

Authoring

Farm

Production Farm

Content Deployment Topology

Page 17: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Less

Co

mp

lexi

ty

• Staged Approach (Development Staging and Production)

Authoring Farm Production FarmStage Farm

Alternate

Deployment Path

Content Deployment Topology

Page 18: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Page 19: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyarhttp://technet.microsoft.com/en-us/library/ee721058.aspx

Page 20: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 21: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Page 22: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

22

Requires Lot of Backend Work

Page 23: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 24: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Less

Co

mp

lexi

ty

Configure Destination Farm

Page 25: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

• For All jobs across the

farm

• Accept Content

Deployment Jobs

• Import Server

• Export Server

• Connection Security

• Temporary Files

• Reporting

Configure Destination

Farm

Page 26: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 27: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Activate Feature in Source Site Collection

Page 28: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 29: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

• Create Empty Site Collection and do

not specify template

OR

• New-SPSite –Url http://siteurl –

OwnerAlias “sharePointlab\pgbhoyar”

Create Target Site Collection

Page 30: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 31: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Configure Source Farm

Page 32: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 33: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

If you are lucky…you will not get this error

33

Page 34: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Troubleshooting Steps

34

Page 35: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Troubleshooting Steps

35

• De active all the features until the error messages disappear

• Painful 10-30 minutes …

Page 36: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Configure Source Farm

• Create Content Deployment Path

Page 37: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 38: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

• Name

• Path

• SQL Snapshots

• Scope

• Frequency

• Notification

Configure Source Farm

• Create Content Deployment Job

Page 39: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 40: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Configure Source Farm

Page 41: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

DEMO

Page 42: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Page 43: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 44: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Page 45: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 46: Getting started with content deployment in share point 2013 SPBizConf 2015

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

Page 47: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Page 48: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 49: Getting started with content deployment in share point 2013 SPBizConf 2015

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

Page 50: Getting started with content deployment in share point 2013 SPBizConf 2015

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

Page 51: Getting started with content deployment in share point 2013 SPBizConf 2015

#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

Page 52: Getting started with content deployment in share point 2013 SPBizConf 2015

#SPBizConf @pgbhoyar

Q&A

Page 53: Getting started with content deployment in share point 2013 SPBizConf 2015

WWW.SPBIZCONF.COM

Please fill in my session feedback form available

from the ‘Session Resources’ tab

on my session window.

Page 54: Getting started with content deployment in share point 2013 SPBizConf 2015

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