In a shell, change your current directory to HADB_install_dir /bin.
Edit the shell script ma-initd.
Make sure the default values of HADB_ROOT and HADB_MA_CFG in the script to reflect your installation:
HADB_ROOT is the HADB installation directory, HADB_install_dir.
HADB_MA_CFG is the location of the management agent configuration file. For more information, see Customizing Management Agent Configuration
Copy ma-initd to the directory /etc/init.d
Create soft links to the file /etc/init.d/ma-initd, as described in Creating soft links.
To deactivate automatic start and stop of the agent, remove the links or change the letters K and S in the link names to lowercase.