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

- Previous: To customize the management agent configuration on each HADB host
- Next: Starting the Management Agent

### Configuration File

With Java Enterprise System, all the entries in the configuration file are commented out. No changes are required to use the default configuration. To customize the management agent configuration, remove the comments from the file, change the values as desired, then start the management agent specifying the configuration file as an argument.

The management agent configuration file is installed to:

- Solaris and Linux: `/etc/opt/SUNWhadb/mgt.cfg`.

- Windows: install_dir `\lib\mgt.cfg`.

With the standalone installer, the management agent configuration file is installed to:

- Solaris and Linux: HADB_install_dir `/bin/ma.cfg` .

- Windows: HADB_install_dir `\bin\ma.cfg`.

The following table describes the settings in the configuration file.

Table 3–3 Configuration File Settings

Setting Name | Description | Default
--- | --- | ---
    console.loglevel
| Console log level. Valid values are SEVERE, ERROR, WARNING, INFO, FINE, FINER, FINEST | WARNING
    logfile.loglevel
| Log file log level. Valid values are SEVERE, ERROR, WARNING, INFO, FINE, FINER, FINEST | INFO
    logfile.name
| Name and location of log file. Must be a valid path with read/write access. | Solaris and Linux:`/var/opt/SUNWhadb/ma/ma.log` Windows: `HADB_install_dir\ma.log`
    ma.server.type
| Client protocol. Only JMXMP is supported. | jmxmp
    ma.server.
    jmxmp.port
| Port number for internal (UDP) and external (TCP) communication. Must be a positive integer. Recommended range is 1024-49151. | 1862
    ma.server.
    mainternal.interfaces
| Interfaces for internal communication for machines with multiple interfaces. Must be a valid IPv4 address mask. All management agents in a domain must use the same subnet For example, if a host has two interfaces, 10.10.116.61 and 10.10.124.61, use 10.10.116.0/24 to use the first interface. The number after the slash indicates the number of bits in the subnet mask. | None
    ma.server.
    dbdevicepath
| Path to store HADB device information. | Solaris and Linux: `/var/opt/SUNWhadb/4` Windows: HADB_install_dir `\device`
    ma.server.
    dbhistorypath
| Path to store HADB history files. | Solaris and Linux: `/var/opt/SUNWhadb` Windows: REPLACEDIR (replaced by the actual URL at runtime.)
    ma.server.
    dbconfigpath
| Path to store node configuration data. | Solaris and Linux: `/var/opt/SUNWhadb/dbdef` Windows: `C:\Sun\SUNWhadb\dbdef`
    repository.dr.path
| Path to domain repository files. | Solaris and Linux: `/var/opt/SUNWhadb/repository` Windows: `C:\Sun\SUNWhadb\repository`

- Previous: To customize the management agent configuration on each HADB host
- Next: Starting the Management Agent

- © 2010, Oracle Corporation and/or its affiliates