Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • SCSP  domain=X query argument

  • HTTP  X-Forwarded-Host header

  • HTTP  Host header

In order to make use of the Host header to identify the storage domain with most HTTP/1.1 libraries, storage Storage domains in Swarm must resolve to least one IP address ("A" record) for client applications . Additionally, the to make use of the Host header to identify the storage domain with most HTTP/1.1 libraries. The resolved IP address should be for a Gateway or , if applicable, some other front-end network appliance such as a load balancer if applicable. Using a DNS round-robin with IP addresses is a valid configuration to use if there are multiple Gateway servers.

...

Requirement

Description

Optimize GETs 

With Swarm 12.0 and higher, a setting can be added to improve performance through Gateway. Enable scsp.enableVolumeRedirects in order to permit Gateway to redirect GET requests to volume processes. These redirects increase efficiency, especially with reading small objects.

Code Block
languagetext
scsp.enableVolumeRedirects = True

Enable an EC encoding

S3 multipart (large file) writes fail if erasure coding is not configured; define an ecEncoding if using S3.

Code Block
languagetext
policy.ecEncoding = {k:p}

See Implementing EC Encoding Policy.

Info

Note

the value put into the configuration file is used on first boot. After the cluster is running, the original values are persisted and must be updated dynamically (using UI or SNMP). See Persisted Settings (SNMP).

Clear legacy settings

Unless needed for backwards compatibility (because untenanted objects are used in the cluster and do not need S3), enable tenancy for unnamed objects, which verifies every object is written to a domain (see How enforceTenancy Works):

Code Block
languagetext
cluster.enforceTenancy = True

Set it to True and reboot the cluster if this was set to False.

Storage Domain Management

Only create and manage storage domains through the Content UI or programmatically through the Gateway's management API.

The cluster configuration contains security.noauth=False if storage domain management displays in the legacy Admin Console (port 90), which is not supported by Content Gateway. Set it to True and reboot the cluster.

Troubleshooting: If the Content UI reports "Page Not Found: The original bucket to which this collection refers cannot be found or has been replaced", it is likely the domain was created by the legacy Admin Console (port 90) and contains the legacy Castor-Authorization header. DataCore Support for help correcting the domain.

...