Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
WebSphere Application Server 7.0 Administration Guide

You're reading from   WebSphere Application Server 7.0 Administration Guide Manage and administer your IBM WebSphere application server to create a reliable, secure, and scalable environment for running your applications with this book and eBook

Arrow left icon
Product type Paperback
Published in Aug 2009
Publisher Packt
ISBN-13 9781847197207
Length 344 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Steve Robinson Steve Robinson
Author Profile Icon Steve Robinson
Steve Robinson
Arrow right icon
View More author details
Toc

Table of Contents (16) Chapters Close

WebSphere Application Server 7.0 Administration Guide
Credits
About the Author
1. Acknowledgement
About the Reviewers
2. Preface
1. Installing WebSphere Application Server FREE CHAPTER 2. Deploying your Applications 3. Security 4. Administrative Scripting 5. WebSphere Configuration 6. WebSphere Messaging 7. Monitoring and Tuning 8. Administrative Features 9. Administration Tools 10. Product Maintenance

Silent installation


So far, we have covered using the GUI approach to install WAS. The installation wizard can also be run silently. By using special response files, we can pre-set installation settings and the installation will not require any user input.

Using response files is the technique used in automatic installations where servers are built to a known standard and naming convention. This ensures that each new WAS is installed exactly the same each time. This is critical for production environments to ensure each server is configured the same way. This lends to easier support and fewer errors are introduced into environments, which is a key factor in supporting production systems. Another reason that it is vital to know how to use silent installations is that some organizations do not install X Windows on production servers for security reasons.

Below is a list of the main sections where you can change properties to customize your own installation. The file is fully commented and is self-explanatory. It only takes a short while to edit as required to craft a customized silent installation.

Section

Description

License Acceptance

This must be edited to true for a silent install to work.

Non-root Installation Limitations

This option indicates whether you accept the limitations associated with installing as a non-root user.

Prerequisite Checking

By default, the installer checks the system for prerequisites. You can change how this is done.

File Permission Checking

By default, the installer does not check whether the user account that is running the installation has sufficient permissions to perform the installation. You can change this to be more permission-aware.

Installation Type

The default installType setting is to install without the samples. You can change this option.

Administrative Security

To configure administrative security, an administrative username and password must be specified. Additionally, if the Application Server Samples are installed, a password is also required for the Samples user.

Installation Location

Specify a valid directory path into which the product can be installed.

Trace Control Output

Trace output is saved as both text and XML files by default, but it can be restricted to only one output format. Tracing can be used to help diagnose installation issues.

Profile Settings

Determine whether to create a management or standalone profile. The following sections explain the settings for management profile or standalone profile configuration options, which are located at the end of the response file.

Creating a response file

Locate the sample response file. It is located in<was_install_root>\WAS. The response file is named responsefile.base.txt. Copy and rename the file to response.txt. This will preserve the original file as a backup in case we need it again later.

Editing a response file

Edit the response file (response.txt) as required for your environment.

Running the installer silently

Run the installer in silent mode by passing the name of the response file as a command line parameter. Here is an example:

<was_install_root>installer -options "/<responsefile.path>/<responsefile.txt>" -silent

You can tail the logs mentioned above to show progress of an install. We will look at the tail command in more detail in Chapter 5.

Examining installation logs

After the silent installation has completed, examine the logs for success. The logs are located in<profile_root>/logs/install/log.txt. By examining these logs, you can see if there were any errors during the installation.<profile_root> is the notation syntax we will use to determine the root of the application server profile.

You have been reading a chapter from
WebSphere Application Server 7.0 Administration Guide
Published in: Aug 2009
Publisher: Packt
ISBN-13: 9781847197207
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image