Monday, 28 May 2012

Integration of SCSM 2012 and SharePoint 2010

Integration of SCSM 2012 and SharePoint 2010

There is an installer that you have to run in order to provision the service portal on the SharePoint Server box, but somehow that didn’t work for us and had to rely on traditional SharePoint solution deployment approach.

While using service portal installer gave an error _Cannotcreatesite or _Cannotdeploysolution If I remember correctly and had to use this approach.

First of all make sure you create either self-signed or domain certificates on SCSM and SharePoint servers. This is an important phase to understand whether to use self-signed or domain certificates if you have a CA server which provisions certificates in your organization.

Here are the steps we followed:

Login to SharePoint Server
Create a dedicated web application and with its own content database
DNS host header entry for resolving the name
Change the alternate access mapping, add https , http url’s
Make sure you have https on port 443 on both Web Content Server and SharePoint Server for SCSM Portal
Go to IIS Manager, add the binding for https and select the certificate for the same

In IIS Manager, select the SCSM website and from the right pane click on Application Settings

Right Click and click on Add


In the Name , type: SMPortal_WebContentServer_URL
In the URL, enter the https URL of web content server i.e. https://webcontserver.contoso.com/contenthost/clientbin
Click Ok

Now that we have a web application for SCSM and the content server set. It’s time to deploy the Microsoft.EnterpriseManagement.ServiceManager.Portal.SharePointSite.wsp onto SharePoint server.

Logon to the SharePoint Server
Launch SharePoint 2010 Management Shell
Copy the WSP from Development environment ( C:\inetpub\wwwroot\wss\VirtualDirectories\portnumber of scsm web app\ you will find the wsp here)  to the C Drive and place in a folder called from Package

Run this command

Add-SPSolution -LiteralPath c:\package\ Microsoft.EnterpriseManagement.ServiceManager.Portal.SharePointSite.wsp

Install-SPSolution –Identity Microsoft.EnterpriseManagement.ServiceManager.Portal.SharePointSite.wsp  –WebApplication http://SCSMportal.contoso.com  –GACDeployment

When the package is deployed.
Navigate to the SCSMportal on https
Go to the Site Collection Features
Activate SMPortal SharePointSite Feature
This will also activate Web Template feature of exported web template SMPortal

This may take  up to 5 minutes to activate the feature and provision the SM Portal

Access the site on https i.e. https://scsmportal.contoso.com/smportal

If you see a blank page may be you may not set the correct URL for web content server or the web content server doesn’t connect with your SharePoint environment.

In the first case, make sure you enter the correct URL i.e. FQDN

This should display some xml content if it doesn’t you may have to check if static compontent was installed with IIS. This has more to do with IIS. 

It was seamless process when we tried on Development environment but on Production took a toll on us and it was quite a journey, eventually we got there.

Most of this can be done vai powershell a single script for web app creation , solution deployment  

9 comments:

  1. Thanks a bunch for sharing this with all folks you really recognize what you're speaking approximately!
    Bookmarked. Kindly also visit my web site =). We can have a link trade contract between us

    Here is my homepage: garcinia extract

    ReplyDelete
  2. Wow! Finally I got a webpage from where I can really take valuable information regarding my study and knowledge.


    my webpage ... scrabble solver word solver

    ReplyDelete
  3. I'm amazed, I must say. Seldom do I encounter a blog that's both equally educative and engaging, and let me tell you,
    you have hit the nail on the head. The problem is something which
    not enough folks are speaking intelligently about. I'm very happy that
    I stumbled across this during my search for something relating
    to this.

    Check out my blog: author's external Home page...

    ReplyDelete
  4. Everything is very open with a very clear clarification of the issues.
    It was really informative. Your website is very
    useful. Many thanks for sharing!

    my web-site :: la Weight loss

    ReplyDelete
  5. Way cool! Some very valid points! I appreciate you penning
    this post plus the rest of the website is also really good.



    Feel free to visit my web-site - where to find garcinia cambogia

    ReplyDelete
  6. Great post. I was checking continuously this blog and I am impressed!
    Extremely useful info particularly the last part :) I care for such information much.
    I was seeking this certain information for a long time. Thank
    you and good luck.

    Have a look at my website shock collars for dogs barking

    ReplyDelete
  7. Just want to say your article is as surprising. The clarity
    for your post is just nice and i could think you're a professional
    on this subject. Well along with your permission let me
    to take hold of your RSS feed to stay up to date with
    impending post. Thanks a million and please
    continue the gratifying work.

    Also visit my page :: weight loss workouts (cs.lakoo.com)

    ReplyDelete
  8. Great post. I was checking continuously this weblog and I'm impressed!
    Very helpful info specially the closing phase :) I care for such information much.

    I was seeking this particular info for a long time. Thank you
    and good luck.

    My website: legit work from home jobs

    ReplyDelete
  9. BlueHost is ultimately one of the best hosting company for any hosting plans you need.

    ReplyDelete