e4_computer_engineering.beegfs.cluster role – Configure Beegfs cluster features

Note

This role is part of the e4_computer_engineering.beegfs collection (version 1.1.0).

It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.

To install it use: ansible-galaxy collection install e4_computer_engineering.beegfs.

To use it in a playbook, specify: e4_computer_engineering.beegfs.cluster.

Entry point main – Configure Beegfs cluster features

New in e4_computer_engineering.beegfs 1.0.0

Synopsis

  • Configure Beegfs cluster features like BuddyMirror, StoragePools and Striping policies.

  • These settings are configured by the use of the `beegfs-ctl` command-line.

Parameters

Parameter

Comments

cluster_dir_paths

list / elements=dictionary

The list of directory paths relative to the Beegfs mountpoint with custom striping rules

beegfs_path

string / required

The path relative to the Beegfs mountpoint where the directory should exist

chunk_size

string

The chunk size to use by the Beegfs striping policy

Choices:

  • "512K" ← (default)

  • "1M"

  • "2M"

fs_path

string

The path relative to the root filesystem where the directory should be bind mounted

num_targets

string

The number of desired targets to use by the Beegfs striping policy

Default: "4"

pattern

string

The pattern or protection level to use by the Beegfs striping policy

Choices:

  • "raid0" ← (default)

  • "buddymirror"

storagepool_id

string

The storage pool id that should be targeted by the Beegfs triping policy

Default: "1"

cluster_meta_nodes

list / elements=string

The list of the hosts that will run the metadata services and hold the meta targets

Default: []

cluster_storage_nodes

list / elements=string

The list of the hosts that will run the storage services and hold the storage targets

Default: []

Authors

  • Davide Obbi