W E K A
4.1
4.1
  • WEKA v4.1 documentation
  • WEKA System Overview
    • About the WEKA system
    • SSD capacity management
    • Filesystems, object stores, and filesystem groups
    • WEKA networking
    • Data lifecycle management
    • WEKA client and mount modes
    • WEKA containers architecture overview
    • Glossary
  • Getting Started with WEKA
    • Quick installation guide
    • Manage the system using the WEKA CLI
    • Manage the system using the WEKA GUI
    • Run first IOs with WEKA filesystem
    • Getting started with WEKA REST API
  • Planning and Installation
    • Prerequisites for installation
    • WEKA installation on bare metal
      • Plan the WEKA system Installation
      • Prepare the system for WEKA software installation
        • Enable the SR-IOV
      • Obtain the WEKA software installation package
      • WEKA cluster installation
        • WEKA legacy system installation process
      • Add clients
    • WEKA installation on AWS
      • Self-service portal
      • CloudFormation template generator
      • Deployment types
      • AWS outposts deployment
      • Supported EC2 instance types
      • Add clients
      • Auto scaling group
      • Troubleshooting
    • WEKA installation on Azure
    • WEKA installation on GCP
      • WEKA project description
      • Deployment on GCP using Terraform
      • GCP Terraform package description
      • Required services and supported regions
      • Supported machine types and storage
      • Auto-scale instances in GCP
      • Add clients
      • Troubleshooting
  • Performance
    • WEKA performance tests
      • Test environment details
  • WEKA Filesystems & Object Stores
    • Manage object stores
      • Manage object stores using the GUI
      • Manage object stores using the CLI
    • Manage filesystem groups
      • Manage filesystem groups using the GUI
      • Manage filesystem groups using the CLI
    • Manage filesystems
      • Manage filesystems using the GUI
      • Manage filesystems using the CLI
    • Attach or detach object store buckets
      • Attach or detach object store bucket using the GUI
      • Attach or detach object store buckets using the CLI
    • Advanced data lifecycle management
      • Advanced time-based policies for data storage location
      • Data management in tiered filesystems
      • Transition between tiered and SSD-only filesystems
      • Manual fetch and release of data
    • Mount filesystems
    • Snapshots
      • Manage snapshots using the GUI
      • Manage snapshots using the CLI
    • Snap-To-Object
      • Manage Snap-To-Object using the GUI
      • Manage Snap-To-Object using the CLI
    • Quota management
      • Manage quotas using the GUI
      • Manage quotas using the CLI
  • Additional Protocols
    • Manage the NFS protocol
      • Supported NFS client mount options
      • Manage NFS networking using the GUI
      • Manage NFS networking using the CLI
    • Manage the SMB protocol
      • Manage SMB using the GUI
      • Manage SMB using the CLI
    • Manage the S3 protocol
      • S3 cluster management
        • Manage the S3 service using the GUI
        • Manage the S3 service using the CLI
      • S3 buckets management
        • Manage S3 buckets using the GUI
        • Manage S3 buckets using the CLI
      • S3 users and authentication
        • Manage S3 users and authentication using the CLI
        • Manage S3 service accounts using the CLI
      • S3 rules information lifecycle management (ILM)
        • Manage S3 lifecycle rules using the GUI
        • Manage S3 lifecycle rules using the CLI
      • Audit S3 APIs
        • Configure audit webhook using the GUI
        • Configure audit webhook using the CLI
        • Example: How to use Splunk to audit S3
      • S3 supported APIs and limitations
      • S3 examples using boto3
  • Operation Guide
    • Alerts
      • Manage alerts using the GUI
      • Manage alerts using the CLI
      • List of alerts and corrective actions
    • Events
      • Manage events using the GUI
      • Manage events using the CLI
      • List of events
    • Statistics
      • Manage statistics using the GUI
      • Manage statistics using the CLI
      • List of statistics
    • System congestion
    • Security management
      • Obtain authentication tokens
      • KMS management
        • Manage KMS using the GUI
        • Manage KMS using the CLI
      • TLS certificate management
        • Manage the TLS certificate using the GUI
        • Manage the TLS certificate using the CLI
      • CA certificate management
        • Manage the CA certificate using the GUI
        • Manage the CA certificate using the CLI
      • Account lockout threshold policy management
        • Manage the account lockout threshold policy using GUI
        • Manage the account lockout threshold policy using CLI
      • Manage the login banner
        • Manage the login banner using the GUI
        • Manage the login banner using the CLI
    • User management
      • Manage users using the GUI
      • Manage users using the CLI
    • Organizations management
      • Manage organizations using the GUI
      • Manage organizations using the CLI
      • Mount authentication for organization filesystems
    • Expand and shrink cluster resources
      • Add a backend server in a multiple containers architecture
      • Add a backend server in a legacy architecture
      • Expand specific resources of a container
      • Shrink a cluster
    • Background tasks
    • Upgrade WEKA versions
  • Billing & Licensing
    • License overview
    • Classic license
    • Pay-As-You-Go license
  • Support
    • Prerequisites and compatibility
    • Get support for your WEKA system
    • Diagnostics management
      • Traces management
        • Manage traces using the GUI
        • Manage traces using the CLI
      • Protocols debug level management
        • Manage protocols debug level using the GUI
        • Manage protocols debug level using the CLI
      • Diagnostics data management
    • Weka Home - The WEKA support cloud
      • Local Weka Home overview
      • Local Weka Home deployment
      • Set the Local Weka Home to send alerts or events
      • Download the Usage Report or Analytics
  • Appendix
    • WEKA CSI Plugin
    • Set up the WEKAmon external monitoring
    • Set up the SnapTool external snapshots manager
  • REST API Reference Guide
Powered by GitBook
On this page
  • Create an S3 cluster
  • Check the status of the S3 cluster readiness
  • List the S3 cluster containers
  • Update an S3 cluster configuration
  • Add containers to the S3 cluster
  • Remove containers from the S3 cluster
  • Delete an S3 cluster
  1. Additional Protocols
  2. Manage the S3 protocol
  3. S3 cluster management

Manage the S3 service using the CLI

This page describes how to set up, update, monitor, and delete an S3 cluster using the GUI.

PreviousManage the S3 service using the GUINextS3 buckets management

Last updated 1 year ago

Using the CLI, you can:

Create an S3 cluster

Command: weka s3 cluster create

Use the following command line to create an S3 cluster:

weka s3 cluster create <default-fs-name> <config-fs-name> [--port port] [--key key] [--secret secret] [--max-buckets-limit max-buckets-limit] [--anonymous-posix-uid anonymous-posix-uid] [--anonymous-posix-gid anonymous-posix-gid] [--domain domain] [--container-id container-id]... [--all-servers]

Note: As a best practice, it is recommended to have only one of the following protocol containers, NFS, SMB, or S3, installed on the same server. Starting from version 4.2, setting more than one additional protocol to the existing POSIX is not allowed.

Parameters

Name

Type

Value

Limitations

Mandatory

Default

default-fs-name

String

The filesystem name to be used for the S3 service.

None

Yes

config-fs-name

String

The filesystem used for persisting cluster-wide configuration for all protocols.

Must be the same filesystem for all protocols.

Yes

port

Number

The port where the S3 service is exposed.

Do not set port 9001

No

9000

key

String

The object store bucket access key ID.

Must be a valid key

No

secret

String

The object store bucket secret key.

Must be a valid secret key

No

max-buckets-limit

Number

The maximum number of buckets that can be created.

10000

No

anonymous-posix-uid

Number

POSIX UID for objects (when accessed via POSIX) created with anonymous access (for buckets with an IAM policy allowing that).

None

No

65534

anonymous-posix-gid

Number

POSIX GID for objects (when accessed via POSIX) created with anonymous access (for buckets with an IAM policy allowing that).

None

No

65534

domain

String

Virtual hosted-style comma-separated domains.

Example: --domain sub1.domain-name.com,sub3.domain-name.com. To remove the existing domain, set "". Example: --domain "".

Maximum 1024 characters

No

container-id

Comma-separated list of Numbers

Container IDs of containers with a frontend process to serve the S3 service.

Specify a minimum of 3 containers

Either all-servers or a list of container-id must be provided

all-servers

Boolean

Use all backend servers to serve S3 commands.

None

Either all-servers or a list of container-id must be provided

Off

Check the status of the S3 cluster readiness

Command: weka s3 cluster or weka s3 cluster status

The S3 cluster is comprised of a few S3 containers. Use this command to check the status of the S3 containers that are part of the S3 cluster. Once all the S3 containers are prepared and ready, it is possible to use the S3 service.

List the S3 cluster containers

Command: weka s3 cluster containers list

Use this command to list the containers that serve the S3 cluster.

Update an S3 cluster configuration

Command: weka s3 cluster update

Use the following command line to update an S3 cluster configuration:

weka s3 cluster update [--key key] [--secret secret] [--port port] [--anonymous-posix-uid anonymous-posix-uid] [--anonymous-posix-gid anonymous-posix-gid] [--domain domain] [--container container]... [--all-servers]

Parameters

Name

Type

Value

Limitations

Mandatory

Default

key

String

The object store bucket access key ID.

Must be a valid key

No

secret

String

The object store bucket secret key.

Must be a valid secret key

No

port

Number

The port where the S3 service is exposed.

Do not set port 9001

anonymous-posix-uid

Number

POSIX UID for objects (when accessed via POSIX) created with anonymous access (for buckets with an IAM policy allowing that).

None

No

65534

anonymous-posix-gid

Number

POSIX GID for objects (when accessed via POSIX) created with anonymous access (for buckets with an IAM policy allowing that).

None

No

65534

domain

String

Virtual-hosted-style comma-separated domains.

Example: --domain sub1.domain-name.com,sub3.domain-name.com. To remove the existing domain, set "". Example: --domain "".

Maximum 1024 characters

No

container

Comma-separated list of numbers

Container IDs of containers with frontend processes to serve the S3 service.

Minimum 3 containers

Either container list or all-servers must be provided.

all-servers

Boolean

Use all backend servers to serve S3 commands.

None

Either container list or all-servers must be provided.

Off

Note: Instead of using the weka s3 cluster update command for adding or removing containers, use the commands weka s3 cluster containers add or weka s3 cluster containers remove. It is more convenient when managing an S3 cluster with many containers.

Add containers to the S3 cluster

Command: weka s3 cluster containers add

Use the following command line to add containers to the S3 cluster:

weka s3 cluster containers add <container-ids>

The following command example adds two containers with the IDs 8 and 9:

weka s3 cluster containers add 8 9

Parameters

Name

Type

Value

Mandatory

Default

container-ids

Space-separated list of numbers

Container IDs to add to the S3 cluster.

Yes

Remove containers from the S3 cluster

Command: weka s3 cluster containers remove

Use the following command line to remove containers from the S3 cluster:

weka s3 cluster containers remove <container-ids>

Parameters

Name

Type

Value

Mandatory

Default

container-ids

Space-separated list of numbers

Container IDs to remove from the S3 cluster.

Yes

Delete an S3 cluster

Command: weka s3 cluster destroy

Use this command to destroy an S3 cluster managed by the Weka system.

Deleting an existing S3 cluster removes the S3 service and configuration, such as IAM policies, buckets, and ILM rules. S3 access is no longer available for clients. Data within the buckets is not deleted. Internal users with S3 roles are deleted from the system.

As set when .

As set when .

As set when .

As set when .

Create an S3 cluster
Check the status of the S3 cluster readiness
List the S3 cluster containers
Update an S3 cluster configuration
Add containers to the S3 cluster
Remove containers from the S3 cluster
Delete an S3 cluster
adding an object store bucket
adding an object store bucket
adding an object store bucket
adding an object store bucket