Tuesday, June 21, 2016

Fast Site Creation in SharePoint 2016

Fast Site Creation is a new feature introduced in SharePoint 2016. As the name suggests, Fast site Creation helps to speed up the site collection creation process. Internally, site collections are copied at at SQL Server content database level, instead of calling traditional object model calls. Typically, this helps any large organization or multi-tenant environments to create site collections faster by mitigating feature activation overhead.

Step 1: Enable Fast site creation for SharePoint Site Template
Lets enable Fast-Site Creation on SharePoint Team site Template .

Enable-SPWebTemplateForSiteMaster -Template "STS#0" -CompatibilityLevel 15

To get all site templates with fast site creation enabled, use the cmdlet:
Get-SPWebTemplatesEnabledForSiteMaster

To Disable fast site creation for a site template, use the cmdlet: Disable-SPWebTemplateForSiteMaster. E.g.
Disable-SPWebTemplateForSiteMaster -Template STS#0
But you'll have to remove the site master created for the template first!

Step 2: Create new Site master:
Once Fast Site Creation is enabled on the template, a new Site Master should be created. Create Site Master in Content Database with New-SPSiteMaster
New-SPSiteMaster -ContentDatabase "SP16_Intranet_Content01" -Template "STS#0" 
This creates a master copy of site collection. Site Master acts as the master copy for the site collection based on the template you choose, with all features, template settings,etc preserved.

Step 3: Create new site collection using the Site Master
Create new Site collection with -CreateFromSiteMaster switch in the New-SPSite cmdlet.
New-SPSite http://intranet.crescent.com/sites/operations -ContentDatabase "SP16_Intranet_Content" -CompatibilityLevel 15 -CreateFromSiteMaster -OwnerAlias "Crescent\Salaudeen" -Template "STS#0" 
With fast site creation, site Collections are created by copying at Content Database level, So the usual feature Activation cycle doesn't happen! Fast site creation took 5 seconds instead of 40 seconds to create a site collection!

Remove Site Master
If you no longer use Remove-SPSiteMaster cmdlet to remove the Site Master from SharePoint  Content database.  
Remove-SPSiteMaster -ContentDatabase "Content-database-name" -SiteId "GUID-Of-The-Site-Master"



You might also like:
SharePoint Usage Reports
Usage reports, collaboration and audit for SharePoint.
Document SharePoint Farm
Automatically generate SharePoint documentation.
*Sponsored


Check out these SharePoint products:

No comments :

Post a Comment

Please Login and comment to get your questions answered!


You might also like:

Related Posts Plugin for WordPress, Blogger...