stackhpc.gluster-cluster
グラスタークラスター
これは、単一のボリュームを提供し、複数のノードにまたがるグラスタークラスターを構成するための軽量で意見のある役割です。
この役割は、プレイでアクティブなすべてのホストを使用しようとします。
要件
現在、CentOSホストのみがサポートされています。
ホストは、ブロックデバイスに関して同一でなければなりません。特に、
gluster_cluster_block_devices
で指定されたブロックデバイスは、クラスター内のすべてのノードに存在する必要があります。
役割の変数(必須)
gluster_cluster_volume_name
: 作成するグラスターのボリューム名。gluster_cluster_block_devices
: ブリックを作成するためのブロックデバイスのリスト。gluster_cluster_transport_interface
: 例:ib0
,enp0s1
。gluster_cluster_transport_mode
:tcp
またはrdma
のいずれか。
役割の変数(オプション)
gluster_cluster_hosts
: デフォルトでは、gluster_cluster_storage_group_name
グループ内のすべてのホストが対象です。グラスタークラスターによって提供されるボリュームのためのブリックを持つホストです。gluster_cluster_storage_group_name
: デフォルトはstorage
です。インベントリファイルからのストレージホストのAnsibleグループ名。gluster_cluster_volume_options
: グラスターのボリュームオプションの辞書。gluster_cluster_volume_base_path
: ボリュームを保存するための基本フォルダー。gluster_cluster_stripes
: デフォルトは0
です。[1]を参照。gluster_cluster_disperses
: デフォルトは0
です。[1]を参照。gluster_cluster_replicas
: デフォルトは0
です。[1]を参照。gluster_cluster_redundancies
: デフォルトは0
です。[1]を参照。
[1] https://docs.gluster.org/en/v3/Administrator%20Guide/Setting%20Up%20Volumes/
依存関係
なし
例のプレイブック
次のプレイブックは、グラスターのボリュームを構成します:
---
- name: グラスターを構成
hosts: storage
roles:
- role: gluster-cluster
gluster_cluster_volume_name: my_volume
gluster_cluster_block_devices:
- sdb
- sdc
- sdd
gluster_cluster_transport_interface: ib0
gluster_cluster_transport_mode: rdma
gluster_cluster_volume_options:
cluster.nufa: 'on'
著者情報
- ダグ・ズムスキー (doug@stackhpc.com)
プロジェクトについて
Lightweight and opinionated role to deploy a Gluster cluster.
インストール
ansible-galaxy install stackhpc.gluster-cluster
ライセンス
apache-2.0
ダウンロード
169
所有者
StackHPC develops OpenStack capabilities for research computing use cases. Through extensive experience, we understand HPC and cloud.