rustfsでクラスタリング試してみた
各ノードは以下
ノード1
10.77.70.102
ノード2
10.77.70.103
各ノードのディレクトリは以下
/opt/rustfs/d{1...4}
ノード1で実行したコマンド
code:vm1.sh
sudo rustfs --address :9000 \
--access-key rustfsadmin \
--secret-key rustfsadmin \
--console-enable \
http://10.77.70.102:9000/opt/rustfs/d1 \
http://10.77.70.102:9000/opt/rustfs/d2 \
http://10.77.70.102:9000/opt/rustfs/d3 \
http://10.77.70.102:9000/opt/rustfs/d4 \
http://10.77.70.103:9000/opt/rustfs/d1 \
http://10.77.70.103:9000/opt/rustfs/d2 \
http://10.77.70.103:9000/opt/rustfs/d3 \
http://10.77.70.103:9000/opt/rustfs/d4
ノード2で実行したコマンド
code:vm2.sh
sudo rustfs --address :9000 \
--access-key rustfsadmin \
--secret-key rustfsadmin \
--console-enable \
http://10.77.70.102:9000/opt/rustfs/d1 \
http://10.77.70.102:9000/opt/rustfs/d2 \
http://10.77.70.102:9000/opt/rustfs/d3 \
http://10.77.70.102:9000/opt/rustfs/d4 \
http://10.77.70.103:9000/opt/rustfs/d1 \
http://10.77.70.103:9000/opt/rustfs/d2 \
http://10.77.70.103:9000/opt/rustfs/d3 \
http://10.77.70.103:9000/opt/rustfs/d4
https://scrapbox.io/files/68fd292013569619991395f9.png
dockerでやったときはうまくいかなかったので諦めて直インストールになった