Snapshots In Red Hat Storage Server Overview & Quickstart

  • 172 views
Uploaded on

"The snapshots feature in Red Hat Storage Server provides an integrated solution for point-in-time recovery of GlusterFS volumes. Join us to check it out. And while you’ll be exposed to architectural …

"The snapshots feature in Red Hat Storage Server provides an integrated solution for point-in-time recovery of GlusterFS volumes. Join us to check it out. And while you’ll be exposed to architectural details of how snapshots are implemented,this session won’t be a deep dive into snapshot internals.

In this session, you’ll learn:

How to configure and use snapshots in Red Hat Storage Server.
How to do point-in-time recovery using snapshots.
The architectural overview of snapshots in Red Hat Storage Server.
The key features and offerings in Red Hat Storage Server snapshots.
Best practice recommendations for configuring Red Hat Storage Server volumes for optimal use with snapshots.
The limitations in the snapshots feature release.
Some important issues to consider when migrating from older Red Hat Storage Server releases to a snapshot-supported one.
The product roadmap and extensions to snapshots.
"

More in: Technology , Business
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
172
On Slideshare
0
From Embeds
0
Number of Embeds
1

Actions

Shares
Downloads
6
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. SNAPSHOTS IN RED HAT STORAGE SERVER/GlusterFS Anand Subramanian Senior Principal Engineer, Red Hat Rajesh Joseph Principal Engineer, Red Hat
  • 2. AGENDA •Introduction •Snapshot CLI commands •Snapshot features : user-serviceable snaps •Snapshot recommendations •Roadmap, Future Directions •Q&A
  • 3. RHS Overview • Open software-defined storage solution • Based on GlusterFS : scale-out, distributed file-system •No external metadata servers •Scale-out with Elasticity •Extensible and modular • RHS volume : unified namespace for the distributed file-system • Access using GlusterFS native/FUSE, NFS, SMB and HTTP protocols
  • 4. RHS Bricks • A brick is the combination of a node and an export directory – for e.g. hostname:/dir • Each brick inherits limits of the underlying filesystem • No limit on the number bricks per node Storage Node Storage Node Storage Node Two Bricks One BrickThree Bricks
  • 5. RHS Volume • A volume is a logical collection of bricks. • Volume is identified by an administrator provided name. • Volume is a mountable entity and the volume name is provided at the time of mounting. •mount -t glusterfs server1:/<volname> /my/mnt/point • Bricks from the same node can be part of different volumes
  • 6. Red Hat Storage Volume RHS Volume Storage Node Storage Node Storage Node Brick Brick Brick Brick
  • 7. Snapshots in RHS •Volume level snapshots •LVM2 based •Operates only on thin-provisioned volumes •Snapshots themselves are thin-provisioned snapshot volumes •A GlusterFS volume snapshot consists of snapshots of the individual bricks making up the volume •Snapshot of a GlusterFS volume is also a GlusterFS volume •Crash consistent
  • 8. Logical Volume Manager (LVM) 2 •Creates a layer of abstraction over physical storage (PVs) •Volume Groups •One or more physical disks •Logical Volumes •Thinly provisioned
  • 9. Thinly Provisioned LVM2 Volume & Snapshot Storage devices Thin LV SnapshotThin LV Thin LV Thin Pool Thin Pool Volume Group
  • 10. Red Hat Storage Snapshot RHS Volume Storage Node Storage Node Brick1 Brick2 Brick3 Brick4 Brick1_s1 Brick2_s1 Brick4_s1Brick3_s1 Snapshot volume
  • 11. AGENDA •Introduction •Snapshot CLI commands •Snapshot features : user-serviceable snaps •Snapshot recommendations •Roadmap, Future Directions •Q&A
  • 12. SNAPSHOT CLI COMMANDS •Create •Restore •Delete •List •Info •Status •Config
  • 13. Snapshot Create gluster snapshot create <snap­name> <vol­name(s)> [description <description>]  [force] •Create snapshot of an active snapshot volume •Snapshot is allowed if brick quorum is met •Snapshot volume is started by default
  • 14. Snapshot Restore gluster snapshot restore <snap­name> •Volume should be stopped •Brick paths will be changed after restore •Once the snapshot is restored it will be deleted
  • 15. Snapshot Delete gluster snapshot delete <snap­name> •Snapshot including the backend lvm will be removed •Snapshot volume will be stopped before deleting it.
  • 16. Snapshot List gluster snapshot list [vol­name] •List will display only snap names
  • 17. Snapshot Info gluster snapshot info [(<snap­name> | volume <vol­name>)] •Info will provide details about the snap
  • 18. Snapshot Status gluster snapshot status [(<snap­name> | volume <vol­name>)] •Status will provide brick details and backend data (LVM)
  • 19. Snapshot config gluster snapshot config [vol­name] gluster snapshot config [vol­name] [<snap­max­hard­limit> <count>] [<snap­max­ soft­limit> <percentage>] [force] •Configure maximum allowed snapshot for a volume •Configure maximum allowed snapshot for the entire cluster •Display the current configuration
  • 20. AGENDA •Introduction •Snapshot CLI commands •Snapshot features : user-serviceable snaps •Snapshot recommendations •Roadmap, Future Directions •Q&A
  • 21. User Serviceable Snapshots in RHS •Users can access snapshots of a volume without admin intervention ; ease of access •“Wormhole” into the past – into any snapshot volume •Read-only snapshot volumes •cd to “.snaps” virtual directory anywhere in the filesystem to access your data
  • 22. User Serviceable Snapshots in RHS • cd  $HOME (say, /home/john) • ls  dir1/  dir2/  file1 • cd dir2 • ls  file10 file15  • cd .snaps • ls  nightly.0/  nightly.1/  weekly.0/  weekly.1/ • cd weekly.0/ 
  • 23. User Serviceable Snapshots in RHS • pwd  /home/john/dir2/.snaps/weekly.0/ •ls file10 file20 file30 file40 • cp ­p file30 $HOME/dir2/
  • 24. AGENDA •Introduction •Snapshot CLI commands •Snapshot features : user-serviceable snaps •Snapshot recommendations •Roadmap, Future Directions •Q&A
  • 25. Recommendations •Each volume brick should be on an independent thinly provisioned volume. •Brick LVM should not be used for any other purpose. •All the snapshot of the brick will be created on same thin pool. •Thin pool should have sufficient free space.
  • 26. Older Gluster Volume Configuration Storage devices LV Volume Group Brick1 Brick2 LV mount
  • 27. New Volume Configuration for Snapshot Storage devices Thin LV Volume GroupBrick1 Brick2 Thin LV mount Thin Pool mount
  • 28. Snapshot Future •Snapshot of multiple volume •Snapshot scheduling •Geo-replication with snapshot •Pluggable snapshot support : Btrfs •Writable snapshots •Support for snap aware applications
  • 29. Check Out Other Red Hat Storage Activities at The Summit •Enter the raffle to win tickets for a $500 gift card or trip to LegoLand! • Entry cards available in all storage sessions - the more you attend, the more chances you have to win! •Talk to Storage Experts: • Red Hat Booth (# 211) • Infrastructure • Infrastructure-as-a-Service •Storage Partner Solutions Booth (# 605) •Upstream Gluster projects • Developer Lounge Follow us on Twitter, Facebook: @RedHatStorage