GlusterFS : インストール2025/12/04 |
|
分散ファイルシステム GlusterFS をインストールして、ストレージクラスターを構成します。
前提として、クラスターを構成するノード群では GlusterFS に割り当てる領域は / パーティションとは別であることが推奨です。 当例では、全ノードで [sdb1] を [/glusterfs] にマウントして設定します。 |
|
| [1] | クラスターを構成する全ノードで GlusterFS サーバーをインストールして起動しておきます。 |
|
node01:~ #
zypper -n install glusterfs hostname
node01:~ #
vi /etc/glusterfs/glusterd.vol # 12行目 : IPv4 で通信する場合は 下行をコメント解除して変更 option transport.address-family inet
node01:~ #
node01:~ # systemctl enable --now glusterd
gluster --version glusterfs 11.1 Repository revision: git://git.gluster.org/glusterfs.git Copyright (c) 2006-2016 Red Hat, Inc. <https://www.gluster.org/> GlusterFS comes with ABSOLUTELY NO WARRANTY. It is licensed to you under your choice of the GNU Lesser General Public License, version 3 or any later version (LGPLv3 or later), or the GNU General Public License, version 2 (GPLv2), in all cases as published by the Free Software Foundation. |
| [2] | Firewalld を有効にしている場合は、GlusterFS サービスの許可が必要です。全ノードで実施します。 |
|
node01:~ # firewall-cmd --add-port={24007/tcp,24008/tcp,38465-38469/tcp,49152-60999/tcp} success node01:~ # firewall-cmd --runtime-to-permanent success |
|
GlusterFS サーバーのインストールと基本設定は以上です。 |
| Sponsored Link |
|
|