Skip to main content
Version Next

tdpctl Installation

tdpctl is a Command Line Interface (CLI), developed by Tecnisys, for task automation and extension installation on TDP.

Prerequisites
  • Enterprise Linux operating system, such as Rocky Linux, AlmaLinux, and Red Hat, version 8 or higher.
  • Superuser (root) privilege on the machine for installation.
note

The following RPMs must be available for installation via the package manager (dnf): python3-devel, krb5-server, krb5-libs, krb5-workstation, krb5-devel, and gcc.

Download

tdpctl is provided in tarball format for Enterprise Linux operating systems, version 8 or higher.

To download the latest version of tdpctl, download the tdpctl-[version]-linux-x64.tar.gz file from the /yum/tdp/tdpctl directory of the Tecnisys Public Package Repository.

To access the repository, you will need to provide your access credentials, defined when you registered for free on the Tecnisys website.

Installation

To install tdpctl, follow the steps below:

  1. Extract the tdpctl-version-linux-x64.tar.gz file to the /usr/local directory

    Terminal input
      sudo tar -C /usr/local -xzf tdpctl-0.1-alpha-linux-x64.tar.gz
  2. Run the 'setup.sh' script:

    Terminal input
      cd /usr/local/tdpctl && sudo ./setup.sh
    note

    After installation, the tdpctl command will be available from any directory.

    Figure 1 - TDPCTL Setup
    Figure 1 - TDPCTL Setup

TDPCTL Usage

Command Syntax

Terminal input
tdpctl [OPTIONS] COMMAND [ARGS]...

OPTIONS:

  • --version => Shows the version and exits.
  • --help => Shows the help for command execution.

COMMAND:

  • addon-install => Installs a TDP extension.
  • install => Installs Apache Ambari for TDP.

Examples:

  1. Extension installation:

    Terminal input
    tdpctl addon-install -f extension-file-name.taf
  2. Command details:

    Terminal input
    tdpctl
  3. For help:

    Terminal input
    tdpctl --help
  4. Check the version:

    Terminal input
    tdpctl --version
  5. Help on a specific command:

    Terminal input
    tdpctl addon-install --help
    note

    The extension.taf file is encrypted and can only be opened by TDPCTL. The .taf extension is specific to Tecnisys files.

    note

    Whenever necessary, consult the tdpctl help (option --help) to obtain detailed information about the available commands and options.

    Figure 2 - TDPCTL Usage
    Figure 2 - TDPCTL Usage