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.
Note
Starting with version 8.9.03, the command line utility, cmdutils is deprecated on Windows. The utility is still supported on Linux.
Installing the command line tools on Linux
Note
If the perl package on your Manager or Agent is later than the one in the cmdutils package, you do not have to install the rpm files as detailed in this section.
- 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
Comments
Log in or register to comment.