Using the BMC Database Automation adapter in non-SSL mode
This topic describes enabling the BMC Database Automation application's REST-based API to listen to Hypertext Transfer Protocol (HTTP) and to enable the adapter to work in non-SSL mode.
To enable the BMC Database Automation application's REST-based API for HTTP
- Navigate to the /app/clarity/dmanager/etc/mtd.conffile on the computer where you have installed the BMC Database Automation application and make the following changes in the file:
- In the following line, ensure that -c 1 -s 0 -p 8088 is exactly as shown:
service=static MtdApiSoapAcceptor "-c 1 -s 0 -p 8088 -k /app/clarity/dmanager/etc/server.key -x /app/clarity/dmanager/etc/server.pem -y /app/clarity/dmanager/etc/cacert.pem" - If this line is a comment (the line begins with a #), delete the # and any white space before the word "service".
- In the following line, ensure that -c 1 -s 0 -p 8088 is exactly as shown:
- Stop the following services in the given sequence using the appropriate command at the command prompt:
- httpd: service httpd stop
- mtd: service mtd stop
- dmanager: service dmanager stop
- Start the following services in the given sequence using the appropriate command at the command prompt:
- dmanager: service dmanager start
- mtd: service mtd start
- httpd: service httpd start
To enable the BMC Database Automation adapter to operate in the non-SSL mode
- Enable the BMC Database Automation application's REST-based API for HTTP.
- Enable the BMC Database Automation adapter on the grid with an empty configuration (<config/>).
Execute the following request on the BMC Database Automation application:
<bda-request>
<operation-name>No_Operation</operation-name>
<target>http://<IP-ADDRESS>:<PORT>/api/jobs/JOB_ID</target>
</bda-request>- IP-ADDRESS: IP address of the computer on which the BMC Database Automation application is installed
- PORT: Port number on which the REST-based API service runs and is specified in the /app/clarity/dmanager/etc/mtd.conf file
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*