Websphere Application Server: Muhammad Qasim
Websphere Application Server: Muhammad Qasim
Muhammad Qasim
IBM Resource
1
OUTLINE
2
WebSphere Application Sever
3
WebSphere Application Sever Basics
4
WebSphere Application Sever Basics
WebSphere Application Server Directory Structure
5
WebSphere Application Sever
Architecture
6
Architecture
A single node WebSphere architecture
7
Architecture
Node and Cell
HTTP server
WebSphere plug-in
Web Container
EJB Container
Application database
Administration service
Configuration repository
Administration console
8
Architecture
9
Architecture
HTTP Server: The HTTP server, more typically
known as the Web server, accepts page requests from
Web browsers and returns Web page content to Web
browsers using the HTTP protocol.
10
Architecture
WebSphere plug-in : The WebSphere plug-in
integrates with the HTTP Server and directs requests
for WebSphere resources (servlets, JSPs, etc.) to the
embedded HTTP server.
The WebSphere plug-in uses a configuration file called
plugin-cfg.xml file to determine which requests are to
be handled by WebSphere.
As applications are deployed to the WebSphere
configuration, this file must be regenerated (typically
using the Administration Console) and distributed to all
Web servers, so that they know which URL requests
to direct to WebSphere.
11
Architecture
12
Architecture
Application database : WebSphere applications
such as IBM's commerce and portal products use a
relational database for storing configuration
information and data.
13
Architecture
Administration service: Each application server
contains an administration service that is responsible for
reading and maintaining the configuration information and
run-time status of the application server.
Configuration repository: The configuration repository
is a collection of XML files that contains the configuration
information for all application servers on a given node. The
administration service reads the configuration information
for its application server from the configuration repository.
Administration console: The administration console
provides a Web-based interface for managing a
WebSphere cell from a central location.
14
WebSphere Application Server
Administration
15
Administration
Each application server has an administration service
that provides the necessary functions to manipulate
configuration data for the server and its components.
The configuration is stored in the repository.
16
Administration
Administrative console: The administrative console
is a Web browser based interface that provides
configuration and operation capability.
Commands: WebSphere Application Server provides
a set of commands in the <server_install>/bin
directory that allow you to perform a subset of
administrative functions.
wsadmin scripting client The wsadmin scripting
client provides extra flexibility over the Web-based
administration application, allowing administration
using the command-line interface.
17
WebSphere Application Server
Troubleshooting
18
Troubleshooting
Problems within an e-business environment can take
many forms, including poor performance, application
unavailability, or unexpected results.
WebSphere provides some sources of feedback to help
with problem determination.
Administrative console messages. These provide
important information regarding runtime events and
configuration problems.
Log files. Several general-purpose logs are provided,
such as JVM standard logs, process (native) logs, and
IBM service logs.
19
Troubleshooting
Traces: Traces provide more detailed information about
WebSphere components to determine what is wrong with your
WebSphere environment.
Log Analyzer: The Log Analyzer is a GUI tool that permits the
user to view any logs generated with log analyzer trace format,
such as the IBM service log file. This tool allows the user to get
error message explanations and information such as why the
error occurred and how to recover from it.
Thread Analyzer. The Thread Analyzer technology preview
assists analyzing Java stack trace files and viewing the threads,
both for hung or deadlock conditions.
There are some other tools as well such as Collector tool &
FFDC.
20
WebSphere Application Server
21
Backup and Recovery
The configuration repository is stored in Extensible
Markup Language (XML) files in the
configuration directory tree.
22
Backup and Recovery
Backup Through OS commands: Stop the
application server process, and make a copy
of the entire <WASV61-ROOT> directory.
Backup through backupConfig utility: Go to the
<WASV61-ROOT>\bin or <PROFILE-ROOT>\bin
directory, and run backupConfig. The backupConfig
utility generates a ZIP archive file called
WebSphereConfig_date.zip
To restore the configuration from the backup, run the
command: restoreConfig.sh filename.zip
23
24