Swarm Gateway
Overview
For more information about Swarm Gateway, its concepts, and operations, see Swarm Content Gateway.
Prerequisites
RHEL/CentOS 7 or RHEL/Rocky Linux 8 Setup
Setup Linux for Cloud Gateway
Below is an example deployment for the site.
Minimal Server | Host name | |
cg77-01.datacore.internal | cg77-02.datacore.internal | |
Application NetworkĀ | IP Address | |
172.16.33.16/24Ā | 172.16.33.17/24Ā | |
Gateway | 172.16.33.1 | |
NTP | 172.16.33.10 |
To set up time synchronization for RHEL/CentOS 7 or RHEL/Rocky Linux 8, see here.
Install Swarm Gateway
Info
Creating a user group/user/password applies when PAM authentication is used. Create a user group via standard Linux user administrationĀ commands.
Create a user group.
groupadd clusteradmins
Add a new user.
adduser admin -g clusteradmins -p datacore passwd admin
Update Linux and install EPEL.
yum -y update yum -y install epel-release
Install NTP server and verify NTP starts on system boot.
Configure the firewall to allow Swarm Gateway.
Restart the firewall service.
Add Swarm Gateway firewall rule (permanent)
Reload the firewall service.
Unzip the Swarm bundle package.
Get the latest gateway and UI RPMs from the downloaded Swarm bundle.
Install Swarm RPM public key included with the distribution bundle.
Install Cloud Gateway components.
Complete the IDSYS document for PAM user authentication.
Complete policy document for access control.
Install Gateway WebUI.
Edit the configuration file.
Set adminDomain for the administrative domain name to be created. It is recommended to always set a unique name for each Swarm cluster to prevent replication collision between the Source and Target Swarm Cluster when using replication feeds.Ā Set a unique name for each Swarm cluster to prevent replication collision.
Set hosts for the storage cluster nodes (IP address of storage nodes).
Set indexerHosts to Elasticsearch Servers (IP address of Elasticsearch nodes).
Enable S3.
Enable Cluster Admin on the gateway server to allow usage of the Swarm Storage UI.
Set Management Port to 91. The admin user and password must be the same as configured in SCS.
Set managementUser to the same value as admin.username
Set managementPassword to the same value as admin.password
Enable metering.
Below is a sample Gateway configuration file in its entirety.
Cluster Initialization
The Gateway must be initialized to guarantee a proper runtime environment once the configuration is complete. This guarantees the administrative domain exists within the storage cluster and also secures all plaintext passwords entered into the configuration files.
Verify Gateway is not running.
Perform the initialization of the environment.
Start CloudGateway and verify the gateway service is running on system boot once initialization is successfully completed.
Next, Setup Additional Gateways.
Ā© DataCore Software Corporation. Ā· https://www.datacore.com Ā· All rights reserved.