The management agent must be configured and started on all hosts where HADB is deployed. The management agent can be started as :
Use the following procedure to start the management agent on each machine that hosts the HADB:
A sample management agent configuration file, called mgt.cfg
, is installed in HADB_install_dir/lib/
directory. If you have not installed HADB in the default location, edit the mgt.cfg
file to enter appropriate values that match your environment.
| |
Note |
When specifying paths for the Windows platform as property values (in the |
|
The configuration file, mgt.cfg
, is useful for custom deployments, and can be re-used on all hosts within the same domain. The following table provides the entries available in the management agent configuration file.
ma [-i|-r|-s] [-n name] [
COMMON-OPTIONS] [
AGENT-CONFIG]
ma.exe [-i|-r|-s] [-n name] [
COMMON-OPTIONS] [
AGENT-CONFIG]
The ma
command takes the options described in the following table.
ma-initd
script. ma-initd
script located in the HADB_install_dir/bin
directory to /etc/init.d
.
This allows the management agent to be started or stopped manually.
ln ma-initd/etc/init.d/ma-initd
/etc/init.d/ma-initd {start/stop}
ma.exe
executable with the -i
option. The following table identifies the options available with the management agent.
Option |
Description |
Type/Value-ranges |
Default |
---|---|---|---|
--version |
Prints the version details of the management agent and exit |
boolean |
FALSE |
--javahome |
Path to Java Runtime Environment to use for the agent (Version 1.4 or later). |
Pathname |
None |
--define |
Property value assignment for an agent property defined in "". Can be repeated. |
String |
None |
--systemroot |
Path to the operating system root as normally set in %SystemRoot%. |
|
|
--service |
Runs the agent in Windows service manger compliant mode. |
boolean |
FALSE |
--name |
Use this name for the service (when running multiple agents on a host). |
String |
HADBMgmtAgent |
--install |
Installs the agent as a Windows service and starts the service. |
boolean |
FALSE |
--remove |
Stops the service and deletes the agent from the Windows service manger. |
boolean |
FALSE |
--help |
Prints brief description about the management agent. |
boolean |
FALSE |