IN THIS ARTICLE
This page explains how you can install QQ Command-Line Tools.
REQUIREMENTS
- A cluster running Qumulo Core
- Python 3.8 (or higher)
DETAILS
Qumulo Core offers Command-Line Tools in different forms based on your cluster's software version. The following sections give instructions for Qumulo Core 2.14.5 (and higher) and 2.14.4 (and lower).
QUMULO CORE 2.14.5 (OR HIGHER)
- Log in to the Qumulo Core Web UI.
- Click APIs & Tools > Download qq Command-Line Tool for Python 3.8+.
Your browser downloads theqq
file.
Windows
On Windows, you can run a qq
command using the python.exe
interpreter. For example:
python.exe /Users/qumulo_user/qq
MacOS or Linux
On MacOS or Linux, you can run a qq
command using the python
interpreter.
python ~/qq
To run the file directly, configure its executable bit.
chmod +x ~/qq
QUMULO CORE 2.14.4 (OR LOWER)
- Log in to the Qumulo Core Web UI.
- Click API & Tools > Download Command-Line Tools.
Your browser downloads thequmulo_api.zip
file. - Extract the contents of the file.
To be able to execute the Command-Line Tools from anywhere, you must configure your system variables.
Windows
- Add the
qumulo_api
,Python36
, andPython36\scripts
directories to your system'sPATH
variable. - Add the
.PY
extension to your system'sPATHEXT
variable. - Rename
qq
toqq.py
.
MacOS or Linux
- Run the
sudo nano etc/paths
command and enter your password. - Add the path to the
qumulo_api
directory to the bottom of the file. - To verify your configuration, run the
echo $PATH
command.
For more information about using Command-Line Tools, see QQ CLI: Get Started.
INSTALLING THE COMMAND-LINE TOOLS USING THE PYTHON SDK
You can also install the Qumulo API Tools using the Python SDK by running the following command.
pip install qumulo_api
The qq
file (qq.exe
for Qumulo Core 3.1.4 and higher) is installed in the Scripts
directory, next to your Python installation (for example, C:\Python36\Scripts
).
To allow qq.exe
to be executed from anywhere, add this directory to your system's PATH
.
RESOLUTION
You can now install and use the Qumulo Command-Line Tools.
ADDITIONAL RESOURCES
QQ CLI: Comprehensive List of Commands
Like what you see? Share this article with your network!
Comments
4 comments