Top Banner
#SPFSeattle @pgbhoyar Getting Started with Content Deployment Prashant G Bhoyar
57

Getting started with Content Deployment in SharePoint 2013

Jan 24, 2017

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Getting Started with Content

Deployment

Prashant G Bhoyar

Page 2: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

2

• Senior Consultant at Portal Solutions

• Technical Reviewer of the book “Pro :

SharePoint 2013 Administration”

• Recipient of Antarctic Service Medal

• University of Maryland College Park

Alumni

Who AM I ?

Page 3: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Amazing Antarctica Adventure – Nov/Dec 2008

Page 4: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Amazing Antarctica Adventure – Nov/Dec 2008

Page 5: Getting started with Content Deployment in SharePoint 2013

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

5

Page 6: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

6

• Sharing is Caring

• Ask Questions

Learn from yesterday, live

for today, hope for

tomorrow. The important

thing is not to stop

questioning. –Albert

Einestein

• Let the learning begins…

About Today’s Session

Image Source : http://onlyfreewallpaper.com/view/smiley-kitty-1280x1024.html

Page 7: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 8: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 9: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Dilbert Time…

Page 10: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Page 11: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

To create websites Intranet

Extranet

Public Facing WebSites

Document Management System

Collaboration System

Content Management System

11

What is SharePoint?

Page 12: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

12

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

Bill Gates Once Said..

Page 13: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Page 14: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

• Moving published contents from one site collection to another

AuthorsAuthoring

Environment

Publishing

Environment

Internet/Intranet

visitors

What is Content Deployment?

Page 15: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 16: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

List

Libraries

Documents

Metadata

Pages

Other resources used by the deployed pages

16

What’s get Carried Over?

Page 17: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Full Trust Solutions

Workflows

Full Trust Assemblies

File System Changes

Configuration Files ( web.config)

17

What’s NOT get Carried Over?

Page 18: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Page 19: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 20: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Less

Co

mp

lexi

ty

• Two Farm ( Authoring and Production)

Authoring

Farm

Production Farm

Content Deployment Topology

Page 21: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Less

Co

mp

lexi

ty

• Staged Approach (Development Staging and Production)

Authoring Farm Production FarmStage Farm

Alternate

Deployment Path

Content Deployment Topology

Page 22: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Page 23: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Start Content

Deployment Job

Check Change

Token on Source

Server

Export Files to

local temp

directory

Package into .cab

files

Send .cab files to

destination server

Poll Destination

Server for

Status

Update Saved

change token on

source server

Content

Deployment

Job ends.

Is

Import

Done?

Copy .cab files to

local temp directory

Extract .cab files

Import Files into

Databases

Return Import

Status

Import

Status

=Succ

ess

No

Yes

Discard Change

Token

No

Yes

Source Server Destination Server

http:/

/tech

net.m

icros

oft.co

m/en

-

us/lib

rary/

ee721

058.a

spx

Page 24: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 25: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Page 26: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

26

Requires Lot of Backend Work

Page 27: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 28: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Less

Co

mp

lexi

ty

Configure Destination Farm

Page 29: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

• For All jobs across the

farm

• Accept Content

Deployment Jobs

• Import Server

• Export Server

• Connection Security

• Temporary Files

• Reporting

Configure Destination

Farm

Page 30: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 SharePoint 2013

#SPFSeattle @pgbhoyar

Activate Feature in Source Site Collection

Page 32: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 33: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

• Create Empty Site Collection and do

not specify template

OR

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

OwnerAlias “domainname\username”

Create Target Site Collection

Page 34: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 35: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Configure Source Farm

Page 36: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 37: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

If you are lucky…you will not get this error

37

Page 38: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Troubleshooting Steps

38

Page 39: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Troubleshooting Steps

39

• De active all the features until the error messages disappear

• Painful 10-30 minutes …

Page 40: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Configure Source Farm

• Create Content Deployment Path

Page 41: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 42: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

• Name

• Path

• SQL Snapshots

• Scope

• Frequency

• Notification

Configure Source Farm

• Create Content Deployment Job

Page 43: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Types of Content Deployment Jobs

• Full

Deploys all the content

Keep the Destination Content

• Incremental

Deploys new/updated/deleted content

• Quick Deploy

Only for Publishing Pages

No dependent list/library and other assets

Requires Publishing Infrastructure Feature Enabled

Page 44: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Configure Source Farm

• Each farm support maximum 200 Content Deployment Jobs

Page 45: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

DEMO

Page 46: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Page 47: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

One way communication only

Require Identical Version of SharePoint Cross version is not supported

No full trust solutions

No Configuration changes

No File system Changes

47

Common Misconceptions

Page 48: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Page 49: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

49

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 50: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 51: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Page 52: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

52

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

Best Practices

Page 53: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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

53

When not to use Content Deployment?

Page 54: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 55: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @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 56: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Q&A

Page 57: Getting started with Content Deployment in SharePoint 2013

#SPFSeattle @pgbhoyar

Questions? Feedback? Contact me:

Twitter: @PGBhoyar

Blog: http://pgbhoyar.com (limited contents)

Email: [email protected]

Speaker Evaluation : Please fill out speaker evaluations

Thank You

Organizers, Sponsors and You for Making this Possible.