Servers Administration

Purpose

This is an optional WebSphere Phase.

This phase is used to start/stop the WAS Server(s) or to apply a “wsadmin” script on the WAS Server(s). The Phase applies the specified actions to a list of Servers or to all Servers.

The wasSrv.commands parameter is the main parameter for this Phase. Depending on the command specified in that parameter, other parameters need to be defined or not.

Usage

The Servers Administration Phase can be used on Build and Deploy Environments.

Parameters

Parameter M/O Description Default Value

alm.phase.builder

M

Script Type

alm.phase.extractBundle

M

TRUE

alm.phase.mainScript

M

WAS Servers Administration

wasServerAdmin.xml

dir.langModels

Language Models Location

${dir.wasModels}

dir.wasModels

Models Location

./models

dir.wasResources

Property files Location

./resources

propsfile.environment

property File of WAS environment

${dir.wasResources}/environment_deploy.properties

propsfile.languages

Property File of WAS languages for managing the Servers with serverScript command

${dir.wasResources}/languages_${phase.mainScriptName}.properties

propsfile.waslogRules

Property File of WebSphere Log Rules

${dir.wasResources}/wasLogRules.properties

propsfile.webapp

Property File of WAS Application wsadmin parameters and options

${source}/webapp_${alm.project.vcrProjectName}.properties

stopOnError

Option for stopping at the end.

TRUE

was.admin.password

M

WAS Administrator password

*

was.admin.username

M

WAS Administrator ID

Admin

was.cellname

WAS Cellule name

${was.nodename}Cell

was.fail

Fail the phase if Websphere answer is not OK

FALSE

was.install.root

i.e. [WAS_INSTALL_ROOT]

was.nodename

WAS Node name

[hostname]Node01

was.profile

WAS Profile name

[AppSrv01]

wasSrv.action

For serverScript command, optional action to do in the script.

wasSrv.admin.command

For serverCommand command, the 'wsadmin' command to execute.

wasSrv.commands

M

Available commands: startServers;stopServers;listServers;serverScript;serverCommand;ignore4

serverScript

wasSrv.listServers

For listServers command, the file to receive the Websphere list separated by comma.

${source}/listServers.txt

wasSrv.scriptArgs

Arguments for the wsadmin script to run.(Except default:[was.cellname] [was.nodename])

wasSrv.scriptLang

The 'wsadmin' script language (jacl or jython)

jacl

wasSrv.scriptLocation

For serverScript command, the location of the script to run.

jacl

wasSrv.scriptName

For serverScript command, the script to run.

wasAdmin_Server.jacl

wasSrv.scriptProperties

For serverScript command, the property file to use by the ${wasApp.scriptName}.

wasSrv.serversList

WAS Servers List for command(s)

ALL

webapp.languageKey

M

For serverScript command, the language key to use in the propsfile.languages file.

JACL