Friday, November 18, 2011

IBM WAS v6.1 Administration Unit 3 wsadmin command & Directory Structure

There are two main tools used to administer WebSphere Application Server
1. The Administrative Console
2. wsadmin command line tool

The servers configuration is stored in a set of XML files, often referred to as the configuration repository. These set of files define the server itself, as well as resources and services that it provides.

The web based administrative console is controlled from web admin ear.efg see unit 3-22.

Activating the wsadmin command line client

c:\> at the prompt type - wsadmin

Profiles are a set of files that represent a WebSphere Application Server configuration.

WebSphere Application Server files are split into two categories:

Product files - A set of shared read only static files or product binaries shared by any instances of the WebSphere Application Server product.

Configuration files (Profiles)-
Set of user-customized data files
Files include: WebSphere configuration, installed applications, resource adapters, properties, log files, and s forth.

Profiles are the way that you are allowed to run more than one application server on a single installation of WebSphere product files.

WAS clearly separated web server - only install binaries once, and creates each server in a profile.

The benefits of using profiles provides that each profile uses the same product files,
it is simpler than multiple WebSphere installations. Equating to less disk space, and simplifies application product updates.

Under the WebSphere Application Server installation directory () there are sub-directories for each profile. In the example above there are two application servers running that are each configure by the files that exist within their own profile directory.

WebSphere/AppServer
/jvm
/_uninst
/bin
/classes
/cloudscape

AppSrv01/bin
/config
/etc
/firststeps
/installableApps
/installedApps
/installedConnectors
installedConnectors
installedFilters
/logs

AppSrv02/bin
/config
/etc
/firststeps
/installableApps
/installedApps
/installedConnectors
installedConnectors
installedFilters
/logs

Managing Profiles

Profiles should be managed through one of the tools provided

Profile Management tool (PMT) Wizard
Eclipse-based GUI tool for creating profiles
Gathers user input and invokes the "manageprofiles" command line tool to create the profiles
Replaces v6.0 Profile Creation Tool

manageprofiles script

Command line interface for profile management functions
V6.0 wasprofile command line tool has been enhanced and renamed to manageprofiles script in V6.1.

No comments: