Contained Within
Find More Documentation
Featured Support Resources
| Download this book in PDF (1433 KB)
Using Microsoft IIS
To configure Microsoft Internet
Information Services (IIS) to use the load balancer plug-in, modify certain
properties in Windows Internet Services Manager. The Internet Services Manager
is located in the Administrative Tools folder in the Control Panel folder.
Make these modifications after installing the Sun Java System Application Server.
To Configure Microsoft IIS to use the Load Balancer
Plug-in
-
Open the Internet Services Manager.
-
Select the web site for which you want to enable the plug-in.
This web site is typically named the Default Web Site.
-
Right click on the web site and select Properties to open the
Properties notebook.
-
Add a new ISAPI filter, following these steps:
-
Open the ISAPI Filters tab.
-
Click Add.
-
In the Filter Name field, enter Application Server
-
In the Executable field, type C:\Inetpub\wwwroot\sun-passthrough\sun-passthrough.dll.
-
Click OK, and close the Properties notebook.
-
Create and configure a new virtual directory:
-
Right click on the default web site, select New, and then Virtual
Directory.
The Virtual Directory Creation Wizard opens.
-
In the Alias field, type sun-passthrough .
-
In the Directory field, type C:\Inetpub\wwwroot\sun-passthrough.
-
Check the Execute Permission checkbox.
Leave all
other permission-related check boxes are left unchecked.
-
Click Finish.
-
Add the path of the sun-passthrough.dll file,
the Application Server install-dir/bin and the Application Server install-dir/lib to the system’s PATH environment variable.
-
For IIS 6.0 users, configure the Load Balancer Web Service Extension
to run in IIS 6 using the following steps:
-
In the IIS manager, expand the local computer, and click Web Service
Extensions.
-
In the Tasks pane, select Add a new Web Service Extension.
-
Enter the name of the Extension as Sun-Passthrough and
click Add.
-
Type the path to sun-passthrough.dll, C:\Inetpub\wwwroot\sun-passthrough.
-
Click OK.
-
Select Set extension status to Allowed.
-
For IIS 6.0 users, create the file C:\inetput\wwwroot\sun-passthrough\lb.log and give NTFS write and modify permissions to the group IIS_WPG on the file.
Because IIS 6.0 runs in Worker Process
Isolation Mode, it runs the IIS server with the security privileges of the
group IIS_WPG.
-
For all IIS users, restart the machine.
-
Verify that the web server, load balancer plug-in, and Application Server are
operating correctly.
Type the following in a web browser to access
the web application context root: http://web-server-name/web-application, where web-server-name is
the host name or IP address of the web server and web-application is
the context root that you listed in the C:\Inetpub\wwwroot\sun-passthrough\sun-passthrough.properties file.
Tip –
The ISAPI filter status should be green. To check the filter status,
access the web site's Properties notebook and click the ISAPI Filters tab.
If the status is not green, try sending any HTTP request to the IIS HTTP port.
It is OK if the request fails. Recheck the ISAPI filter status.
Automatically configured sun-passthrough properties
The
installer automatically configures the following properties in sun-passthrough.properties. You can change the default values.
|
Property
|
Definition
|
Default Value
|
|
lb-config-file
|
Path to the load balancer configuration file
|
IIS-www-root\sun-passthrough\loadbalancer.xml
|
|
log-file
|
Path to the load balancer log file
|
IIS-www-root\sun-passthrough\lb.log
|
|
log-level
|
Log level for the web server
|
INFO
|
|