Quantcast
Channel: SharePoint 2010 - Setup, Upgrade, Administration and Operations forum
Viewing all articles
Browse latest Browse all 13778

How to apply the unmanaged account

$
0
0

 Hello Community

    Sharepoint 2010 uses  unmanaged accounts for  Enterprise Search Service Applications
and Performance Point Service applications.

    Below are some samples of scripts that create  Enterprise Search Service Applications
and Performance Point Service applications.

    As you can see below the applications use managed accounts so the question is how and when do you
apply "Unmanaged accounts" to these  Enterprise Search Service Applications and Performance Point Service
applications (also how to give Performance Point a name instead of the GUID name)?

 *** This one is the Performance Point Service application

$performancePointSAName = "PerformancePoint Service" $saAppPoolName = "SharePoint Web Services"
$newDb = "SP2010_SA_PerformancePoint_DB"
New-SPPerformancePointServiceApplication -Name $performancePointSAName -ApplicationPool $saAppPoolName
New-SPPerformancePointServiceApplicationProxy -Default -Name "$performancePointSAName Proxy" -ServiceApplication $performancePointSAName
Get-SPServiceInstance | where-object {$_.TypeName -eq "PerformancePoint Service"} | Start-SPServiceInstance

*** This one is the Enterprise Search Service application

$ManagedAccount = Get-SPManagedAccount | Select –First 1
$ManagedAccount = Get-SPManagedAccount –Identity “DOMAIN\User”
$ApplicationPool = New-SPServiceApplicationPool “SharePoint Services Application Pool” –Account $ManagedAccount

1.  $AppPool = Get-SPServiceApplicationPool –Identity “SharePoint Services Application Pool”
2.  $SearchApp = New-SPEnterpriseSearchServiceApplication –Name “Search Service Application” –ApplicationPool $AppPool –DatabaseName “Search_Service_Application” –DatabaseServer “SP2010DB”
3.  $SearchProxy = New-SPEnterpriseSearchServiceApplicationProxy –Name “Search Service Application Proxy” –SearchApplication “Search Service Application”
4.  $ServiceInstance = Get-SPEnterpriseSearchServiceInstance –local
5.  $ServiceInstance.Status

**********************************************
***If disabled***
Start-SPEnterpriseSearchServiceInstance -Identity $ServiceInstance
**********************************************
6.  Set-SPEnterpriseSearchAdministrationComponent –SearchApplication $SearchApp –SearchServiceInstance $ServiceInstance
7.  $CrawlTopology = $SearchApp | New-SPEnterpriseSearchCrawlTopology
8.  $CrawlStoreID = $SearchApp.CrawlStores | Select ID
9.  $CrawlStore = $SearchApp.CrawlStores.Item($CrawlStoreID.ID)
10.  $SName = HostName
11.  New-SPEnterpriseSearchCrawlComponent –CrawlTopology $CrawlTopology –CrawlDatabase $CrawlStore –SearchServiceInstance $SName
12.  $CrawlTopology | Set-SPEnterpriseSearchCrawlTopology –Active
13.  $QueryTopology = $SearchApp | New-SPEnterpriseSearchQueryTopology –Partitions 1
14.  $IndexPartition = ($QueryTopology | Get-SPEnterpriseSearchIndexPartition)
15.  New-SPEnterpriseSearchQueryComponent –IndexPartition $IndexPartition –QueryTopology $QueryTopology –SearchServiceInstance $ServiceInstance
16.  $PropertyStoreID = $SearchApp.PropertyStores | Select ID
17.  $PropertyStoreDB = $SearchApp.PropertyStores.Item($PropertyStoreID.ID)
18.  $IndexPartition | Set-SPEnterpriseSearchIndexPartition –PropertyDatabase $PropertyStoreDB
19.  $QueryTopology | Set-SPEnterpriseSearchQueryTopology –Active

    Thank you
    Shabeaut


Viewing all articles
Browse latest Browse all 13778

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>