This example is for users that are not familiar with the Web serving
environment. It describes all the steps necessary to get iSeries™ Access
for Web running in a WebSphere® Portal Web serving environment. It also
describes how to verify that the setup is working.
This example consists of these steps:
- Start the IBM® Web
Administration for iSeries interface (also known as the IBM HTTP Server
for iSeries).
See step 1.
- Create an HTTP Web server, create a WebSphere Application Server V5.0
for iSeries Web
application server, and deploy WebSphere Portal. See step 2
- Configure iSeries Access
for Web. See step 3
- Use a browser to access iSeries Access for Web. See step 4
Steps to configure the WebSphere Portal Web serving environment:
- Start the IBM Web Administration for iSeries interface.
- Start a 5250 session to the server.
- Sign on with a user profile that has at least these special
authorities: *ALLOBJ, *IOSYSCFG, *JOBCTL, and *SECADM.
- Run the following server command to start the web administration
interface job: STRTCPSVR SERVER(*HTTP) HTTPSVR(*ADMIN)
- Minimize the 5250 session.
- Create an HTTP web server, create a WebSphere Application
Server V5.0 for iSeries Web
application server, and deploy WebSphere Portal:
- Open a browser to: http://<server_name>:2001
- Log in with a user profile that has, at least these special
authorities: *ALLOBJ, *IOSYSCFG, *JOBCTL, and *SECADM.
- Select IBM Web Administration for iSeries.
- Select the Setup tabbed page.
- Under Common Tasks and Wizards, select Create WebSphere
Portal.
- The Create WebSphere Portal page opens. Select Next.
- The Create a WebSphere Application Server for the Portal - Specify
Name page opens. In the Application server name field,
enter iwawps5, then select Next.
- The Select HTTP Server Type page opens. Select Create
a new HTTP server (powered by Apache), then select Next.
- The Create a new HTTP server (powered by Apache) page opens.
- For HTTP server name, specify IWAWPS5.
- For Port, specify 2038.
After entering the values, select Next.
- The Specify Internal Ports Used by the Application Server page
opens. For First port in range, change the default
value to 21038, then select Next.
- The Create DB2® Database for Portal page opens. Select Next.
- The Specify User to Own the Portal Database page opens. The
page defaults to use an existing user profile, wpsdbuser.
- If you know the password for this user profile, enter it.
- Otherwise, select Create a new user on this local system and
follow the prompts.
In this example, we assume you use the existing user (default option).
After specifying the user profile, select Next.
- The "Create a default URL path, portal path, and personalized
path" page opens. Leave the default values for the fields displayed. Select Next.
- The Configure Proxy Information for Content Access Service page
opens. Select Next.
- The Deploy Default Portlets page opens. Select Business
portlets for deployment. De-select all other optional portlets,
including iSeries Access portlets. Select Next.
- The Secure Application Server and WebSphere Portal with LDAP page opens.
Select Next.
- The Portal Administrative Group and Administrative User page
opens. For Password and Confirm Password, enter wpsadmin Select Next.
- The Summary page opens. Select Finish.
- The Web page is re-displayed. The Manage/Application Servers
tabbed page is active. Under Instance/Server, iwawps5/iwawps5
– WAS, V5 (portal) is listed with a status of Creating. From this Web page,
you can manage the WebSphere application server.
Use the refresh
icon next to the Creating status to refresh the page, if the page does not
periodically refresh.
When the process completes, the status is updated
to Running.
Minimize the browser window.
- Configure iSeries Access for Web
- Restore the 5250 session window.
- To see the WebSphere application server running, Enter this
server command: WRKACTJOB SBS(QEJBAS5)
- Verify that IWAWPS5 is listed as a job running under the QEJBAS5
subsystem. iSeries Access
for Web requires WebSphere Portal to be running before it can be
configured.
- To see the HTTP server running, run this server command:
WRKACTJOB SBS(QHTTPSVR)
- Verify that IWAWPS5 is listed as a running job. There
will likely be multiple jobs of this name running.
- iSeries Access
for Web portlets are configured using a command provided by the software product.
Two different commands are provided, a CL command and a QShell script command.
Both commands provide and perform the same function. Use the command
you prefer.
- To use the CL command, follow these steps:
- Configure iSeries Access
for Web portlets using the following command:
CFGACCWEB2 APPSVRTYPE (*WP50) WASINST(iwawps5)
WPUSRID(wpsadmin) WPPWD(wpsadmin)
WPURL('<server_name>:2038/wps/config') WPDFTPAG(*CREATE)
These
are the parameters used: - APPSVRTYPE
- Tells the command which Web application server environment to configure.
- WASINST
- Tells the command which instance of the Web application server to configure.
- WPUSRID
- Tells the command what WebSphere Portal administrative user ID to use
to make the configuration change.
- WPPWD
- The password for the user ID entered with the WPUSRID parameter.
- WPURL
- Access the WebSphere Portal
configuration servlet so that the configuration changes can be made.
- WPDFTPAG
- Tells the command to create the default iSeries Access portlet pages and deploy
portlets to those pages.
For help on this command and the parameters, press F1.
- Several messages similar to these will be displayed:
- Configuring iSeries Access for Web.
- Preparing to perform the configuration changes.
- Calling Portal Server to perform the configuration changes.
- Refer to the following log file for additional success/failure
information: /QIBM/UserData/Access/Web2/wp50/iwawps5/logs/cfgwps50iwa.log
- Refer to the following log file for additional success/failure
information: /QIBM/UserData/Access/Web2/wp50/iwawps5/logs/cfgwps50iwapage.log
- iSeries Access for Web command has completed.
- Press F3 or Enter when the command completes to exit the display session.
- To use the QShell script command, follow these steps:
- Start the QShell environment using the following server command: QSH
- Make the iSeries Access
for Web directory the current directory. Run this server command:
cd /QIBM/ProdData/Access/Web2/install
- Configure iSeries Access
for Web portlets using the following command:
cfgaccweb2 -appsvrtype *WP50 -wasinst iwawps5 –wpusrid wpsadmin
-wppwd wpsadmin –wpurl <server_name>:2038/wps/config
-wpdftpag *CREATE
These are the parameters used: - -appsvrtype
- Tells the command which Web application server environment to configure.
- -wasinst
- Tells the command which instance of the Web application server to configure.
- –wpusrid
- Tells the command what WebSphere Portal administrative user ID to use
to make the configuration change.
- -wppwd
- The password for the user ID entered with the WPUSRID parameter.
- –wpurl
- Access the WebSphere Portal
configuration servlet so that the configuration changes can be made.
- -wpdftpag
- Tells the command to create the default iSeries Access portlet pages and deploy
portlets to those pages.
For help on this command and the parameters, specify the -?
parameter.
- Several messages similar to these will be displayed:
- Configuring iSeries Access for Web
- Preparing to perform the configuration changes.
- Calling Portal Server to perform the configuration changes.
- Refer to the following log file for additional success/failure
information: /QIBM/UserData/Access/Web2/wp50/iwawps5/logs/cfgwps50iwa.log
- Refer to the following log file for additional success/failure
information: /QIBM/UserData/Access/Web2/wp50/iwawps5/logs/cfgwps50iwapage.log
- iSeries Access for Web command has completed.
- Press F3 when the command completes to exit the QShell session.
- If the command were to fail or indicate an error, refer to the
log files:
- /QIBM/UserData/Access/Web2/logs/cmds.log
- High level, cause and recovery information; translated
- /QIBM/UserData/Access/Web2/logs/cmdstrace.log
- Detailed command flow for IBM Software Service; English only
- /QIBM/UserData/Access/Web2/wp50/iwawps5/logs/cfgwps50iwa.log
- Details deploying portlets.
Note: This file might be in EBCDIC.
- /QIBM/UserData/Access/Web2/wp50/iwawps5/logs/cfgwps50iwapage.log
- Details creating portal pages.
Note: This file might be in EBCDIC.
- Signoff the 5250 session window.
- Close the 5250 session window.
- Use a browser to access iSeries Access for Web
- Open a web browser to the following addresses to access WebSphere Portal
and iSeries Access
for Web portlets: http://<server_name>:2038/wps/portal.
- Log in to WebSphere Portal using wpsadmin for the user ID
and password.
- The Portal page opens. Select the My iSeries tabbed page. You might
need to move the tab bar to the right to see the My iSeries tab.
- Navigate to the various sub-pages of the My iSeries tabbed
page.
- Close the browser window.
By following these steps, you completed these tasks:
- Created a WebSphere application
server named iwawps5.
- Deployed the WebSphere Portal to the iwawps5 WebSphere Web
application server.
- Created an HTTP server named IWAWPS5.
- Configured iSeries Access
for Web portlets to WebSphere Portal.
- Verified that iSeries Access for Web portlets can be accessed from
a web browser.
In this example, only the CFGACCWEB2 command
is used to configure iSeries Access for Web. For more information about
using all the iSeries Access
for Web CL commands, use the CL command finder.