SlideShare una empresa de Scribd logo
1 de 44
Descargar para leer sin conexión
customer customer has found that the performance levels are acceptable, but increase capacity by
      If a has found that the performance levels are acceptable, but wants to wants to increase c
ld addcould add another 4, 1 TB each server, and will not generally generally experience performan
       another 4, 1 TB drives to drives to each server, and will not experience performance degrad
than 12). Note that in this case, they are adding 2 more low-price servers, and can sim
drives. (See Config. C, above)

If they want to both quadruple performance and quadruple capacity, they could distribute
each server would have 12,1 TB drives). (See Config. D, below)




Note that by the time a solution has approximately 10 drives, the performance bottleneck
moved to the network. (See Config. D, above)
Ethernet network. Note that performance in this example is more than 25x that which we sa
is evidenced by an increase in performance from 200 MB/s in the baseline configuratio
Config. E, below)




As you will note, the power of the scale-out model is that both capacity and performanc
meet requirements. It is not necessary to know what performance levels will be needed 2,
configurations can be easily adjusted as the need demands.
➜ BETA_LINK="http://download.gluster.com/pub/gluster/glusterfs/

qa-releases/3.3-beta-2/glusterfs-3.3beta2.tar.gz"

➜ wget $BETA_LINK

➜ tar zxvf glusterfs-3.3beta2.tar.gz

➜ cd glusterfs-3.3beta2

➜ ./configure && make

➜ sudo make install
# Start Gluster management daemon for each server

➜ sudo /etc/init.d/glusterd start

# Adding Servers to Trusted Storage Pool

➜ for HOST in host1 host2 host3; do

      gluster peer probe $HOST; done

#=> Probe successful

 Probe successful

 Probe successful
➜ sudo gluster peer status

#=> Number of Peers: 3

 Hostname: host1

 Uuid: 81982001-ba0d-455a-bae8-cb93679dbddd

 State: Peer in Cluster (Connected)


 Hostname: host2

 Uuid: 03945cd4-7487-4b2c-9384-f006a76dfee5

 State: Peer in Cluster (Connected)...
# Create a distribute Volume named ‘log’

➜ SERVER_LOG_PATH=”/mnt/glusterfs/server/log”

➜ sudo gluster volume create log transport tcp

    host1: $SERVER_LOG_PATH

    host2: $SERVER_LOG_PATH

    host3: $SERVER_LOG_PATH
$ sudo gluster volume start log # start Volume

$ sudo gluster volume info log

#=> Volume Name: log

Type: Distribute

Status: Started

Number of Bricks: 12

Transport-type: tcp

Bricks:

Brick1: delta1:/mnt/glusterfs/server/log

Brick2: delta2:/mnt/glusterfs/server/log

Brick3: delta3:/mnt/glusterfs/server/log
# Create a distribute replicate Volume named ‘repository’

➜ SERVER_REPO_PATH=”/mnt/glusterfs/server/repository”

➜ sudo gluster volume create repository

    replica 2 transport tcp

    host1: $SERVER_REPO_PATH host2: $SERVER_REPO_PATH

    host3: $SERVER_REPO_PATH host4: $SERVER_REPO_PATH
$ sudo gluster volume info repository

#=> Volume Name: repository

Type: Distributed-Replicate

Status: Started

Number of Bricks: 2 x 2 = 4

Transport-type: tcp

Bricks:

Brick1: delta1:/mnt/glusterfs/server/repository

Brick2: delta2:/mnt/glusterfs/server/repository

Brick3: delta3:/mnt/glusterfs/server/repository

Brick4: delta3:/mnt/glusterfs/server/repository
# Mount ‘log’ Volume

➜ CLIENT_LOG_PATH=”/mnt/glusterfs/client/log”

➜ sudo mount -t glusterfs

    -o log-level=WARNING,log-file=/var/log/gluster.log

    localhost:log $CLIENT_LOG_PATH # native-client

➜ sudo mount -t nfs -o mountproto=tcp

    localhost:log $CLIENT_LOG_PATH # nfs
➜ df -h

#=>

Filesystem             Size   Used Avail Use% Mounted on

/dev/sdb               1.9T   491G    1.4T   27% /mnt/disk2

...

localhost:repository    11T   4.0G     11T    1%

                                      /mnt/glusterfs/client/repository

localhost:log          8.3T   3.6T    4.3T   46%

                                     /mnt/glusterfs/client/log
# Get Physical Location

➜ sudo getfattr -m . -n trusted.glusterfs.pathinfo 

      /mnt/glusterfs/client/repository/some_file

#=>

 # file: /mnt/glusterfs/client/repository /some_file

 trusted.glusterfs.pathinfo="(  

  <REPLICATE:repository-replicate-0>   

  <POSIX:host1: /mnt/glusterfs/server/repository/some_file >

  <POSIX:host2: /mnt/glusterfs/server/repository/some_file >

 )
Multi-site cascading Geo-replication

        Geo-replication over LAN

        You can configure GlusterFS Geo-replication to mirror data over a Local Area Network.

         Geo-replication over WAN

         You can configure GlusterFS Geo-replication to replicate data over a Wide Area Network.




        Geo-replication over WAN

        You can configure GlusterFS Geo-replication to replicate data over a Wide Area Network.
         Geo-replication over Internet

          You
         ds     can configure GlusterFS Geo-replication to mirror data over the Internet.




        Geo-replication over Internet
Gluster File system                         Administration Guide_3.2_02_B                          Pg No. 47

        You can configure GlusterFS Geo-replication to mirror data over the Internet.
!
Figure!4!Centralized!Metadata!Approach
Figure 5, below, illustrates a typical distributed metadata server implementation. It can be seen that this appro
also results in considerable overhead processing for file access, and by design has built-in exposure
corruption scenarios. Here again we see a legacy approach to scale-out storage not congruent with
requirement of the modern data center or with the burgeoning migration to virtualization and cloud computing.




                                                                                                         !
Figure!5!Decentralized!Metadata!Approach
any office that stores physical documents in folders in filing cabinets, that person should be able to f

                                                 -

Similarly, one could implement an algorithmic approach to data storage that used a similar
locate files. For example, in a ten system cluster, one
                                             isk 10, etc. Figure 6, below illustrates this concept.




                                                                                           !
Figure!6:!Understanding!EHA:!Algorithm
and run it through the hashing algorithm. Each pathname/filename results in a unique numerical r

For the sake of simplicity, one could imagine assigning all files whose hash ends in the number 1
all which end in the number 2 to the second disk, etc. Figure 7, below, illustrates this concept.




                                                                               !
Figure!7!Understanding!EHA:!Hashing
1. Setting up a very large number of virtual volumes
     2. Using the hashing algorithm to assign files to virtual volumes
     3. Using a separate process to assign virtual volumes to multiple physical devices

Thus, when disks or nodes are added or deleted, the algorithm itself does not need to be changed. However,
virtual volumes can be migrated or assigned to new physical locations as the need arises. Figure 8, below,
illustrates the Glus




                                                                                                   !
Figure!8!Understanding!EHA:!Elasticity
➜ ll /mnt/glusterfs/server/result*

---------T 1 doryokujin       0 Sep 13 16:40 result.host1

-rw-r--r-- 1 doryokujin 4044654 Sep 13 16:40 result.host6
はじめてのGlusterFS
はじめてのGlusterFS
はじめてのGlusterFS
はじめてのGlusterFS
はじめてのGlusterFS
はじめてのGlusterFS

Más contenido relacionado

La actualidad más candente

LizardFS-WhitePaper-Eng-v3.9.2-web
LizardFS-WhitePaper-Eng-v3.9.2-webLizardFS-WhitePaper-Eng-v3.9.2-web
LizardFS-WhitePaper-Eng-v3.9.2-web
Szymon Haly
 
Setting up mongo replica set
Setting up mongo replica setSetting up mongo replica set
Setting up mongo replica set
Sudheer Kondla
 
Hadoop Installation and basic configuration
Hadoop Installation and basic configurationHadoop Installation and basic configuration
Hadoop Installation and basic configuration
Gerrit van Vuuren
 
NoSQL 동향
NoSQL 동향NoSQL 동향
NoSQL 동향
NAVER D2
 

La actualidad más candente (20)

Open Source Backup Conference 2014: Workshop bareos introduction, by Philipp ...
Open Source Backup Conference 2014: Workshop bareos introduction, by Philipp ...Open Source Backup Conference 2014: Workshop bareos introduction, by Philipp ...
Open Source Backup Conference 2014: Workshop bareos introduction, by Philipp ...
 
Ceph BlueStore - новый тип хранилища в Ceph / Максим Воронцов, (Redsys)
Ceph BlueStore - новый тип хранилища в Ceph / Максим Воронцов, (Redsys)Ceph BlueStore - новый тип хранилища в Ceph / Максим Воронцов, (Redsys)
Ceph BlueStore - новый тип хранилища в Ceph / Максим Воронцов, (Redsys)
 
Comparison of-foss-distributed-storage
Comparison of-foss-distributed-storageComparison of-foss-distributed-storage
Comparison of-foss-distributed-storage
 
Red Hat Enterprise Linux OpenStack Platform on Inktank Ceph Enterprise
Red Hat Enterprise Linux OpenStack Platform on Inktank Ceph EnterpriseRed Hat Enterprise Linux OpenStack Platform on Inktank Ceph Enterprise
Red Hat Enterprise Linux OpenStack Platform on Inktank Ceph Enterprise
 
53 lab-nfs
53 lab-nfs53 lab-nfs
53 lab-nfs
 
LizardFS-WhitePaper-Eng-v3.9.2-web
LizardFS-WhitePaper-Eng-v3.9.2-webLizardFS-WhitePaper-Eng-v3.9.2-web
LizardFS-WhitePaper-Eng-v3.9.2-web
 
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
Cassandra Summit 2014: Down with Tweaking! Removing Tunable Complexity for Ca...
 
Setting up mongo replica set
Setting up mongo replica setSetting up mongo replica set
Setting up mongo replica set
 
Hadoop Installation and basic configuration
Hadoop Installation and basic configurationHadoop Installation and basic configuration
Hadoop Installation and basic configuration
 
Prosit google-cloud
Prosit google-cloudProsit google-cloud
Prosit google-cloud
 
Ceph Day KL - Bluestore
Ceph Day KL - Bluestore Ceph Day KL - Bluestore
Ceph Day KL - Bluestore
 
NoSQL 동향
NoSQL 동향NoSQL 동향
NoSQL 동향
 
Comparison of foss distributed storage
Comparison of foss distributed storageComparison of foss distributed storage
Comparison of foss distributed storage
 
Keeping your files safe in the post-Snowden era with SXFS
Keeping your files safe in the post-Snowden era with SXFSKeeping your files safe in the post-Snowden era with SXFS
Keeping your files safe in the post-Snowden era with SXFS
 
Cinder
CinderCinder
Cinder
 
Ceph Object Storage Performance Secrets and Ceph Data Lake Solution
Ceph Object Storage Performance Secrets and Ceph Data Lake SolutionCeph Object Storage Performance Secrets and Ceph Data Lake Solution
Ceph Object Storage Performance Secrets and Ceph Data Lake Solution
 
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSEUnderstanding blue store, Ceph's new storage backend - Tim Serong, SUSE
Understanding blue store, Ceph's new storage backend - Tim Serong, SUSE
 
Bluestore
BluestoreBluestore
Bluestore
 
Build a High Available NFS Cluster Based on CephFS - Shangzhong Zhu
Build a High Available NFS Cluster Based on CephFS - Shangzhong ZhuBuild a High Available NFS Cluster Based on CephFS - Shangzhong Zhu
Build a High Available NFS Cluster Based on CephFS - Shangzhong Zhu
 
Resource Management of Docker
Resource Management of DockerResource Management of Docker
Resource Management of Docker
 

Destacado

Red Hat Storage - Introduction to GlusterFS
Red Hat Storage - Introduction to GlusterFSRed Hat Storage - Introduction to GlusterFS
Red Hat Storage - Introduction to GlusterFS
GlusterFS
 
Quick Introduction to GlusterFS
Quick Introduction to GlusterFSQuick Introduction to GlusterFS
Quick Introduction to GlusterFS
Etsuji Nakai
 
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
Keisuke Takahashi
 

Destacado (20)

Object Storage with Gluster
Object Storage with GlusterObject Storage with Gluster
Object Storage with Gluster
 
GlusterFS 技術と動向 2of2
GlusterFS 技術と動向 2of2GlusterFS 技術と動向 2of2
GlusterFS 技術と動向 2of2
 
GlusterFS 技術と動向 1of2
GlusterFS 技術と動向 1of2GlusterFS 技術と動向 1of2
GlusterFS 技術と動向 1of2
 
Red Hat Storage - Introduction to GlusterFS
Red Hat Storage - Introduction to GlusterFSRed Hat Storage - Introduction to GlusterFS
Red Hat Storage - Introduction to GlusterFS
 
10年効く分散ファイルシステム技術 GlusterFS & Red Hat Storage
10年効く分散ファイルシステム技術 GlusterFS & Red Hat Storage10年効く分散ファイルシステム技術 GlusterFS & Red Hat Storage
10年効く分散ファイルシステム技術 GlusterFS & Red Hat Storage
 
GFProxy: Scaling the GlusterFS FUSE Client
GFProxy: Scaling the GlusterFS FUSE Client	GFProxy: Scaling the GlusterFS FUSE Client
GFProxy: Scaling the GlusterFS FUSE Client
 
openqrm4.9 Quick Start Guide
openqrm4.9 Quick Start Guideopenqrm4.9 Quick Start Guide
openqrm4.9 Quick Start Guide
 
Quick Introduction to GlusterFS
Quick Introduction to GlusterFSQuick Introduction to GlusterFS
Quick Introduction to GlusterFS
 
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
最新技術動向 GlusterFS (仮想化DAY, Internet Week 2011)
 
GlusterFS座談会テクニカルセッション
GlusterFS座談会テクニカルセッションGlusterFS座談会テクニカルセッション
GlusterFS座談会テクニカルセッション
 
GlusterFS Masakari Talks
GlusterFS Masakari TalksGlusterFS Masakari Talks
GlusterFS Masakari Talks
 
The real world of Kyoto Tycoon
The real world of Kyoto TycoonThe real world of Kyoto Tycoon
The real world of Kyoto Tycoon
 
Red Hat Gluster Storage : GlusterFS
Red Hat Gluster Storage : GlusterFSRed Hat Gluster Storage : GlusterFS
Red Hat Gluster Storage : GlusterFS
 
IIJにおけるGlusterFS利用事例 GlusterFSの詳解と2年間の運用ノウハウ
IIJにおけるGlusterFS利用事例 GlusterFSの詳解と2年間の運用ノウハウIIJにおけるGlusterFS利用事例 GlusterFSの詳解と2年間の運用ノウハウ
IIJにおけるGlusterFS利用事例 GlusterFSの詳解と2年間の運用ノウハウ
 
State of Gluster Performance
State of Gluster PerformanceState of Gluster Performance
State of Gluster Performance
 
2013年08月 夏サミ2013-A5「DevOpsってどうなのよ?」
2013年08月 夏サミ2013-A5「DevOpsってどうなのよ?」2013年08月 夏サミ2013-A5「DevOpsってどうなのよ?」
2013年08月 夏サミ2013-A5「DevOpsってどうなのよ?」
 
DS masakari talks
DS masakari talksDS masakari talks
DS masakari talks
 
DevOps 101 - IBM Impact 2014
DevOps 101 - IBM Impact 2014 DevOps 101 - IBM Impact 2014
DevOps 101 - IBM Impact 2014
 
Gluster technical overview
Gluster technical overviewGluster technical overview
Gluster technical overview
 
サーバ脆弱性スキャナ Vuls を OpenStack 環境で使ってみた
サーバ脆弱性スキャナ Vuls を OpenStack 環境で使ってみたサーバ脆弱性スキャナ Vuls を OpenStack 環境で使ってみた
サーバ脆弱性スキャナ Vuls を OpenStack 環境で使ってみた
 

Similar a はじめてのGlusterFS

20150704 benchmark and user experience in sahara weiting
20150704 benchmark and user experience in sahara weiting20150704 benchmark and user experience in sahara weiting
20150704 benchmark and user experience in sahara weiting
Wei Ting Chen
 
GlusterFS Update and OpenStack Integration
GlusterFS Update and OpenStack IntegrationGlusterFS Update and OpenStack Integration
GlusterFS Update and OpenStack Integration
Etsuji Nakai
 
MongoDB Replication and Sharding
MongoDB Replication and ShardingMongoDB Replication and Sharding
MongoDB Replication and Sharding
Tharun Srinivasa
 
Ceph Day Beijing: Big Data Analytics on Ceph Object Store
Ceph Day Beijing: Big Data Analytics on Ceph Object Store Ceph Day Beijing: Big Data Analytics on Ceph Object Store
Ceph Day Beijing: Big Data Analytics on Ceph Object Store
Ceph Community
 
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Simplilearn
 

Similar a はじめてのGlusterFS (20)

Hadoop Interview Questions and Answers by rohit kapa
Hadoop Interview Questions and Answers by rohit kapaHadoop Interview Questions and Answers by rohit kapa
Hadoop Interview Questions and Answers by rohit kapa
 
Handout3o
Handout3oHandout3o
Handout3o
 
os
osos
os
 
20150704 benchmark and user experience in sahara weiting
20150704 benchmark and user experience in sahara weiting20150704 benchmark and user experience in sahara weiting
20150704 benchmark and user experience in sahara weiting
 
Data Grids with Oracle Coherence
Data Grids with Oracle CoherenceData Grids with Oracle Coherence
Data Grids with Oracle Coherence
 
GlusterFS Update and OpenStack Integration
GlusterFS Update and OpenStack IntegrationGlusterFS Update and OpenStack Integration
GlusterFS Update and OpenStack Integration
 
User-space Network Processing
User-space Network ProcessingUser-space Network Processing
User-space Network Processing
 
MongoDB Replication and Sharding
MongoDB Replication and ShardingMongoDB Replication and Sharding
MongoDB Replication and Sharding
 
Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2Configuring Your First Hadoop Cluster On EC2
Configuring Your First Hadoop Cluster On EC2
 
Inspection and maintenance tools (Linux / OpenStack)
Inspection and maintenance tools (Linux / OpenStack)Inspection and maintenance tools (Linux / OpenStack)
Inspection and maintenance tools (Linux / OpenStack)
 
Hadoop Interview Questions and Answers
Hadoop Interview Questions and AnswersHadoop Interview Questions and Answers
Hadoop Interview Questions and Answers
 
Hadoop training in bangalore-kellytechnologies
Hadoop training in bangalore-kellytechnologiesHadoop training in bangalore-kellytechnologies
Hadoop training in bangalore-kellytechnologies
 
PowerAlluxio
PowerAlluxioPowerAlluxio
PowerAlluxio
 
Arun
ArunArun
Arun
 
Building Apache Cassandra clusters for massive scale
Building Apache Cassandra clusters for massive scaleBuilding Apache Cassandra clusters for massive scale
Building Apache Cassandra clusters for massive scale
 
Ceph Day Beijing: Big Data Analytics on Ceph Object Store
Ceph Day Beijing: Big Data Analytics on Ceph Object Store Ceph Day Beijing: Big Data Analytics on Ceph Object Store
Ceph Day Beijing: Big Data Analytics on Ceph Object Store
 
Unit-3.pptx
Unit-3.pptxUnit-3.pptx
Unit-3.pptx
 
Big data with hadoop Setup on Ubuntu 12.04
Big data with hadoop Setup on Ubuntu 12.04Big data with hadoop Setup on Ubuntu 12.04
Big data with hadoop Setup on Ubuntu 12.04
 
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
Hadoop Interview Questions And Answers Part-1 | Big Data Interview Questions ...
 
Dell linux cluster sap
Dell linux cluster sapDell linux cluster sap
Dell linux cluster sap
 

Más de Takahiro Inoue

Tableauが魅せる Data Visualization の世界
Tableauが魅せる Data Visualization の世界Tableauが魅せる Data Visualization の世界
Tableauが魅せる Data Visualization の世界
Takahiro Inoue
 
20140708 オンラインゲームソリューション
20140708 オンラインゲームソリューション20140708 オンラインゲームソリューション
20140708 オンラインゲームソリューション
Takahiro Inoue
 
トレジャーデータ流,データ分析の始め方
トレジャーデータ流,データ分析の始め方トレジャーデータ流,データ分析の始め方
トレジャーデータ流,データ分析の始め方
Takahiro Inoue
 
オンラインゲームソリューション@トレジャーデータ
オンラインゲームソリューション@トレジャーデータオンラインゲームソリューション@トレジャーデータ
オンラインゲームソリューション@トレジャーデータ
Takahiro Inoue
 
事例で学ぶトレジャーデータ 20140612
事例で学ぶトレジャーデータ 20140612事例で学ぶトレジャーデータ 20140612
事例で学ぶトレジャーデータ 20140612
Takahiro Inoue
 
トレジャーデータ株式会社について(for all Data_Enthusiast!!)
トレジャーデータ株式会社について(for all Data_Enthusiast!!)トレジャーデータ株式会社について(for all Data_Enthusiast!!)
トレジャーデータ株式会社について(for all Data_Enthusiast!!)
Takahiro Inoue
 
この Visualization がすごい2014 〜データ世界を彩るツール6選〜
この Visualization がすごい2014 〜データ世界を彩るツール6選〜この Visualization がすごい2014 〜データ世界を彩るツール6選〜
この Visualization がすごい2014 〜データ世界を彩るツール6選〜
Takahiro Inoue
 
Treasure Data Intro for Data Enthusiast!!
Treasure Data Intro for Data Enthusiast!!Treasure Data Intro for Data Enthusiast!!
Treasure Data Intro for Data Enthusiast!!
Takahiro Inoue
 
Hadoop and the Data Scientist
Hadoop and the Data ScientistHadoop and the Data Scientist
Hadoop and the Data Scientist
Takahiro Inoue
 
MongoDB: Intro & Application for Big Data
MongoDB: Intro & Application  for Big DataMongoDB: Intro & Application  for Big Data
MongoDB: Intro & Application for Big Data
Takahiro Inoue
 
An Introduction to Fluent & MongoDB Plugins
An Introduction to Fluent & MongoDB PluginsAn Introduction to Fluent & MongoDB Plugins
An Introduction to Fluent & MongoDB Plugins
Takahiro Inoue
 
An Introduction to Tinkerpop
An Introduction to TinkerpopAn Introduction to Tinkerpop
An Introduction to Tinkerpop
Takahiro Inoue
 
An Introduction to Neo4j
An Introduction to Neo4jAn Introduction to Neo4j
An Introduction to Neo4j
Takahiro Inoue
 
The Definition of GraphDB
The Definition of GraphDBThe Definition of GraphDB
The Definition of GraphDB
Takahiro Inoue
 

Más de Takahiro Inoue (20)

Treasure Data × Wave Analytics EC Demo
Treasure Data × Wave Analytics EC DemoTreasure Data × Wave Analytics EC Demo
Treasure Data × Wave Analytics EC Demo
 
トレジャーデータとtableau実現する自動レポーティング
トレジャーデータとtableau実現する自動レポーティングトレジャーデータとtableau実現する自動レポーティング
トレジャーデータとtableau実現する自動レポーティング
 
Tableauが魅せる Data Visualization の世界
Tableauが魅せる Data Visualization の世界Tableauが魅せる Data Visualization の世界
Tableauが魅せる Data Visualization の世界
 
トレジャーデータのバッチクエリとアドホッククエリを理解する
トレジャーデータのバッチクエリとアドホッククエリを理解するトレジャーデータのバッチクエリとアドホッククエリを理解する
トレジャーデータのバッチクエリとアドホッククエリを理解する
 
20140708 オンラインゲームソリューション
20140708 オンラインゲームソリューション20140708 オンラインゲームソリューション
20140708 オンラインゲームソリューション
 
トレジャーデータ流,データ分析の始め方
トレジャーデータ流,データ分析の始め方トレジャーデータ流,データ分析の始め方
トレジャーデータ流,データ分析の始め方
 
オンラインゲームソリューション@トレジャーデータ
オンラインゲームソリューション@トレジャーデータオンラインゲームソリューション@トレジャーデータ
オンラインゲームソリューション@トレジャーデータ
 
事例で学ぶトレジャーデータ 20140612
事例で学ぶトレジャーデータ 20140612事例で学ぶトレジャーデータ 20140612
事例で学ぶトレジャーデータ 20140612
 
トレジャーデータ株式会社について(for all Data_Enthusiast!!)
トレジャーデータ株式会社について(for all Data_Enthusiast!!)トレジャーデータ株式会社について(for all Data_Enthusiast!!)
トレジャーデータ株式会社について(for all Data_Enthusiast!!)
 
この Visualization がすごい2014 〜データ世界を彩るツール6選〜
この Visualization がすごい2014 〜データ世界を彩るツール6選〜この Visualization がすごい2014 〜データ世界を彩るツール6選〜
この Visualization がすごい2014 〜データ世界を彩るツール6選〜
 
Treasure Data Intro for Data Enthusiast!!
Treasure Data Intro for Data Enthusiast!!Treasure Data Intro for Data Enthusiast!!
Treasure Data Intro for Data Enthusiast!!
 
Hadoop and the Data Scientist
Hadoop and the Data ScientistHadoop and the Data Scientist
Hadoop and the Data Scientist
 
MongoDB: Intro & Application for Big Data
MongoDB: Intro & Application  for Big DataMongoDB: Intro & Application  for Big Data
MongoDB: Intro & Application for Big Data
 
An Introduction to Fluent & MongoDB Plugins
An Introduction to Fluent & MongoDB PluginsAn Introduction to Fluent & MongoDB Plugins
An Introduction to Fluent & MongoDB Plugins
 
An Introduction to Tinkerpop
An Introduction to TinkerpopAn Introduction to Tinkerpop
An Introduction to Tinkerpop
 
An Introduction to Neo4j
An Introduction to Neo4jAn Introduction to Neo4j
An Introduction to Neo4j
 
The Definition of GraphDB
The Definition of GraphDBThe Definition of GraphDB
The Definition of GraphDB
 
Large-Scale Graph Processing〜Introduction〜(完全版)
Large-Scale Graph Processing〜Introduction〜(完全版)Large-Scale Graph Processing〜Introduction〜(完全版)
Large-Scale Graph Processing〜Introduction〜(完全版)
 
Large-Scale Graph Processing〜Introduction〜(LT版)
Large-Scale Graph Processing〜Introduction〜(LT版)Large-Scale Graph Processing〜Introduction〜(LT版)
Large-Scale Graph Processing〜Introduction〜(LT版)
 
Advanced MongoDB #1
Advanced MongoDB #1Advanced MongoDB #1
Advanced MongoDB #1
 

Último

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 

Último (20)

Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

はじめてのGlusterFS

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6. customer customer has found that the performance levels are acceptable, but increase capacity by If a has found that the performance levels are acceptable, but wants to wants to increase c ld addcould add another 4, 1 TB each server, and will not generally generally experience performan another 4, 1 TB drives to drives to each server, and will not experience performance degrad
  • 7. than 12). Note that in this case, they are adding 2 more low-price servers, and can sim drives. (See Config. C, above) If they want to both quadruple performance and quadruple capacity, they could distribute each server would have 12,1 TB drives). (See Config. D, below) Note that by the time a solution has approximately 10 drives, the performance bottleneck moved to the network. (See Config. D, above)
  • 8. Ethernet network. Note that performance in this example is more than 25x that which we sa is evidenced by an increase in performance from 200 MB/s in the baseline configuratio Config. E, below) As you will note, the power of the scale-out model is that both capacity and performanc meet requirements. It is not necessary to know what performance levels will be needed 2, configurations can be easily adjusted as the need demands.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16. ➜ BETA_LINK="http://download.gluster.com/pub/gluster/glusterfs/ qa-releases/3.3-beta-2/glusterfs-3.3beta2.tar.gz" ➜ wget $BETA_LINK ➜ tar zxvf glusterfs-3.3beta2.tar.gz ➜ cd glusterfs-3.3beta2 ➜ ./configure && make ➜ sudo make install
  • 17. # Start Gluster management daemon for each server ➜ sudo /etc/init.d/glusterd start # Adding Servers to Trusted Storage Pool ➜ for HOST in host1 host2 host3; do gluster peer probe $HOST; done #=> Probe successful Probe successful Probe successful
  • 18. ➜ sudo gluster peer status #=> Number of Peers: 3 Hostname: host1 Uuid: 81982001-ba0d-455a-bae8-cb93679dbddd State: Peer in Cluster (Connected) Hostname: host2 Uuid: 03945cd4-7487-4b2c-9384-f006a76dfee5 State: Peer in Cluster (Connected)...
  • 19. # Create a distribute Volume named ‘log’ ➜ SERVER_LOG_PATH=”/mnt/glusterfs/server/log” ➜ sudo gluster volume create log transport tcp host1: $SERVER_LOG_PATH host2: $SERVER_LOG_PATH host3: $SERVER_LOG_PATH
  • 20. $ sudo gluster volume start log # start Volume $ sudo gluster volume info log #=> Volume Name: log Type: Distribute Status: Started Number of Bricks: 12 Transport-type: tcp Bricks: Brick1: delta1:/mnt/glusterfs/server/log Brick2: delta2:/mnt/glusterfs/server/log Brick3: delta3:/mnt/glusterfs/server/log
  • 21. # Create a distribute replicate Volume named ‘repository’ ➜ SERVER_REPO_PATH=”/mnt/glusterfs/server/repository” ➜ sudo gluster volume create repository replica 2 transport tcp host1: $SERVER_REPO_PATH host2: $SERVER_REPO_PATH host3: $SERVER_REPO_PATH host4: $SERVER_REPO_PATH
  • 22. $ sudo gluster volume info repository #=> Volume Name: repository Type: Distributed-Replicate Status: Started Number of Bricks: 2 x 2 = 4 Transport-type: tcp Bricks: Brick1: delta1:/mnt/glusterfs/server/repository Brick2: delta2:/mnt/glusterfs/server/repository Brick3: delta3:/mnt/glusterfs/server/repository Brick4: delta3:/mnt/glusterfs/server/repository
  • 23.
  • 24. # Mount ‘log’ Volume ➜ CLIENT_LOG_PATH=”/mnt/glusterfs/client/log” ➜ sudo mount -t glusterfs -o log-level=WARNING,log-file=/var/log/gluster.log localhost:log $CLIENT_LOG_PATH # native-client ➜ sudo mount -t nfs -o mountproto=tcp localhost:log $CLIENT_LOG_PATH # nfs
  • 25. ➜ df -h #=> Filesystem Size Used Avail Use% Mounted on /dev/sdb 1.9T 491G 1.4T 27% /mnt/disk2 ... localhost:repository 11T 4.0G 11T 1% /mnt/glusterfs/client/repository localhost:log 8.3T 3.6T 4.3T 46% /mnt/glusterfs/client/log
  • 26. # Get Physical Location ➜ sudo getfattr -m . -n trusted.glusterfs.pathinfo  /mnt/glusterfs/client/repository/some_file #=>  # file: /mnt/glusterfs/client/repository /some_file  trusted.glusterfs.pathinfo="(     <REPLICATE:repository-replicate-0>      <POSIX:host1: /mnt/glusterfs/server/repository/some_file >   <POSIX:host2: /mnt/glusterfs/server/repository/some_file > )
  • 27.
  • 28.
  • 29. Multi-site cascading Geo-replication Geo-replication over LAN You can configure GlusterFS Geo-replication to mirror data over a Local Area Network. Geo-replication over WAN You can configure GlusterFS Geo-replication to replicate data over a Wide Area Network. Geo-replication over WAN You can configure GlusterFS Geo-replication to replicate data over a Wide Area Network. Geo-replication over Internet You ds can configure GlusterFS Geo-replication to mirror data over the Internet. Geo-replication over Internet Gluster File system Administration Guide_3.2_02_B Pg No. 47 You can configure GlusterFS Geo-replication to mirror data over the Internet.
  • 30.
  • 32. Figure 5, below, illustrates a typical distributed metadata server implementation. It can be seen that this appro also results in considerable overhead processing for file access, and by design has built-in exposure corruption scenarios. Here again we see a legacy approach to scale-out storage not congruent with requirement of the modern data center or with the burgeoning migration to virtualization and cloud computing. ! Figure!5!Decentralized!Metadata!Approach
  • 33.
  • 34. any office that stores physical documents in folders in filing cabinets, that person should be able to f - Similarly, one could implement an algorithmic approach to data storage that used a similar locate files. For example, in a ten system cluster, one isk 10, etc. Figure 6, below illustrates this concept. ! Figure!6:!Understanding!EHA:!Algorithm
  • 35. and run it through the hashing algorithm. Each pathname/filename results in a unique numerical r For the sake of simplicity, one could imagine assigning all files whose hash ends in the number 1 all which end in the number 2 to the second disk, etc. Figure 7, below, illustrates this concept. ! Figure!7!Understanding!EHA:!Hashing
  • 36.
  • 37. 1. Setting up a very large number of virtual volumes 2. Using the hashing algorithm to assign files to virtual volumes 3. Using a separate process to assign virtual volumes to multiple physical devices Thus, when disks or nodes are added or deleted, the algorithm itself does not need to be changed. However, virtual volumes can be migrated or assigned to new physical locations as the need arises. Figure 8, below, illustrates the Glus ! Figure!8!Understanding!EHA:!Elasticity
  • 38. ➜ ll /mnt/glusterfs/server/result* ---------T 1 doryokujin 0 Sep 13 16:40 result.host1 -rw-r--r-- 1 doryokujin 4044654 Sep 13 16:40 result.host6