Install Hyper-Converged Database (HCD) using the binary tarball
You can run Hyper-Converged Database (HCD) on bare metal or a virtual machine (VM) by installing it from a binary tarball. You can run the installation on Linux or Mac. Root access isn’t required.
When you install HCD from a binary tarball, it runs as a standalone process.
This procedure performs a compact installation in a single directory. By default, the installation stores binaries, data, and logs in the installation directory. For production deployments, configure separate locations for data and logs before you start HCD.
This procedure installs HCD only. It doesn’t install other tools like Cassandra drivers or Mission Control.
|
When you install HCD, it creates a |
Prerequisites
-
Get access to download the HCD tarball from IBM Passport Advantage:
-
IBMid: An IBMid account with MFA enabled is required. If you don’t have one, create an IBMid account. If your organization uses Enterprise Federation (EF) for authentication with corporate credentials, see the IBMid EF documentation.
-
Site number: You must be authorized by your Site Primary or Secondary Contact.
-
Entitlement: You must have an active watsonx.data Premium Software Subscription and an HCD entitlement.
-
Temporary passcode (primary contact, initial setup only): If you are a primary contact, you need a temporary passcode from your welcome letter to initially connect your IBMid to your site number.
-
-
Prepare the environment where you want to install HCD, including sufficient hardware.
-
For RHEL-compatible platforms, enable Extra Packages for Enterprise Linux (EPEL).
-
Install a supported Java runtime: Java 17 (recommended) or Java 11.
If you install multiple Java versions, set your
$JAVA_HOMEenvironment variable to the latest HCD-supported Java version that you have installed. -
Install a supported Python version for CQL shell: Python 3.8 to 3.13.
-
For production installations and simulated production test environments, review the recommended settings.
Some settings can be applied before installing HCD. For settings that require a running HCD instance, plan to apply them after the installation.
Download HCD from IBM Passport Advantage
-
Go to the Passport Advantage Online for Customers website and click Sign in to your PAO site.
-
Log in with your IBMid.
-
Select Software download from the top menu or the quick links list.
-
Search for the product by name or part number, or use the Find downloads & media tool to view your entitled products.
For the best search results, try one of the following:
-
Search by product name: Include the word
Versionin your search. For example, Hyper-Converged Database Version. -
Search by part number: Find part numbers for each release in the release notes.
If results show only eAssemblies, switch to the Images tab to find HCD under Analytics - Platform.
-
-
Select the version you need.
-
Select the files you need, agree to the terms and conditions, and then click Download now.
The download file is named
HCD_VERSION_NUMBER_EN.zip. -
Extract the ZIP file to access the installation files.
The extracted folder contains the following files:
hcd-package-signing.pub.asc hcd-package-signing.pem.cer hcd-package-signing.pem.chain cqlsh-VERSION_NUMBER-bin.tar.gz cqlsh-VERSION_NUMBER-bin.tar.gz.asc cqlsh-VERSION_NUMBER-bin.tar.gz.cosign.sig hcd-VERSION_NUMBER-bin.tar.gz hcd-VERSION_NUMBER-bin.tar.gz.asc hcd-VERSION_NUMBER-bin.tar.gz.cosign.sig -
Unpack the HCD tarball into your desired installation directory:
tar xvzf hcd-VERSION_NUMBER-bin.tar.gzReplace
VERSION_NUMBERwith your installation’s version number, including the patch release.HCD unpacks its files into a subdirectory named
hcd-VERSION_NUMBER. The installation includes the CQL shell (cqlsh) automatically; you don’t need to unpack thecqlsh-VERSION_NUMBER-bin.tar.gzfile.
Validate tarball signatures
Your HCD tarball installation files include one HCD binary tarball, one CQL shell (cqlsh) binary tarball, two GPG signature files in ASCII armored format (.asc), and two Cosign signature files in binary format (.cosign.sig).
Optionally, you can validate the signatures.
Validate GPG signatures
-
Import the package signature armored public key:
gpg --import hcd-package-signing.pub.ascValidate that the key information (key:
9F0E3F501CAB3EA5and nameDataStax Hyper-Converged Database (HCD) psirt@us.ibm.com) matches the output:gpg: directory '/home/jenkins/.gnupg' created gpg: keybox '/home/jenkins/.gnupg/pubring.kbx' created gpg: /home/jenkins/.gnupg/trustdb.gpg: trustdb created gpg: key 9F0E3F501CAB3EA5: public key "DataStax Hyper-Converged Database <psirt@us.ibm.com>" imported gpg: Total number processed: 1 gpg: imported: 1 -
Optional: Trust the imported key:
gpg --edit-key "DataStax Hyper-Converged Database"At the prompts enter
trust, select a trust level, and then enterquit. Trust levels include:-
5: I trust ultimately (use with caution) -
4: I trust fully -
3: I trust marginally
-
-
Validate the packages:
gpg --verify hcd-1.2.7-bin.tar.gz.asc hcd-1.2.7-bin.tar.gzMake sure the signature is valid:
gpg: Signature made Tue Jun 23 08:19:31 2026 UTC gpg: using RSA key 4065A3A1F9C1AC54A06FCA8C9F0E3F501CAB3EA5 gpg: Good signature from "DataStax Hyper-Converged Database <psirt@us.ibm.com>" [ultimate]If you didn’t trust the GPG key in step 2, the output displays a warning instead:
gpg: Signature made Tue Jun 23 08:19:31 2026 UTC gpg: using RSA key 4065A3A1F9C1AC54A06FCA8C9F0E3F501CAB3EA5 gpg: Good signature from "DataStax Hyper-Converged Database <psirt@us.ibm.com>" [unknown] gpg: WARNING: This key is not certified with a trusted signature! gpg: There is no indication that the signature belongs to the owner. Primary key fingerprint: 4065 A3A1 F9C1 AC54 A06F CA8C 9F0E 3F50 1CAB 3EA5This warning is expected when the key has not been validated. Verify that the key matches
9F0E3F501CAB3EA5with nameDataStax Hyper-Converged Database (HCD) psirt@us.ibm.comand, optionally, trust the key using the instructions in step 2.
Validate cosign signatures
Use OpenSSL to validate cosign signatures using the certificate. This method allows you to check both the package signature against the public key inside the certificate and the chain of trust of the certificate.
-
Validate package signatures:
openssl dgst -verify <(openssl x509 -in hcd-package-signing.pem.cer -pubkey -noout) \ -keyform PEM -sha256 -signature hcd-VERSION-bin.tar.gz.cosign.sig -binary hcd-VERSION-bin.tar.gzReplace
VERSIONwith your installation’s version number. For example, 2.0.7.Verified OK -
Validate the certificate chain:
openssl verify -CAfile hcd-package-signing.pem.chain hcd-package-signing.pem.cerMake sure the certificate signing reports
OK.hcd-package-signing.pem.cer: OK
Set data and log directory locations
|
Before starting HCD for the first time, you must create and assign ownership to the HCD data and log directories. |
You can use the default data and logging directory locations, or you can define your own locations. Configure your preferred locations before you start HCD.
- Use default directory locations
-
To use the default data and logging directory locations, create and set ownership for
/var/lib/cassandraand/var/log/cassandra:sudo mkdir -p /var/lib/cassandra; sudo chown -R $USER:$GROUP /var/lib/cassandra && sudo mkdir -p /var/log/cassandra; sudo chown -R $USER:$GROUP /var/log/cassandra - Use custom directory locations
-
-
In your HCD installation directory, create directories for data and logging:
mkdir hcd-data && cd hcd-data && mkdir data && mkdir commitlog && mkdir saved_caches && mkdir hints && mkdir cdc_raw -
Change to your HCD installation directory, and then change to the directory containing the
cassandra.yamlfile:cd ../resources/cassandra/conf -
Update the following lines in the
cassandra.yamlfile to match your custom locations:data_file_directories: - full_path_to_install_directory/hcd-data/data commitlog_directory: full_path_to_install_directory/hcd-data/commitlog saved_caches_directory: full_path_to_install_directory/hcd-data/saved_caches hints_directory: full_path_to_install_directory/hcd-data/hints cdc_raw_directory: full_path_to_install_directory/hcd-data/cdc_raw -
Optional: To store logs in a custom location, set the
CASSANDRA_LOG_DIRenvironment variable inline at start-up:cd hcd-VERSION_NUMBER CASSANDRA_LOG_DIR=INSTALLATION_DIRECTORY/logs bin/hcd cassandraReplace the following:
-
VERSION_NUMBER: Your installation’s version number -
INSTALLATION_DIRECTORY: The full path to your installation directoryThis sets a process-level override for the current invocation only. It does not persist across restarts. To permanently redirect logs, configure the log directory in
cassandra.yamlbefore starting HCD.
-
-
Start HCD
-
Start HCD from the installation directory:
cd hcd-VERSION_NUMBER bin/hcd cassandraReplace
VERSION_NUMBERwith your installation’s version number.If HCD doesn’t start, check your Java version, and make sure that the
$JAVA_HOMEenvironment variable is set to the latest HCD supported Java version that you have installed. -
For multi-node installations, repeat the install process on each node.