W E K A
4.0
4.0
  • WEKA v4.0 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 WekaFS
    • Getting started with Weka REST API
  • Planning & Installation
    • Prerequisites for installation
    • Weka installation on bare metal
      • Planning a Weka System Installation
      • Prepare the system for Weka installation
        • SR-IOV enablement
      • 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
  • Performance
    • Weka performance tests
      • Test environment details
  • WekaFS 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
  • Additional Protocols
    • NFS
      • Manage NFS networking using the GUI
      • Manage NFS networking using the CLI
    • SMB
      • Manage SMB using the GUI
      • Manage SMB using the CLI
    • S3
      • 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 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
      • Expand and shrink overview
      • Workflow: Add a backend host
      • Expansion of specific resources
      • 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
      • Collect and upload diagnostics data
    • 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 Weka-mon external monitoring
    • Set up the SnapTool external snapshots manager
  • REST API Reference Guide
Powered by GitBook
On this page
  • Shrink cluster options
  • List drives and their sees
  • Deactivate a drive
  • Remove a drive
  • Deactivate an entire host
  • Remove a host
  1. Operation Guide
  2. Expand and shrink cluster resources

Shrink 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 2 years ago

Shrink cluster options

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. List all the drives and their states, to receive a view of currently-allocated resources and their status.

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

  3. Remove a subset of SSD drives allocated for the cluster.

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

  5. Remove hosts to complete the cluster shrinking.

List drives and their sees

Command: weka cluster drive

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

Deactivate 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.

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

Name

Type

Value

Limitations

Mandatory

Default

uuids

Comma-separated strings

Comma-separated drive identifiers

Yes

Remove 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

Name

Type

Value

Limitations

Mandatory

Default

uuids

Comma-separated strings

Comma-separated drive identifiers

Yes

Deactivate 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

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

Remove 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

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