Database Configuration
Purpose
This is an optional WebSphere Phase.
This phase is used to start/stop the WAS Server(s)or for to apply a “wsadmin” Database Config script on the WAS Server(s). It executes the actions for managing the database configurations or connections on the WepSphere Application Server.
|
The wasDb.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. |
Parameters
| Parameter | M/O | Description | Default Value |
|---|---|---|---|
alm.phase.builder |
M |
Script Type |
|
alm.phase.extractBundle |
M |
TRUE |
|
alm.phase.mainScript |
M |
WAS Database configuration |
wasDatabaseConfig.xml |
dir.langModels |
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 Database with dbconfScript 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] |
|
was.servername |
WAS Server name |
server1 |
|
wasDb.admin.command |
For dbconfCommand command, the command to execute. |
||
wasDb.commands |
M |
Available commands: startServer;stopServer;dbconfScript;dbconfCommand;ignore |
adminScript |
wasDb.scriptArgs |
Arguments for the wsadmin script to run.(Except default:[was.cellname] [was.nodename] [was.servername]) |
||
wasDb.scriptLang |
The 'wsadmin' script language (jacl or jython) |
jacl |
|
wasDb.scriptLocation |
For dbconfScript command, the location of the script to run. |
jacl |
|
wasDb.scriptName |
For dbconfScript command, the script to run. |
wasAdmin_Db2Config.jacl |
|
wasDb.scriptProperties |
For dbconfScript command, the property file to use by the ${wasApp.scriptName}. |
||
webapp.languageKey |
M |
For dbconfScript command, the language key to use in the propsfile.languages file. |
JACL |