Sun Java System Application Server Enterprise Edition 8.1 2005Q2 High Availability Administration Guide

- Previous: General Options
- Next: Configuring HADB

## Environment Variables

For convenience, you can set an environment variable instead of specifying a command option. The following table describes environment variables that correspond to `hadbm` command options.

Table 3–6 HADB Options and Environment Variables

Long Form | Short Form | Default | Environment Variable
--- | --- | --- | ---
--adminpassword | -w | none | $HADBM_ADMINPASSWORD
--agent | --m | localhost:1862 | $HADBM_AGENT
--datadevices | -a | `1` | $HADBM_DATADEVICES
dbname | none | `hadb` | $HADBM_DB
--dbpassword | -p | none | $HADBM_DBPASSWORD
--dbpasswordfile | -P | none | $HADBM_DBPASSWORDFILE
--devicepath | -d | Solaris and Linux: `/var/opt/SUNWhadb` Windows: `C:\Sun\AppServer\SUNWhadb\vers`, where vers is the HADB version number. | $HADBM_DEVICEPATH
--devicesize | -z | none | $HADBM_DEVICESIZE
--echo | -e | False | $HADBM_ECHO
--fast | -F | False | $HADBM_FAST
--force | -f | False | $HADBM_FORCE
--help | -? | False | $HADBM_HELP
--historypath | -t | Solaris and Linux: `/var/opt/SUNWhadb` Windows: REPLACEDIR, replaced by the actual URL at runtime. | $HADBM_HISTORYPATH
--hosts | -H | none | $HADBM_HOSTS
--interactive | -i | True | $HADBM_INTERACTIVE
--no-refragment | -r | False | $HADBM_NOREFRAGMENT
--portbase | -b | 15200 | $HADBM_PORTBASE
--quiet | -q | False | $HADBM_QUIET
--repair | -R | True | $HADBM_REPAIR
--rolling | -g | True | $HADBM_ROLLING
--saveto | -o | none | $HADBM_SAVETO
--set | -S | none | $HADBM_SET
--spares | -s | 0 | $HADBM_SPARES
--startlevel | -l | normal | $HADBM_STARTLEVEL
--version | -V | False | $HADBM_VERSION
--yes | -y | False | $HADBM_YES

- Previous: General Options
- Next: Configuring HADB

- © 2010, Oracle Corporation and/or its affiliates