Microsoft Dynamics

 

1Introduction

Microsoft Dynamics CRM is a Customer Relationship Management (CRM) software package developed for businesses. It aims to drive sales, productivity and marketing effectiveness through social insights, business intelligence and campaign management in the cloud, on-premises or with a hybrid combination of both.

Such a powerful tool requires reliable and powerful support. The KEMP LoadMaster delivers an exceptional, cost-effective and easy to use solution which, by employing Adaptive Load Balancing, balances requests across Microsoft Dynamics. Microsoft Dynamics consists of Dynamics CRM servers.

When deployed as a pair, two LoadMasters give the security of High Availability (HA). HA allows two physical or virtual machines to become one logical device. Only one of these units is ever handling traffic at any particular moment. One unit is active and the other is a hot standby (passive). This provides redundancy and resiliency, meaning if one LoadMaster goes down for any reason, the hot standby can become active, therefore avoiding any downtime. For more information on HA please refer to: High Availability (HA), Feature Description.

Figure 1‑1: Microsoft Dynamics Architecture

1.1Document Purpose

This document is intended to provide guidance on how to deploy Microsoft Dynamics CRM with a KEMP LoadMaster. The KEMP Support Team is available to provide solutions for scenarios not explicitly defined.

The KEMP support site can be found at: https://support.kemptechnologies.com.

1.2Intended Audience

This document is intended to be used by anyone deploying Microsoft Dynamics CRM with a KEMP LoadMaster.

2Microsoft Dynamics Template

KEMP has developed a template containing our recommended settings for Microsoft Dynamics CRM. This template can be installed on the LoadMaster and used when creating Virtual Services. Using a template automatically populates the settings in the Virtual Services. This is quicker and easier than manually configuring each Virtual Service. If needed, changes can be made to any of the Virtual Service settings after using the template.

Download released templates from the Templates section on the KEMP documentation page: http://kemptechnologies.com/documentation/.

For more information and steps on how to import and use templates, refer to the Virtual Services and Templates, Feature Description.

For steps on how to manually add and configure each of the Virtual Services, refer to the Configure Microsoft Dynamics Virtual Services section of this document.

3Enable Subnet Originating Requests Globally

It is best practice to enable the Subnet Originating Requests option globally.

In a one-armed setup (where the Virtual Service and Real Servers are on the same network/subnet) Subnet Originating Requests is usually not needed. However, enabling Subnet Originating Requests should not affect the routing in a one-armed setup.

In a two-armed setup where the Virtual Service is on network/subnet A, for example, and the Real Servers are on network B - Subnet Originating Requests should be enabled on LoadMasters with firmware version 7.1-16 and above.

When Subnet Originating Requests is enabled, the LoadMaster will route traffic so that the Real Server will see traffic arriving from the LoadMaster interface that is in that network/subnet.

When Subnet Originating Requests is enabled globally, it is automatically enabled on all Virtual Services. If the Subnet Originating Requests option is disabled globally, you can choose whether or not to enable Subnet Originating Requests on a per-Virtual Service basis.

To enable Subnet Originating Requests globally, follow the steps below:

  1. In the main menu of the LoadMaster WUI, go to System Configuration > Miscellaneous Options > Network Options.

Figure 3‑1: Subnet Originating Requests

  1. Tick the Subnet Originating Requests check box.

4Configure Microsoft Dynamics Virtual Services

The environment in which Microsoft Dynamics CRM is deployed determines which of the following set-ups should be used.

4.1Microsoft Dynamics CRM HTTP

The following are the steps involved and the values required to configure Microsoft Dynamics HTTP Virtual Service:

  1. In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services> Add New.

Figure 4‑1: Virtual Services Parameters

  1. Enter a valid IP address in the Virtual Address text box.
  2. Enter 80 in the Port text box.
  3. Enter a recognizable Service Name, for example MS Dynamic CRM HTTP.
  4. Ensure tcp is selected as the Protocol.
  5. Click Add this Virtual Service.
  6. Expand the Standard Options section.

Figure 4‑2: Standard Options

  1. Deselect the Transparency check box.
  2. Select Super HTTP from the Mode drop-down list.
  3. Select 1 Hour from the Timeout drop-down list.
  4. Select least connection from the Scheduling Method drop-down list.
  5. Set the Idle Connection Timeout to 660 and click the Set Idle Timeout button.
  6. Expand the Advanced Properties section.

Figure 4‑3: Advanced Properties

  1. Select Legacy Operation (X-ClientSide) from the Add HTTP Headers drop-down list.
  2. Expand the Real Servers section.

Figure 4‑4: Real Servers section

  1. Select the HTTP Protocol from the Real Server Check Parameters drop-down list.
  2. Enter / in the URL text box and click Set URL.
  3. Ensure HEAD is selected from the HTTP Method drop-down list.

Figure 4‑5: Add a Real Server

  1. Add the Real Servers:

a)Click the Add New button.

b)Enter the IP address of the CRM Server.

c)Enter 80 as the Port.

The Real Server Port should match the Virtual Service Port.

The Forwarding method and Weight values are set by default. An administrator can change these.

d)Click Add this Real Server. Click OK to the pop-up message.

e)Repeat steps b) to d) above to add more Real Servers as needed, based on the environment.

4.2Microsoft Dynamics CRM HTTPS

KEMP recommends two Virtual Services be configured for Microsoft Dynamics CRM HTTPS.

The following are the steps involved and the values required to configure the Microsoft Dynamics HTTPS Virtual Services:

4.2.1Microsoft Dynamics HTTPS (Redirect)

  1. In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services> Add New.

Figure 4‑6: Virtual Services Parameters

  1. Enter a valid IP address in the Virtual Address text box.
  1. Enter 80 in the Port text box.
  2. Enter a recognizable Service Name, for example MS Dynamic CRM HTTPS Redirect.
  3. Ensure tcp is selected as the Protocol.
  4. Click Add this Virtual Service.
  5. Expand the Standard Options section.

Figure 4‑7: Standard Options

  1. Deselect the Transparency check box.
  2. Select None from the Mode drop-down list.
  3. Select round robin from the Scheduling Method drop-down list.
  4. Expand the Advanced Properties section.

Figure 4‑8: Advanced Properties

  1. Select Legacy Operation (X-ClientSide) from the Add HTTP Headers drop-down list.
  2. Select 302 Found from the Error Code drop-down list.
  3. Enter https://%h%s in the Redirect URL text box and click Set Redirect URL.

4.2.2Microsoft Dynamics HTTPS (Certificate Installed on Real Server)

  1. In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services> Add New.

Figure 4‑9: Virtual Services Parameters

  1. Enter a valid IP address in the Virtual Address text box.
  1. Enter 443 in the Port text box.
  2. Enter a recognizable Service Name, for example MS Dynamic CRM HTTPS.
  3. Ensure tcp is selected as the Protocol.
  4. Click Add this Virtual Service.
  5. Expand the Standard Options section.

Figure 4‑10: Standard Options

  1. Ensure the Force L4 check box is clear.
  2. Ensure the Transparency check box is clear.
  3. Select Source IP Address from the Mode drop-down list.
  4. Select 1 Hour from the Timeout drop-down list.
  5. Select least connection from the Scheduling Method drop-down list.
  6. Enter 660 as the Idle Connection Timeout and click Set Idle Timeout.
  7. Expand the Real Servers section.

Figure 4‑11: Real Servers

  1. Select HTTPS Protocol from the Real Server Check Parameters drop-down list.
  2. Enter / in the URL text box and click Set URL.
  3. Select HEAD from the HTTP Method drop-down list.

Figure 4‑12: Add a Real Server

  1. Add the Real Servers:

a)Click the Add New button.

b)Enter the IP address of the CRM Server.

c)Enter 443 as the Port.

The Real Server Port should match the Virtual Service Port.

The Forwarding method and Weight values are set by default. An administrator can change these.

d)Click Add this Real Server. Click OK to the pop-up message.

e)Repeat steps b) to d) above to add more Real Servers as needed, based on the environment.

4.3Microsoft Dynamics HTTPS Re-encrypt

KEMP recommends two Virtual Services be configured for Microsoft Dynamics CRM HTTPS Re-encrypt.

The following are the steps involved and the values required to configure the Microsoft Dynamics HTTPS Re-encrypt Virtual Services:

4.3.1Microsoft Dynamics CRM HTTPS Reencrypted Redirect

  1. In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services > Add New.

Figure 4‑13: Virtual Services Parameters

  1. Enter a valid IP address in the Virtual Address text box.
  1. Enter 80 in the Port text box.
  2. Enter a recognizable Service Name, for example MS Dynamic CRM HTTPS Reencrypted-Redirect.
  3. Ensure tcp is selected as the Protocol.
  4. Click Add this Virtual Service.
  5. Expand the Standard Options section.

Figure 4‑14: Standard Options

  1. Deselect the Transparency check box.
  2. Select None from the Mode drop-down list.
  3. Select round robin from the Scheduling Method drop-down list.
  4. Expand the Advanced Properties section.

Figure 4‑15: Advanced Properties

  1. Select Legacy Operation (X-ClientSide) from the Add HTTP Headers drop-down list.
  2. Select 302 Found from the Error Code drop-down list.
  3. Enter https://%h%s in the Redirect URL text box and click Set Redirect URL.

4.3.2Microsoft Dynamics CRM HTTPS Reencrypt

  1. In the main menu of the LoadMaster Web User Interface (WUI), go to Virtual Services> Add New.

Figure 4‑16: Virtual Services Parameters

  1. Enter a valid IP address in the Virtual Address text box.
  1. Enter 443 in the Port text box.
  2. Enter a recognizable Service Name, for example MS Dynamic CRM HTTPS Re-encrypt.
  3. Ensure tcp is selected as the Protocol.
  4. Click Add this Virtual Service.
  5. Expand the SSL Properties section.

Figure 4‑17: SSL Properties

  1. Select the Enabled and Reencrypt check boxes for SSL Acceleration.
  2. Select the three TLS check boxes for Supported Protocols.

While the Cipher Set automatically selects Default from the drop-down list, users may select BestPractices to ensure all security scans are passed without issue.

  1. Expand the Standard Options section.

Figure 4‑18: Standard Options

  1. Ensure Transparency is Disabled.
  2. Select Super HTTP from the Mode drop-down list.
  3. Select 1 Hour from the Timeout drop-down list.
  4. Select least connection from the Scheduling Method drop-down list.
  5. Expand the Real Servers section.

Figure 4‑19: Real Servers

  1. Select HTTPS Protocol from the Real Server Check Parameters drop-down list.
  2. Enter / in the URL text box and click Set URL.
  3. Select HEAD from the HTTP Method drop-down list.

Figure 4‑20: Add a Real Server

  1. Add the Real Servers:

a)Click the Add New button.

b)Enter the IP address of the CRM Server.

c)Enter 443 as the Port.

The Real Server Port should match the Virtual Service Port.

The Forwarding method and Weight values are set by default. An administrator can change these.

d)Click Add this Real Server. Click OK to the pop-up message.

e)Repeat steps b) to d) above to add more Real Servers as needed, based on the environment.

References

Unless otherwise specified, the following documents can be found at: http://kemptechnologies.com/documentation.

Virtual Services and Templates, Feature Description. High Availability (HA), Feature Description

Document History

Date

Change

Reason for Change

Version

Resp.

Dec 2015

Initial Draft

First draft of document

1.0

KG

Jan 2016

Minor change

Updated

2.0

LB

Mar 2016

Release updates

Updated for 7.1-34 release

3.0

LB

Oct 2016

Release updates

Updated for 7.2.36 release

4.0

POC

Was this article helpful?

0 out of 0 found this helpful

Comments