How To Build A Scalable Storage System with OSS at TLUG Meeting 2008/09/13

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    6 Favorites

    How To Build A Scalable Storage System with OSS at TLUG Meeting 2008/09/13 - Presentation Transcript

    1. TLUG Meeting 2008/09/13 Gosuke Miyashita
    2. My company
      • paperboy&co.
        • Web hosting, blog, ec hosting and so on for indivisuals
        • About 1,000 Linux servers
        • Many single servers ...
    3. My goal of a scalable storage system
      • Storage system for a web hosting service
        • High resource availability
        • Flexible I/O distribution
        • Easy to extend
        • Mountable by multiple hosts
        • No SPoF
        • With OSS
        • Without expensive hardwares
      • Now I’m trying technologies for these purposes
    4.  
      • cman
      • CLVM
      • GFS2
      • GNBD
      • DRBD
      • DM-MP
      Technologies
    5. cman
      • Cluster Manager
      • A component of Red Hat Cluster Suit
      • Membership management
      • Messaging among cluster nodes
      • Needed for CLVM and GFS2
    6. CLVM
      • Cluster Logical Volume Manager
      • Cluster-wide version of LVM2
      • Automatically share LVM2 metadata among all cluster nodes
      • So logical volumes with CLVM available to all cluster nodes
    7. CLVM clvmd distributes metadata among cluster nodes Logical volumes presented to each cluster node Logical volume on shared storage LVM2 Metadata clvmd LVM2 Metadata clvmd LVM2 Metadata clvmd
    8. GNBD
      • Global Network Block Device
      • Provides block-device access over TCP/IP
      • Similar to iSCSI
      • Advantage over iSCSI is built-in fencing
    9. GNBD TCP/IP network GNBD client GNBD client GNBD client GNBD Server Exported block device
    10. GFS2
      • Global File System 2
      • One of cluster-aware file systems
      • Multiple nodes can simultaneously access this filesystem
      • Uses DLM(Distributed Lock Manager) of cman to maintain file system integrity
      • OCFS is another cluster-aware file system
    11. GFS2 These nodes can access to the GFS2 file system simultaneously GNBD Server GFS2 GNBD client cman GNBD client cman GNBD client cman
    12. DRBD
      • Distributed Replicated Block Device
      • RAID1 over a network
      • Mirrors a whole block device over TCP/IP
      • Available Active/Active with cluster file systems
    13. DRBD Replication Server Block Device Server Block Device
    14. DM-MP
      • Device-Mapper Multipath
      • Bundles I/O paths to one virtual I/O path
      • Can choose active/passive or active/active
    15. DM-MP with SAN storage /dev/sda1 /dev/sdb1 Seen as one device /dev/mapper/mpath0 active/passive or active/active Node HBA1 HBA2 SAN swtich 1 SAN swtich 2 Storage CNTRLR1 CNTRLR2
    16.  
    17. A scalable storage system /dev/VG0/LV0 (CLVM) mount /dev/VG0/LV0 /mnt cman GNBD cman GNBD GNBD Server GFS2 GNBD Server GFS2 Replication (DRBD) /dev/mapper/mpath0 (DM-MP) /dev/gnbd0 /dev/gnbd1 GNBD Server GFS2 GNBD Server GFS2 Replication (DRBD) /dev/mapper/mpath1 (DM-MP) /dev/gnbd2 /dev/gnbd3
    18. How to extend /dev/VG0/LV0 (CLVM) mount /dev/VG0/LV0 /mnt cman GNBD cman GNBD GNBD Server GFS2 GNBD Server GFS2 /dev/mapper/mpath0 /dev/gnbd0 /dev/gnbd1 GNBD Server GFS2 GNBD Server GFS2 /dev/mapper/mpath1 /dev/gnbd2 /dev/gnbd3 GNBD Server GFS2 GNBD Server GFS2 /dev/mapper/mpath2 /dev/gnbd4 /dev/gnbd5
    19.  
    20. I wonder ...
      • Many components cause troubles?
      • How about overhead and performance?
      • How about stability?
      • More better way?
      • How about other than Red Hat Linux?
    21.  

    + mizzymizzy, 2 years ago

    custom

    1895 views, 6 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 1895
      • 1895 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 6
    • Downloads 48
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories