Setting up the CLI environment
This topic describes how to configure your environment so that you can use command line tools available with BMC Database Automation.
Installing the command line tools on Linux
- From the Additional Utilities item that you downloaded from EPD, copy and extract the command_line_utilities.zip.
- As the root user, install the .rpm files (versions are examples):
- rpm -Uvh clarity-perl-5.10.1.14-1.i386.rpm
- rpm -Uvh clarity-cmdutils-8.3.6-1.i386.rpm
The /app/clarity/cmdutils default base directory is created, with the following subdirectories:
Directory under base | Function |
---|---|
/bin | Directory in which executable utilities are stored |
/etc | Configuration directory (for example, SSL client certificates) |
/lib | Support libraries for command line tools |
/samples | Sample scripts which demonstrate common use cases |
/templates | Support XML files for use with sample scripts |
/var/log | Directory log files are written to |
Installing the command line tools on Windows
- Run the clarity-cmdutls-x.x-x86.exe on the Windows agent host.
- On the BMC BDA Command Line Utilities Setup screen, select an installation directory and click Install.
The following base directories are created:
- 32-bit Windows: C:\Program Files\BMC Software\BMC Database Automation\cmdutils
- 64-bit Windows: C:\Program Files (x86)\BMC Software\BMC Database Automation\cmdutils
Where to go next
Enabling-the-API-on-the-Manager
Related topic
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*