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

- Previous: Getting the Values of Configuration Attributes
- Next: Configuration Attributes

### Setting the Values of Configuration Attributes

To set the values of configuration attributes, use the `hadbm set` command. For a list of valid attributes, see Configuration Attributes

    hadbm set [dbname] attribute
    =value[,attribute=
    value...]
     [--adminpassword=password | --adminpasswordfile=file]
     [--agent=maurl]

The dbname operand specifies the database name. The default is `hadb`.

The attribute=value list is a comma-separated or quote-enclosed space-separated list of attributes.

See General Options for a description of command options.

If this command executes successfully, it restarts the database in the state it was in previously, or in a better state. For information about database states, see Getting the Status of HADB restart the HADB as described in Restarting a Database.

You cannot set the following attributes with `hadbm set`. Instead, set them when you create a database (see Creating a Database).

- DatabaseName

- DevicePath

- HistoryPath

- NumberOfDatadevices

- Portbase

- JdbcUrl (its value is set during database creation based on the `--hosts` and `--portbase` options).

Note –

Using `hadbm set` to set any configuration attribute, except `ConnectionTrace` or `SQLTraceMode`, causes a rolling restart of HADB. In a rolling restart, each node is stopped, and started with the new configuration, one at a time; HADB services are not interrupted.

If you set `ConnectionTrace` or `SQLTraceMode`, no rolling restart occurs, but the change only takes effect for new HADB connections made from an Application Server instance.

- Previous: Getting the Values of Configuration Attributes
- Next: Configuration Attributes

- © 2010, Oracle Corporation and/or its affiliates