none
Multi-tenant Project Server 2010 RRS feed

  • Question

  • Hello,

    Ive been asked to build a multi-tenant project server environment. The major problem is a lack in documentation on this configuration. I already have an existing and fully functional multi-tenant SharePoint 2010 Enterprise environment, consisting of 3 front end servers and an SQL Cluster for the backend. Ive installed the Project Server 2010 features on all the front end servers and im able to create an SPFeatureSet that includes the Project Server 2010 Components and provision a tenant space on the server

    Now here’s where things get tricky. Im able to create a PWA Site and I found a resource for linking the PS Site to the PWA
    code
    Set-SpSite $PWASiteUrl -SiteSubscription $subscription
    http://nearbaseline.com.au/blog/2011/01/multi-tenancy-and-project-server-and-performancepoint-2010/
    /code

    I am unable to get data to post to the project page (not the PWA). Im looking for any help on how PWA is configured in a multi-tenant configuration.

     

    Another issue im having is the provisioned tenant is unable to create a user in the PWA Admin Page under user manager

    The last problem is the server will rapidly prompt for credentials, then give an unauthorized error message then refresh to be on the PWA Admin page, Others it will just crap out and stop working all together

     

    Any help, guidance, and documentation you can help with would be greatly appreciated

    Thursday, April 7, 2011 4:14 AM

Answers

  • Hello Brock,

    In the Manage Service Applications you have to create the "Project Server Service Application" which will help you create the project sites.

    Once the service application is created Click on The Project Server Service Application and Click Manage

    Click Create Project Web App Site.

    Select the WebApplication and type the Project Site URL and select the check box "<label for="ctl00_PlaceHolderMain_PWASite_ctl01_ChkHostHeaderAsSiteName">Use Project Web App path as host header"</label> If you want to associate the site as a hostheader site collection and assosiate the same to the Site Subscription.

    Specify the databases and Tenant user for that Site Click Ok

    Wait till the Status of the site is shown as provisioned.

    Once the site is provisioned. Get the Feature Subscription Guid from the following Commands

    $fpacks = Get-SPSiteSubscriptionFeaturePack
    "Foundation Features: "+$fpacks[0].ID
    "Standard Features: "+$fpacks[1].ID
    "Enterprise Features: "+$fpacks[2].ID

    Insert the Values asked in the following code

    $featurePackID = "Place the Enterprise FeaturePack GUID"
    $webApplicationURL =  "Place the Existing Webapplication URL"
    $url = "Project Site URL which you created Above"
    $owneralias = "Owner which you specified while creating the project server site"
    $ou = "OU=OrganisationName,DC=DomainController,DC=DomainController"
    $profileOU = "OrganisationName"

    Fill the above and paste the commands in the SharePoint 2010 Management Shell

    Then Run the following Commands

    $site = Get-SPSite "$URL"

    $contentDatabase = $site.ContentDatabase.name

    $sub = New-SPSiteSubscription

    Set-SPSite $url -SiteSubscription $sub

    $FeaturePack = Get-SPSiteSubscriptionFeaturePack $featurePackID

    Set-SPSiteSubscriptionConfig $sub -FeaturePack $FeaturePack

    $wa = Get-SPWebApplication $webApplicationURL

    New-SPSite "$url/admin" -owneralias $owneralias -sitesubscription $sub -template "TENANTADMIN#0" -Administrationsitetype "TenantAdministration" -hostheaderwebapplication $wa -contentdatabase $contentdatabase | set-spsite -maxsize 100 -warningsize 90

    $mySite = New-SPSite "$url/mysite" -owneralias $owneralias -sitesubscription $sub -template "SPSMSITEHOST#0" -hostheaderwebapplication $wa -contentdatabase $contentdatabase

    Add-SPSiteSubscriptionProfileConfig -id $sub -MySiteHostLocation "$url/mysite" -MySiteManagedPath "mysite/personal" -SynchronizationOU $profileOU -ProfileServiceApplicationProxy (Get-SPServiceApplicationProxy |?{$_.TypeName -eq "User Profile Service Application Proxy"})

    Set-SPSiteSubscriptionConfig $url -UserAccountDirectoryPath $ou

    Set-SPSiteSubscriptionConfig $url/admin -UserAccountDirectoryPath $ou

    Please note the codes should be executed in a single line. Make a single line and run the broken lines

    Once the above lines are executed without errors then your project server site will be integrated with subscription and you will be having all the features of the enterprise site URL/MySite and URL/admin

    The multitenancy is up with SharePoint Enterprise servers but the Project Server 2010 is just integrated with the same but the project sites has its own draw backs while publishing.

    I found that while publishing projects you will get all the web applications present in your SharePoint Server and also the project sites are displayed while publishing the project.

     

    Issue 2

    In the PWA admin page under Manage Users you can add the existing users present in that particular Tenant

    You must make sure that User Logon Account is correct while adding the user and give the appropriate permissions for that user.

     

    Let me know if you have any queries in the above steps.



    Friday, April 29, 2011 9:52 PM

All replies

  • Hello Brock,

    In the Manage Service Applications you have to create the "Project Server Service Application" which will help you create the project sites.

    Once the service application is created Click on The Project Server Service Application and Click Manage

    Click Create Project Web App Site.

    Select the WebApplication and type the Project Site URL and select the check box "<label for="ctl00_PlaceHolderMain_PWASite_ctl01_ChkHostHeaderAsSiteName">Use Project Web App path as host header"</label> If you want to associate the site as a hostheader site collection and assosiate the same to the Site Subscription.

    Specify the databases and Tenant user for that Site Click Ok

    Wait till the Status of the site is shown as provisioned.

    Once the site is provisioned. Get the Feature Subscription Guid from the following Commands

    $fpacks = Get-SPSiteSubscriptionFeaturePack
    "Foundation Features: "+$fpacks[0].ID
    "Standard Features: "+$fpacks[1].ID
    "Enterprise Features: "+$fpacks[2].ID

    Insert the Values asked in the following code

    $featurePackID = "Place the Enterprise FeaturePack GUID"
    $webApplicationURL =  "Place the Existing Webapplication URL"
    $url = "Project Site URL which you created Above"
    $owneralias = "Owner which you specified while creating the project server site"
    $ou = "OU=OrganisationName,DC=DomainController,DC=DomainController"
    $profileOU = "OrganisationName"

    Fill the above and paste the commands in the SharePoint 2010 Management Shell

    Then Run the following Commands

    $site = Get-SPSite "$URL"

    $contentDatabase = $site.ContentDatabase.name

    $sub = New-SPSiteSubscription

    Set-SPSite $url -SiteSubscription $sub

    $FeaturePack = Get-SPSiteSubscriptionFeaturePack $featurePackID

    Set-SPSiteSubscriptionConfig $sub -FeaturePack $FeaturePack

    $wa = Get-SPWebApplication $webApplicationURL

    New-SPSite "$url/admin" -owneralias $owneralias -sitesubscription $sub -template "TENANTADMIN#0" -Administrationsitetype "TenantAdministration" -hostheaderwebapplication $wa -contentdatabase $contentdatabase | set-spsite -maxsize 100 -warningsize 90

    $mySite = New-SPSite "$url/mysite" -owneralias $owneralias -sitesubscription $sub -template "SPSMSITEHOST#0" -hostheaderwebapplication $wa -contentdatabase $contentdatabase

    Add-SPSiteSubscriptionProfileConfig -id $sub -MySiteHostLocation "$url/mysite" -MySiteManagedPath "mysite/personal" -SynchronizationOU $profileOU -ProfileServiceApplicationProxy (Get-SPServiceApplicationProxy |?{$_.TypeName -eq "User Profile Service Application Proxy"})

    Set-SPSiteSubscriptionConfig $url -UserAccountDirectoryPath $ou

    Set-SPSiteSubscriptionConfig $url/admin -UserAccountDirectoryPath $ou

    Please note the codes should be executed in a single line. Make a single line and run the broken lines

    Once the above lines are executed without errors then your project server site will be integrated with subscription and you will be having all the features of the enterprise site URL/MySite and URL/admin

    The multitenancy is up with SharePoint Enterprise servers but the Project Server 2010 is just integrated with the same but the project sites has its own draw backs while publishing.

    I found that while publishing projects you will get all the web applications present in your SharePoint Server and also the project sites are displayed while publishing the project.

     

    Issue 2

    In the PWA admin page under Manage Users you can add the existing users present in that particular Tenant

    You must make sure that User Logon Account is correct while adding the user and give the appropriate permissions for that user.

     

    Let me know if you have any queries in the above steps.



    Friday, April 29, 2011 9:52 PM
  • I just stumbled upon this at http://technet.microsoft.com/en-us/library/ee662109.aspx

    Project Server 2010 does not support multi-tenant environments. Do not install Project Server 2010 on a multi-tenant SharePoint Server 2010 farm. If you have ProjectServer 2010 installed on a farm, do not configure multi-tenancy on that farm

    Hope this helps,


    Alex Burton
    www.epmsource.com | Twitter
    Project Server TechCenter | Project Developer Center | Project Server Help | Project Product Page
    Wednesday, July 20, 2011 2:21 AM
    Moderator
  • Hi Alexander,<o:p></o:p>


    You are right, Project
    Server 2010 does not support Multi-Tenancy. Only SharePoint 2010 Supports.

     

     

     

    Thanks,

    Pawan Kashyap

    Thursday, June 13, 2013 5:18 AM
  • Hi Guys,

    I have done following steps for Multi-Tenancy with Project Server 2013. And provisioned Tenants are working but I am unable to create the PWA site. could anybody help on it. I will appreciate for quick reply  

    1. Configuration the base Infrastructure. (Done)
    2. Configuring Partitioned Service Application (Done)
    3. Provisioning Tenants (Done)

    Thanks,

    Pawan Kashyap

    Thursday, June 13, 2013 6:03 AM
  • Did you try the following steps?

    $SvcName = "Project Server 2013 Service App"
    $SvcAppName = Get-SPServiceApplication | where-object {$_.DisplayName -eq $SvcName}

    New-SPProjectDatabase -Name ProjectWebApp1 -ServiceApplication $SvcAppName -DatabaseServer Win-psvr2013 -Tag "Microsoft_ProjectWebApp"

    New-SPSite -url "http://win-psvr2013/pwa" -SiteSubscription $sub -owneralias "epmbuild\epmadmin" -owneremail someone@example.com -Template pwa#0

    $web.Properties["PWA_TAG"]="Microsoft_ProjectWebApp"
    $web.Properties.Update()
    Enable-SPFeature pwasite -URL http://win-psvr2013/pwa
    Upgrade-SPProjectWebInstance -Identity http://win-psvr2013/pwa #-confirm:$False


    Cheers. Happy troubleshooting !!! Sriram E - MSFT Enterprise Project Management

    Wednesday, July 23, 2014 7:34 AM
    Moderator