WebSphere Application Server V7 Administration and Configuration Guide

Book description

This IBM® Redbooks® publication provides system administrators and developers with the knowledge to configure a WebSphere® Application Server V7 runtime environment, to package and deploy applications, and to perform ongoing management of the WebSphere environment.

As one in a series of IBM Redbooks publications and Redpapers™ publications for V7, the entire series is designed to give you in-depth information about key WebSphere Application Server features. In this book, we provide a detailed exploration of the WebSphere Application Server V7 runtime administration process.

The book includes configuration and administration information for WebSphere Application Server V7 and WebSphere Application Server Network Deployment V7 on distributed platforms and WebSphere Application Server for z/OS® V7.

The following publications are considered prerequisites to this book:
- WebSphere Application Server V7.0: Technical Overview, REDP-4482
- WebSphere Application Server V7: Concepts, Planning and Design, SG24-7708

Table of contents

  1. Front cover
  2. Notices
    1. Trademarks
  3. Preface
    1. The team who wrote this book
    2. Now you can become a published author, too!
    3. Comments welcome
    4. Stay connected to IBM Redbooks
  4. Summary of changes
    1. March 2010, Second Edition
  5. Part 1 Basic administration and configuration techniques
  6. Chapter 1. System management: A technical overview
    1. 1.1 System management overview
      1. 1.1.1 Terminology
      2. 1.1.2 Directory conventions
      3. 1.1.3 Profiles
      4. 1.1.4 System management tools
    2. 1.2 System management in a standalone server environment
    3. 1.3 System management of multiple standalone servers
    4. 1.4 System management in a distributed server environment
      1. 1.4.1 Centralized changes to configuration and application data
      2. 1.4.2 Rules for process startup
      3. 1.4.3 Distributed process discovery
      4. 1.4.4 Configuration and application data repository
      5. 1.4.5 File synchronization in distributed server environments
    5. 1.5 Management of distributed and standalone servers
    6. 1.6 Java Management Extensions (JMX)
      1. 1.6.1 JMX MBeans
      2. 1.6.2 JMX usage scenarios
    7. 1.7 Centralized Installation Manager
    8. 1.8 IBM Support Assistant V4
  7. Chapter 2. Working with profiles on distributed systems
    1. 2.1 Types of profiles
      1. 2.1.1 Application server profile
      2. 2.1.2 Deployment manager profile
      3. 2.1.3 Custom profile
      4. 2.1.4 Cell profile
      5. 2.1.5 Administrative agent profile
      6. 2.1.6 Job manager profile
      7. 2.1.7 Profile generation
    2. 2.2 Planning for profiles
    3. 2.3 Building systems with profiles
      1. 2.3.1 Starting the PMT
      2. 2.3.2 Common panels and steps for all profiles
      3. 2.3.3 Creating an application server profile
      4. 2.3.4 Creating a deployment manager profile
      5. 2.3.5 Creating a cell profile
      6. 2.3.6 Creating a custom profile
      7. 2.3.7 Federating nodes to a cell
      8. 2.3.8 Creating an administrative agent profile
      9. 2.3.9 Creating a job manager profile
      10. 2.3.10 Registering nodes to an administrative agent
      11. 2.3.11 Deregistering a node from the administrative agent
      12. 2.3.12 Registering an administrative agent node with a job manager
      13. 2.3.13 Registering a deployment manager with a job manager
    4. 2.4 Managing profiles
      1. 2.4.1 Using the manageprofiles command
      2. 2.4.2 Getting help
      3. 2.4.3 Getting a list of profiles
      4. 2.4.4 Creating a profile with the manageprofiles command
      5. 2.4.5 Creating a profile in silent mode with PMT
      6. 2.4.6 Deleting profiles
  8. Chapter 3. Working with profiles on z/OS systems
    1. 3.1 Creating WebSphere environments
      1. 3.1.1 WebSphere Application Server for z/OS
      2. 3.1.2 WebSphere DMZ secure proxy server for z/OS
    2. 3.2 Getting started with the profile management tool
    3. 3.3 Sample environment
    4. 3.4 Creating a deployment manager definition
      1. 3.4.1 Creating the customization definition
      2. 3.4.2 Uploading the jobs to the z/OS system
      3. 3.4.3 Executing the jobs
    5. 3.5 Creating the base application server definition
    6. 3.6 Federating an application server
    7. 3.7 Creating a job manager profile
    8. 3.8 Creating an administrative agent profile
  9. Chapter 4. Centralized Installation Manager
    1. 4.1 Planning considerations
      1. 4.1.1 Linux and AIX target requirements
      2. 4.1.2 Requirement when using CIM for installing or uninstalling maintenance on AIX target as non-root user
      3. 4.1.3 Update Installer
      4. 4.1.4 Repository directory structure
    2. 4.2 Installing CIM and creating the repository
    3. 4.3 Loading additional product packages into the repository
      1. 4.3.1 Installing Installation Factory
      2. 4.3.2 Package types
      3. 4.3.3 Adding product packages to the CIM respository
      4. 4.3.4 Adding maintenance when the deployment manager is connected to the Internet
      5. 4.3.5 When the deployment manager is not connected to the Internet
    4. 4.4 Using CIM to manage your environment
      1. 4.4.1 Adding additional installation targets outside of the cell
      2. 4.4.2 Installing a Secure Shell (SSH) public key
      3. 4.4.3 Removing installation target systems
      4. 4.4.4 Installing packages to the target systems
      5. 4.4.5 Product installation
      6. 4.4.6 Installing maintenance to target systems
      7. 4.4.7 Uninstalling packages
      8. 4.4.8 CIM AdminTask Commands
  10. Chapter 5. Administration consoles and commands
    1. 5.1 Introducing the WebSphere administrative consoles
      1. 5.1.1 Starting and accessing the consoles
      2. 5.1.2 Logging in to a console
      3. 5.1.3 Changing the administrative console session timeout
      4. 5.1.4 The graphical interface
      5. 5.1.5 Finding an item in the console
      6. 5.1.6 Updating existing items
      7. 5.1.7 Adding new items
      8. 5.1.8 Removing items
      9. 5.1.9 Starting and stopping items
      10. 5.1.10 Using variables
      11. 5.1.11 Saving work
      12. 5.1.12 Getting help
    2. 5.2 Securing the console
      1. 5.2.1 Enabling security after profile creation
      2. 5.2.2 Administrative security roles
    3. 5.3 Job manager console
      1. 5.3.1 Submitting a job with the job manager
      2. 5.3.2 Distributing files using the job manager
    4. 5.4 Using command line tools
      1. 5.4.1 Command location
      2. 5.4.2 Key usage parameters
      3. 5.4.3 Entering commands
  11. Chapter 6. Administration of WebSphere processes
    1. 6.1 Working with the deployment manager
      1. 6.1.1 Deployment manager configuration settings
      2. 6.1.2 Starting and stopping the deployment manager
    2. 6.2 Starting and stopping an administrative agent
    3. 6.3 Starting and stopping the job manager
    4. 6.4 Working with application servers
      1. 6.4.1 Creating an application server
      2. 6.4.2 Viewing the status of an application server
      3. 6.4.3 Starting an application server
      4. 6.4.4 Stopping an application server
      5. 6.4.5 Viewing runtime attributes of an application server
      6. 6.4.6 Customizing application servers
    5. 6.5 Working with nodes in a distributed environment
      1. 6.5.1 Starting and stopping nodes
      2. 6.5.2 Node agent synchronization
      3. 6.5.3 Removing a node from a cell
      4. 6.5.4 Renaming a node
      5. 6.5.5 Node groups
    6. 6.6 Working with clusters
      1. 6.6.1 Creating application server clusters
      2. 6.6.2 Viewing cluster topology
      3. 6.6.3 Managing clusters
    7. 6.7 Working with virtual hosts
      1. 6.7.1 Creating and updating virtual hosts
    8. 6.8 Managing your configuration files
      1. 6.8.1 Backing up a profile
      2. 6.8.2 Restoring a profile
      3. 6.8.3 Exporting and importing profiles
    9. 6.9 Managing applications
      1. 6.9.1 Managing enterprise applications: Administrative console
      2. 6.9.2 Installing an enterprise application
      3. 6.9.3 Uninstalling an enterprise application
      4. 6.9.4 Starting an enterprise application
      5. 6.9.5 Stopping an enterprise application
      6. 6.9.6 Preventing an enterprise application from starting on a server
      7. 6.9.7 Viewing application details
      8. 6.9.8 Finding a URL for a servlet or JSP
    10. 6.10 Enabling process restart on failure
  12. Chapter 7. WebSphere Application Server for z/OS
    1. 7.1 WebSphere Application Server on z/OS Architecture
      1. 7.1.1 Architecture of a single application server on z/OS
      2. 7.1.2 Cell architecture of WebSphere Application Server for z/OS
    2. 7.2 WebSphere Application Server for z/OS operations
      1. 7.2.1 Structure of the configuration HFS
      2. 7.2.2 Load module libraries in the HFS
      3. 7.2.3 Changed start procedure JCLs with V7
      4. 7.2.4 Starting and stopping an application server
      5. 7.2.5 Logging and tracing
    3. 7.3 Maintenance for the HFS
      1. 7.3.1 The process of applying maintenance
      2. 7.3.2 The concept of intermediate symbolic links
    4. 7.4 Workload management
      1. 7.4.1 Workload management overview
      2. 7.4.2 Workload classification
      3. 7.4.3 Transaction classification
      4. 7.4.4 Servant activation
      5. 7.4.5 Basic WLM classifications
    5. 7.5 What is new in V7 for z/OS
      1. 7.5.1 z/OS Fast Response Cache Accelerator (FRCA)
      2. 7.5.2 Thread hang recovery
      3. 7.5.3 Systems Management Facility (SMF) Subtype 9
    6. 7.6 Thread management using the workload profile
    7. 7.7 Local connectivity to DB2
      1. 7.7.1 Prerequisites for implementing a JDBC type 2 driver
      2. 7.7.2 Creating a JDBC provider
      3. 7.7.3 Defining a type 2 data source
    8. 7.8 Migrating to V7
  13. Chapter 8. Administration with scripting
    1. 8.1 Overview of WebSphere scripting
      1. 8.1.1 Script programming languages
    2. 8.2 Launching wsadmin
      1. 8.2.1 Scripting environment properties file
      2. 8.2.2 Script profile file
      3. 8.2.3 Connected versus local mode
    3. 8.3 Command and script invocation
    4. 8.4 wsadmin management objects
      1. 8.4.1 Help
      2. 8.4.2 AdminControl
      3. 8.4.3 AdminConfig
      4. 8.4.4 AdminApp
      5. 8.4.5 AdminTask
    5. 8.5 Managing WebSphere using script libraries
      1. 8.5.1 Invoking script libraries
      2. 8.5.2 Displaying help for script libraries
      3. 8.5.3 Application script library
      4. 8.5.4 Resource script library
      5. 8.5.5 Security script library
      6. 8.5.6 Server script library
      7. 8.5.7 System management script library
    6. 8.6 Assistance with scripting
      1. 8.6.1 Enabling command assistance
      2. 8.6.2 Building script files using command assist
    7. 8.7 Example: Using scripts with the job manager
      1. 8.7.1 Introduction
      2. 8.7.2 Creating the customized script
      3. 8.7.3 Submitting the job
      4. 8.7.4 Check the results
    8. 8.8 Online resources
  14. Chapter 9. Accessing databases from WebSphere
    1. 9.1 JDBC resources
      1. 9.1.1 JDBC providers and data sources
      2. 9.1.2 WebSphere support for data sources
    2. 9.2 Steps in defining access to a database
      1. 9.2.1 Creating an authentication alias
    3. 9.3 Example: Connecting to an IBM DB2 database
      1. 9.3.1 Creating the JDBC provider
      2. 9.3.2 Creating the data source
    4. 9.4 Example: Connecting to an Oracle database
      1. 9.4.1 Creating the JDBC provider
      2. 9.4.2 Creating the data source
    5. 9.5 Example: Connecting to an SQL Server database
      1. 9.5.1 Creating the JDBC provider
      2. 9.5.2 Creating the data source
    6. 9.6 Example: Connecting to an Informix Dynamic Server database
      1. 9.6.1 Creating the JDBC provider
      2. 9.6.2 Creating the data source
    7. 9.7 Configuring connection pooling properties
      1. 9.7.1 WebSphere Application Server data source properties
      2. 9.7.2 Extended DB2 data source
  15. Chapter 10. Accessing EIS applications from WebSphere
    1. 10.1 JCA resource adapters
      1. 10.1.1 WebSphere Application Server JCA support
    2. 10.2 Resource adapters
      1. 10.2.1 Installing and configuring resource adapters
    3. 10.3 Configuring J2C connection factories
    4. 10.4 Resource authentication
      1. 10.4.1 Container-managed authentication
      2. 10.4.2 Component-managed authentication
  16. Chapter 11. Monitoring
    1. 11.1 Overview
      1. 11.1.1 Monitoring scenarios
    2. 11.2 Enabling monitoring infrastructures
      1. 11.2.1 PMI defaults and monitoring settings
      2. 11.2.2 Enable request metrics
    3. 11.3 Viewing the monitoring data
    4. 11.4 Monitoring scenarios
      1. 11.4.1 Database interactions
      2. 11.4.2 Threading resources
      3. 11.4.3 JVM memory usage
      4. 11.4.4 Request level details
    5. 11.5 ITCAM for WebSphere
      1. 11.5.1 Installing the data collector
      2. 11.5.2 Configuring ITCAM for WebSphere metrics
      3. 11.5.3 Viewing ITCAM for WebSphere data
    6. 11.6 Monitoring considerations summary
      1. 11.6.1 Other tools and considerations
      2. 11.6.2 Summary of monitoring tips
  17. Part 2 Working with applications
  18. Chapter 12. Session management
    1. 12.1 HTTP session management
    2. 12.2 Session manager configuration
      1. 12.2.1 Session management properties
      2. 12.2.2 Accessing session management properties
    3. 12.3 Session identifiers
      1. 12.3.1 Choosing a session tracking mechanism
      2. 12.3.2 Cookies
      3. 12.3.3 URL rewriting
    4. 12.4 Local sessions
    5. 12.5 General properties for session management
    6. 12.6 Session affinity
      1. 12.6.1 Session affinity and failover
    7. 12.7 Persistent session management
      1. 12.7.1 Enabling database persistence
      2. 12.7.2 Memory-to-memory replication
      3. 12.7.3 Session management tuning
      4. 12.7.4 Larger DB2 page sizes and database persistence
      5. 12.7.5 Single and multi-row schemas (database persistence)
      6. 12.7.6 Contents written to the persistent store using a database
    8. 12.8 Invalidating sessions
      1. 12.8.1 Session listeners
    9. 12.9 Session security
    10. 12.10 Session performance considerations
      1. 12.10.1 Session size
      2. 12.10.2 Reducing persistent store I/O
      3. 12.10.3 Multirow persistent sessions: Database persistence
      4. 12.10.4 Managing your session database connection pool
      5. 12.10.5 Session database tuning
    11. 12.11 Stateful session bean failover
      1. 12.11.1 Enabling stateful session bean failover
      2. 12.11.2 Stateful session bean failover consideration
  19. Chapter 13. Understanding class loaders
    1. 13.1 A brief introduction to Java class loaders
    2. 13.2 WebSphere class loader overview
      1. 13.2.1 WebSphere extensions class loader
      2. 13.2.2 Application and Web module class loaders
      3. 13.2.3 Handling JNI code
    3. 13.3 Configuring WebSphere for class loaders
      1. 13.3.1 Application server class loader policies
      2. 13.3.2 Class loading/delegation mode
      3. 13.3.3 Shared libraries
    4. 13.4 Class loader viewer
    5. 13.5 Learning class loaders by example
      1. 13.5.1 Step 1: Simple Web module packaging
      2. 13.5.2 Step 2: Adding an EJB module and utility jar
      3. 13.5.3 Step 3: Changing the WAR class loader delegation mode
      4. 13.5.4 Step 4: Sharing utility JARs using shared libraries
  20. Chapter 14. Packaging applications for deployment
    1. 14.1 JEE 5 EAR files
      1. 14.1.1 Development tools
      2. 14.1.2 Working with deployment descriptors
    2. 14.2 EJB 3.0 modules
    3. 14.3 JPA persistence units
      1. 14.3.1 JPA access intents
    4. 14.4 Resource adapters
    5. 14.5 Web modules
      1. 14.5.1 WebSphere extensions to Web modules
      2. 14.5.2 File serving
      3. 14.5.3 Web application auto reload
      4. 14.5.4 Serve servlets by class name
      5. 14.5.5 Default error page
      6. 14.5.6 Directory browsing
      7. 14.5.7 Pre-compile JSPs
      8. 14.5.8 Automatic HTTP request and response encoding
    6. 14.6 Example: Packaging an application
      1. 14.6.1 Configuring Web module extensions
    7. 14.7 Exporting to an EAR file
    8. 14.8 WebSphere Enhanced EAR
      1. 14.8.1 Configuring a WebSphere Enhanced EAR
    9. 14.9 Packaging recommendations
    10. 14.10 Business-level applications
      1. 14.10.1 Example: Creating a business-level application
  21. Chapter 15. Deploying applications
    1. 15.1 Preparing the environment
      1. 15.1.1 Creating the ITSO Bank DB2 database
      2. 15.1.2 Creating an environment variable
      3. 15.1.3 Creating the ITSO Bank application server
      4. 15.1.4 Defining the ITSO Bank virtual host
      5. 15.1.5 Creating the virtual host for IBM HTTP Server and Apache
      6. 15.1.6 Creating a DB2 JDBC provider and data source
    2. 15.2 Deploying the application
    3. 15.3 Deploying application clients
      1. 15.3.1 Defining application client bindings
      2. 15.3.2 Launching the J2EE client
    4. 15.4 Updating applications
      1. 15.4.1 Replacing an entire application EAR file
      2. 15.4.2 Replacing or adding an application module
      3. 15.4.3 Replacing or adding single files in an application or module
      4. 15.4.4 Removing application content
      5. 15.4.5 Performing multiple updates to an application or module
      6. 15.4.6 Rolling out application updates to a cluster
      7. 15.4.7 Hot deployment and dynamic reloading
  22. Related publications
    1. IBM Redbooks publications
    2. Online resources
    3. How to get IBM Redbooks publications
    4. Help from IBM
  23. Back cover

Product information

  • Title: WebSphere Application Server V7 Administration and Configuration Guide
  • Author(s):
  • Release date: March 2010
  • Publisher(s): IBM Redbooks
  • ISBN: 9780738434247