How to properly create and configure SharePoint 2013 Search service with PowerShell?

Hello Forum,
I have installed SharePoint 2013 across three tier servers:
WFE Server  (Of course, SharePoint is installed here. Bsically this is just a Web server)
APP Server  (Of course, SharePoint is installed here + Central Admin + Service Apps).
SQL Server  
I now want to create and configure the Search service, obviously on the APP Server, But of course the search functionality should work correctly on the WFE server to.
I want to do this via a proper PowerShell script. I found Spence Harbar's script on: (http://www.harbar.net/articles/sp2013mt.aspx), But it has three problems, and they are as follows:
1) Spence Harbar himself literally stated on his article that this script is for: "deploying on a single server farm", But what if I have three tier servers? Could anyone please help me out in suggesting the required tweaks in the
script?
2) By default Search uses the SP_Farm account, So, How can I change the script to use other dedicated account for the search service e.g. SP_SearchAcc ?
3) How can I modify the script to specify a default Search center?
4) Apart from all the three aforementioned point - Is the script missing anything? 
I would greatly appreciate your inputs - Thanks !

the only differences are where you place the components.  if you are doing a small server farm with a 1-1-1, most likely you just need to change the script so that you set the index and query processing component on the front end, but the others on
the app server.  just a 2 second update... just keep in mind this will work, but I am making several assumptions without any knowledge of your farm, users, capabilities. 
generally, there would be more of a breakout on the topology than that, but im guessing for this farm that you wont have dedicated search servers.  also, a lot depends on # users (rps really), # items in index, size of VMs (RAM for query processing,
Disk for index, etc, etc), and making sure the topology works for your particular environment and needs. 
if you want more detailed topology help, which aligns as closely as possible to "best practices" (not that those exist in SharePoint, go ahead and provide the total # users, average/peak RPS for search, current index size, content source types,
VM specs RAM, CPU, #/Size of drives, HA concerns/priority (obviously isn't, since only 1-1-1)
Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

Similar Messages

  • How to delete Content Source in Sharepoint 2013 Search Service

    I want to delete Default Content Source in Search
    Service in SharePoint 2013 but delete button is disable?Please see the below image. Content Source Type=SharePoint Sites
    How to do it?
    If In Content Source type=Files than delete button enables but
    not for the Content Source type=Sharepoint sites
    Vishal Goyal

    Hi,
    try to remove it using powershell
    $searchapp = Get-SPEnterpriseSearchServiceApplication "NameofSearchAPp"
    Remove-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Identity "Name"\Regards
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Any way i can create and manage SharePoint 2013 workflows in browser.

    Guys,
    is there any way i can created and manager sharepoint 2013 workflows in browser like Nintex lets you do. This will eliminate the need for sharepoint designer.
    thanks
    MM

    No. SharePoint's work flows are created from SharePoint Designer or Visual Studio. Third party solutions like Nintex have other approaches.
    Mike Smith TechTrainingNotes.blogspot.com
    Books:
    SharePoint 2007 2010 Customization for the Site Owner,
    SharePoint 2010 Security for the Site Owner

  • How can I force delete SharePoint 2013 search service?

    I installed Search service using PowerShell.  It failed. I tried to remove the service and only partially removed. Now when i try to remove it again it says I cannot login to the search database - the search database no longer exists.  Is there
    a way to force delete the service?

    Get -SPServiceApplication
    Grab the Search Service Application id – [for example] 30b15b57-6bec-46b5-990d-541d99bab53b
    then use this
    Stsadm -o deleteconfigurationobject -id 30b15b57-6bec-46b5-990d-541d99bab53b (Preferred over the next method of PowerShell)
    this was working for me even the ps command failed (I had corrupted DB)
    Martin

  • How to import column values into SharePoint 2013 Term Store Using Powershell(CSOM)

    Hi, 
    I do have SharePoint 2013 list with more than 500 items in it.Now I am trying to import column values into SharePoint 2013 Term Set A using Powershell scripts.
    I am new to Powershell(csom) and can anybody help me out to accomplish this task?
    Any help would be greately appreciated.
    Thank you,
    AA.
    AA.

    Hi
    check this doc
    http://wellytonian.com/2012/10/sharepoint-2010-2013-term-store-importer-using-csv/
    Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.

  • Sharepoint 2013 - Search service not working

    We have set the search service application to crawl incrementally. The crawls are taking a long time. The content is not vast over the single farm but we do have a few sizable document libraries, lists and media assets. Suggestions as to what to check
    again first? Screen shot of the search admin page.

    Hi,
    According to your post, my understanding is that Search service failed to work in SharePoint 2013.
    The cause is that Accounts that are used by application pools or services are members of the Administrators group on the local computer.
    I recommend to change the user account to a predefined account, or to a domain user account that is not a member of the Administrators group.
    More information:
    http://technet.microsoft.com/en-us/library/hh344224(v=office.15).aspx
    http://alstechtips.blogspot.com/2013/12/health-analyzer-accounts-used-by.html
    http://absolute-sharepoint.com/2013/01/sharepoint-2013-service-accounts-best-practices-explained.html
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to create and configure a custom authorization service

    Anyone has any idea how to create a custom authorization module? Can anyone tell me where can I find a documentation or some example how to do it?
    I appreciate any idea.
    Regards.

    The Access Manager developer guide on the Authentication SPI should be all you need to get started
    http://docs.sun.com/app/docs/doc/819-4675/6n6qfk0nf?a=view

  • Can you refine people search results using a SharePoint 2013 search service application connected in SharePoint 2010?

    We have an SP2010 farm which is now using some of the service applications from an SP2013 farm, including the search, managed metadata and user profile.  This is part of an upgrade programme of work which will involve upgrading infrastructure and
    then gradually the sites, and this is seen as one way to minimise the impact.
    So, the SP2010 search results are being generated by the SP2013 which is indexing the SP2010 content.  The initial results appear fine, however, the refiners in the people results for Job Title and Department are no longer working.  We are receiving
    a 404 page not found, even though the page is there as was working before.
    If we compare the URL generated in SP2010 for refining results to an OOTB SP2013 search centre site, there is clearly a big difference to the format.  Example below is where LastName is Smith and then refined where Department is HR.
    SP2010 URL which now gives a 404 error:
    http://intranet2010/search/pages/peopleresults.aspx?k=LastName%3Asmith&r=%22owstaxIdSPShDepartment%22%3D%23832e3479%2Dd168%2D4620%2Dac69%2D9b00a4c4205b%3A%22HR%22
    OOTB SP2013 URL:
    http://intranet2013/search/pages/peopleresults.aspx?k%3Asmith#Default=%7B%22k%22%3A%22smith%22%2C%22r%22%3A%5B%7B%22n%22%3A%22Department%22%2C%22t%22%3A%5B%22%5C%22%C7%82%C7%824335%5C%22%22%5D%2C%22o%22%3A%22and%22%2C%22m%22%3Anull%2C%22k%22%3Afalse%7D%5D%7D
    I've looked at the URL decoded versions so can see how the query is built up.
    Any ideas?  Is this even possible?
    Matt

    All working now.  Turns out there was an entry in the web.config which was causing issues.
      <denyQueryStringSequences>
          <add sequence="ID" />
      </denyQueryStringSequences>
    Seems IIS is denying something in the query string.  We removed the whole section as was not needed.
    http://www.iis.net/configreference/system.webserver/security/requestfiltering/denyquerystringsequences
    Thanks to a colleague who spotted this; I would've never of thought to check the web.config for something like this.

  • How to install and Configure sharepoint foundation on administrator account ??

    Hi there guys dev
    I want to try sharepoint foundation for first time .
    I installed windows server 2012 ans sql server 2012 and then installed sharepoint foundation 2013 .
    now when I want to create a new server farm enter my windows name as database name and then enter my administrator account name as username ans it's passwors as password but after then when I click on next to create new server farm give this error :
    "the administrator account can't use for new server "
    please help how can I create a new server farm with administrator account .
    I don't want to create it with  the active directory domain and add new forest and create it with my domain name ?
    if does it a way to create a new server farm with administrator account so please help to create it ?
    thanks dear
    Great Regards :
    Raha
    whit the best regard : Raha

    Hi Raha,
    According to your description, my understanding is that you got an error when you created a new farm with the administrator account by runnning configuration wizard.
    Is the SQL Server installed in the server that hosted SharePoint 2013 Foudation? If not, please make sure the server hosted SQL Server has the same account with the server hosted SharePoint 2013 Foudation.
    Please run the SharePoint 2013 Products Configuration wizard with ‘Run as administrator’.When you entered the user’s name, please use the format ‘domain\user_name’.
    In addition, please check the log file to find more information about this issue. The path is : C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\LOGS.
    Also , you can use Event Viewer to find the log by Start->Run->event viewer.
    Here is an article for installing and configuring SharePoint 2013,  please take a look at:
    http://sharepointv15.wordpress.com/2012/07/19/installing-sharepoint-2013-preview/
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Sharepoint 2013 search component best practice

    hi
    With a big SharePoint 2013 farm:
    2 WFE
    2 App server
    2 Search App server (havent set up these servers yet)
    What would the best way to divide the search componment between the two serarch app servers?
    Crawl component
    Crawls content sources to collect crawled properties and metadata from crawled items and sends this information to the content processing component.
    Content processing component
    Transforms the crawled items and sends them to the index component. This component also maps crawled properties to managed properties.
    Analytics processing component
    Carries out search analytics and usage analytics.
    Index component
    Receives the processed items from the content processing component and writes them to the search index. This component also handles incoming queries, retrieves information from the search index and sends back the
    result set to the query processing component.
    Query processing component
    Analyzes incoming queries. This helps optimize precision, recall and relevance. The queries are sent to the index component, which returns a set of search results for the query.
    Search administration component
    Runs the system processes for search, and adds and initializes new instances of search components.
    If you ignore the need for redunancy (we may add another 2 search app servers for that later).
    brgs
    Bjorn

    Hi Bjorn,
    According to your description, my understanding is that you want to deploy the search components in two search app servers.
    It depends on how many search service applications you need and the size of your environment.
    Here is a link about how to configure topology for one search service application with multiple search components across 2 servers for redundancy and performance:
    http://blogs.msdn.com/b/chandru/archive/2013/02/19/sharepoint-2013-configuring-search-service-application-and-topology-using-powershell.aspx
    You can also run the Query Processing component in web front server and run the other components in the search servers or application servers.
    Please refer to the link below:
    http://blogs.technet.com/b/meamcs/archive/2013/04/09/configuring-sharepoint-2013-search-topology.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+yahoo%2FZfiM+(Team+blog+of+MCS+%40+Middle+East+and+Africa)
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Backup Sharepoint 2013 SP1 Farm with SQL 2014 RTM "Always On" using System Center 2012 R2 Data Protection Manager

    Is backing up and Restoring SharePoint 2013 SP1 Farm with SQL 2014 RTM  "Always On" High Availability now supported using "System Center 2012 R2 Data Protection Manager"? 
    I cannot find information anywhere.
    Regards,
    Igor

    This is a DPM supportability issue, I believe. Last I heard, no it was not supported. SharePoint 2013 does not support SQL 2014 until the April 2014 CU. The CU should be out soon, although it appears to have been delayed (usually comes out on Patch Tuesday,
    which was this past Tuesday).
    Trevor Seward
    Follow or contact me at...
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Creation of SharePoint Search service with the help of powershell.

    Hi Team,
    Upgraded WSS 3.0 to SharePoint 2013 Foundation red the SharePoint search.
    We found log backup on the subjected server was failing due to database name,
    which is more than max allowed legth. To fix the same, we may need to rename the
    same to short name.
    failed-1073548784)
    Executing the query "BACKUP LOG [Search_Service_Application_AnalyticsRe..."
    failed with the following error: "Invalid device name. The length of the
    device name provided exceeds supported limit (maximum length is:259). Reissue
    the BACKUP statement with a valid device name.
    BACKUP LOG is terminating
    abnormally."
    Database Name :
    Search_Service_Application_AnalyticsReportingStoreDB_2e7b13e23fde4c8397ed0be06474966f
    To rename SharePoint Search it took more than 5 hours.
    Is it possible to create SharePoint search using PowerShell and will get support from Microsoft for search application built this way ?
    Please share information on how create SharePoint search using powershell.
    Our environment: SharePoint 2013 Foundation.
    Best Regards,
    Mahesh

    Hi Mahesh,
    To create Search Service Application in SharePoint Foundation 2013 by using PowerShell, you can refer to the links below for more details:
    http://www.andrewjbillings.com/sharepoint-2013-foundation-creating-the-search-service-with-powershell-and-removing-those-pesky-guids/
    http://blog.falchionconsulting.com/index.php/2013/02/provisioning-search-on-sharepoint-2013-foundation-using-powershell/
    Best regards,
    Victoria Xia
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • How to view and restore sharepoint 2013 designer workflows and how to redeploy with newer version to environments

    how to view and restore sharepoint 2013 designer workflows and how to redeploy with newer version to environments
    MCTS Sharepoint 2010, MCAD dotnet, MCPDEA, SharePoint Lead

    Hi,
    In SharePoint Designer 2010, we could not save the workflow as a template directly except the reusable workflow.
    However, in SharePoint Designer 2013, we can just save all the types workflow as a template, then you can import the workflow into the new environment.
    http://blogs.msdn.com/b/workflows_for_product_catalogs/archive/2012/11/02/deploying-a-workflow-on-a-different-server.aspx
    In SharePoint Designer 2013, every time we publish the workflow, we would get a newer version workflow, and the old workflow version would be overwritten.
    So, when you deploy the workflow in the environment, the workflow would the newer version.
    Thanks,
    Jason
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Jason Guo
    TechNet Community Support

  • How to create and configure proxies in ADF mobile using OWSM client agent?

    Hi
    Can anyone please tell me how to create and configure proxies in ADF mobile application using Oracle Web Services Manager (OWSM) Lite Mobile ADF Application Agent. I read it in mobile document that,
    For secured web services, the user credentials are dynamically injected using ADF Mobile uses Oracle Web Services Manager (OWSM) Lite Mobile ADF Application Agent to create and configure proxies, as well as to request services through the proxies. The user credentials are injected into the OWSM enforcement context when proxies are configured.
    I am new with this OWSM, can anyone please give me some hints like how to proceed further for implementing authentication using OWSM lite mobile ADF Application Agent??
    Thanks in advance
    Raj

    Hi Juan
    The demo is very useful, and in that Shay describes about the remote login using a regular ADF webapplication as a secured one and deploying it into the server. But I would like to know how to create a local login using OWSM client agent? .
    Without creating a regular ADF webapplication, how can i call secured webservices(i.e., by using OWSM client agent how to create and configure proxies to call secured webservice, where the user credentials are injected into webservice request by OWSM client as mentioned in ADF mobile document)??
    Regards
    Raj

  • How to create and configure JMSConnection Factory programatically?

    Guys,
              How to create and configure JMSConnection Factory programatically and (<b>NOT THRU CONSOLE</b>)?
              There is an option using the JMSHepler to create the Queues.
              Is there an option to create ConnectionFactories using the same or other classes?
              anshuk

    There are no 8.1 "JMSHelper" extensions for creating conection factories (they've been added for 9.0). Instead, you can use a variety of more generic methods.
              You can create configuration scripts using WLST or wlconfig or wlshell, or make direct calls from java into WebLogic's public JMX mbean APIs (all config tools, including the console, call into these APIs).
              For a JMX example, see the implementation of the "JMSML" utility on dev2dev.bea.com. For WLST examples search for "+WLST +JMS".
              Tom

Maybe you are looking for

  • Report on Change in Condition Record effects which all Sales Orders

    Hello Gurus, Thanks in advance. My customer requires a report which gives him list of Sales Orders effected due to Change in Condition Record. Proper input to this will be greatly rewarded. Regards, Vishvesh Kamdar

  • My iPhone 4 keeps restarting it's self & Won't Charge

    "APPLE HARDWARE/SOFTWARE PRODUCT PROBLEMS WITH MINE & WORLDWIDE" 1. 24-06-2011 As from Friday 24th June 2011 when I purchased my iPhone 4 it Won't Charge, stays in the red & go above 5% even after 2-3+ days no difference charging plus I tried x4 diff

  • Custom duty in import

    Hi, I have a scenario We have following custom conditions JCDB     IN Basic customs JCV1     IN CVD JECV     ECS on CVD J1CV     She cess on CVD ZCV2     Ecess Basic Customs ZSDB     Sec Ecess inv on BCD JADC     ADC in Imports Of the above JCV1,JECV

  • How to add an external CSS file in master page

    Hi, We're running a SharePoint 2013 (Office 365) team site. I'd like to use the same formatting in all my site pages. I currently use a script editor web part to apply the formatting changes which is cumbersome. How can I utilize a css file so that a

  • PB about EM and OEM?

    hi,everyone i have successfully installed 9i(9.2.0)[default installion] and 9iAS(9.0.3)[9iAS_J2EE] on the same server(RHAS2.1).Now i found that 9i server include a component named OEM(Oracle Enterprise Manager),and i aso found that 9iAS include a com