Install and deploy Dynamics 365 under NLB (Network Load Balancing)

Preparation

1. Two application servers (mine are Dynamics-AS01 and Dynamics-AS02).
2. Three IPs (two application server IPs: 192.168.1.110, 192.168.1.111, one load IP: 192.168.1.142).
3. Related dynamics installation packages and upgrade packages.
4. Before installation, you need to create a new OU on the AD domain controller, and give the installation account full control over this OU, or directly use the domain controller administrator to install and configure related service accounts.
For a minimum privilege installation, please refer to: How to install Microsoft Dynamics CRM with the minimum privileges required

Install Network Load Balancing

Add network load balancing and related configurations to the Dynamics-AS01 and Dynamics-AS02 servers respectively.
The specific configuration is as follows:

Click Add Roles and Capabilities
insert image description here

Select Add Network Load Balancing
insert image description here

After the addition is complete, select "Network Load Balancer Manager" in the tool
insert image description here

Configure Network Load Balancing

Open the Network Load Balancing Manager, right click on "Network Load Balancing Clusters" and click Add Cluster

insert image description here

Enter the host name "Dynamics-AS01" and click Connect, then Next
insert image description here

continue to the next step

insert image description here

Add the cluster IP, I use 192.168.1.142, then the next step

insert image description here

Select the cluster operation mode as "Multicast", click Next

insert image description here

Click "Finish", as shown in the figure, the network load balancing cluster has been successfully added
insert image description here

Right-click on the cluster and click Add Host to Cluster

insert image description here

Enter the second application host name "Dynamics-AS02" and click Connect, then click Next until complete.

insert image description here

Install Dynamics 365

First, log in to the Dynamics-AS01 server, install the dynamics application, select the corresponding role to be installed, and click Next.

insert image description here

Select "Create a new deployment" and click Next

insert image description here

Select OU and click Next.

insert image description here

To specify specific users for the service, click Next.

insert image description here

continue to the next step

insert image description here

The next step is to wait for the installation until it is completed.
insert image description here
After the installation of the Dynamics-AS01 application server is completed, we enter the Dynamics-AS02 application server, open the installation package, and perform the installation operation.

insert image description here

continue to the next step

insert image description here

For this step, select "Connect to and upgrade an existing deployment" and click Next.
insert image description here
continue, next step

insert image description here

Continue to the next step until complete.

insert image description here

Just wait for the installation to complete.

insert image description here

Configure Dynamics 365 Network Load Balancing

In the IIS of each application server, find the dynamics 365 site and select "Configuration Editor"

insert image description here

Select the node as shown in the figure below

insert image description here

Set useAppPoolCredentials to true

insert image description here

Open any application server, open the dynamics 365 deployment manager, right-click Dynamics 365, and click Properties.

insert image description here

Click "Advanced" on the Web Address tab

insert image description here

Check "Deploy using NLB" and click OK.
At this point, the configuration of NLB is complete.

insert image description here

Configure the dynamics access domain name corresponding to the NLB IP (192.168.1.142) to the dns or hosts file for resolution. Future access or configuration of other functions (such as ADFS) can use the NLB IP for resolution to perform related configurations.

注意:配置完NLB,如果跨网段访问,可能会访问不到,这时候需要联系网管,通过在网关上手工静态绑定ARP记录解决。下图为NLB的IP地址及MAC地址。
insert image description here

Guess you like

Origin blog.csdn.net/tantu666/article/details/128459217