Presentation is loading. Please wait.

Presentation is loading. Please wait.

4/20/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.

Similar presentations


Presentation on theme: "4/20/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks."— Presentation transcript:

1 4/20/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

2 How to manage and troubleshoot Search: A practical guide
4/20/2017 SPC375 How to manage and troubleshoot Search: A practical guide Brian Pendergrass and Jon Waite Premier Field Engineers Microsoft © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

3 4/20/2017 Who is this session for? SharePoint IT professionals who support/manage Search environments 300 level content Discussion of Search internals Ask the Experts Come find us to talk more about Search © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

4 The decoder ring… SSA QPC SQ&SS Juno/Mars
4/20/2017 The decoder ring… SSA QPC SQ&SS Search Service Application Query Processing Component Search Query & Site Settings Juno/Mars Internal naming conventions for Search that appear in ULS for various activities WCF (Windows Communication Foundation) A framework for building service-oriented applications where clients communicate with services through defined endpoints WSDL (Web Services Description Language) Describes the complete contract for application communication AAMs( Alternate Access Mappings) Enable a Web application that receives a request for an internal URL to return pages that contain links to the public URL for the zone © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

5 SharePoint 2013 Search Architecture
Crawling and Feeding Chain Admin mssearch.exe noderunner.exe xnoderunner.exe Query Processing (IMS) WFE Search Admin Analysis Engine (APC) CRAWL STORE Crawl Store Search Query and Site Settings (with searchservice.svc End Points) Analytics Reporting SSA Proxy Query OM Server-side UI Query CSOM Links Store Usage DB SharePoint Crawler (Crawl) Content Processing Search core FAST search core Custom Enrichment Web Service mssdmn.exe CSS (Load Balancer) Processing Flows Index Router Journal \\srv\gthrsvc network share Content Plug-In API Content Protocol Handlers sts4[s] (SharePoint) sps3[s] (People) http[s] (Web) file (File Share) bdc (Business) Relevancy Engine Query Flows IMS Query Pool Result Mixer Mars Lookup Operator (MLO) events w3wp.exe Index Core Query Chain Content Router UX mssearch.exe w3wp.exe w3wp.exe Analytics Service noderunner.exe noderunner.exe Unit of Scale / Role boundary

6 Five key takeaways from this session…
4/20/2017 Five key takeaways from this session… Application Server Administration Service Timer Job Synchronizes search instances across the farm Crawl state lives in the database More precise state can be found in the MSSCrawlHistory/MSSCrawlComponentsState tables Follow a crawled document via ULS Use VerboseEx ULS to track from Crawler to CPC to Index Follow a query via ULS Use Merge-SPLogfile, Query starts at the Web Front End Crawl the default zone Don’t use server name mappings for SharePoint content © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

7 Troubleshooting Crawling and Feeding

8 Problem: My Crawl is stuck!
4/20/2017 Problem: My Crawl is stuck! Where to look: Check Central Admin Search Topology page for errors Check Timer Service/Timer Jobs Check ULS logs on Crawler for errors Check Search databases MSSCrawlHistory What is the crawl status? Requested status? MSSCrawlComponentState What are the component states for your crawl? MSSCrawlQueue Are items being added/removed? MSSCrawlURL Are items marked with this crawl ID being changed? Are there blocking/blocked queries on the databases? © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

9 Central Admin Search Topology
4/20/2017 Central Admin Search Topology Check Central Admin Search Topology page for errors Ensure the components are online (green checkmark) © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

10 Check Timer Service/Timer Jobs
4/20/2017 Check Timer Service/Timer Jobs Application Server Administration Service Timer Job Ensure this job is running and Synchronize is succeeding by examining ULS Message: Name=Timer Job job-application-server-admin-service Message: synchronizing search service instance Message: Done synchronizing SearchServiceInstance. Message: Leaving Monitored Scope (Timer Job job-application-server-admin-service). Execution Time=XXXX © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

11 ULS Logs Example: The application cannot be initialized.
4/20/2017 ULS Logs Example: The application cannot be initialized. Context: Application 'Search_Service_Application' Details: The gatherer is shutting down (0x80040d23) ERROR Application Server Administration job failed for service instance Microsoft.Office.Server.Search.Administration.SearchServiceInstance (ee54f9c5-2b e abb). Reason: The gatherer is shutting down. Technical Support Details: System.Runtime.InteropServices.COMException (0x80040D23): The gatherer is shutting down. at Microsoft.Office.Server.Search.Administration.MSSITLB.IGatherManagerAdmin3.get_ConfigurationVersion() at Microsoft.Office.Server.Search.Administration.Gatherer.ProvisionGlobalProperties() at Microsoft.Office.Server.Search.Administration.SearchServiceInstance.Synchronize() at Microsoft.Office.Server.Administration.ApplicationServerJob.ProvisionLocalSharedServiceInstances(Boolean isAdministrationServiceJob) © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

12 ULS Logs Check ULS logs on Crawler for errors
4/20/2017 ULS Logs Check ULS logs on Crawler for errors If Application Server Administration Service Timer Job isn’t running, you may see no entries at all. SSP Job Control Service instance Status = online Hidden “Service on Server” PowerShell: $sspjob = (Get-SPFarm).Servers[“<servername>"].ServiceInstances | where {$_.typename -eq "SSP Job Control Service"} © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

13 SPC2012 – IT Pro 4/20/2017 Crawl state lives in the database The SharePoint Crawl is stateful with transitional “ing” states (e.g. starting, completing, stopping, pausing) and corresponding rest states (e.g. started, completed, stopped, paused) © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

14 Translating MSSCrawlHistory Status
SPC2012 – IT Pro 4/20/2017 Translating MSSCrawlHistory Status Status SubStatus This combination means… Crawl Component Crawl DB New crawl, requesting start x 1 Starting, Add Start Address(es) 2 Starting, waiting on Crawl Component(s) 4 Crawling Crawling, Unvisited to Queue 3 Crawling, Delete Unvisited Crawling, Wait for All Databases 5 Failed to Start (e.g. Another Crawl Already Running) 7 Resuming 8 Pausing, Waiting on Crawl Component(s) to Pause Pausing, Complete Pause 9 Paused 11 Completed 12 Stopped 13 Stopping, Waiting on Crawl Component(s) to Stop Stopping, Complete Stop 14 Completing, Waiting on Crawl Component(s) to Complete Completing Completing, Get Deletes Pending Source:[SSA].[dbo].[proc_MSS_CrawlAdmin] © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

15 For Crawls Waiting on Crawl Components…
SPC2012 – IT Pro 4/20/2017 For Crawls Waiting on Crawl Components… SELECT   hist.CrawlId, hist.CrawlType, hist.ContentSourceId, hist.StartTime, hist.Status, hist.SubStatus, hist.Request,   ccState.ComponentID, ccState.Status as ccStatus, ccState.SuspendedCount FROM [SSA].[dbo].[MSSCrawlHistory] AS hist WITH (nolock) INNER JOIN   [SSA].[dbo].[MSSCrawlComponentsState] AS ccState   ON hist.CrawlId = ccState.CrawlId WHERE hist.Status Not In (5,11,12) and hist.crawlid > 2 © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

16 Are there blocking queries on the databases?
SPC2012 – IT Pro 4/20/2017 Are there blocking queries on the databases? Check with the DBA Check the SQL Server Blocked Queries Report Does SQL have adequate drive space for database/logs? Yes, what do we do? If you do find a blocked query, you need to understand why/what it’s doing Search will often simply re-issue the same blocking query as soon as it fails This may mean updating statistics so SQL can choose a better execution plan © 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

17 Follow a crawled document via ULS
E5G1 Crawl Store AJPND AI3EF Crawl Component \\srv\gthrsvc network share Content blob Connector Content Processing Component Index Component DS86 AF7YN Crawling/Gathering Feeding/Processing

18 Troubleshooting Queries

19 Following the path of a Query…
TechReady 17 4/20/2017 Following the path of a Query… Search Index Core Web01 User query [HTTP] EndPoint: SearchService.svc SQ&SS Search Query & Site Settings QPC Query Processing Component [net.tcp] EndPoint ImsQueryInternal WCFSendRequest JunoSendRequest MarsLookupOperator For a query, a single Correlation ID spans across components and servers © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

20 Query: Sorry, something went wrong.
4/20/2017 Query: Sorry, something went wrong. SharePoint 2013 SharePoint 2010 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

21 Demo Run a query …and watch if fail with “Sorry, something went wrong”
Use the Correlation ID to filter ULS events across all applicable servers Merge-SPLogFile -Path $target -Correlation $id Demo

22 A case of something going wrong…
TechReady 17 4/20/2017 A case of something going wrong… SQ&SS Search Query & Site Settings Web01 User query SQ&SS Search Query & Site Settings WCFSendRequest SharePoint Foundation Topology e5mc Medium WcfSendRequest: RemoteAddress: ' Channel: 'Microsoft.Office.Server.Search.Administration.ISearchServiceApplication' Action: ' SharePoint Server Search Query dka5 High SearchServiceApplicationProxy::Execute--Error occured: System.ServiceModel.ServerTooBusyException: The HTTP service located at is unavailable. This could be because the service is too busy or because no endpoint was found listening at the specified address. Please ensure that the address is correct and try accessing the service again later. ---> System.Net.WebException: The remote server returned an error: (503) Server Unavailable at System.Net.HttpWebRequest.GetResponse() © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

23 Common networking issues
4/20/2017 Common networking issues Ports and Protocols Ports used by the search index component — TCP (intra-farm only) Ports required for Windows Communication Foundation communication — TCP 808 Ports required for communication between Web servers and service applications (the default is HTTP): HTTP binding: TCP 32843 HTTPS binding: TCP 32844 Disable TCP Chimney/Task Offload netsh int tcp show global | findstr Chimney netsh int ip show global | findstr "Task Offload" © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

24 Important event in ULS for Query Perf
Search Query Processing aizgm Medium Microsoft.Office.Server.Search.Query.Pipeline.Executors.QueryPipelineFlowExecutor : FlowExecutor done: SearchApplication=cb4954e3-e4ad-40bd-b0e2-1b1db290c668. ParentFlow=Microsoft.ProductivitySearchFlow SubFlowTimings: QueryRuleConditionMatching=468 QueryTransformer=31 QueryRouter=1093 ResultsMixer=0 LayoutsSelector=0 QueryLogging=15 Search Search Component ajkph High Microsoft.Ceres.SearchCore.Query.MarsLookupComponent.LookupService.QueryClient.QueryExecutor: ExecuteQuery timings for correlation: dad1789c-7d1d b36-b562c4fdae55, task dispatch 0 ms, blocked waiting 254 ms, total hits: 84, with dupes: 92, bytes received: 33238, 1 tasks: (cell: I.0.0 at IndexComponent1, total task time: 79 ms, query push queue: 174 ms, send to index call duration: 20 ms, total in transit: 63 ms, index node execute queue: 0 ms, query lookup: 7 ms, docsum lookup: 9 ms)

25 Where’s this SQ&SS you speak of?
4/20/2017 Where’s this SQ&SS you speak of? © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

26 Search Query and Site Settings Service
4/20/2017 Search Query and Site Settings Service Note: The SQ&SS will be automatically started on all servers with a QPC, but should not be enabled on any other server © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

27 Search Query and Site Settings Service
4/20/2017 Search Query and Site Settings Service Get-SPEnterpriseSearchQueryAndSiteSettingsServiceInstance TypeName Status Id Search Query and Site Settings Service Disabled 838d344e-cbe f4d19c2413e Search Query and Site Settings Service Disabled b-163b-41cb cb80d65b52 Search Query and Site Settings Service Disabled 6ec6ea28-c732-48dd-ab a577a300 Search Query and Site Settings Service Disabled d301abbf-4a c-3a4041c40a0f Search Query and Site Settings Service Online c36-66fb-41b5-b622-6a97c4e0aa26 foreach ($pt in $SSA.EndPoints) { $pt.ListenUris.AbsoluteUri } © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

28 Farm: Load Balancing the SSA EndPoint
TechReady 17 4/20/2017 Farm: Load Balancing the SSA EndPoint Search Load Balancing IMS/Query Flows User query Web01 WCFSendRequest Search Index Core QPC Query Processing Component JunoSendRequest MarsLookupOperator SQ&SS Search Query & Site Settings Farm Load Balancing WCF Service EndPoints © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

29 Farm: Load Balancing the SSA EndPoint
TechReady 17 4/20/2017 Farm: Load Balancing the SSA EndPoint SQ&SS Search Query & Site Settings QPC Query Processing Component Search Index Core MarsLookupOperator User query Web01 WCFSendRequest JunoSendRequest QPC Query Processing Component SQ&SS Search Query & Site Settings Farm Load Balancing WCF Service EndPoints Search Load Balancing IMS/Query Flows © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

30 Farm Topology: Error Handling
TechReady 17 4/20/2017 Farm Topology: Error Handling SQ&SS Search Query & Site Settings SQ&SS Search Query & Site Settings User query Web01 WCFSendRequest SQ&SS Search Query & Site Settings The Farm takes this failed EndPoint out of rotation for 10 min SharePoint Foundation Topology Critical A failure was reported when trying to invoke a service application: EndpointFailure Process Name: OWSTIMER Process ID: AppDomain Name: DefaultDomain AppDomain ID: 1 Service Application Uri: urn:schemas-microsoft-com:sharepoint:service:144f1459cc294525bf691… #authority=urn:uuid…&authority= Active Endpoints: 2 #the total number of known EndPoints for this Service Application Failed Endpoints: Affected Endpoint: © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

31 The impact of Alternate Access Mappings
4/20/2017 The impact of Alternate Access Mappings © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

32 Auto-magically mapped to current zone
TechReady 17 4/20/2017 Auto-magically mapped to current zone Web01 User query Query Results: © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

33 Auto-magically mapped to current zone
TechReady 17 4/20/2017 Auto-magically mapped to current zone Web01 User query Query Results: © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

34 Queries across Web Apps use same zone
TechReady 17 4/20/2017 Queries across Web Apps use same zone Alternate Access Mappings Default Intranet Web App A Default Intranet Web App B Query Results: © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

35 Demo Test query from Search Center
4/20/2017 Demo Test query from Search Center Test contextual query (e.g. “This Site”) © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

36 Look for content with root http://usersurl
Why this does not work… Query comes in via Items in Index OriginalPath(string): Path(string): SitePath(string): ParentLink(string): ServerRedirectedUrl(string): SPSiteURL(string): QPC Query Processing Component Look for content with root Search Index

37 Demo Break it by manually swapping AAMs 4/20/2017
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

38 Server Name Mappings are not intended for SharePoint Content
4/20/2017 Server Name Mappings are not intended for SharePoint Content Items in Index Search Index OriginalPath(string): Path(string): SitePath(string): ParentLink(string): ServerRedirectedUrl(string): SPSiteURL(string): OriginalPath(string): Path(string): SitePath(string): ParentLink(string): ServerRedirectedUrl(string): SPSiteURL(string): MPs have inconsistent root URLs when using Server Name Mappings © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

39 Five key takeaways from this session…
4/20/2017 Five key takeaways from this session… Application Server Administration Service Timer Job Synchronizes search instances across the farm Crawl state lives in the database More precise state can be found in the MSSCrawlHistory/MSSCrawlComponentsState tables Follow a crawled document via ULS Use VerboseEx ULS to track from Crawler to CPC to Index Follow a query via ULS Use Merge-SPLogfile, Query starts at the Web Front End Crawl the default zone Don’t use server name mappings for SharePoint content © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

40 Search Related Sessions
Room Time Develop Advanced Search-Driven SharePoint 2013 Apps SPC402 Palazzo I, J Tue 1:45pm Best practices for Hybrid Search deployments SPC306 Veronese 2401 Tue 5:00pm SharePoint 2013 Search Analytics SPC340 Palazzo M, N Wed 9:00am How to manage and troubleshoot Search: A practical guide SPC375 Wed 10:45am 6 Proven Steps to Get the Best Out of Search in SharePoint 2013 SPC265 Delphino 4001 Wed 1:45pm Best practices for Information Architecture and Enterprise Search SPC207 Search content enrichment and extensibility in SharePoint 2013 SCP414 Palazzo K, L Customizing Search experiences with Azure Hosted Data and Bing Maps SPC321 Wed 3:15pm Futuristic Search applications using Kinect and Yammer! SPC405 Palazzo M, N Search architecture and sizing in SharePoint 2013 SPC336 Titian 2201 Wed 5:00pm Effective Search deployment and operations in SharePoint 2013 SPC360 Thu 9:00am SharePoint 2013 Search display templates and query rules SPC322 Managing Search Relevance in SharePoint 2013 and O365 SPC382 Thu 12:00pm Search Related Sessions See you at the Search booths & Search tables at Ask the Experts

41 connect. reimagine. transform.
4/20/2017 Sponsored by MySPC Evaluate sessions on MySPC using your laptop or mobile device: myspc.sharepointconference.com connect. reimagine. transform. © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

42 4/20/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION. © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.


Download ppt "4/20/2017 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks."

Similar presentations


Ads by Google