Enabling the API on the Manager


To use the command line tools, you must first enable the BMC Database Automation API on their manager.

To enable the API on the Manager

  1. Edit the /app/clarity/dmanager/etc/mtd.conf file :
# API listener
# c = number of child threads
# s = enable ssl (0/1)
# p = TCP port to listen on
# k = Path to SSL private key (must be readable by 'clarity' user)
# x = Path to SSL certificate (must be readable by 'clarity' user)

2. Uncomment the MtdApiSoapAcceptor line

# Uncomment the next line to enable the API listener
service=static MtdApiSoapAcceptor "-c 2 -s 0 -p 8087
-k /app/clarity/dmanager/etc/api_server.key
-x /app/clarity/dmanager/etc/apiserver.pem
-y /app/clarity/dmanager/etc/apicacert.pem"

3. Restart the mtd service from the shell prompt:

# service mtd restart

Where to go next

If you are enabling the connection using SSL, enable SSL support. To determine if the API is running SSL and, if so, the port on which it is running, check the FQDN of the Manager (<manager_fqn>):

<http://><manager_fqn>:<api_port> (means SSL is not enabled)

<https://><manager_fqn>:<api_port> (means SSL is enabled)

If you are not using SSL, proceed to Running-the-command-line-tools.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*