The Gateway service is essentially a reverse proxy with some protocol inspection duties. As a proxy between the client applications and the storage nodes, its primary duty is to pass bytes from one network adapter to another.

Prerequisites

Content Gateway requires the following components for installation and operation:

System Requirements

The system requirements for the Gateway depend on the volume of the traffic and the speed of the upstream network connection to client applications. 

Do Not Install on Management Node

Content Gateway and the production Elasticsearch cluster need to be on separate machines from the management node (Platform Server or CSN). The management node installs with Service Proxy and a single-node ES, which are dedicated to the Swarm UI.

Space Requirements

Spool Space for Multipart Uploads

The HTTP multipart MIME upload operation requires spool space on the Gateway server; all other operations, including the S3 multipart upload, SCSP multipart writes, and normal whole-object writes, stream through the Gateway and directly to the back-end object storage nodes. HTTP multipart MIME POST requests are used by the upload function in the Content Portal and by HTML form POSTs.

Verify the total free disk space on a Gateway server includes an allowance for the maximum expected to be needed for these requests. To control the spool location and the percentage of disk space that can be used, set the multipartSpoolDir and multipartUsageAllowed in the [gateway] section of the configuration file.

Best Practice

If the Content UI Overview has many users and/or large uploads, increase the available space in the Gateway's spool directory to 32 GB or more and increase the multipartUsageAllowed parameter value.

Logging Space

The Gateway server uses up to 2GB of disk space for application logs and audit logs in the default configuration. The retention time and file size of the historical logs can be changed as required based on the deployment requirements. See the logging configuration in Gateway Configuration section.

S3 Requirements

Follow these requirements to use S3 with Content Gateway:

See Configuring Swarm Storage for Gateway and also Erasure Coding EC and Hardware Setup in the Swarm Storage guide.