DxPlus Linux Installation Quick Start Guide
Introduction
DH2i DxPlus offers you the ability to boost your application's throughput. Simply install the lightweight Agent on each of the application servers, activate and join the Agents together. Once configured, the Agent can then tunnel your application data and boost performance.
This quick start guide describes how to install DxPlus on a Linux server. Using this guide, the user will install DxPlus software.
Prerequisites
-
Two physical or virtual machines running any mix of:
-
RHEL 7 or 8
-
CentOS 7
-
Ubuntu 16.04, 18.04, or 20.04
-
-
An availability group
-
A valid DxPlus license.
-
Ensure the server hostname is set and unique.
-
Set host resolution for all servers (agents) that will be participating in the group by adding their entries to DNS or the hosts file located at
/etc/hosts
.
Installation
This section covers perparing the server and installing DxPlus.
Update Server and Install Dependencies
-
Update the server. If prompted to confirm, enter Y.
- Red Hat/CentOS
- Ubuntu
sudo yum update
sudo apt update
sudo apt upgrade -
Install Microsoft .NET 6.0 Runtime using installation instructions from Microsoft:
Install DxPlus
Install the DxPlus package.
- Red Hat/CentOS
- Ubuntu
-
Install the repository configuration file.
infoReplace the
<distro>
parameter in the example below withrhel7
,centos7
,rhel8
orrhel9
to install the correct package for your OS.sudo yum install https://repos.dh2i.com/<distro>/retail/repo.rpm
-
Install the product.
sudo yum install dxplus
-
Download the repository configuration file.
wget https://repos.dh2i.com/dists/bionic/retail/repo.deb
-
Install the repository configuration file.
sudo dpkg -i repo.deb
-
Update the Ubuntu package list.
sudo apt-get update
-
Install the product.
sudo apt-get install dxplus
-
Clean up the repsitory configuration file.
rm repo.deb
Activate the DxPlus Agent
Before the DxPlus agent can boost your application throughput, it must be authorized by DH2i. To activate the license, run the dxcli activate-server
command.
Syntax:
sudo dxcli activate-server <key> [server]
Example:
sudo dxcli activate-server AAAA-BBBB-CCCC-DDDD server1
Configure the First Member
Set the Passkey
To allow remote connection to the local agent to either join a new agent into the group or simply managing the agent group, a passkey is required. Run the dxcli cluster-set-secret
command to set the passkey.
Syntax:
sudo dxcli cluster-set-secret
Set a One-Time Passkey
If DxPlus agent group involves members joining over a WAN or a disjointed network, and this is the first agent, a one-time passkey can be set to allow other agents to remotely join into the agent group. To set a one-time passkey, run the dxcli set-otpk
command.
Syntax:
sudo dxcli set-otpk
Configure Additional Members
-
Complete all steps in the Installation section for the additional servers.
-
Activate the server using the command
dxcli activate-server
.Example
sudo dxcli activate-server AAAA-BBBB-CCCC-DDDD
-
Join the server to the group using the
dxcli join-cluster
command and follow the prompts.If an OTPK was not set for the group, select N when prompted to join via NAT proxy. Enter the IP address and group passkey of the first server to join the group.
If an OTPK was set for the group, 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 group.
Example
sudo dxcli join-cluster