A dbenv
element causes an IceGrid node to generate Freeze configuration properties for the server or service in which it is defined, and may cause the node to create a database environment directory if necessary. This element may contain dbproperty
elements.
This element may only appear as a child of a server
or service
element.
The following attributes are supported:
Attribute |
Description |
Required |
---|---|---|
|
Specifies the directory to use as the database environment. If not defined, a subdirectory within the node's data directory is used. |
No |
|
The name of the database environment. |
Yes |
The values of the name
and home
attributes are used to define the Freeze.DbEnv.env-name.DbHome
property as shown below:
Freeze.DbEnv.name.DbHome=home
An optional nested description
element provides free-form descriptive text.
Here is an example to demostrate the use of this element:
<dbenv name="MyEnv" home="/opt/data/db"> <description>A description of the database environment.</description> ... </dbenv>