Showing posts with label sharepoint installation. Show all posts
Showing posts with label sharepoint installation. Show all posts

Tuesday, 2 July 2013

SharePoint 2013 post installation configuration

Upon opening of Central Administration, we are immediately presented with some issues highlighted in the yellow bar above the links:


After a short internet research, it is clear that some of these issues are encountered due to the use of the AutoInstaller.
One of them is a configuration error resulting in 'Missing server side dependencies.'- see below:


The issue is caused by misconfiguration of a Search Service Application and it is fixed by navigating to the actual 'Search Administration page'. If like me, you received the following error:


- you have to just do what they say and go to the Central Admin and browse to Manage Service Applications. In there, you will find a link highlighted in red that you need to click to go to that page:


Another step required to eliminate 'Missing server side dependencies' error is to navigate to the Search Farm Dashboard page in the format: http:///SearchFarmDashBoard.aspx like in the picture below:


This time, we are able to display the page with no issues or requirement to open this page through Service Application links in Central Admin.
Now, we simply re-analyse the issue of 'Missing server side dependencies' to find out that the error is gone:





OK, there were other problems as you can see but for the time being, I will just ignore them and continue working on the system.

My plan was to have a one 'Portal' web application that will host managed path site collections for the respective departments in our company. That includes UK and US site collections. I was not separating them in different web applications. For reasons why I did that, just search Google for 'web application versus site collection'.
Second web application 'MySite Host' will not be used at the moment since there is no requirement for users' personal site collections. To be honest I was a bit surprised as to why this web application installed itself in the first place. This web app caused an error in one of the Autoinstaller scripts and we decided to get rid of it during our provision of an XML for SharePoint installation.
Anyway, it is there and it has no site collections yet. I might need it in the future.
Third web application was obviously a 'Cenral Administration'.

So ,what I actually had was a site collection created at the root attached to the database called 'SP_Content_Portal'.
Then, I planned to create some site collections but in their own content databases and with their explicit managed paths. The order was:

  1. Create a first bunch of content databases using Central Admin
  2. Stop all of them except the one I wanted to use with my new site collection I was about to create (Accounts UK in this example):

    3.   Create a new site collection using Central Admin:


   4.   On a 'Create Site Collection' page click 'Define Managed Path' link highlighted here in red:




   5.   Create a new managed path, in my case: /uk_accounts and make it Explicit if you do not want any
         new site collections to be created below that managed path. You can use a Wildcard if you do want
         that.

   6.   Now, on the 'Create Site Collection' page, refresh the page by pressing F5 and pick a newly created
         managed path. In my case it was /uk_accounts. In the picture below you will see /us_engineers as the
         screen was taken a bit later in the process.



   7.   After creating this site collection, it was automatically added to the database that was 'Started' at the
         time. You remember we stopped every database except 'SP_Content_AccountsUK'

You basically need to repeat the process with every new site collection and content database. So to re-cap, you:

  • create a content database with a meaningful name and in a consistent naming convention
  • stop every content database except the one you just created and want to attach to a new site collection
  • navigate to Central Admin and click create a new site collection
  • on that page click 'Define Managed Paths'
  • add meaningful, consistent path and come back to 'Create Site Collection' page
  • refresh the page and pick the newly created managed path
  • finish creating a site collection
  • enjoy having a site collection in the database you want

Today, I created 4 additional content databases and attached each of the newly created site collection to a corresponding content database. Every site collection has a meaningful and explicit managed path. I ended up with 5 site collection all together in a 'Portal' web application.
I know, I know! You say PowerShell! Well, I will leave PowerShell in peace for the minute. I am sure I will need it later...

  
Having done the above, I moved to the general configuration of the farm, going through the functions I wanted to implement. Stay tuned for updates of what has actually happened! 


 

Thursday, 27 June 2013

SharePoint 2013 Server Installation

To install SharePoint 2013 in our environment we used the great tools available on CodePlex, called AutoInstaller and corresponding GUI Tool to configure the input XML file.



Our scenario is quite simple. Everything will be virtualised. SharePoint WFE and APP will be installed on one server connecting to the SQL server so it is a 2-tier topology (we have up to 100 users all together so according to Microsoft Topology Examples for SharePoint 2013 we should be all right). In fact they suggest 2-tier farm for up to 10k users when utilising physical servers, but what is the difference if you allocate more than enough resources to your VM's?
We have the IT Support company who does the servers' management for us. They take care of the fail-overs, disaster recovery, daily backups and overall maintenance of our IT infrastructure.
They even have a solution to backing up the whole farm using snapshots without creating latency between the VM's (SharePoint has a timer than runs when it is scheduled to run). Taking a snapshot of the VM was argued as not very useful approach in backing up the farm. But there you go, they guarantee it, it costs a lot of money, it is something I cannot quite understand yet but I am getting there...

It is not like we have not run into problems using AutoInstaller and its GUI. There were several errors but we were able to quickly spot what was actually wrong. The XML file itself and available documentation were somewhat self-explanatory. We ran into errors because we forgot to define something, had a typo or did not provide fully qualified server name for our SQL.
Further, the script halted at "Creating MySite web application" and we could not find what was actually wrong. We then got rid of that Web App in an XML file and re-ran the script. This time- it worked like a charm. Additional Web Apps can be added easily using Central Admin later on anyway. 
The good thing with Autoinstaller and the whole process of SP installation using this tool is that if you re-run the scripts after fixing an error, it picks up from that point and carries forward. Everything before is already installed/configured.
As I said, it took a few attempts for the script to actually finish off the installation but it was worth it. We benefited from all the great features available to us by using AutoInstaller

Stay tuned as now it is when the real party gets started!