How to Configure Request Manager View in SharePoint 2013

As you know, Request Manager is used to manage incoming requests in SharePoint 2013. In this blog post, I’ll show you how to configure Request Manager.

Step 1: Create a new web application with host header and a site collection with SharePoint Management Shell tool. 

Go to Start, click All Programs.  Expand the Microsoft SharePoint 2013 Products folder. Click on the SharePoint 2013 Management Shell program and select Run as administrator option.

Next, run the following script: 

New-SPSite “http://url.hnsc.com” -HostHeaderWebApplication “http://url ” -Name “url.HNSC” -Description “spider-man HNSC” -OwnerAlias “DomainUser” -language 1033 -Template “STS#0” 

Example: New-SPSite “http://Demo.hnsc.com” -HostHeaderWebApplication “http://Demo ” -Name “Demo.HNSC” -Description “spider-man HNSC” -OwnerAlias “DomainUser1” -language 1033 -Template “STS#0”

See images below.


  
Step 2: Start the Request Management Services in Central Administration.

Open the Central Administration site. Select Application Management and click Manage services on server under Service Applications to start the Request Management.  


 
Step 3:  Go to Start, click All Programs.  Expand the Microsoft SharePoint 2013 Products folder. Click on the SharePoint 2013 Management Shell program and select Run as administrator option.

# Get the RM settings for a particular web app. 

$wa = Get-SPWebApplication  http://Demo.hnsc.com

$rmSettings = $wa | Get-SPRequestManagementSettings

# View the current settings

$rmSettings

# Create a Machine Pool with a Name and use an array of Routing Targets

$mpName = “Primary Machine Pool”

$serverNames = @(“Demo”)

$mp1 = Add-SPRoutingMachinePool -RequestManagementSettings $rmSettings -Name $mpName -MachineTargets $serverNames 

# Display the Machine Pool Configuration

Get-SPRoutingMachinePool -RequestManagementSettings $rmSettings

Press Enter.

See image below.

Step 4:  Create a rule.

Go to Start, click All Programs.  Expand the Microsoft SharePoint 2013 Products folder. Click on the SharePoint 2013 Management Shell program and select Run as administrator option.

Run the script below:

# Create a rule criteria, and then add a Throttling Rule

# Throlling Rules dont use a machine pool, threshold is the health score

$criteria = New-SPRequestManagementRuleCriteria -Property UserAgent -MatchType Regex -Value “.*Microsoft Office OneNote 2013*”

$rmSettings | Add-SPThrottlingRule -Name “Refuse OneNote Requests” -Criteria $criteria 

# create the Rule Criteria, a regex is semi validated

$mpName = “Primary Machine Pool”

$ruleName = “Serve all PDF requests from the $mpName”

$critera = New-SPRequestManagementRuleCriteria -Property Url -MatchType Regex -Value “.*.pdf”

# Get the correct Machine Pool$mp = Get-SPRoutingMachinePool -RequestManagementSettings $rmSettings -Name $mpName

# Create the rule, add it to a execution group (0 if omitted) and a Machine Pool, expiry is a time at which to stop that rule

$rule = Add-SPRoutingRule -RequestManagementSettings $rmSettings -Name $ruleName -ExecutionGroup 0 -MachinePool $mp -Criteria $critera

Press Enter.


 
Step 5: Go to C:WindowsSystem32driversetc 

Add host to the host.txt file.
 

Open your site.


All SharePoint Versions

The web parts are functional components that extend your SharePoint environment whether it’s hosted, on-premises, or part of Microsoft® Office 365.

SharePoint 2013, 2016, 2019, Online (Office 365)

On-Premises Only

These web parts extend SharePoint beyond its out-of-the-box capabilities by tailoring it to your requirements with Bamboo Solution’s growing portfolio of SharePoint Web Parts.

SharePoint 2013, 2016, 2019

SharePoint

Product Suites

Experience greater power and savings by bundling our SharePoint apps and web parts.


Essentials Suite


Essentials Plus Suite


Bamboo Premier Suite


Project Management Suite


Knowledge Management Suite


External User Manager


 

For more information on our product suites, contact us.

Featured Services

SharePoint Health Check

A SharePoint Health Check will identify the causes of issues and risks associated with your specific environment, and is custom tailored to provide you with the best recommendations to optimize your SharePoint environment.

SQL Health Check

Document recommendations relating to performance, stability, availability, or a specific focus you request of your SQL Server database instances.

My SharePointXperts

The truth is that each SharePoint skill may not be a full time job for many organizations, and it is nearly impossible for one person to do everything you need – so augment your team with SharePointXperts; providing the skill sets you need when you need them!