Sun GlassFish Enterprise Server v2.1.1 High Availability Administration Guide

Standalone Application Server on Solaris or Linux

To start the management agent as a service, use this command:

HADB_install_dir/bin/ma-initd start

To stop the service, use this command:

HADB_install_dir/bin/ma-initd stop

To change the default values, edit the shell script HADB_install_dir/bin/ma-initd . Copy ma-initd to the directory /etc/init.d. Replace the default values of HADB_ROOT and HADB_MA_CFG in the script to reflect your installation: