If you do not want to use the graphical user interface
to install WebSphere® ESB,
you can perform a silent, or background, installation on a System i server
by using a file called a response file. Instead of displaying a graphical
user interface, or a "wizard," the silent installation causes the
installation program to read all of your responses from a file that
you provide. An example response file, responsefile.wesb.txt, is shipped with
default values and can be used to silently install WebSphere ESB.
Before you begin
Prepare for the installation before using
this procedure. See Prerequisites for installing WebSphere ESB and Preparing i5/OS systems for installation for more information.
Before
you install WebSphere ESB,
ensure that your user profile has *ALLOBJ and *SECADM special authorities.
Note: The installation path cannot contain parenthesis. You
cannot install over an existing WebSphere Application
Server installation that contains parenthesis in the installation
path.
About this task
You can install WebSphere ESB from
Qshell using the INSTALL command. You can
also use the RUNJVA command to invoke the
installation wizard.
Response files, also called options files,
are used to pass command-line options to an installation or uninstallation
program.
Procedure
- Sign on to the System i server
with a user profile that has *ALLOBJ and *SECADM special authorities.
- Place the WebSphere ESB for i5/OS disk in the disk drive of
your System i server.
Do not use the WebSphere ESB, Version
6.2 for Windows® disk or
any other operating system disk other than the disk for i5/OS.
- Use the Copy (CPY) command to create a copy of the responsefile.wesb.txtfile from the disk.
For example:
CPY OBJ('/QOPT/WEBSPHERE') TOOBJ('/my_dir/new_dir') SUBTREE(*ALL) REPLACE(*YES)
QOPT
is the disk mount point.
WEBSPHERE is the disk volume label.
/WBI is
the product directory on the disk. This will be referred to in later
steps.
- If you have not already done so, read the IBM® International Program License Agreement located
in the /WBI/lafiles directory.
If
you agree to the terms of the agreement, continue with the installation
process.
- Edit the /MYDIR/responsefile.wesb.txt file.
- Change the value for -OPT silentInstallLicenseAcceptance
from false to true.
A value of true indicates that you
have read and accept the terms of the license agreement. This change
is required to run the installation.
- By default, the PROF_enableAdminSecurity option is set
to true. If you want to enable administrative security for the default
profile created during install, you must specify values for the PROF_adminUserName
and PROF_adminPassword options.
The user ID and password
do not need to be a system user ID and password or an LDAP user ID
and password. The ID-and-password pair specified are stored in the
user registry and used for administrative security for the default
profile. Write down the user ID and password.
If you do not
want to enable administrative security for the default profile, change
the value for the PROF_enableAdminSecurity option from true to false.
Note: The Samples feature is not installed with the product
by default. If you want to use the samples, perform the following
actions:
- Specify sampleSelected for the -OPT addFeature option.
- Specify a value for the -OPT samplesPassword option if you are
enabling security.
- Invoke the installation program for WebSphere ESB for i5/OS.
To invoke
the installation program for WebSphere ESB for i5/OS, run the INSTALL command
from Qshell or use the RUNJVA command from
the CL command line.
In the following example commands, path/responsefile represents
the fully qualified path of the responsefile.wesb.txt file that you
edited.
Results
After you invoke the installation, messages are displayed
that indicate the progress of the installation process. When the setup
program completes, press F3 to exit.