1 |
A |
Install your WebSphere Application Server product. |
2 |
A |
Create an application server profile. |
3 |
B |
If you plan to run IBM HTTP Server on iSeries, it is
already installed as product 5722DG1. You can also use a Domino Web server
on iSeries. Refer to the Domino documentation for installation instructions. For
either scenario, you must install the Web server Plug-ins component of the
WebSphere Application Server product. See Installing Web server plug-ins on i5/OS.
|
4 |
B |
Run the manageprofiles Qshell
command to create an http profile. The http profiles are Version 6.x equivalents
of 5.0 and 5.1 remote instances. For example, run this command from Qshell: app_server_root/bin/manageprofiles
-create
-profileName myHttpProfile
-templatePath http
The myHttpProfile variable
is the name of the profile.
|
5 |
B |
Configure the IBM HTTP Server with your http profile
myHttpProfile.
For additional details or information
on configuring your Domino HTTP Server, see Configuring an HTTP server instance. Assume your Web server's name is
MyWebServer.
As a result of the above, an i5/OS qshell script called configureIHS_MyWebServer will
be created in the myHttpProfile_profile_root/config/IHS_myWebServer directory
on machine B. For the default WebSphere Application Server install, themyHttpProfile_profile_root of
the profile myHttpProfile is /QIBM/UserData/WebSphere/AppServer/V61/Base/profiles/myHttpProfile.
Note: In the remainder of this example, webServerName
refers to IHS_myWebServer. If you choose to configure a DOMINO Web server
as listed below, then webServerName refers to DOMSRV01.
The
following steps apply to DOMINO Web servers only:
- Run the configureOs400WebServerDefinition script on
the http profile myHttpProfile. For example:
configureOs400WebServerDefinition -profileName myHttpProfile
-webserver.name DOMSRV01 -webserver.type DOMINO -webserver.port 80
- Using the WRKDOMSVR command to update the notes.ini file of your Domino
server, insert the following directive: WebSphereInit=myHttpProfile_profile_root/config/DOMSRV01/plugin-cfg.xml
- From the Lotus Notes client connected to the Domino server, click the
internet protocols tab and then click the HTTP tab. Under DSAPI filter names
add the following: /QSYS.LIB/ product_lib.LIB/LIBDOMINO.SRVPGM
- Save your changes
|
6 |
A |
Copy the configurewebServerName script
from Machine B to Machine A. The script is found in the myHttpProfile_profile_root/config/webServerName directory
described above |
7 |
A |
Place the file you copied from the previous step into
the profile_root/bin directory on Machine A, where profile_root is
the directory where your application server profile is located. |
8 |
A |
Start the application server and then run the script
that you copied in the previous step. For example,
run these commands from Qshell: app_server_root/bin/startServer
-profileName myProfile
cd profile_root/bin
./configurewebServerName [wasAdminUserId] [wasAdminPassword]
Note: wasAdminUserId and wasAdminPassword are optional and only needed when the application server of myProfile is
running in secure mode.
|
9 |
A |
If you use IBM HTTP Server on iSeries, verify that the
application server is running. Open the administrative console (ISC) and do
the following:
- Expand Servers > Web servers
- Select your Web server, in this case it is IHS_MyWebServer,
then click Remote web server management
- Enter the user ID and password used to authenticate to Machine B. The
authorities required by this profile are the same as that required to access
the HTTP administration GUI. For details, see User profiles and required authorities for HTTP Server in
the iSeries Information Center.
- Save your configuration.
|
10 |
A |
Configure a virtual host alias for the Web server machine(B)
and Web server port of MyWebServer. For details, see Configuring the virtual host.
|
11 |
A |
Stop and restart your application server. |
12 |
A |
In the administrative console (ISC) do the following:
- Select webServerName and click Generate Plug-in to
generate the plugin-cfg.xml file.
- Select webServerName and click Propagate Plug-in to
propagate the plugin-cfg.xml file to machine B.
|
13 |
B |
If you use IBM HTTP Server on iSeries, start the Web
server. Open the administrative console (ISC) and do the following:
- Expand Servers > Web servers.
- Select your Web server, in this case it is IHS_MyWebServer,
then click Start.
If you use Domino HTTP Server on iSeries, start the Web server from a
CL command line:
- Run the Work with Domino Servers (WRKDOMSVR) command.
- Specify option 1 next to your Domino server.
- Press Enter.
|
14 |
B |
Run the snoop servlet. Access the following URL in your
browser: http://host_name_of_machine_B/snoop
If
you get an error, retrace your steps. Add a virtual host to Machine A before
restarting the application server on Machine A.
|