[[
GlusterFS
]]
めでぃあきすらぼ
現在位置:
めでぃあきすらぼ
»
分散ストレージ
»
GlusterFS
文書の表示
最近の変更
索引
ログイン
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== GlusterFS ====== 元々はオープンソースで開発がされていた分散ストレージシステムの1つ [[http://www.gluster.org/|GlusterFS]] 現在は、Redhatが取り込んでRed Hat Storage Serverとしてリリースしている。 いつもの通りCentOS/Scientific Linuxな環境に構築をしてみる。 英語は苦手だが、とりあえず[[http://www.gluster.org/community/documentation/index.php/QuickStart|QuickStart]]に目を通してみる。 Step 1 – Have at least two nodes * A 64 bit OS * A working network connection * At least two virtual disks, one for the OS installation, and one to be used to serve Gluster storage. This will emulate a real world deployment, where you would want seperate disks for Gluster storage than the OS install. なんて事が書いてある。 いくら英語が苦手なオイラでも**64bit OS**じゃないとダメ!!って事はわかるぞ。よーし、64bit OSを用意すりゃ良いんだろ? って思って64bitで検証してたんだけど 32bitしかインストール出来ないようなダメなサーバーくんをなんとか使えないのだろうか?という心の声が聞こえてきたのでソースファイルがあるならコンパイルしちゃえば良いのかな?とか思ってダウンロードサイトを見に行ってみたら。。。 ダウンロードサイトはここね [[http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/CentOS/epel-6/|CentOS Gluster]] ん? あーーーーーーーー i386があるじゃないか!!いやいや、フォルダだけかも・・・・・・ はい、ちゃんとRPMが存在しました(--;) なんてこったい。 そんな訳で、glusterfs-epel.repoを編集する <code> # Place this file in your /etc/yum.repos.d/ directory [glusterfs-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/CentOS/epel-6/$basearch/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [glusterfs-swift-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/CentOS/epel-6/noarch enabled=1 skip_if_unavailable=1 gpgcheck=0 [glusterfs-source-epel] name=GlusterFS is a clustered file-system capable of scaling to several petabytes. - Source baseurl=http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/CentOS/epel-6/SRPMS enabled=0 skip_if_unavailable=1 gpgcheck=0 </code> バージョンとかは適当に変えちゃってね ===== インストール ===== リポジトリの登録がちゃんと出来ていればyumでインストール出来てしまうので難しい事は何もない・・・ yum install glusterfs glusterfs-server glusterfs-fuse glusterfs-geo-replication うむぅ。32bitでも動くじゃないか! ==== 自動起動の設定をする ==== chkconfig glusterd on chkconfig glusterfsd on ついでにスタートしてみる。特にエラーもなく実行されるよ。たぶん・・・ service glusterd start service glusterfsd start ==== そうは言っても1代じゃ意味無いので2台用意する ==== お互いが名前解決できるようにhostsに登録をしておく vi /etc/hosts ==== volumeを作成 ==== gluster volume create ボリューム名 replica 2 transport tcp サーバー名1:ディレクトリ サーバー2:ディレクトリ
分散ストレージ/glusterfs.1372312365.txt.gz · 最終更新: 2013/06/27 05:52 by miyako
文書の表示
以前のリビジョン
Media Manager
文書の先頭へ