Follow by Email

Monday, 21 November 2016

How to configure load balance between two IIS Web Server

 

Create two VM Machine with the same cloud services

Enable IIS Web Services fo both server

Edit C:\inetpub\wwwroot\iistart.html

Add in <H1>Connected to VM:Web Server 1</H1> for both server according to the name for testing.

clip_image002

For Web Server 1 VM Configure at below

Add Endpoint to a virtual machine and select ADD A STAND-ALONE ENDPOINT

clip_image004

clip_image006

Under name key in WEB, Protocol: TCP, PUBLIC PORT: 8080 and PRIVATE PORT: 80.

Make sure you check box on create a load-balanced set.

clip_image008

Configure Probe Interval =5 seconds and number of probes = 2

Number of probes = number of times I miss it.

For Web Server 2 configure at below

clip_image010

clip_image012

Key in Name and finish the configuration.

Now back to your computer and test the url from your browser

http://coffeeeuropehq.cloudapp.net:8080/

clip_image014

No comments:

Post a Comment