Install tdpctl.
Set up the Tecnisys command-line interface to automate tasks and install extensions on TDP.
tdpctl is a Command Line Interface (CLI), developed by Tecnisys, for task automation and extension installation on TDP.
It is installed from a tarball in the Tecnisys Public Package Repository and, after that, is available as the tdpctl command.
Your environment
If you fill in your environment details here, the examples and commands on the page use what you provided. TDPCTL_PACKAGE is the name of the .tar.gz file you downloaded from the repository.
Scenarios
- 1 · Install tdpctl
- 2 · Install an extension
- 3 · Install Ambari with tdpctl
Prerequisites, tarball download, and the installation script.
tdpctl is installed on an Enterprise Linux machine. tdpctl is provided as a tarball: you download the file from the Tecnisys Public Package Repository, extract it into the /usr/local directory, and run the installation script, which makes the tdpctl command available in any directory.
Enterprise Linux, such as Rocky Linux, AlmaLinux, and Red Hat, version 8 or higher.
Superuser (root) on the machine for installation.
The RPMs python3-devel, krb5-server, krb5-libs, krb5-workstation, krb5-devel, and gcc available for installation through the package manager (dnf).
Access requires your credentials, defined when you registered for free on the Tecnisys website.
Download tdpctl
The tarball of the latest tdpctl version on the machine.
Download the latest version of tdpctl, the tdpctl-[version]-linux-x64.tar.gz file, from the /yum/tdp/tdpctl directory of the Tecnisys Public Package Repository.
To access the repository, enter your access credentials, defined when you registered for free on the Tecnisys website.
ls <TDPCTL_PACKAGE>
It worked when
ls lists the tdpctl .tar.gz file.Extract the file into /usr/local
The /usr/local/tdpctl directory created.
sudo tar -C /usr/local -xzf <TDPCTL_PACKAGE>
ls -d /usr/local/tdpctl
It worked when
/usr/local/tdpctl directory exists.Run the setup.sh script
The tdpctl command installed.
cd /usr/local/tdpctl && sudo ./setup.sh
tdpctl --version
It worked when
tdpctl command is available in any directory and shows the installed version.$ cd /usr/local/tdpctl && sudo ./setup.sh
Wrapper script created with success!
Setup complete. The 'tdpctl' command is now available globally.
$ tdpctl --version
tdpctl, version 0.1The addon-install command with the extension's .taf file.
TDP extensions are installed with tdpctl. The extension comes in a .taf file, and the command that installs it is addon-install.
Encrypted. It can only be opened by TDPCTL. The .taf extension is specific to Tecnisys files.
addon-install: installs a TDP extension.
Check the command help
The addon-install options.
tdpctl addon-install --help
It worked when
addon-install command help is shown with its options.$ tdpctl addon-install --help
Usage: tdpctl addon-install [OPTIONS]
Install a TDP add-on.
Options:
-f, --file TEXT TDP add-on file to install.
-p, --password TEXT The password to decrypt the add-on.
-y, --yes Confirm the add-on installation.
-t, --trace Show the traceback of the error.
--help Show this message and exit.Install the extension
The extension installed from the .taf file.
tdpctl addon-install -f nome-do-arquivo-extensão.taf
The extensão.taf file is encrypted and can only be opened by TDPCTL. The .taf extension is specific to Tecnisys files.
It worked when
.taf file is installed.The install command, which installs Apache Ambari for TDP.
tdpctl also installs Apache Ambari for TDP, with the install command. It is an alternative to the installation script described on the Ambari installation page.
Check the options of the install command
The options of the Ambari installation with tdpctl.
tdpctl install --help
It worked when
install command help is shown with the Ambari installation options.Install Ambari
Ambari installed with tdpctl.
The options and the step-by-step installation of Ambari with tdpctl are in Apache Ambari Installation.
It worked when
Command syntax
tdpctl [OPTIONS] COMMAND [ARGS]...
| Type | Option or command | What it does |
|---|---|---|
| OPTIONS | --version | Shows the version and exits. |
| OPTIONS | --help | Shows the help for running the command. |
| COMMAND | addon-install | Installs a TDP extension. |
| COMMAND | install | Installs Apache Ambari for TDP. |
Examples:
# Command details
tdpctl
# Help
tdpctl --help
# Version
tdpctl --version
# Help for a specific command
tdpctl addon-install --help
Whenever needed, check the tdpctl help (the --help option) for detailed information about the available commands and options.
Next steps
Installation
Apache Ambari Installation
Install Apache Ambari to automate deployment, manage services and nodes (hosts), monitor the environment, and keep the configuration history.
Cluster
Cluster Creation and Component Installation
Create the Big Data Cluster and install the other desired services/components.
Concepts
Management with Ambari
Installation, configuration, monitoring, and upgrade of the cluster with Ambari.