This document explains how to create a new site collection with its own database within SharePoint. Site collections can only be part of one content database and a site collection can contain many subsites. For the most part site should be fine with the way the departments can be broken out into Site Collections, each department can now have subsites if they are needed and those subsites will be created in the same database as the site collection. However if a new company or new department needs to be created a new site collection will therefore need to be created.
Creating a New Database
- Go to Central Administration
- Go to Application Management
- Select Content Databases
- Make sure that all of the databases statuses are set to Stopped, there is typically one set to ready even though this is not required for SharePoint to work. (Stopped does not mean the database is not running, it just means that new Site Collections cannot be created for that database) To set a database to stopped:
- Click on the database name
- Change the database status from ready to Offline
- Click Ok
- Click on Add a content Database
- Ensure the correct web application is selected
- Ensure the correct database server and server instance is selected
- Enter the database name, should be something recognizable such as WSS_Content_Department or Company Name/Abbreviation
- Click Ok
- Go to Central Administration
- Go to Application Management
- Select Create Site Collection
- Select the correct Web Application
- Enter the title
- Enter the URL
- Select the appropriate template (Blank if importing existing site)
- Enter the site collection information
- Click Ok, this will now create a new site collection in the new database
Change settings in the Site Collection
Now that a new site collection has been created modify it so that it resembles the look and feel of all the other sites and uses the correct search center and features. Audiences may need to be used to control who has access to see what links in the navigation.
- Go to the new site collection
- Go to Site Actions > Site Settings
Enable Features - Server Features may need to be activated - Under Site Collection Administration select Site Collection Features
Activate the following:
Office SharePoint Server Enterprise Site Collection (If applicable)
SharePoint’s Server Publishing Infrastructure (If applicable)
SharePoint Server Standard Site Collection (If applicable) - Repeat this step under Site Administration > Site Features
Search Settings - Under Site Collection administration select Search Settings
- Select use custom Scopes and enter /searchcenter/pages
- Click Ok
Look and Feel (Navigation) - Under Look and Feel select Navigation
- Add the other sites as New Links under Global Navigation
- Enter Title
- Enter URL – this can be relative, if it is the root site just put a /, if another site collection enter /sites/sitecollectionname
- If adding an audience, select the audience
- Click Ok
- Click Ok
Audiences
Audiences in this situation can be used to control “security by obscurity”, while users may not have access to some sites when using site collections they will see the links because the links are not looking at the security of the actual site collection they link to. This means that users may click on the link and then get an error stating they do not have access. - Add Audience
- Go to the Shared Service Provider
- Select Audiences
- Create Audience
- Enter the Name
Enter the Owner - Select the include rules (this can be changed later)
- Click Ok
- Select the Operand, generally user
Under Operator select Member Of for doing groups - Select the AD group for the people that will be in this audience
Click Ok - Select compile audience
The audience is now created and can be added wherever needed.
Moving a site into a new site collection
If a site is located in the wrong site collection or needs to be moved to its own site collection.
Export:
Export the site to ensure all permissions and versions are copied over using the stsadm utility, using command prompt
Cd “Program Files\Common Files\Microsoft Shared\web server extensions\12\Bin”
Stsadm –o export –url http://currenturl -filename c:\directory\exportfile.cab –includeusersecurity –versions 4
Create New Site Collection or new site for the new location using the blank site template
Import
Import the site to the new location
Cd “Program Files\Common Files\Microsoft Shared\web server extensions\12\Bin”
Stsadm –o import –url http://newurl -filename c:\directory\exportfile.cab –includeusersecurity
Re-run Profile Import
- Go to Central Administration
- Go to the Shared Services Provider
- Go to User Profiles and Properties
- Select Start Full Import
No comments:
Post a Comment