Linux Installation Quick Start Guide
Introduction
This quick start guide describes how to install DxEnterprise on a Linux server. Using this guide, the user will install DxEnterprise dependencies and software, then join a second server (node) into a cluster.
Prerequisites
-
Two physical or virtual machines running any mix of:
-
RHEL 7 or 8
-
CentOS 7
-
Ubuntu 16.04, 18.04, or 20.04
-
-
A valid DxEnterprise license. A fully featured Developer Edition is available free for non-production use. To purchase DxEnterprise software for production workloads, visit the DH2i Store.
Installation
This section guides you through preparing the VM for a DxEnterprise installation.
Update Server and Install Dependencies
-
Update the server. If prompted to confirm, enter Y.
- Red Hat/CentOS
- Ubuntu
yum update
apt update
apt upgrade -
Ensure that the hostname is set and unique using the
hostname
command. If the server needs to renamed, run thehostnamectl
command to rename the server. The server must be restarted for the change to take effect.hostnamectl set-hostname <name>
-
Install Microsoft .NET 3.1 Runtime using installation instructions from Microsoft:
-
Install the remaining DxEnterprise dependencies.
- Red Hat/CentOS
- Ubuntu
yum install zip udisks2
apt update
apt install zip udisks2
Install DxEnterprise
- Red Hat/CentOS
- Ubuntu
-
Download the DxEnterprise repository configuration file.
infoReplace the
<distro>
parameter in the example below withrhel7
,centos7
, orrhel8
to download the correct .conf file.wget -O /etc/yum.repos.d/dh2i.repo https://repos.dh2i.com/<distro>/retail/repo.conf
-
Install the product.
yum install dxenterprise
-
Download the DxEnterprise package signing key.
wget -qO- https://repos.dh2i.com/public.gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/dh2i.gpg
-
Register the DxEnterprise Ubuntu repository.
tipThe architecture parameter
[arch=amd64]
can be changed toarm64
orarmhf
to install DxEnterprise on those platforms.sh -c 'echo deb [arch=amd64] https://repos.dh2i.com/ bionic retail >/etc/apt/sources.list.d/dh2i.list'
-
Update the Ubuntu package list.
apt-get update
-
Install the product.
apt-get install dxenterprise
Setup DxEnterprise and Create a Cluster
This section describes how to configure DxEnterprise after installation and setup a two node cluster.
Configure DxEnterprise
-
Activate the server using the command
dxcli activate-server
.Example
dxcli activate-server AAAA-BBBB-CCCC-DDDD
-
Set the cluster passkey using the command
dxcli cluster-set-secret
.Example
dxcli cluster-set-secret
tipThe non-interactive version of this command is
dxcli cluster-set-secret-ex
. -
Optional: DxEnterprise can utilize NAT Matchmaking Service to easily connect servers across the internet. Use the command
dxcli set-otpk
to set a One-Time PassKey for the cluster. The passkey expires one hour after creation by default.cautionThe DxEnterprise license must have NAT enabled to use this feature. To inquire about license status, visit DH2i’s Client Portal or run the command
dxcli get-producttype
and look for NAT listed among the features.Example
dxcli set-otpk
Setup Second Node and Join into Cluster
-
Complete all the steps in the Installation section for the second node.
-
Activate the server using the command
dxcli activate-server
.Example
dxcli activate-server AAAA-BBBB-CCCC-DDDD
-
Join the second node to the cluster using the
dxcli join-cluster
command and follow the prompts.If an OTPK was not set for the cluster, select N when prompted to join via NAT proxy. Enter the IP address and cluster passkey of the first server to join the cluster.
If an OTPK was set for the cluster, select Y when prompted to join via NAT proxy. Use the default NAT proxy of match.dh2i.com and enter the OTPK to join the cluster.
Example
dxcli join-cluster
tipThe non-interactive version of this command is
dxcli join-cluster-ex
.