Sharepoint in Education - the social intranet (Setup: Part 2)
by, 30th December 2011 at 05:58 PM (7108 Views)
The last article covered some of the rationale and an overview - this is a bit more of the "how to". Remember, there are two elements to MySite – the first showing your feed, all activity from your linked people (a la friends). The second, your profile.
Now – the problem comes with the logic behind setting this up. In Education – we tend to like everything being accessible through one entry point. This will usually be though a firewall or gateway device.
MySites - the standard config issue
However, by default when you create the MySite, according to the main documentation - the location is under a different web application (URL) to your main Sharepoint site. I think an example is required…
Your organisational portal site is on http://portal
Your MySite must be on another URL domain or port so let say... http://Portal:12345
What this will mean, by default, is that your users MySites are at http://OrgsIntranet:12345/personal/<username>
As you can probably imagine, this is not ideal - In fact for most that will only ever have one main portal this is really not ideal.
The reason we host MySites on another web application is so that no matter what site you are on, when you hit the "mysite" link at the top of the page, it will take you to the right place and that place is not dependant on any individual portal.
In an ideal world you would have an address like http://my or http://mysites as a DNS name for your MySite … so that the address makes sense and you could run it on port 80 like everything else. It makes the URL look nicer I guess. Anyway – this doesn’t apply to our use of Sharepoint - so for with only one main portal we want it to look something like:
Main portal: http://portal
MySites : http://portal/personal/<user name>
So how do you go about configuring this, when all the main documentation centres around the separate website model. And then worse than that – how do we get Alternate Access Mapping (the way that Sharepoint translates your internal http://portal used internally to https://gateway.org.uk outside) to behave. Well – that one will be the next article, but setting up MySites is now…
Some assumptions for this article. You have an intranet web application named: 'http://mywebapp' it has it's own Content Database named "MyWebApp_Content".
You want to setup and configure My Sites to be used via the URL 'http://mywebapp/mysites' and you want all your My Sites content to be stored in it's own new Content database named "MySites_Content"
The following steps outline how to configure your existing web app 'http://mywebapp' to host ‘My Sites’ to be stored in a separate database (a screenshotted walkthrough is here: http://www.bybugday.com/Lists/Posts/Post.aspx?ID=22)
1.Go to “Application Management” and select “Content Databases” under “SharePoint Web Application Management”
2.Select the ‘http://mywebapp’ web application. And select “Add Content Database”
3.Create a new DB and name it: "MySites_Content"
4.Once this DB is created select the existing database named: MyWebApp_Content.
5.In the “Manage Content Database Settings” for 'MyWebApp_Content’ select Database status to “Offline”
This will ensure that no new site collections are created in the default content database 'MyWebApp_Content'. Taking this content database offline only prevents new site collections from being created. Users are still able to create sub sites and items and use the existing sites1.First you have to make sure you have 2 managed paths set up in the http://OrgsIntranet web application. To do this jump into central admin, "Application Management" tab, "Define Managed Paths". Make sure you are working on the right web application once you are in that screen.
4.Go to Application Management and select “Define Managed Paths” under “SharePoint Web Application Management”
5.Select the 'http://mywebapp' web application and create a new path named ‘mysite’ and select “Explicit inclusion”
6.Create a another managed path named ‘personal’ and make it a “Wildcard inclusion”
7.Go to “Application Management” and select “Create Site Collection”
8.Ensure that the path selected is 'http://mywebapp/mysite' <Important - chose the same name> , and select the “My Site Host” template from the templates list on the “Enterprise” tab.
9. Now, configure the My Site Setup from Central Administration > Application Managment > Manage Service Applications > User Profile Service. Click the Setup My Site link under “My Site Settings”. You need to configure all the settings in this page like the preferred search center, “My Site Host Location” and “Personal Site Location”. Set "Personal site provider" to "http://mywebapp/mysite/" and "Location" to "personal", click OK.
Done! Now when your users click on the "mysite" link their MySite will be created in the right place.
Total Trackbacks 0