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
  • Dynamic Modifications
  • Memory Modifications
  • Network Modifications
  • Host IPs Modifications
  • Local resources editing commands
  • Addition of CPU Cores
  • Expansion of Only SSDs
  1. Operation Guide
  2. Expanding & Shrinking Cluster Resources

Expansion of Specific Resources

This page provides the guidelines for expansion processes that only involve the addition of specific resources.

PreviousStages in Adding a Backend HostNextShrinking a Cluster

Last updated 1 year ago

Dynamic Modifications

Most modifications to host configurations can be performed dynamically, without deactivating the host. Such configurations include the addition/removal of memory and network resources, changing IPs, extending network subnets and limiting the Weka system bandwidth on the host.

All these changes can be performed using the relevant weka cluster hostcommand. Once this command is used with a specific host-idselected, it will be staged for update on the cluster. To view the un-applied configuration, use the weka cluster host resources <host-id>command. To apply the changes, use the weka cluster host apply <host-ids> command. You can also apply these changes locally using the weka local resources apply command.

The last local configuration (of a host that successfully joined a cluster) is saved. If a failure/problem occurs with the new configuration, the host will automatically revert to the last known good configuration. To view this configuration, use theweka cluster host resources <host-id> --stable command.

Memory Modifications

To dynamically change the memory configuration, use the steps described for the on an active host, followed by the weka cluster host apply command.

For Example: To change host-id 0 memory to 1.5 GB, run the following commands:

weka cluster host memory 0 1.5GB weka cluster host apply 0

Release hugepages on each container

After reducing the memory allocation for a container, it is required to release the hugepages on each container.

Perform the following steps for each container:

  1. Obtain the release_hugepages.sh script below and copy it to the /opt/weka/ folder.

  2. Change the script mode: Run chmod a+x release_hugepages.sh

  3. Stop the container locally: Run weka local stop

  4. Release hugepages: Run weka local run /opt/weka/release_hugepages.sh

  5. Restart the container locally: Run weka local start

Network Modifications

For Example: To add another network device to host-id 0, run the following commands:

weka cluster host net add 0 eth2 weka cluster host apply 0

Note: It is possible to accumulate several changes on a host and apply only once on completion.

Host IPs Modifications

To dynamically change the host's management IPs, you can use the management-ips resource editing command.

For Example: To change the management IPs onhost-id 0, run the following commands:

weka cluster host management-ips 192.168.1.10 192.168.1.20 weka cluster host apply 0

Note: The number of management IPs determines whether the host will use Highly Available Networking mode (HA), causing each IO process to use both hosts NICs. A host with 2 IPs will use HA mode and a host with only 1 IP will not use HA mode. It is also possible to define up to 4 IPs, in case the cluster is using both Infiniband and Ethernet network technologies.

Local resources editing commands

It is also possible to run modification commands locally on the host by connecting to the desired host and running a local resources command equivalent to its weka cluster host counterpart. These local commands have the same semantics of their remote counterparts only that they don't receive the host-id as the first parameter and operate instead on the local host.

Commands that can be performed dynamically on an Active host:

weka local resources [--stable] weka local resources apply weka local resources net weka local resources net add weka local resources net remove weka local resources memory weka local resources bandwidth weka local resources management-ips weka local resources dedicate

The following commands cannot be performed on an Active host and require deactivating the host first using weka cluster host deactivate:

weka local resources failure-domain weka local resources cores

Addition of CPU Cores

For more information, contact the WekaIO Support Team.

Expansion of Only SSDs

To dynamically change the network configuration, use the steps described for the on an active host, followed by theweka cluster host apply command.

The addition of CPU cores to the cluster is not performed dynamically but on an inactive host. It requires the execution of the steps described in .

Follow the instructions appearing in .

Configuration of Memory
Configuration of Networking
Configuration of CPU Resources
Configuration of SSDs
872B
release_hugepages.sh