[转]MOSS 2007 Content Deployment Options Comparison(MOSS2007内容部署方案比较)

http://vspug.com/lovedjohnysmith/2008/03/25/moss-2007-content-deployment-options-comparison/

另外:http://spdeploymentwizard.codeplex.com/(内容部署工具)

 

 

One of the interesting question has been raised in most of discussion fourms is Deployment Options Comparison and which is the best way to deploy and pros/cons. Here's the small comparison between all the deployment options. Also, i would like to recommend MOSS 2007 Deployment Wizard tool. The SharePoint Content Deployment Wizard is a tool for SharePoint 2007 which provides the means to deploy the following content:

- site collections
- webs
- lists
- folders
- list items (including files)

Content is exported using the Content Migration API (PRIME) as a .cmp file (Content Migration Package) which can be copied to other servers for import. Unlike the out-of-the-box tools, the Wizard allows *granular* selection of content via a treeview. You can download the tool from www.codeplex.com/SPDeploymentWizard 

Comparison between all the deployment options

 STSADMContent DeploymentContent Migration APIFeatures Deployment
DescriptionUses STSADM commands to generate a file (export) which can then be transferred to the target for import.  One of the simplest ways of moving content from one place to another, although unlikely to be suitable as a continuous deployment mechanism.

 

Examples:
stsadm.exe -o export -url http://localhost -filename C:Export.cab -includeusersecurity -versions 4 -overwrite

stsadm.exe -o import -url http://localhost/sites/newsite -filename C:Export.cab -includeusersecurity

Configured via 'Content Deployment paths and jobs' in Central Admin ('/_admin/deployment.aspx'). A path defines the source/target and authentication details, specific jobs define exactly which content should be deployed and how often. Quick deploy functionality allows users with permissions to specify important content which should be deployed more regularly than existing job schedules configured by administrators (quick deploy items are deployed every 15 mins).

 

Involves writing code which uses the content migration API (known as PRIME) to export then import content - the API is easy to use.

 

 

 

 

 

 

Involves defining XML configuration files which SharePoint uses to add artifacts in the correct way on the target. This can be significantly more complex than simply developing in SharePoint Designer but can allow for better management throughout a solution's lifecycle.

 

 

 

 

Good for1. Moving an entire site/web as a one off

 

2. Quick deployment tests

3. Reparenting webs (can be into a different site collection)

1. Moving entire site collections/webs on a scheduled basis e.g. in an authoring/production or authoring/staging/production topology
 
2. Deploying only incremental changes, e-mail notifications of success/failures

 

3. Allowing site owners to have some control over content deployment via Quick Deploy

4. Automatically deploying dependencies of content selected for deployment, even if in different site (e.g. page layouts/content types/site columns/referenced images etc.) 

5. Automatically transferring the deployment package to the target environment (via HTTPSleep)
Not transactional

1. Complete flexibility over deployment options
Granular control over what gets deployed (down to item level)

 

2. Ability to preserve object GUIDs (so that list GUIDs do not need to fixed-up)

3. Ability to select options for security, versioning and user roles

1. Iterative development/deployment
Deployment of assemblies and filesystem files (none of the other methods deal with this)

 

2. Ability to deploy assemblies/filesystem files to all servers in a farm with Solution packages

3.Possibilities for continuous integration 

Considerations1. Content on target will be overwritten if already exists

 

2. Granularity down to web only

3. Object GUIDs are not preserved (so some things will need to be 'fixed up' e.g. anything that references a list by GUID – ListViewWebPart, using lists with InfoPath forms) 

4. Not a backup/restore tool – although it's the option which is most like backup/restore, things like alerts, audit trail, recycle bin items, security state, workflow tasks/state are not exported

5. Not transactional

1. Content on target will be overwritten if already exists

 

2. Granularity down to web only

3. No differentiation between site content (e.g. pages/images) and site 'infrastructure' (e.g. master pages, page layouts)

4. Object GUIDs are preserved
Blank site template should be used for source and destination (see http://support.microsoft.com/kb/923592)

5. Also not a backup/restore tool (see above)

1. Blank site template should be used for source and destination (see http://support.microsoft.com/kb/923592)

 

2. Not transactional
Also not a backup/restore tool (see above)

3. Need development skills to write code

1. Developer is responsible for evaluating and deploying dependencies (e.g. underlying content types).
 
2. Updates to content types, list definitions, site columns etc. deployed via a Feature  must be done with the API – modifying original Feature files and then reprovisioning is not supported

 

3. Can be very time-consuming due to lack of assistance from current tools

 

 

转载于:https://www.cnblogs.com/fxwdl/archive/2010/01/13/1646493.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值