Content UI Installation

See also https://perifery.atlassian.net/wiki/spaces/public/pages/2443806841 and https://perifery.atlassian.net/wiki/spaces/public/pages/2443817402 (usage guide).

System Requirements

Hardware

The Content UI does not require additional hardware. Install the Content UI on every Gateway server that serves users who access the content.

Exception

Need to install the Content UI on a Gateway subset if the subset in a load balancing group is reserved for external access (where Content UI access is not required).

Swarm

Swarm Storage must be ready:

Gateway

One or more Gateway servers must be ready:

Browser

The Content UI requires a JavaScript-enabled internet browser.

Note

Use the recent versions of Firefox and Chrome for testing and development.

Installing the Content UI

Important

Any Gateway server on which the Content UI is being installed must be configured with SCSP enabled.

  1. Install and configure Gateway.

  2. Verify all storage domains have DNS entries to access them from the Content UI.

  3. Navigate to the directory where Gateway was unzipped.

  4. Install the Content UI.

    yum install caringo-gateway-webui-{version}.rpm
  5. Restart the Gateway.

    systemctl restart cloudgateway
  6. Navigate to the login page for the Content UI, using the base URL of any storage domain in the cluster on the configured SCSP port:

    http://{storage-domain}/_admin/portal/

Required Access Policies

The access policy documents control and protect everything visible in the Content UI. A policy that grants access to a particular domain blocks the members from seeing anything (domains, tenants, clusters) outside of the domain for which they are authorized. Set the policies to grant the use of the Content UI as part of the implementation.

Essential Permission

The following essential permissions allow users with no other domain-level permissions to navigate to and view a bucket and objects:

  • GetDomain is the essential, required permission for all domain users to see the Content UI.

  • GetBucket is required to display some charts.

  • ListEtc (List Policies in the UI) is needed to see collections listed.

  • GetPolicy is needed to open a collection.

  • GetQuota is required to display some charts.

Listing Permissions

  • ListDomain is required to list buckets in the domain. It also allows SCSP listings and collections to be listed throughout the domain, regardless of ListBucket permissions.

  • ListDomains is required to list domains in the tenant.

  • ListBucket is required for the listing of objects within a bucket.

See  (Access Policy Editor), , and the best practices in .
Below is an example of tenant policy:

Customizing the Content UI

Styling

The Content UI incorporates an empty CSS file used to override the Content UI's styling, both for rebranding purposes and to protect changes across upgrades. The customization stylesheet is css/custom.css.

Customize the links for documentation and support on the resource menu:

  1. In a text editor, open /opt/caringo/gateway-webui/customLinks.json 

  2. Locate and add URLs for one or both of these properties:

  • "userDocumentationLink":""

  • "userSupportLink":""

  1. Reload the Content UI and verify the "Documentation" and "Online Support" links that point to those specified in the JSON file.

Upgrading the Content UI

See  and  for the installed version as the Content UI is upgraded along with Gateway.

© DataCore Software Corporation. · https://www.datacore.com · All rights reserved.