W E K A
3.14
3.14
  • WEKA v3.14 Documentation
  • Weka System Overview
    • About the WEKA System
    • SSD Capacity Management
    • Filesystems, Object Stores & Filesystem Groups
    • Weka Networking
    • Data Lifecycle Management
    • Weka Client & Mount Modes
    • Glossary
  • Getting Started with Weka
    • Quick Install Guide
    • Managing the Weka System
    • CLI Overview
    • GUI Overview
    • Serving IOs with WekaFS
  • Planning & Installation
    • Prerequisites for Installation
    • Bare Metal Installation
      • Planning a Weka System Installation
      • Setting Up the Hosts
        • SR-IOV Enablement
      • Obtaining the Weka Install File
      • Weka System Installation Process Using the CLI
      • Adding Clients
    • AWS Installation
      • Self-Service Portal
      • CloudFormation Template Generator
      • Deployment Types
      • AWS Outposts Deployment
      • Supported EC2 Instance Types
      • Adding Clients
      • Auto Scaling Group
      • Troubleshooting
  • Performance
    • Testing Weka Performance
      • Test Environment Details
  • WekaFS Filesystems
    • Managing Filesystems, Object Stores & Filesystem Groups
      • Managing Object Stores
      • Managing Filesystem Groups
      • Managing Filesystems
      • Attaching/Detaching Object Stores to/from Filesystems
      • KMS Management
    • 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
    • Mounting Filesystems
    • Snapshots
    • Snap-To-Object
    • Quota Management
  • Additional Protocols
    • NFS
    • SMB
      • SMB Management Using CLIs
      • SMB Management Using the GUI
    • S3
      • S3 Cluster Management
      • S3 Buckets Management
      • S3 Users and Authentication
      • S3 Information Lifecycle Management
      • Audit S3 APIs
      • S3 Limitations
      • S3 Examples using boto3
  • Operation Guide
    • Alerts
      • List of Alerts
    • Events
      • List of Events
    • Statistics
      • List of Statistics
    • System Congestion
    • Security
      • User Management
      • Organizations
    • Expanding & Shrinking Cluster Resources
      • Expand & Shrink Overview
      • Stages in Adding a Backend Host
      • Expansion of Specific Resources
      • Shrinking a Cluster
    • Background Tasks
    • Upgrading Weka Versions
  • Billing & Licensing
    • License Overview
    • Classic License
    • Pay-As-You-Go License
  • Support
    • Prerequisites and Compatibility
    • Getting Support for Your Weka System
    • The Weka Support Cloud
    • Diagnostics CLI Command
  • Appendix
    • Weka CSI Plugin
    • External Monitoring
    • Snapshot Management
  • REST API
Powered by GitBook
On this page
  • Options for Shrinking a Cluster
  • Listing Drives and Their States
  • Deactivating a Drive
  • Removing a Drive
  • Deactivating an Entire Host
  • Removing a Host
  1. Operation Guide
  2. Expanding & Shrinking Cluster Resources

Shrinking a Cluster

This page describes the procedures involved in the shrinking of a cluster, which may be required when it is necessary to reallocate cluster hardware.

PreviousExpansion of Specific ResourcesNextBackground Tasks

Last updated 3 years ago

Options for Shrinking a Cluster

Cluster shrinking can involve either the removal of some of the assigned SSDs or the removal of hosts from the system. The following operations are available:

  1. Listing all the drives and their states, in order to receive a view of currently-allocated resources and their status.

  2. Deactivating drives as the first step before removing a host.

  3. Removing (a subset of) SSD drives allocated for the cluster.

  4. Deactivating hosts, which can be used after deactivating drives in preparation for the removal of the host.

  5. Removing hosts in order to complete the cluster shrinking.

Listing Drives and Their States

Command: weka cluster drive

Use this command to display a list of all the drives in the cluster and their status.

Deactivating a Drive

Command: weka cluster drive deactivate

Running this deactivation command will redistribute the stored data on the remaining drives and can be performed on multiple drives.

Note: After running this command, the deactivated drives will still appear in the list.

Note: It is not possible to deactivate a drive if it will lead to an unstable state, i.e., if the after drive deactivation is insufficient for the SSD capacity of currently-provisioned filesystems.

Drive deactivation starts an asynchronous process known as phasing out, which is a gradual redistribution of the data between the remaining drives in the system. On completion, the phased-out drive is in an inactive state, i.e., not in use by the Weka system, but still appearing in the list of drives.

Note: Running the weka cluster drive command will display whether the redistribution is still being performed.

To deactivate a drive, run the following command:

weka cluster drive deactivate <uuids>

Parameters in Command Line

Name

Type

Value

Limitations

Mandatory

Default

uuids

Comma-separated strings

Comma-separated drive identifiers

Yes

Removing a Drive

Command: weka cluster drive remove

This command is used to completely remove a drive from the cluster. After removal, the drive will not be recoverable.

To remove a drive, run the following command:

weka cluster drive remove <uuids>

Parameters in Command Line

Name

Type

Value

Limitations

Mandatory

Default

uuids

Comma-separated strings

Comma-separated drive identifiers

Yes

Deactivating an Entire Host

Command: weka cluster host deactivate

To deactivate an entire host, run the following command:

weka cluster host deactivate <host-ids> [--allow-unavailable]

Parameters in Command Line

Name

Type

Value

Limitations

Mandatory

Default

host-ids

Space-separated integers

Space-separated host identifiers

Yes

allow-unavailable

Boolean

Allow deactivation of an unavailable host

If the host returns, it will join the cluster in an active state

No

No

Removing a Host

Command: weka cluster host remove

To remove the host from the cluster, run the following command:

weka cluster host remove <host-id>

Parameters in Command Line

Name

Type

Value

Limitations

Mandatory

Default

host-id

Comma-separated strings

Comma-separated host identifiers

Yes

This command is used as the first step when seeking to shrink a cluster. Running this command will automatically .

Running this command will eliminate the host from the cluster, i.e., the host will switch to the after the removal, at which point it can be reallocated either to another cluster or purpose.

system capacity
deactivate all the host's drives
stem mode