This topic describes how to perform a silent installation of the product as the root user on a Linux or UNIX-based operating system, or from a user ID that belongs to the Administrator group on a Windows platform.
Why and when to perform this task
Use this procedure to perform a silent
installation of the Enterprise product.
A silent installation uses the installation program to install the product. However, instead of displaying a wizard interface, the silent installation causes the installation program to read all of your responses from a file that you must customize.
Steps for this task
Install silently as root on a Linux or UNIX-based platform, or as a user that belongs to the administrator group on a Windows platform. Some steps for installing silently on a Windows platform require the administrator group user to have the following advanced user rights:
The installation wizard grants your Windows user ID the advanced user rights, if the user ID belongs to the administrator group. The silent installation does not grant these rights. If you create a new user ID on a Windows platform to perform the silent installation, you must restart the system to activate the proper authorizations for the user ID, before you can perform a successful silent installation.
Operating platform | Tip in Platform-specific tips for installing and migrating |
---|---|
Windows platforms | A Windows user ID with spaces cannot be validated for installing services. |
If
you attempt a silent installation of services or the embedded messaging feature
without the required authorizations, the installation might fail while attempting
to write to a WAS.PME.install.log file that it has not opened yet.
Or, you might see messages in the WAS.PME.install.log file that are
similar to the following messages:
(Jan 30, 2003 12:04:32 PM), Setup.product.install, com.ibm.ws.install.conditions.PCWebSphereCheckCondition, msg1, higherVersionFoundPasses: false (Jan 30, 2003 12:04:32 PM), Setup.product.install, com.ibm.ws.install.conditions.PCWebSphereCheckCondition, msg1, defaultEvalResult: false (Jan 30, 2003 12:04:32 PM), Setup.product.install, com.ibm.ws.install.conditions.PCWebSphereCheckCondition, msg1, checkOnlyCurrentVersion: true (Jan 30, 2003 12:04:34 PM), Setup.product.install, com.ibm.ws.install.conditions.PCWebSphereCheckCondition, msg1, higherVersionFoundPasses: false (Jan 30, 2003 12:04:34 PM), Setup.product.install, com.ibm.ws.install.conditions.PCWebSphereCheckCondition, msg1, defaultEvalResult: false (Jan 30, 2003 12:04:34 PM), Setup.product.install, com.ibm.ws.install.conditions.PCWebSphereCheckCondition, msg1, checkOnlyCurrentVersion: false (Jan 30, 2003 12:04:41 PM), Setup.product.install, com.ibm.ws.install.actions.LogMessageAction, msg1, INST0058E: The install failed or did not complete due to one or more errors.
There are three types of silent installation:
Copy the setup.response file to install the Enterprise product on a machine that has no existing product or that already has the base WebSphere Application Server product.
Copy the setup_nd.response file to install the Enterprise product on a machine that already has the Network Deployment product.
The WAS.PME.install.log file
is in the install_root\logs directory.
The WAS.PME.install.log file
is in the install_root/logs directory.
You can find the sample options response file in the operating-system platform directory on the product CD.
If you install the embedded messaging feature, -P mqSeriesBean.active="true", certain conditions, such as a locked file, might require you to reboot. You have the option of rebooting immediately, after which the installation program resumes the installation at the point it left off. You can also defer rebooting to a convenient time, such as after the overall installation is complete.
Results
You can install silently using the response
file. If you are doing an umbrella installation of the base WebSphere Application
Server product, examine the log.txt file for a line similar to this:
MessageAction, msg1, The WebSphere 5.1 install is complete.This message is an indicator that you have successfully installed the base product. Examine the WAS.PME.install.log file for a line similar to this:
The InstallShield Wizard has successfully installed IBM WebSphere Application Server Enterprise.This is an indicator that you have successfully installed the Enterprise product.
What to do next
Return to Installing the product to continue.