Installation guide
54
PegaRULES Process Commander Installation Guide v6.1 SP2
Running the Install and Upgrade Scripts
After entering the settings in setupDatabase.properties, run the appropriate
install or upgrade script for your platform:
■ install.bat for Windows, install.ksh for Unix systems
■ upgrade.bat for Windows, upgrade.ksh for Unix systems
You can pass up to six arguments to either script to override the properties set in
the setupDatabase.properties file. These arguments are required for any of the
properties not defined in the properties file:
– driverClass
– driverJAR
– dbType
– dbURL
– dbUser
– dbPassword
Enter each argument on the command-line followed by the value as described
above. Separate each argument with a space. For example:
./install.ksh --driverClass oracle.jdbc.OracleDriver --driverJAR D:\ojdbc6.jar
--dbType oracledate --dbURL jdbc:oracle:thin:@dbServer:1521:prpc_database --
dbUser username --dbPassword password
The scripts run an Ant project which installs or upgrades the Process
Commander target database as specified. A log of the transactions is written to
the command-line console and to a file in the scripts\logs directory.
Advanced Properties
You should not need to set the following properties under normal use. However,
they may be useful in certain circumstances.
– pegarules.config
Path to prconfig.xml file
– prbootstrap.config
Path to a prbootstrap.properties file
The Install and upgrade scripts create their own configuration files based
on the settings you specify. Set these two properties if you want the
scripts to instead use configuration files you have created. For details on
these files see your installation or upgrade guide.