Академический Документы
Профессиональный Документы
Культура Документы
Version 6.0
GC10-4262-05
Version 6.0
GC10-4262-05
Note: Before using this information and the product it supports, be sure to read the general information under Notices on page 141.
Edition Notice This edition of this book applies to Version 6.0 of the following editions of WebSphere Commerce and to all subsequent releases and modifications until otherwise indicated in new editions: v IBM WebSphere Commerce - Express (product number 5724-i36) Ensure that you are using the correct edition for the level of the product. Order publications through your IBM representative or the IBM branch office serving your locality. IBM welcomes your comments. You can send your comments by using the online IBM WebSphere Commerce documentation feedback form. When you send information to IBM, you grant IBM a nonexclusive right to use or distribute the information in any way it believes appropriate without incurring any obligation to you. Copyright International Business Machines Corporation 1996, 2008. US Government Users Restricted Rights Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Preface . . . . . . . . . . . . . . vii
About this book . . . . . . . . . . . . . vii Document description . . . . . . . . . . vii Providing feedback on this book . . . . . . vii Updates to this book . . . . . . . . . . vii Conventions used in this book . . . . . . . viii Terminology used in this book. . . . . . . viii Path variables used in this book . . . . . . ix Other variables used in this book . . . . . . x Port numbers used by WebSphere Commerce . . xi Knowledge requirements . . . . . . . . . xii Production server environment . Staging server environment . . Development environment . . . . . . . . . . . . . . . . . . . . . 17 . 17 . 17
Part 3. Prerequisites . . . . . . . . 21
Hardware prerequisites . . . . . . . 23
Operating system prerequisites . . . . 25 Networking prerequisites . . . . . . . 27 National language prerequisites . . . . 29 WebSphere Commerce tools prerequisites . . . . . . . . . . . . 31
WebSphere Commerce tools hardware prerequisites WebSphere Commerce tools software prerequisites 31 31
| |
Documentation prerequisites . . . . . 33
Common topologies . . . . . . . . . 15
One-node topology . Two-node topology . . . . . . . . . . . . . . . . . . . . . . 15 . 15
17
iii
Installing the Configuration Manager client . . . . 93 Configuration Manager prerequisites . . . . . . 95 Verify remote Configuration Manager client level 95 Instance creation requirements using a remote database . . . . . . . . . . . . . . 96 Modifying your iSeries user profile . . . . . 97 Starting the Configuration Manager . . . . . . 98 Stopping the Configuration Manager . . . . 100
Uninstalling WebSphere Commerce Configuration Manager client . . . . 115 Uninstalling WebSphere Application Server Version 6.0 . . . . . . . . . 117
. . . . . 83
iv
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Deleting a WebSphere Commerce instance . . . . 122 Changing the ports used for WebSphere Commerce tools . . . . . . . . . . . . . . . . 124 Starting and stopping the IBM HTTP Server . . . 125
The i5/OS file systems used by WebSphere Commerce . . . . . . . . . . . The QSYS.LIB file system . . . . . The Integrated File System (IFS) . . . Querying the layout of the database . . .
. . . .
. . . .
. . . .
127
127 127 128 128 128
Starting or stopping WebSphere Application Server Launch the WebSphere Application Server Administrative Console . . . . . . . . . . Starting the WebSphere Application Server subsystem . . . . . . . . . . . . . . Ending the QWAS6 subsystem . . . . . . Deleting a WebSphere Application Server profile
+ + + + + +
Appendix C. Configuring a WebSphere Commerce instance with a remote Web server . . . . . . . . 137
Pre-instance creation tasks . . . . . . . . Configuring the WebSphere Commerce instance Post instance creation tasks . . . . . . . . . 137 137 . 138
Contents
vi
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Preface
About this book
Use this part of the book to learn about the following topics: v Document description v Providing feedback on this book v Updates to this book v Conventions used in this book on page viii v Terminology used in this book on page viii v Path variables used in this book on page ix v Other variables used in this book on page x v Knowledge requirements on page xii
Document description
This book describes installation and configuration of WebSphere Commerce up to and including creating a WebSphere Commerce instance. Once you have a WebSphere Commerce instance, further configuration instructions are provided in the WebSphere Commerce Information Center. This guide provides information on how to install the following products on the IBM i5/OS operating systems: v IBM WebSphere Commerce - Express (5724-i36) It is intended for system administrators or anyone else responsible for performing installation and configuration tasks.
For support information, see the WebSphere Commerce support Web site. | Additional support is available on the WebSphere Commerce newsgroup forums. To learn about late changes to the product, see the updated product README file, also available from the preceding Web site. For instructions on installing WebSphere Commerce Version 6.0 and its supported products, see the WebSphere Commerce Installation Guide. For instructions on how to install WebSphere Commerce development environment and its supported products, see the WebSphere Commerce Developer Installation Guide.
Copyright IBM Corp. 1996, 2008
vii
Major updates from the last version of this document are identified by revision characters contained in the margin. This book uses the following conventions for revision characters: v The + character identifies updates that have been made in the current version of this document. v The | character identifies any updates that have been made in the previous versions of this document. Minor updates such as spelling and punctuation errors are not identified by revision characters.
Update history
This section provides an outline of the history of changes to this book:
Edition First Edition, Fifth Revision Updates v Updates for WebSphere Commerce fix pack 5. v Added information for installation on System i 6.1
First Edition, Third v Updates for WebSphere Commerce fix pack 3. Revision v Added Appendix for configuring i5/OS WebSphere Commerce instance with remote HTTP. First Edition, Second Revision v Added information on obtaining software. v Updates to correct remote database information notices. v Removed support for z/OS and S/390. First Edition, First Revision First Edition v Minor updates for WebSphere Commerce fix pack 1. v Original publication of this book
i 6.1
viii
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
node
A node is a single machine or machine partition with a unique IP host address on which you install one or more WebSphere Commerce components.
WebSphere Commerce instance A WebSphere Commerce instance is a standalone runtime environment that can contain a single store, or multiple stores. Each one of these stores responds to a different host name. In this case, if you stop your WebSphere Commerce instance all of your stores stop as well. You can also create multiple WebSphere Commerce instances for each installation of WebSphere Commerce. The benefits of creating multiple WebSphere Commerce instances is that each instance can operate independently from the others. Stopping one instance does not stop the another. Adding a customization to one instance does not impact the other. Each instance contains the following: v A Web server v A database v A WebSphere Application Server profile that contains your WebSphere Commerce J2EE application. remote Remote is often used as an adjective to indicate when something is on a separate node from the WebSphere Commerce Server. The following terms are some common terms in this book that use remote in this way: remote Web server A Web server running on a separate node from the WebSphere Commerce Server. remote database A database on a separate node from WebSphere Commerce Server. remote database server A database server running on a separate node from WebSphere Commerce Server. remote WebSphere Commerce Payments WebSphere Commerce Payments running on a separate node from WebSphere Commerce Server.
WAS_userdir The directory for all the data that is used by WebSphere Application Server which can be modified or needs to be configured by the user. The default directory for WebSphere Application Server Base edition and Express edition is one of the following depending on the edition of WebSphere Application Server:
/QIBM/UserData/WebSphere/AppServer/V6/Base
Preface
ix
/QIBM/UserData/WebSphere/AppServer/V6/ND
WC_profiledir This directory is created for the WebSphere Application Server profile that is used by a WebSphere Commerce instance. For example: The default directory for WebSphere Application Server Base edition or Express edition is:
/QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/profile_name
The default directory for WebSphere Application Server Network Deployment is:
/QIBM/UserData/WebSphere/AppServer/V6/ND/profiles/profile_name
WC_installdir This is the installation directory for WebSphere Commerce. The default installation directory for WebSphere Commerce is:
/QIBM/ProdData/CommerceServer60
WC_userdir The directory for all the data that is used by WebSphere Commerce which can be modified or needs to be configured by the user:
/QIBM/UserData/CommerceServer60
instance_root This variable represents the directory path of the WebSphere Commerce instance_name For example:
WC_userdir/instances/instance_name
Note: The preceding default installation paths cannot be altered or modified on iSeries. The WebSphere Commerce for iSeries product expects the preceding directories to exist and will not function properly if they do not exist.
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
payments_instance_name This variable represents the name of the WebSphere Commerce Payments instance with which you are working.
Preface
xi
WebSphere Application Server SOAP Connector address. WebSphere Application Server Administrative Console Secure Port. This secure port requires SSL. WebSphere Application Server Administrative Console Port. WebSphere Application Server HTTP Transport. WebSphere Application Server Secure Association Service. WebSphere Application Server Common Secure Port. WebSphere Application Server Common Secure Port.
Additional ports are used as you create additional WebSphere Commerce instances. When you create a new WebSphere Commerce instance, a new application server is created that has unique port numbers for the following ports: v v v v v Bootstrap Address WebSphere Application WebSphere Application WebSphere Application WebSphere Application Server Server Server Server Internal Java Messaging Service server Java Messaging Service server queued address SOAP Connector address HTTP Transport
These additional port numbers are automatically selected by WebSphere Application Server. Within the same WebSphere Application Server instance, the new ports numbers are generally selected by adding to the port number used by the last server created within the WebSphere Application Server instance.
Knowledge requirements
This book should be read by system administrators or anyone else responsible for installing and configuring WebSphere Commerce. People who are installing and configuring WebSphere Commerce should have knowledge in the following areas: v IBM i5/OS operating system v Basic operating system commands v IBM DB2 Universal Database for iSeries operation, configuration, and maintenance v Basic SQL commands v The Internet
xii
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
| | | | | |
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
A custom installation allows you to select various components to install on one machine at a time. To install different components on different machines, you have to perform a WebSphere Commerce custom install on each of the machines in your configuration. A custom installation does not create your WebSphere Commerce instance automatically. You must create the instance after installing WebSphere Commerce and its software stack. __ Step 6. Complete the following steps for the type of installation you will perform: Quick installation Complete the tasks in Part 4, Installing WebSphere Commerce using the quick installation, on page 35. Custom installation Complete the following sections of this book: a. Complete the instructions in Part 5, Preparing for a custom installation, on page 61. b. Complete the tasks in Part 6, Installing WebSphere Commerce using the custom installation, on page 71. c. Complete the tasks in Part 7, Creating a WebSphere Commerce instance, on page 91. __ Step 7. Once your installation of WebSphere Commerce is complete, review Part 8, Last steps, on page 109 to decide on how to continue.
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
10
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
11
where you plan to install WebSphere Application Server Version 6.0.2.5. Two or more versions of WebSphere Application Server can coexist on the same machine, however there might be port conflicts that must be resolved as both versions of WebSphere Application Server use the same ports.
Important WebSphere Commerce always installs itself into the highest version of WebSphere Application Server Version 6.0. If more than one edition of WebSphere Application Server Version 6.0 is installed, WebSphere Commerce searches for, and uses these editions in the following order: v WebSphere Application Server Network Deployment v WebSphere Application Server v WebSphere Application Server Express Note: WebSphere Commerce Express uses WebSphere Application Server Express. Neither WebSphere Commerce Enterprise nor WebSphere Commerce Professional will use WebSphere Application Server Express. For more information about WebSphere Application Server 6.0.2.5 coexistence support, refer to the Coexisting topic in the WebSphere Application Server Information Center.
12
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Important This guide has been tested using the software levels listed in this section. However, at the time of your installation, there might be more recent fixes and patches available for the WebSphere Commerce software stack components (for example, WebSphere Application Server or DB2 Universal Database for iSeries). The official list of software supported by WebSphere Commerce Version 6.0 is available in the WebSphere Commerce Version 6.0 supported software Technote #7007501. This guide was tested with WebSphere Commerce and the supporting software stack running on the same operating system. Heterogeneous operating environments have not been tested.
13
Note: You must bring WebSphere Application Server to the level required by WebSphere Commerce by installing the required PTFs manually. The required PTFs are not installed by the WebSphere Commerce installation wizard. The remaining supported software sections list the supported software stack components for WebSphere Commerce for the versions of WebSphere Application Server supported by WebSphere Commerce.
Notes on the supported application servers Database servers supported when using WebSphere Application Server Version 6.0
When using WebSphere Application Server Version 6.0 with WebSphere Commerce, you can use the following database servers: v DB2 Universal Database for iSeries V5R3M0 v DB2 Universal Database for iSeries V5R4M0 + v
i 6.1
Web servers supported when using WebSphere Application Server Version 6.0
When using WebSphere Application Server Version 6.0 with WebSphere Commerce, you can use the following Web servers: v IBM HTTP Server for iSeries (5722DG1) on V5R3 v IBM HTTP Server for i5/OS (5722DG1) on V5R4 + v
i 6.1
14
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Common topologies
This section describes common topologies for WebSphere Commerce components and the supporting software, such as the database server and the Web server. Although the topologies described in this chapter are the most common, other topologies of WebSphere Commerce are still possible. The following topologies are the most common: v One-node topology v Two-node topology WebSphere Commerce is tested with all nodes in a given topology running the same operating system at the same level. This includes any patches, revisions, or PTFs required by WebSphere Commerce. For a list of software supported by WebSphere Commerce, refer to Software supported by WebSphere Commerce on page 13. In this chapter the following terms are used: Database node A node in a topology that only contains the database server used by WebSphere Commerce. Web server node A node in a topology that only contains the Web server used by WebSphere Commerce. WebSphere Commerce node A node in a topology that contains the WebSphere Commerce Server. While the node can also contain the database server or Web server, depending on the topology, if a node contains the WebSphere Commerce Server, it will be referred to as the WebSphere Commerce node.
Important The instructions in this section are meant as a general outline only to provide information for planning purposes. Detailed instructions are provided later in this book.
One-node topology
In a one-node topology, all WebSphere Commerce components and the supporting software are installed on a single node. This includes your database server, Web server, WebSphere Application Server, and the WebSphere Commerce Server.
Two-node topology
In a two-node topology, the database server is installed on one node and all WebSphere Commerce components and the Web server are installed on a different node. Alternatively, the Web server is installed on one node and all WebSphere Commerce components and the database server are installed on a different node.
15
To install WebSphere Commerce in a two-node topology you must use the custom installation option of the installation wizard. The following diagram shows a two-node topology:
Note: WebSphere Commerce Configuration Manager consists of two components: a GUI client and a server. In order to use the WebSphere Commerce Configuration Manager client, you must install the client software on a Windows workstation capable of displaying graphics. The WebSphere Commerce Configuration Manager client can be installed separately. Instructions for installing the WebSphere Commerce Configuration Manager client are provided in Installing the Configuration Manager client on page 93.
16
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Development environment
The development environment is used to customize parts of WebSphere Commerce and unit test any changes. The development environment must be installed on a separate machine from WebSphere Commerce. The machine must be running Microsoft Windows 2000, Windows 2003, or Windows XP. This development environment is provided in the WebSphere Commerce Developer product. It is not provided with WebSphere Commerce.
17
For more information about the development environment, refer to WebSphere Commerce - Express Developer Edition Installation Guide available from theWebSphere Commerce technical library.
18
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
19
20
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Part 3. Prerequisites
This section contains the following chapters: v Hardware prerequisites on page 23 v Operating system prerequisites on page 25 v Networking prerequisites on page 27 v National language prerequisites on page 29 v WebSphere Commerce tools prerequisites on page 31 v Documentation prerequisites on page 33 Ensure that your systems meet all of the prerequisites in all of the chapters in this section.
21
22
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Hardware prerequisites
Ensure that the machine on which you want to install WebSphere Commerce meets the requirements listed in the IBM WebSphere Commerce Version 6.0 Hardware prerequisites Technote #7007428.
23
24
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
25
26
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Networking prerequisites
Ensure that the machine on which you want to install WebSphere Commerce meets the requirements listed in the IBM WebSphere Commerce Version 6.0 Networking prerequisites Technote #7007430.
27
28
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Note: Ensure that the WebSphere Commerce non-root users locale is set to the appropriate language. If the locale is not set properly, some of the WebSphere Commerce tools will not display properly.
29
30
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
31
Accessing WebSphere Commerce tools from Windows Server 2003: Windows Server 2003 Internet Explorer Enhanced Security might prevent access to the WebSphere Commerce tools. If you want to access the WebSphere Commerce tools from a Windows Server 2003 system, add the following URLs to the list of trusted sites in the security settings for Internet Explorer: v http://host_name v http://fully_qualified_host_name v https://host_name v https://fully_qualified_host_name For example, if the fully qualified host name of your Web server is commerce.ibm.com, you would add the following URLs to the list of trusted sites: v http://commerce v http://commerce.ibm.com v https://commerce v https://commerce.ibm.com Refer to your Internet Explorer documentation for instructions on how to add URLs to the list of trusted sites in the security settings. Operating system display settings Ensure that you have set the following display values to the recommended values or higher:
Display setting Screen area Colors Minimum value 1024x768 256 colors
32
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Documentation prerequisites
In order to view the WebSphere Commerce documentation and use the documentation links in the WebSphere Commerce launch pad and First Steps panels, you must have the following software installed: A Web browser (remote Windows system only) Documentation is launched in the default Web browser for the system. The WebSphere Commerce documentation and the WebSphere Commerce launch pad are not available in a native i5/OS environment.
33
34
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
35
36
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
2. On the Work with TCP/IP Connection Status screen, ensure that port 1099 is not listed. Ensure that you page through the whole listing.
You can sort the list by pressing F13, select Sort by local port from the list, then display all port numbers by pressing F14.
3. If port 1099 is in use, stop the application using the port before starting the quick installation. v The QMQM subsystem is active on the Eserver iSeries system. During the WebSphere Commerce installation, the WebSphere Application Server product will also be installed. Ensure that subsystem QMQM is ended if the WebSphere MQ classes product is already installed on the iSeries system. Do not use a quick installation if the following statement applies to your WebSphere Commerce installation: v I want to use an existing installation of WebSphere Application Server as the WebSphere Commerce application sever. If this statement applies to your WebSphere Commerce configuration, you must use the custom installation. To use the custom installation option of the WebSphere Commerce installation wizard, refer to Part 6, Installing WebSphere Commerce using the custom installation, on page 71.
37
38
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Important Ensure this user profile is able to issue the sbmjob command with all parameters left at their default values. If the job does not start, ensure the subsystem that the job was submitted to is active. __ 6. If you have a Web server or any other service on your machine that is currently using any of the following ports: 80, 443, 5432, 5433, 8000, 8001, 8002, 8004, 8006, and 8007, stop the Web server.
39
readme_language_code.htm
The iSeries user profile should be created with the following localized settings:
Table 2. Localized settings for iSeries user profiles Language English French German Italian Spanish Brazilian Portuguese Japanese Korean Traditional Chinese Simplified Chinese CCSID 37 297 273 280 284 37 5035 933 937 935 LangID ENU FRA DEU ITA ESP PTB JPN KOR CHT CHS CountryID US FR DE IT ES BR JP KR TW CN
After the iSeries user profile has been created, use the DSPUSRPRF command to determine the Home Directory (HOMEDIR). Ensure that the HOMEDIR exists on your iSeries system. If the HOMEDIR does not exist, create it using the i5/OS command: MKDIR. (The HOMEDIR will be denoted as home_directory.)
40
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
The HOMEDIR must contain a file named SystemDefault.properties, with a coded character set ID of 819 and containing ASCII data. This file must specify the file.encoding property that matches your iSeries user profile. The file.encoding property must be specified on one line, must contain no spaces, and is case sensitive. The file.encoding property can be one of the following values: v Simplified Chinese:
file.encoding=Cp1381
v Korean:
file.encoding=KSC5601
v Traditional Chinese:
file.encoding=Cp950
v Japanese:
file.encoding=SJIS
To create the SystemDefault.properties file do the following: 1. On a PC, using a text editor, create a file named SYSDFT.FILE 2. In this file, enter the appropriate file.encoding line for you language. For example:
file.encoding=ISO8859_1
3. Save this file and copy it to your iSeries system in the /QIBM directory. 4. From an i5/OS command line, enter the following:
COPY OBJ(/QIBM/SYSDFT.FILE) TOOBJ(/home_directory/SystemDefault.properties) TOCCSID(819)
where home_directory is your HOMEDIR. 5. Once the new file is created, ensure that it contains the proper ASCII data.
41
42
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
WebSphere Commerce information Review the descriptions in WebSphere Commerce information required to complete the installation wizard on page 44 then fill in this table:
Other information Instance name Instance password WebSphere Commerce Site Administrator ID WebSphere Commerce Site Administrator password Merchant key Your value
43
44
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Description The merchant key is used by WebSphere Commerce as an encryption key. You must enter your own key in the Merchant key field. Ensure that the key that you enter will be sufficient to protect your site. The merchant key is a 16 digit hexadecimal number that must meet the following criteria: v Must contain at least one numeric character (09). v Must contain at least one alphabetic character (af). Important: Uppercase letters are not valid in the merchant key. v Cannot contain four consecutive occurrences of a character. v The same character cannot appear more than four times in the merchant key. Note: Keep a record of the merchant key you entered and keep this copy in a safe place.
45
46
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
47
3.
Exit Click Install Product on iSeries Machine to start the graphical installation wizard, then proceed to the next step. If you want to start the graphical installation wizard without using the launch pad, do one of the following: v Navigate to the CD-ROM drive and double click on iSeriesServer.bat to launch the installer. v Issue the following command from a Windows command prompt:
drive:\iSeriesServer.bat
where drive is the location of the WebSphere Commerce CD image. + + + + + + + + v If installing on a System i 6.1 system, complete the following steps: a. Download the pdinstall file to the Windows machine where the WebSphere Commerce Version 6.0 installer will be launched and store the file in a temporary directory. b. Issue the following command from a Windows command prompt:
i 6.1
where drive is the location of the WebSphere Commerce CD image. 4. After a few minutes, the language selection panel displays. Select the installation language in the language selection panel, and select OK. The software will be installed in this language, regardless of the language settings of your system. 5. The iSeries Logon panel is shown. Enter the System Name, User Profile, and Password for the iSeries system on which you are installing WebSphere Commerce. Ensure that you log on to your iSeries system as a user with SECOFR class authority. This user profile requires the correct CCSID for the language under you which you want to install WebSphere Commerce. If you did not create a user profile meeting these requirements, refer to Creating an i5/OS user profile on page 40 for instructions. Click Next.
If at any point during the installation, the text in the installation wizard appears to be cut off, resize the wizard so that you can read all of the text on the wizard.
After you have completed the instructions in this section, proceed to Completing a quick installation on page 49.
48
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
__ __ __
Procedure To complete a quick installation: 1. Select the installation language in the language selection panel, and select OK. The software will be installed in this language, regardless of the language settings of your system. Do not select a language not supported by the system on which you are performing the installation. 2. The iSeries Logon panel is shown. Enter the System Name, User Profile, and Password for the iSeries system on which you are installing WebSphere Commerce. Ensure that you log on to your iSeries system as a user with *SECOFR class authority. This user profile requires the correct CCSID for the language under you which you want to install WebSphere Commerce. If you did not create a user profile meeting these requirements, refer to Creating an i5/OS user profile on page 40 for instructions. Click Next. 3. Review the information on the Welcome panel and select Next. 4. Review the terms of the license agreement. If you accept the terms of the license agreement, select I accept the terms in the license agreement and select Next. If you decline the terms of the license agreement, select I do not accept the terms in the license agreement and select Next. Declining the terms of the license agreement exits the install program. 5. Select Quick Installation, and select Next. 6. Enter the following information: v WebSphere Commerce Instance name v WebSphere Commerce Instance password
Copyright IBM Corp. 1996, 2008
49
Ensure that you enter the same value in the WebSphere Commerce Instance password field and the verification field. For descriptions of these items, refer to Information required to complete a quick installation on page 43. Note: If you are using a system security program on your iSeries machine that checks for default passwords, ensure that the password you select for your WebSphere Commerce instance is different from the instance name. If the instance name and password are the same, the user ID for the instance may become disabled, preventing WebSphere Commerce from functioning properly. Select Next to continue. 7. Enter the following information: v Local CA password v *SYSTEM certificate store password For descriptions of these items, refer to Information required to complete a quick installation on page 43. Ensure that you enter the same value in the local CA password field and the Verification field. Ensure that you enter the same value in the *SYSTEM certificate store password field and the Verification field.Select Next to continue. 8. Enter the following information: v Site Administrator ID v Site Administrator password Note: Ensure you enter the same value in the Site Administrator password field and the Verification field. v Merchant Key For descriptions of these items, refer to Information required to complete a quick installation on page 43. Select Next to continue. 9. Enter the following information: v WebSphere Commerce Configuration Manager password. Note: Ensure you enter the same value in the WebSphere Commerce Configuration Manager password field and the Verification field. The WebSphere Commerce Configuration Manager ID is configadmin. You can not change this ID. Select Next to continue. 10. Confirm your installation options and parameters, and select Next to continue. 11. Insert the CDs as prompted by the WebSphere Commerce installation wizard, follow the on-screen prompts. The WebSphere Application Server is installed first. When prompted, specify the root directory of the WebSphere Application Server CD. A progress bar indicates how much of the installation has completed. Once the WebSphere Application Server is installed the installation wizard installs WebSphere Commerce. Note: During the installation of WebSphere Application Server, the following message may appear:
50
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
The installation of IBM WebSphere Application Server has timed out. Examine log.txt in temp_path for details. If you wish to continue with the WebSphere Commerce installation, ensure that the installation of IBM WebSphere Application Server has successfully completed.
If this message is posted appears, refer to Troubleshooting: Installation of WebSphere Application Server displays a timeout message. A progress bar indicates how much of the installation has completed. Note: After changing CDs a Windows Autorun window may display. Cancel or exit this dialog window. A Window Autorun dialog contains text similar to the following:
Windows can perform the same action each time you insert a disk or connect a device with this kind of file:
12. After the installation has completed a new screen shows the status of the WebSphere Commerce instance creation. Messages are displayed during the creation of the WebSphere Commerce instance. 13. After WebSphere Commerce instance creation is completed, information about the WebSphere Commerce instance is shown on the panel. Review this information and click OK. 14. The InstallShield Wizard completion display is shown. Click Next to continue. The First Steps panel displays after a few minutes. The First Steps panel provides access to the following information: Documentation Support Registration Information Center Easy Start Exit You can start the First Steps panel at any later point by doing the following: a. Insert the WebSphere Commerce CD 1 into the CD-ROM drive on a remote Windows system. b. The WebSphere Commerce launch pad will start. At the initial language selection, click Cancel. c. Navigate to the extra folder on the CD-ROM drive and double-click FirstStepsiSeriesRemote.bat. d. Select the language and click OK. e. The iSeries Logon panel is shown. Enter the System Name, User Profile and Password for the iSeries system where WebSphere Commerce is installed. Click Next. f. After a few moments, the First Steps panel is shown. 15. Install the most recent fix pack for WebSphere Commerce Version 6.0. For information about where to obtain the fix pack and installation instructions for the fix pack, refer to Install the most recent fixes on page 52.
51
Important After you have completed the installation, you need to apply the WebSphere Application Server, WebSphere Commerce fixes. To apply these fixes, refer to Install the most recent fixes After completing this section, proceed to Verifying a quick installation on page 55.
52
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
+ + + + + + + + + + + + + + + + + + +
7. Save your changes. 8. Restart the associated Web server for your WebSphere Commerce instance.
53
54
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
where instance_name is the name of the WebSphere Commerce instance. 2. Start WebSphere Commerce. See the Starting and stopping WebSphere Commerce topic in the WebSphere Commerce Information Center.where default values for WC_profiledir are listed in Path variables used in this book on page ix In the following steps, fully_qualified_hostname is the fully qualified host name of the machine on which you completed the quick installation of WebSphere Commerce.
2. Start WebSphere Commerce. See the Starting and stopping WebSphere Commerce topic in the WebSphere Commerce Information Center.where default values for WC_profiledir are listed in Path variables used in this book on page ix 3. Ensure that you can access the following URLs: v http://fully_qualified_hostname v https://fully_qualified_hostname If you cannot access the secure (https) URL, refer to Web server post-instance creation tasks on page 107. 4. Ensure that the secure URL (https) functions before continuing.
Copyright IBM Corp. 1996, 2008
55
5. Access the following URLs: v https://fully_qualified_hostname:8000/accelerator Note: A warning might display, indicating that no stores are defined. This is an indication of a successful log in attempt. v https://fully_qualified_hostname:8002/adminconsole v https://fully_qualified_hostname:8004/orgadminconsole For each of these URLs: a. Ensure that you see the login page for each URL. b. For each URL, log in using the Site Administrator ID and password you entered when completing a quick installation. If you can complete this section successfully, you can skip the other verification steps.
56
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Note: Ensure that you are using the level of iSeries Navigator that matches your version of i5/OS you are using. For example, if WebSphere Commerce is installed on a i5/OS V5R3M0, use a Version 5 Release 3 level of iSeries Navigator. a. On a PC where iSeries Navigator can be accessed, click Start > Programs > IBM iSeries Access for Windows > iSeries Navigator b. In the iSeries Navigator window, expand Management Central > Endpoint Systems c. Right-click on the applicable iSeries system and click Inventory > Collect d. A new window opens. Ensure that the Software check box is selected. Click OK to start the collection e. Expand Management Central > Task Activity. f. Click Inventory. g. In the right-hand panel, a task for your iSeries system should be listed. Press the F5 key (refresh) until the Status shows Completed. h. Click Management Central > Endpoint Systems > iSeries system > Configuration and Service > Software Inventory and click Installed Products. i. The right-hand panel will show a listing of products. Scroll to the bottom to view the WebSphere Commerce products. The following diagram is an examples of what you will see if all components were installed successfully:
After verifying your installation using the iSeries Navigator, you can continue by verifying your installation using the log files generated during the installation.
57
Note: For multiple installation attempts, the log will be appended in the existing install.log file. Depending on the components of WebSphere Commerce that are installed, the following messages may appear at the end of the install.log file:
CMN7704S: IBM WebSphere Commerce Installer has successfully copied file from /QIBM/ProdData/CommerceServer60/bin/config_env.sh to /QIBM/ProdData/CommerceServer60/bin/config_env.db2.sh CMN7720S: IBM WebSphere Commerce Installer internal Generic Catch Warning caught: Command ended normally with exit status 0. /QIBM/ProdData/CommerceServer60/bin/iSeriesFileAuth.sh CWXAI7779S: IBM WebSphere Commerce Installer has successfully modified the Configuration Manager user password. CMN7753S: WebSphere Commerce installation complete.
58
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Install, com.ibm.ws.install.ni.ismp.panels.OS400WASSummaryPanel, msg1, Installation of IBM WebSphere Application Server - Express, V6 completed successfully.
The quick installation installed the WebSphere Application Server product. You can view entries for this product in the iSeries Navigator. Refer to step 3 in Verifying your installation using iSeries Navigator on page 56 and look for product 5733W60. The following diagrams are examples of what you will see if all options were installed successfully: WebSphere Application Server installation
59
Instance creation is successful if the log files do not contain any errors or exceptions. The createInstanceANT.err.log file should be empty if no errors were encountered. The following log file is created in the WAS_userdir/profileRegistry/logs/ wasprofile directory: v wasprofile_create_profile_name.log where default values for WAS_userdir are listed in Path variables used in this book on page ix. If the profile creation process was a success, the log displays an INSTCONFSUCCESS message. Note: There may be several INSTCONFSUCCESS messages in the log file. The following log file is created in the WC_userdir/logs directory: v WCSconfig.log where default values for WAS_userdir are listed in Path variables used in this book on page ix. If instance creation failed you must delete the failed instance by completing the following instructions in Deleting a WebSphere Commerce instance on page 122. Once the failed instance is deleted, the WebSphere Commerce instance can be created manually by following the instructions in Part 7, Creating a WebSphere Commerce instance, on page 91. After you complete a quick installation, review Part 8, Last steps, on page 109 to decide how to continue.
60
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
61
62
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
+ +
63
64
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Important Ensure this user profile is able to issue the sbmjob command with all parameters left at their default values. If the job does not start, ensure the subsystem that the job was submitted to is active. __ 3. Ensure that any Lotus Notes server, Web servers, Java application servers, and any nonessential Java processes are stopped before installing WebSphere Commerce. __ 4. Ensure that any other InstallShield MultiPlatform installers have completed or you have exited them before installing WebSphere Commerce. __ 5. If you have a Web server or any other service on your machine that is currently using any of the following ports: 80, 443, 5432, 5433, 8000, 8001, 8002, 8004, 8006, and 8007, stop the Web server.
65
The iSeries user profile should be created with the following localized settings:
Table 3. Localized settings for iSeries user profiles Language English French German Italian Spanish Brazilian Portuguese Japanese Korean Traditional Chinese Simplified Chinese CCSID 37 297 273 280 284 37 5035 933 937 935 LangID ENU FRA DEU ITA ESP PTB JPN KOR CHT CHS CountryID US FR DE IT ES BR JP KR TW CN
After the iSeries user profile has been created, use the DSPUSRPRF command to determine the Home Directory (HOMEDIR). Ensure that the HOMEDIR exists on your iSeries system. If the HOMEDIR does not exist, create it using the i5/OS command: MKDIR. (The HOMEDIR will be denoted as home_directory.) The HOMEDIR must contain a file named SystemDefault.properties, with a coded character set ID of 819 and containing ASCII data. This file must specify the file.encoding property that matches your iSeries user profile. The file.encoding
66
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
property must be specified on one line, must contain no spaces, and is case sensitive. The file.encoding property can be one of the following values: v Simplified Chinese:
file.encoding=Cp1381
v Korean:
file.encoding=KSC5601
v Traditional Chinese:
file.encoding=Cp950
v Japanese:
file.encoding=SJIS
To create the SystemDefault.properties file do the following: 1. On a PC, using a text editor, create a file named SYSDFT.FILE 2. In this file, enter the appropriate file.encoding line for you language. For example:
file.encoding=ISO8859_1
3. Save this file and copy it to your iSeries system in the /QIBM directory. 4. From an i5/OS command line, enter the following:
COPY OBJ(/QIBM/SYSDFT.FILE) TOOBJ(/home_directory/SystemDefault.properties) TOCCSID(819)
where home_directory is your HOMEDIR. 5. Once the new file is created, ensure that it contains the proper ASCII data.
67
68
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
69
70
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Important If you have completed a quick installation The WebSphere Commerce instance was created as part of the quick installation process. You can skip this section and continue your installation and configuration of WebSphere Commerce by following the instructions in Part 8, Last steps, on page 109. If you want to install WebSphere Commerce Developer Refer to the WebSphere Commerce Developer Installation Guide.
71
72
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
v Japanese v Korean
Copyright IBM Corp. 1996, 2008
73
v Simplified Chinese v Spanish v Traditional Chinese If you select English, the context sensitive help and the English WebSphere Commerce Information Center is installed. To download the WebSphere Commerce Information Center refer to theWebSphere Commerce technical library.
74
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
75
This includes ensuring that you have access to the QSECOFR user profile, or an i5/OS user profile of USRCLS(*SECOFR) and that this user profile has the correct CCSID for the language under you which you want to install WebSphere Commerce. You will be prompted for this user profile during the installation. Procedure To complete a custom installation on a node: 1. Insert the WebSphere Commerce CD 1 into the CD-ROM drive on the remote Windows system. Note: Depending on your Windows system, the starting of the launch pad can take up to 3 minutes. Ensure you minimize all your windows sessions so that the initial window, for the language selection, is not missed. 2. The WebSphere Commerce launch pad starts. Select the language for the launch pad and click OK to continue. If the launch pad does not start automatically after you insert the CD: a. In Windows Explorer, browse the location of the WebSphere Commerce CD 1 image. b. Double-click autorun.exe. When the launch pad displays, it provides the following options: Prerequisites Documentation Install Product Install Product on iSeries Machine Exit 3. You can choose the version of WebSphere Application Server that your WebSphere Commerce environment will use. Select one of the following versions: v To use the launch pad, Click Install Product on iSeries Machine to start the graphical installation wizard. To use the command line, click Exit to exit the launch pad. Issue the following command form a Windows command prompt:
drive\iSeriesServer.bat
| |
+ + + + + + + + +
i 6.1 If installing on a System i 6.1 system, complete the following steps: a. Download the pdinstall file to the Windows machine where the WebSphere Commerce Version 6.0 installer will be launched and store the file in a temporary directory.
where drive is the location of the WebSphere Commerce CD image. 4. Select the installation language in the language selection panel, and select OK.
76
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
The software will be installed in this language, regardless of the language settings of your system.
If at any point during the installation, the text in the installation wizard appears to be cut off, resize the wizard so that you can read all of the text on the wizard.
5. The iSeries Logon panel is shown. Enter the System Name, User Profile, and Password for the iSeries system on which you are installing WebSphere Commerce. Ensure that you log on to your iSeries system as a user with SECOFR class authority. This user profile requires the correct CCSID for the language under you which you want to install WebSphere Commerce. If you did not create a user profile meeting these requirements, refer to Creating an i5/OS user profile on page 40 for instructions. Click Next. 6. Review the information on the Welcome panel and select Next. 7. Review the terms of the license agreement. If you accept the terms of the license agreement, select I accept the terms in the license agreement and select Next. If you decline the terms of the license agreement, select I do not accept the terms in the license agreement and select Next. Declining the terms of the license agreement exits the install program. 8. Select Custom Installation and select Next. Note: If you have a previous version of WebSphere Commerce installed, a warning message will be displayed. Click Yes to proceed with the installation or click No to cancel the installation. More information on coexistence can be found in Coexistence with previous versions of WebSphere Commerce or WebSphere Application Server on page 11. 9. Select the components you want to install on the node. Select Next to continue. Descriptions of each component are provided in Custom installation components on page 73. Components detected on the system will be unavailable for selection in the wizard. a. The system checks for an installed edition of WebSphere Application Server Version 6. If the correct edition is detected, a panel is displayed. Click Next to continue. If the correct edition is not detected, no panel is displayed. b. Depending on the components you have selected to install, you are prompted to enter a WebSphere Commerce Configuration Manager user password. Enter values and click Next to continue. 10. If you want to create a WebSphere Commerce response file based on your custom install options, select the Create a response file check box and specify a filename and location. Select Next. Note: By selecting this option you can choose to record the selections that you have made during your GUI installation in a response file. This response file can then be used during silent installations on separate machines.
77
11. On the confirmation page, review the components being installed and their location. To make any changes, select Back to return to the panel where you want to make changes. To begin installing the components listed on the confirmation page, select Next. 12. Insert the CDs as prompted by the WebSphere Commerce installation wizard, following the on-screen prompts. Notes: a. If you are doing a GUI based remote installation and a Windows Autorun window displays after changing CDs, close the window. A Windows Autorun window resembles an Explorer window. b. If you are doing a GUI based remote installation and a Windows Autorun dialog displays after changing CDs, cancel or exit the dialog. A Window Autorun dialog contains text similar to the following:
Windows can perform the same action each time you insert a disk or connect a device with this kind of file:
Progress bars indicate how much the installation has completed. 13. When the installation is complete a new panel is shown. Review the information on this panel and click Next. 14. The InstallShield Wizard completion display is shown. Click Next to continue. If you are doing a GUI based remote install, the First Steps panel displays after a few minutes. The First Steps panel provides access to the following information: Documentation Support Registration Information Center Easy Start Exit You can start the First Steps panel at any later point by doing the following: 1. Insert the WebSphere Commerce CD 1 into the CD-ROM drive on a remote Windows system or navigating to the WebSphere Commerce CD 1 image location. 2. If you are launching the WebSphere Commerce CD 1 from a CD-ROM drive, the WebSphere Commerce launch pad will start. At the initial language selection, click Cancel. 3. Navigate to the WebSphere Commerce CD 1 image location and double-click FirstStepsiSeriesRemote.bat found in the extra folder. 4. Select the language and click OK. 5. The iSeries Logon panel is shown. Enter the System Name, User Profile and Password for the iSeries system where WebSphere Commerce is installed. Click Next. 6. After a few moments, the First Steps panel is shown.
| | | | | | | |
78
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Important v After you have completed the installation, you need to apply the WebSphere Application Server, WebSphere Commerce fixes. To apply these fixes, refer to Install the most recent fixes on page 83.
To start a silent remote install: 1. Insert the WebSphere Commerce CD 1 into the CD-ROM drive on the remote Windows system. Note: Depending on your Windows system, the starting of the launch pad can take up to 3 minutes. Ensure you minimize all your windows sessions so that the initial window, for the language selection, is not missed. 2. On the Language Selection panel, click Cancel. 3. Copy the contents of the WebSphere Commerce CD Disk 1 and Disk 2 into a temporary location on the Windows machine. For example:
WC_temp\disk1 WC_temp\disk2
where WC_temp is the temporary directory. 4. Save the following file to a temporary directory:
drive:\WC_temp\disk1\wcresponsefile_exp.txt
where drive is the drive letter of the drive containing the WebSphere Commerce CD images. 5. Open the wcresponsefile_exp.txt file in a text editor, and edit it appropriately. Ensure that you specify a user with SECOFR class authority. This allows the installer to log on to the remote machine with the proper authority. This user profile requires the correct CCSID for the language under you which you want to install WebSphere Commerce.
79
If you did not create a user profile meeting these requirements, refer to Creating an i5/OS user profile on page 40 for instructions. 6. Save and close the file. 7. To install WebSphere Commerce silently, issue the following command:
drive:\WC_temp\disk1\setup.exe -is:javaconsole -silent -options response_file_home\wcresponsefile_exp.txt
where: drive is the drive letter of the drive containing the WebSphere Commerce CD images.
WC_temp is the temporary directory that you have saved the WebSphere Commerce CD images. response_file_home is the location of your wcresponsefile_exp.txt file.
Important v After you have completed the installation, you need to apply the WebSphere Application Server, WebSphere Commerce fixes. To apply these fixes, refer to Install the most recent fixes on page 83.
| | | | | |
To start a local silent install: 1. Ensure that you log on to your iSeries system as a user with SECOFR class authority. This user profile requires the correct CCSID for the language under you which you want to install WebSphere Commerce. If you did not create a user profile meeting these requirements, refer to Creating an i5/OS user profile on page 40 for instructions. 2. Copy the contents of the WebSphere Commerce CD Disk 1 and Disk 2 into a temporary location on the iSeries machine. For example:
WC_temp/disk1 WC_temp/disk2
where WC_temp is the temporary directory. 3. Copy the following file to a temporary location:
80
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
| | | | | | | | | | | | | |
WC_temp/disk1/wcresponsefile_exp.txt
where response_file_home is the temporary directory containing your edited response file. 5. Save and close the file. 6. To install WebSphere Commerce silently, start a QShell session (STRQSH) and issue the following command:
WC_temp/disk1/setup.qsh -options response_file_home\wcresponsefile_exp.txt
where: WC_temp is the temporary directory containing the contents of the WebSphere Commerce CDs. response_file_home is the location of your wcresponsefile_exp.txt file.
Important v After you have completed the installation, you need to apply the WebSphere Application Server, WebSphere Commerce fixes. To apply these fixes, refer to Install the most recent fixes on page 83.
81
82
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
83
84
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
+ + + + + + + + + + + + + +
4. Save the changes. Note: Refer to the System i Memo to Users which contains more information on the new operating system level.
85
86
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
87
d. A new window opens. Ensure that the Software check box is selected. Click OK to start the collection e. Expand Management Central > Task Activity. f. Click Inventory. g. In the right-hand panel, a task for your iSeries system should be listed. Press the F5 key (refresh) until the Status shows Completed. h. Click Management Central > Endpoint Systems > iSeries system > Configuration and Service > Software Inventory and click Installed Products. i. The right-hand panel will show a listing of products. Scroll to the bottom to view the WebSphere Commerce products. The following diagrams are examples of what you will see for each component you can install using the custom installation option of the installation wizard: WebSphere Commerce Server
88
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
89
Note: For multiple installation attempts, the log will be appended in the existing install.log file. Depending on the components of WebSphere Commerce that are installed, the following messages may appear at the end of the install.log file:
CMN7704S: IBM WebSphere Commerce Installer has successfully copied file from /QIBM/ProdData/CommerceServer60/bin/config_env.sh to /QIBM/ProdData/CommerceServer60/bin/config_env.db2.sh CMN7720S: IBM WebSphere Commerce Installer internal Generic Catch Warning caught: Command ended normally with exit status 0. /QIBM/ProdData/CommerceServer60/bin/iSeriesFileAuth.sh CWXAI7779S: IBM WebSphere Commerce Installer has successfully modified the Configuration Manager user password. CMN7753S: WebSphere Commerce installation complete.
Whether the custom installation installed the WebSphere Application Server product or not, you can view the product in the iSeries Navigator. Refer to step 3 in Verifying your installation using iSeries Navigator on page 87 and look for product 5733W60.
90
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
91
92
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Important You should only modify the following Web server properties, as well as any WebSphere Commerce related properties, through the Configuration Manager GUI (and not through the Web server GUI nor the WebSphere Application Server Administrative Console): v SSL (enabling or disabling) v Web server instance name or port number v SSL port number v System IP address (Payments server host) This will ensure that all configuration files, not just the Web server configuration files, are updated properly with the correct information.
93
Install the Configuration Manager client as follows: 1. Insert the WebSphere Commerce CD 1 into the CD-ROM drive on your remote Windows system. The WebSphere Commerce Launch pad starts. Select the language for the launch pad and click OK to continue. Note: Depending on your Windows system, the starting of the launch pad might take up to 3 minutes. Ensure you minimize all your windows sessions so that the initial window, for the language selection, is not missed. 2. The WebSphere Commerce launch pad starts. Select the language for the launch pad and click OK to continue. If the launch pad does not start automatically after you insert the CD: a. In Windows Explorer, browse the CD-ROM drive containing WebSphere Commerce CD 1. b. Double-click autorun.exe. When the launch pad displays, it provides the following options: Prerequisites Documentation Install Product Install Product on iSeries Machine Exit Click Install Product to continue. Note: If you do not want to install the Remote WebSphere Commerce Management Utilities using the launch pad, or if the launch pad does not start you will need to launch the installer manually. Navigate to the CD-ROM drive into which the WebSphere Commerce CD 1 was inserted and double click on setup.exe to start the InstallShield Wizard. 3. Select the language for the InstallShield wizard and click OK to continue. 4. The Welcome screen is displayed. Click Next. 5. Read the license agreement. If you accept the terms of the agreement, select that you accept the terms and click Next. Note: The Installation prerequisite warning screen may display. Review the information on the screen. If a memory size warning is reported, click Next to continue. 6. Choose Custom Installation and click Next. Note: A warning message may display indicating that a previous version of WebSphere Commerce is installed. Click Yes to proceed with the installation. Click No to cancel. 7. Select Remote WebSphere Commerce Management Utilities and click Next. 8. You can choose to select the default destination path or select Browse for another destination path. A new directory can be specified, and the installation wizard will create that directory for you. Once you have selected your destination path, click Next to continue.
94
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
9. If you want to create a WebSphere Commerce response file based on your custom install options, select the Create a response file check box and specify a filename and location. Select Next. 10. Confirm your installation choices. To start the installation, click Next. To modify your choices, click Back. After you click Next, the installation begins. The window displays the progression of the installation. 11. Insert the CDs as prompted and, if required, enter the location of the CDs. 12. On the Installation Complete panel, click Finish. The installation is complete and the wizard closes. Note: The directory on the Windows PC where the Configuration Manager Client code is installed will be denoted by: WC_rmtMgt_installdir in the remaining sections of this Guide. To verify that the Remote WebSphere Commerce Management Utilities are installed properly on your Windows machine, refer to the following log file:
WC_rmtMgt_installdir/logs/install.log WC_rmtMgt_installdir/logs/wctrace_timestamp.log
where WC_rmtMgt_installdir is the installation directory for the Remote WebSphere Commerce Management Utilities.
95
a. Open the following file in a text editor: WC_rmtMgt_installdir/properties/version/COMMERCE.product b. Check the value in the <version> tags. For example,
<version>6.0.0.0</version>
3. If the values for both tags on both nodes match, the Configuration Manager client and server are at the same level.
Note: To check if the DDM server job is running on your iSeries, check for job QRWTLSTN in subsystem QSYSWRK. 2. On the iSeries system where WebSphere Commerce Version 6.0 is installed, use the WRKRDBDIRE command to ensure that there is an entry for the remote database where your instances schema will be created. 3. On the iSeries system where WebSphere Commerce is installed, run the following command on one line:
RUNJVA CLASS(com.ibm.db2.jdbc.app.DB2PackageCreator) PARM(database_name user password)
where the variables are defined as follows: database_name The name of the database where the instances schema will be created. On this remote system, use the WRKRDBDIRE command and record the Relational Database value defined as *LOCAL. user A profile with authority to create new objects on the remote iSeries system.
password The password associated with the user. Note: The command opens up a Java Shell Display. The following message should be displayed after the command has completed: Java program completed 4. Create a user profile on the remote iSeries system. The user profile must have the same name as the WebSphere Commerce instance name (instance_name) that
96
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
you are creating. Configure the user profile so that its language settings match the language you intend to choose as the default language for your WebSphere Commerce instance. The password for this user profile must be the same as on the *LOCAL system (the machine where WebSphere Commerce is installed). This is the password that will be entered in the Instance Logon Password field on the Schema page while configuring the instance in the Configuration Manager. For information in creating an iSeries user profile, refer to Creating an i5/OS user profile on page 40. 5. Ensure that the instance user profile, you just created on the remote iSeries system, has authority to the *SQLPKG objects in library QGPL by running the following command on one line:
GRTOBJAUT OBJ(QGPL/*ALL) OBJTYPE(*SQLPKG) USER(instance_name) AUT(*CHANGE)
During instance creation, it is recommended that Use iSeries Toolbox driver is selected in the WebSphere panel.
The HOMEDIR must contain a file named SystemDefault.properties, with a Coded character set ID of 819 and containing ASCII data. This file must specify the file.encoding property that matches your user profile. The file.encoding property must be specified on one line, must contain no spaces, and is case sensitive. If this file already exists, use the EDTF command to set the file.encoding property to one of the following values: v Japanese:
file.encoding=SJIS
Before you create or modify an instance with Configuration Manager
97
v Korean:
file.encoding=KSC5601
v Simplified Chinese:
file.encoding=Cp1381
v Traditional Chinese:
file.encoding=Cp950
If this file does not exist, you must copy it to your HOMEDIR using one of these commands: Note: The HOMEDIR will be denoted as home_directory in the following list. v Simplified Chinese:
COPY OBJ(/QIBM/ProdData/CommerceServer60/config/SystemDefault_CN.properties) TOOBJ(home_directory/SystemDefault.properties) TOCCSID(819)
v Korean:
COPY OBJ(/QIBM/ProdData/CommerceServer60/config/SystemDefault_KR.properties) TOOBJ(home_directory/SystemDefault.properties) TOCCSID(819)
v Traditional Chinese:
COPY OBJ(/QIBM/ProdData/CommerceServer60/config/SystemDefault_TW.properties) TOOBJ(home_directory/SystemDefault.properties) TOCCSID(819)
v Japanese:
COPY OBJ(/QIBM/ProdData/CommerceServer60/config/SystemDefault_JP.properties) TOOBJ(home_directory/SystemDefault.properties) TOCCSID(819)
Once the new file is created, ensure that it contains the proper ASCII data.
and do the following in the QShell session: 1) Navigate to the WebSphere Commerce Server bin directory by issuing the following command:
cd WC_installdir/bin
Default values for WC_installdir are listed in Path variables used in this book on page ix.
98
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
2) Start the Configuration Manager server program by issuing the following command:
config_server.sh [-port server_port_number]
The - port server_port_number parameter is optional. If you do not specify this parameter, the default port of 1099 is used. The Configuration Manager server will listen using this port number. If you specify the server_port_number, the value must be between 1024 and 65535 and not currently in use on the iSeries system. Note: If you are using a system where your primary language is not the same as the language in which you are creating your instance, then you must add the QSYSlanguage_feature_number library into your user profiles library list. Otherwise the profile will try to locate it under QSYS. To add the language feature library, use the EDTLIBL command. c. If this is the first time that Configuration Manager is run on the system, you will see the following messages:
Attaching Java program to Attaching Java program to Attaching Java program to BaseComponentsLogic.jar. Attaching Java program to /QIBM/ProdData/CommerceServer60/lib/ConfigManager.jar /QIBM/ProdData/CommerceServer60/lib/Utilities.jar /QIBM/ProdData/CommerceServer60/lib/Enablement/QIBM/ProdData/CommerceServer60/lib/jtopen.jar.
proceed to the next step. 2. Start the Configuration Manager client on the Windows machine where the Configuration Manager client code was installed. a. Using a command prompt on the Configuration Manager client machine, change to the WC_rmtMgt_installdir/bin directory. b. Start the Configuration Manager client by running the following command:
configClient.bat -hostname iSeries_Host_name [-port server_port_number]
where iSeries_Host_name Is the fully qualified host name of the server. The fully qualified host name of the server must exactly match the host name (HOSTNAME) and the domain name (DMNNAME) values displayed when viewing the CFGTCP command, option 12, on the system where the Configuration Manager server is running. This parameter is case-sensitive. server_port_number Is the port number on the iSeries server on which the Configuration Manager is listening. You only need to specify this value if the server is listening on a non-default port. The port parameter is optional, but if it was specified in the config_server.sh command, it needs to be specified here. 3. Log in to Configuration Manager. The ID is configadmin and the initial password is defined during the installation process. 4. Continue with the instructions in Creating a WebSphere Commerce instance on page 101.
Before you create or modify an instance with Configuration Manager
99
100
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
101
v Each WebSphere Commerce instance must have its own host name. v You cannot create more than one instance at a time. v Each host name for each instance requires its own IP address. The IP address must be valid on the network, with associated host names in the DNS server. The IP address must also be on the same VLAN as the IP address of the original instance.
v You can also use the IP address and host name of the node for one of the instances. In this case, you need just two IP addresses for two instances. v Each WebSphere Commerce instance requires its own host name.
Note: IBM HTTP Server does not allow underscore characters ( _ ) in a host name. For instructions on adding another IP address to a machine, refer to Adding another IP address to an iSeries system. v The host name for each instance must resolve fully to separate IP addresses. For example, to verify that you can run WebSphere Commerce Configuration Manager and create multiple instances, run the nslookup command from a Windows PC on both the host name and IP address for each instance. The host name should resolve to its correct IP address, and the IP address should resolve to its correct host name:
nslookup host1.domain nslookup xxx.xxx.xxx.xxx nslookup host2.domain nslookup yyy.yyy.yyy.yyy
where v intnetadr is the new IP address. v lind is the name of the line description associated with the new interface. The line description must be defined before you can add the IP interface. v subnetmask is the subnet mask for this IP address. For example, if you wanted to add the address 129.42.16.99, and then start the address, you would enter the following commands:
ADDTCPIFC INTNETADR(129.42.16.99) LIND(LANETH) SUBNETMASK(255.255.255.0) STRTCPIFC INTNETADR(129.42.16.99)
For more information on the TCP/IP commands such as ADDTCPIFC and STRTCPIFC, refer to your iSeries product documentation. To add the host table entry for the WebSphere Commerce instance enter the following commands in an iSeries session:
ADDTCPHTE INTNETADR(intnetadr) HOSTNAME((WC_instanceName.domainName) (WC_instanceName));
Where the domainName is the domain name under CFGTCP option 12.
102
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
or
IBM WebSphere Payments (Do not edit this section)
Customized changes within these sections are not supported by WebSphere Commerce as any changes made within these sections might be overwritten at any time by WebSphere Commerce configuration tools such as Configuration Manager. You can use the following table to record your instance information so that you have the information handy when you complete your instance creation.
Object Instance variable New instance variable
WebSphere Commerce instance WC_instance name IP address Host name Domain name Fully qualified host name WebSphere Commerce schema name xxx.xxx.xxx.xxx host domain host1.domain WC_schema
If you have a existing instance, you do not have to modify any of the parameter values for that instance in order to add an additional instance. You might want to modify some parameters of your original instance in order to better organize your multi-instance environment. Notes: 1. You cannot create more than one instance at a time. Attempting to create multiple instances at the same time can cause errors. 2. To create a WebSphere Commerce Payments instance, refer to the Creating a WebSphere Commerce Payments instance topic in the WebSphere Commerce Information Center. If you have created a WebSphere Commerce instance in the same session, ensure that you restart the WebSphere Commerce Configuration Manager before you go on to create a WebSphere Commerce Payments instance.
103
+ + + +
3. You are not required to create the WebSphere Application Server profile before creating your WebSphere Commerce instance. The WebSphere Commerce Configuration Manager automatically creates the WebSphere Application Server profile that is used by the WebSphere Commerce instance. 4. To configure a remote Web server for your WebSphere Commerce instance, refer to Appendix C, Configuring a WebSphere Commerce instance with a remote Web server, on page 137 To create a new WebSphere Commerce instance, do the following: 1. Start the WebSphere Commerce Configuration Manager. For details, refer to Starting the Configuration Manager on page 98. 2. Under WebSphere Commerce, expand your hostname. 3. Expand Commerce. 4. Right-click on Instance List. 5. From the resulting popup menu, select Create Instance. The Instance Creation wizard starts. 6. Complete each panel of the Instance Creation wizard. For more information about the Instance Creation wizard, refer to WebSphere Commerce Configuration Manager online help by clicking the Help button. 7. When you have completed the necessary information in the panels, the Finish button is enabled. Click Finish to create the WebSphere Commerce instance. The time required to create an instance depends on the speed of your system. 8. When instance creation is complete, a dialog box appears containing a summary similar to the following:
Commerce instance demo is created under WebSphere Application Server profile demo. The WebSphere Application Server administrative console port is 9060. Restart your Web server to apply the changes to your Web server configuration file.
Review the summary and record the port number listed. This port will be required to access the WebSphere Application Server Administrative console. Click OK to close the dialog box. 9. Exit Configuration Manager by selecting Console > Exit. 10. The following message is displayed: For security reasons, the Config Manager Server will now be stopped. Click OK to close Configuration Manager. 11. Exit from the DOS window where the Configuration Manager client was started. 12. Exit from the QShell session, on your iSeries system, where the Configuration Manager server was started. 13. You can now verify the creation of the WebSphere Commerce instance by following the instructions in Verifying the instance creation. 14. Complete the tasks in Mandatory post-instance creation tasks on page 107. You must complete the tasks in that section for WebSphere Commerce to function correctly.Continue by doing one of the following steps:
104
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
WC_profiledir/installedApps/WC_instance_name_cell/ WC_instance_name.ear/xml/config/wc-server.xml where default values for WC_profiledir are listed in Path variables used in this book on page ix and instance_name is the name of WebSphere Commerce instance. Confirm that this file exists before checking the log files produced during instance creation. Creating a WebSphere Commerce instance produces log files in the following directory: WC_userdir/instances/instance_name/logs where default values for WC_userdir are listed in Path variables used in this book on page ix and instance_name is the name of WebSphere Commerce instance. Ensure that there are no errors in the following log files: v createInstanceANT.err.log v createInstanceANT.log v messages.txt v trace.txt v Schema.log v WASConfiguration.log The following log files are created in the WC_userdir/logs directory: v WCSconfig.log
105
where time_zone is the code for your time zone (for example, CST for Central Standard Time; for other time_zone values, refer to the Web Site shown at the end of this section). Edit the SystemDefault.properties file that is located in the instance_root/Home directory. Default values for instance_root are listed in Path variables used in this book on page ix. Specifying the time zone property in this way only affects WebSphere Application Server. For additional information, see the Setting the time zone topic in the WebSphere Application Server for iSeries Information Center.
106
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
2. Search for the WC_adminhost entry. The port number listed for this entry is the WebSphere Application Server administration port number.
107
108
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
109
110
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
111
112
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
This command starts a text based uninstall wizard. 7. Select the language for the uninstall wizard. 8. The WebSphere Commerce directory displays along with the features that will be uninstalled. Press Enter to begin the uninstallation. 9. The uninstallation of WebSphere Commerce begins with the message Uninstalling IBM WebSphere Commerce 6.0. Note: The uninstall of WebSphere Commerce might take a long time. 10. When the uninstallation is complete, the following message will be displayed: The InstallShield Wizard has successfully uninstalled IBM WebSphere Commerce 6.0. Choose Finish to exit the wizard. Press 3 and press Enter to exit the Wizard. 11. Press the F3 function key to exit the QShell session. Default values for WC_installdir are listed in Path variables used in this book on page ix.
113
114
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
2. Run the uninstall.exe command. 3. A WebSphere Commerce window displays. Select the preferred Language and click OK. 4. Review the Welcome Page and click Next. 5. The next screen shows the WC_rmtMgt_installdir directory and the installed features. 6. Click Next to begin uninstalling the Configuration Manager client code. 7. Once the uninstallation has completed, click Finish to close the wizard. Note: The WC_rmtMgt_installdir directory might remain after the uninstallation completes. At this time, you can delete this directory on your Windows system.
115
116
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
117
118
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
119
120
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
where instance_name is the name of the IBM HTTP Server instance you are using with WebSphere Commerce. 2. (Optional) Ensure that the WebSphere Commerce Information Center is started. For instructions on starting the WebSphere Commerce Information Center, refer to Starting and stopping the WebSphere Commerce Information Center. 3. To start or stop a WebSphere Commerce instance you must start or stop a WebSphere Application Server profile. To do this refer to Starting or stopping WebSphere Application Server on page 127.
121
or
IBM WebSphere Payments (Do not edit this section)
Customized changes within these sections are not supported by WebSphere Commerce as any changes made within these sections might be overwritten at any time by WebSphere Commerce configuration tools such as Configuration Manager. If you want to change any of the configuration settings for your WebSphere Commerce instance, you can do so from the Configuration Manager. To update a WebSphere Commerce instance using the Configuration Manager: 1. Start Configuration Manager. Refer to Starting the Configuration Manager on page 98. 2. In Configuration Manager, under WebSphere Commerce, expand hostname. Choose to expand Commerce or Payments and select the instance you want to alter. Refer to the online help for the Configuration Manager for information about the various fields and panels of Configuration Manager. 3. After you update your instance, click Apply to apply your changes. 4. When the changes have been successfully applied, exit the Configuration Manager client. This also terminates the Configuration Manager server. 5. Restart the instance you have modified.
122
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
For instructions on starting an application, refer to Starting or stopping WebSphere Application Server on page 127. In a federated or cloned environment you must ensure that the WebSphere Application Server deployment manager is started. For instructions on starting the deployment manager, refer to Starting or stopping WebSphere Application Server on page 127. b. Start a QShell session. c. In the QShell session, change directories to WC_installdir/bin/. Default values for WC_installdir are listed in Path variables used in this book on page ix. d. Issue the following command from a QShell session:
config_ant.sh -DinstanceName=instance_name RemoveInstance
where instance_name is the name of the WebSphere Commerce instance you want to delete.
Important Ensure that you enter the name of the WebSphere Commerce instance and not the name of the WebSphere Commerce application server. The command does the following: v Removes the WebSphere Commerce data source from WebSphere Application Server. v Removes the WebSphere Commerce virtual hosts from WebSphere Application Server. v Removes JAAS authentication data alias for the WebSphere Commerce database. v Removes the WebSphere Commerce JDBC Provider. v Uninstalls the WebSphere Commerce EAR from WebSphere Application Server. v Removes WebSphere Commerce Web server configuration file. v Deletes the WebSphere Commerce instance directory. v Regenerates the WebSphere Application Server Web server plug-in configuration file. v Removes the WebSphere Commerce instance from Configuration Manager. e. Drop your WebSphere Commerce database. The ANT command RemoveInstance in the step above does not drop the database automatically for you. v If you choose to drop your database, refer to your database software documentation for instructions on dropping a database. v If you do not drop your database, you can reuse the database when you create a new instance by selecting the appropriate options in Configuration Manager wizard. f. If you have a federated or cloned environment you can optionally remove the cluster members from your cluster and remove the cluster using the
WebSphere Commerce tasks
| | | | | | | |
123
WebSphere Application Server deployment manager Administrative Console. For instructions, see the Removing a cluster member topic in the WebSphere Commerce Information Center 4. Delete the HTTP entry in the QATMHINSTC file in QUSRSYS library. The entry will be of the form instance_name, where instance_name is the name of the WebSphere Commerce instance you want to delete. 5. Delete the user profile associated with the instance using the following i5/OS command:
DLTUSRPRF USRPRF(instance_name) OWNOBJOPT(*DLT)
Note: All jobs associated with the user profile must be ended before the user profile can be deleted. This will also delete the database for your instance. If you want to save the information contained in your database, ensure that you backup the database before performing this step. Where instance_name is the name of the WebSphere Commerce instance you want to delete. Note: Deleting your WebSphere Commerce instance does not delete the corresponding WebSphere Application Server profile (for example WAS_installdir/profiles/WC_demo). To remove your WebSphere Application Server profile, see the Deleting a profile topic in the WebSphere Application Server Information Center.
WebSphere Commerce WC OrgAdmin Port Organization Administration Console WebSphere Commerce Preview WebSphere Commerce Preview WC Preview port WC Preview port
8006 8007
124
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
where instance_name is the name of the WebSphere Commerce instance. v To stop the IBM HTTP Server. To stop IBM HTTP Server, issue the following command from an i5/OS command line:
ENDTCPSVR SERVER(*HTTP) HTTPSVR(instance_name)
125
126
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Ensure that the QWAS6 subsystem is started. If the subsystem is started, refer to Starting the WebSphere Application Server subsystem on page 128. 2. Start a QShell session by entering the following from an i5/OS command line:
STRQSH
3. Do one of the following: v To start an application server, issue the following command:
WC_profiledir/bin/startServer server1
or
https://hostname:port/ibm/console
where hostname is the fully qualified TCP/IP name of the machine running WebSphere Application Server and port is the administration port for the WebSphere Application Server profile.
127
The default port for the WebSphere Application Server Administrative Console depends on the protocol specified in the URL and the port number assigned when the profile was created. For the http protocol, the default port is 9060. For the https protocol, the default port is 9043.
2. Start the subsystem: v If you are using WebSphere Application Server Version 6.0, start the QWAS6 subsystem by running the following command on the i5/OS command line:
STRSBS SBSD(QWAS6/QWAS6)
The subsystem will be displayed and no other jobs should be active within the subsystem. You can now proceed to end the applicable subsystem: v To end the QWAS6 subsystem, enter the following at the i5/OS command line:
ENDSBS QWAS6
128
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
129
130
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Appendix A. Troubleshooting
+ + + + + For more troubleshooting information, refer to one of the following links: v Troubleshooting WebSphere Commerce installation issues v Troubleshooting WebSphere Commerce configuration issues v Troubleshooting general WebSphere Commerce issues v Troubleshooting WebSphere Application Server Also, more troubleshooting information can be gathered by turning on the trace feature for WebSphere Commerce in WebSphere Application Server. For more information about the trace feature, refer to the WebSphere Commerce Information Center. You should go through the checklists in this appendix before contacting your IBM support representative
131
132
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
133
Notes: 1. You can only change the files that are contained in the instance_root path. Default values for WC_userdir are listed in Path variables used in this book on page ix. 2. When the instances Enterprise application is deployed, all of the JSP files and other assets are stored in:
WC_profiledir/installedApps/cell_name/WC_instance_name.ear
Files in this directory can be modified as well. Default values for WC_profiledir are listed in Path variables used in this book on page ix. When you configure WebSphere Commerce for a particular instance, the Configuration Manager copies all of the required files for the selected configuration option to the WC_userdir path. You should not change the original files, contained in the following path:
WC_installdir
Default values for WC_installdir and WC_userdir are listed in Path variables used in this book on page ix. Attention: Applying PTFs or reinstalling the product can delete or overwrite the files in the ProdData directory path. You should therefore not store any customized files in the ProdData directory path. The following table lists the directories and stream files that are created by the WebSphere Commerce installation and configuration process and stored in the root file system.
Path /instance_root/xml/instance_name.xml Significance The instance configuration file. This file contains configuration settings for the WebSphere Commerce Server. The IBM HTTP Server; document root directory. The directory containing the IBM HTTP Server; configuration file (httpd.conf). The directory containing instance properties files. For exact location of customized assets, refer to the WebSphere Commerce Information Center. The directory containing WebSphere Commerce log files. The directory containing WebSphere Commerce instance configuration XML files.
/instance_root/web /instance_root/httpconf
/instance_root/logs /instance_root/xml
Default values of WC_profiledir are listed in Path variables used in this book on page ix.
134
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
v To view a list of the columns in a particular table, type (on one line):
SELECT * FROM QSYS2.SYSCOLUMNS WHERE TABLE_SCHEMA=DB_SCHEMA_NAME AND TABLE_NAME=TABLE_NAME
where DB_SCHEMA_NAME is the name of the instance database. TABLE_NAME is the name of the database table that you want to query. For more information about these and other SQL statements, refer to the DB2 Universal Database for iSeries SQL Reference which you can find in the IBM eServer iSeries Information Center.
135
136
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
137
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
v Enter the remote_user value in the Remote User Name field. v Enter the remote_password in the Remote User Password field.
4. As a check, ensure the WebSphere Commerce instance and associated Web server start successfully. 5. Log into the WebSphere Administrative Console. Navigate to Servers > Web servers. 6. Click webserver1. Under Additional Properties click Remote Web server management. Enter remote_user and remote_password. Click OK. 7. Save your changes. 8. On the Web servers panel, check the box for webserver1 and click Generate Plug-in. 9. On the Web servers panel, check the box beside webserver1 and click Propagate Plug-in. 10. Logout from the WebSphere Administrative Console. 11. Restart the WebSphere Commerce Web server. 12. On the WebSphere Commerce machine, create a save file (savf) in a temporary library (templib). Issue the following command:
SAV DEV(/qsys.lib/templib.lib/savf.file) OBJ((WC_profiledir/installedApps/ WC_instance_name_cell/WC_instance_name.ear)) SUBTREE(*ALL) SAVACT(*YES)
13. FTP the save file, in binary mode, from the WebSphere Commerce machine to the remote Web server machine. 14. On the remote Web server machine, start an iSeries Navigator session. 15. Create the following directory:
WC_profiledir/installedApps/WC_instance_name_cell
The created directory must be identical to the directory on the WebSphere Commerce machine. 16. On the remote Web server machine, restore the save file that was created in step 12. Use the following command:
RST DEV(/qsys.lib/templib.lib/savf.file) OBJ((WC_profiledir/installedApps/ WC_instance_name_cell/WC_instance_name.ear)) SUBTREE(*ALL) ALWOBJDIR(*OWNER)
17. On the remote Web server machine, assign correct permissions to the Web server objects. Issue the following commands:
138
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
+ + + + + + + +
CHGAUT OBJ(WC_profiledir) USER(QTMHHTTP) DTAAUT(*RX) SUBTREE(*ALL) CHGAUT OBJ(WC_profiledir) USER(QTMHHTTP) DTAAUT(*RWX) SUBTREE(*ALL)
18. On the remote Web server machine, only static-content files are required. Remove the following files:
WC_profiledir/installedApps/WC_instance_name_cell/WC_instance_name.ear/*.jsp WC_profiledir/installedApps/WC_instance_name_cell/WC_instance_name.ear/*.jar WC_profiledir/installedApps/WC_instance_name_cell/WC_instance_name.ear/*.rar
139
140
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Notices
This information was developed for products and services offered in the U.S.A. IBM may not offer the products, services, or features discussed in this document in other countries. Consult your local IBM representative for information on the products and services currently available in your area. Any reference to an IBM product, program, or service is not intended to state or imply that only that IBM product, program, or service may be used. Any functionally equivalent product, program, or service that does not infringe any IBM intellectual property right may be used instead. However, it is the users responsibility to evaluate and verify the operation of any non-IBM product, program, or service. Any reference to an IBM licensed program in this publication is not intended to state or imply that only IBMs licensed program may be used. Any functionally equivalent product, program, or service that does not infringe any of IBMs intellectual property rights may be used instead of the IBM product, program, or service. Evaluation and verification of operation in conjunction with other products, except those expressly designated by IBM, is the users responsibility. IBM may have patents or pending patent applications covering subject matter described in this document. The furnishing of this document does not give you any license to these patents. You can send license inquiries, in writing, to: IBM Director of Licensing IBM Corporation North Castle Drive Armonk, NY 105041785 U.S.A. For license inquiries regarding double-byte (DBCS) information, contact the IBM Intellectual Property Department in your country or send inquiries, in writing, to: IBM World Trade Asia Corporation Licensing 2-31 Roppongi 3-chome, Minato-ku Tokyo 106, Japan The following paragraph does not apply to the United Kingdom or any other country where such provisions are inconsistent with local law: INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or implied warranties in certain transactions, therefore, this statement may not apply to you. This information could include technical inaccuracies or typographical errors. Changes are periodically made to the information herein; these changes will be
141
incorporated in new editions of the publication. IBM may make improvements and/or changes in the product(s) and/or the program(s) described in this publication at any time without notice. Any references in this information to non-IBM Web sites are provided for convenience only and do not in any manner serve as an endorsement of those Web sites. The materials at those Web sites are not part of the materials for this IBM product and use of those Web sites is at your own risk. IBM may use or distribute any of the information you supply in any way it believes appropriate without incurring any obligation to you. Licensees of this program who want to have information about it for the purpose of enabling: (i) the exchange of information between independently created programs and other programs (including this one) and (ii) the mutual use of the information which has been exchanged, should contact: IBM Canada Ltd. Office of the Lab Director 8200 Warden Avenue Markham, Ontario L6G 1C7 Canada Such information may be available, subject to appropriate terms and conditions, including in some cases payment of a fee. The licensed program described in this document and all licensed material available for it are provided by IBM under terms of the IBM Customer Agreement, IBM International Program License Agreement or any equivalent agreement between us. Any performance data contained herein was determined in a controlled environment. Therefore, the results obtained in other operating environments may vary significantly. Some measurements may have been made on development-level systems and there is no guarantee that these measurements will be the same on generally available systems. Furthermore, some measurement may have been estimated through extrapolation. Actual results may vary. Users of this document should verify the applicable data for their specific environment. Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. All statements regarding IBMs future direction or intent are subject to change or withdrawal without notice, and represent goals and objectives only. This information is for planning purposes only. The information herein is subject to change before the products described become available. This information contains examples of data and reports used in daily business operations. To illustrate them as completely as possible, the examples include the
142
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
names of individuals, companies, brands, and products. All of these names are fictitious and any similarity to the names and addresses used by an actual business enterprise is entirely coincidental. Credit card images, trademarks and trade names provided in this product should be used only by merchants authorized by the credit card marks owner to accept payment via that credit card.
Notices
143
144
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Trademarks
The IBM logo and the following terms are trademarks of International Business Machines Corporation in the United States, other countries, or both: v DB2 v DB2 Universal Database v i5/OS v IBM v iSeries v Lotus v Notes v WebSphere Java and all Java-based trademarks and logos are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both. Microsoft and Windows are trademarks of Microsoft Corporation in the United States, other countries, or both. Other company, product and service names may be trademarks or service marks of others.
145
146
WebSphere Commerce - Express Installation Guide for IBM System i and i5/OS
Printed in USA
GC10-4262-05