SlideShare a Scribd company logo
LAB: Volumes                                                              July 2012



LAB: Volumes
Goal
In these exercises you will create, modify, move and set permissions on a volume. In
addition you will create a schedule and apply it to a snapshot and mirror
synchronization.

Exercise: Volumes
       Connect to your MCS for your cluster
       Create a volume for your student #
           o Click Volumes under MapR-FS in the Navigation pane
           o Click the New Volume button
           o Select Standard Volume for the Volume Type
           o Enter a volume name (e.g. “studentxvol1” where x is your student #)
              in the Volume Name field
           o Type the path /studentxvol1 (where x is your student #) in the Mount
              Path field
           o Select /default-rack in the Topology field
           o Scroll to the bottom and click OK to create the volume
       Connect to your node via ssh
       Create a second volume for your student #
           o Note: ‘x’ in the volume name and path is your student #
           o maprcli volume create –name <studentxvol2> -mount
              1 –path </studentxvol2>
       Use the MCS or CLI to set permissions on your volume so the mapr user can
       edit
           o CLI example:
                   maprcliacl edit –name <studentxvol2> -type
                      volume –user mapr
       Use the MCS or CLI to modify the quota on your volume
           o CLI example:
                   maprcli volume modify –name <studentxvol2> -
                      quota <quota>
       Use the MCS or CLI to move the volume
           o CLI example:
                   maprcli volume move –name <studentxvol2> -
                      topology<new_topology>




© 2012 by MapR Technologies                                              Page 1 of 2
LAB: Volumes                                                              July 2012


Exercise: Snapshots & Schedules
      Connect to your node via ssh or connect to the cluster MCS
      Use the MCS or CLI to manually create a snapshot
         o CLI example:
                  maprcli volume snapshot create –
                     volume<studentxvol2> -
                     snapshotname<snapshot_name>
      Explore the .snapshot directory
         o If you have not done so already connect to your node via ssh
         o Change directory into <studentxvol2>/.snapshot and list the directory
             contents
         o Notice that there is a directory with the name of your snapshot. Feel
             free to explore the contents of this directly. They should be identical
             to the contents of the volume at the time you took the snapshot.
      Use the MCS to create a schedule
         o Click Schedules under MapR-FS in the navigation pane
         o Click the New Schedule button
         o Give the schedule a name and a rule (e.g. daily at 1PM)
         o Note: the schedule is not currently applied to any volumes
      Use the MCS to apply the schedule you created in the previous step as a
      snapshot schedule for one of your volumes
         o Click Volumes under MapR-FS in the Navigation pane
         o Click the name of one of your volumes
         o Scroll down to the Snapshot Scheduling section and select the
             schedule you created in the previous step
         o Click the Modify Volume button

Exercise: Mirrors & Schedules
      Connect to your node via ssh or connect to the cluster MCS
      Use the MCS or CLI to manually create a mirror volume
         o CLI example:
                 maprcli volume create –
                   name<studentxvol2mirror> -
                   source<studentxvol2mirror> -type 1 –schedule
                   <schedule_name>
      Use the MCS or CLI to initiate a mirror sync
         o CLI example:
                 maprcli volume mirror start –
                   name<mirror_volume_name>
                OR
                 maprcli volume mirror push –
                   name<source_volume_name>




© 2012 by MapR Technologies                                              Page 2 of 2

More Related Content

ODP
Nmea Introduction
PPTX
Fast rcnn
PDF
Understanding GPS & NMEA Messages and Algo to extract Information from NMEA.
PDF
DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - North Sea, F...
PDF
CS5229 Lecture 5: TCP and TRFC
PDF
Jgrass newage-waterbudget
DOCX
Screenshots
ODP
Valgustusajastu8.odp
Nmea Introduction
Fast rcnn
Understanding GPS & NMEA Messages and Algo to extract Information from NMEA.
DSD-INT 2014 - Symposium Next Generation Hydro Software (NGHS) - North Sea, F...
CS5229 Lecture 5: TCP and TRFC
Jgrass newage-waterbudget
Screenshots
Valgustusajastu8.odp

Viewers also liked (8)

PPTX
Dli book 01 lesson 2.homework
PDF
Vitnemål UiO Master Economics
PPT
cerec 3 d. / academy of fixed orthodontics
PPT
Development of maxilla &amp; palate
PPT
Visual basic 6.0
PPT
Evolution of Dental ceramic restorations /certified fixed orthodontic course...
PDF
Rotary Instruments in Operative Dentistry
PPTX
Estructuras de control
Dli book 01 lesson 2.homework
Vitnemål UiO Master Economics
cerec 3 d. / academy of fixed orthodontics
Development of maxilla &amp; palate
Visual basic 6.0
Evolution of Dental ceramic restorations /certified fixed orthodontic course...
Rotary Instruments in Operative Dentistry
Estructuras de control
Ad

Similar to 51 lab-volumes (17)

PPTX
22 configuration
PPTX
50a volumes
PPTX
HBase with MapR
PPTX
55a remote cluster
PPTX
30a accessing your cluster
DOCX
3 map r installation & setup administration course description
PPTX
80a disaster recovery
PDF
MapR Tutorial Series
PDF
Hands on MapR -- Viadea
PDF
Google Compute and MapR
PDF
Philly DB MapR Overview
PDF
Cmu 2011 09.pptx
PDF
Motorola solutions wing 4.4 wireless controller cli reference guide (part no....
PDF
Motorola solutions wing 4.4 wireless controller cli reference guide (part no....
PDF
Cmu-2011-09.pptx
PPTX
70a monitoring & troubleshooting
PPTX
20a installation
22 configuration
50a volumes
HBase with MapR
55a remote cluster
30a accessing your cluster
3 map r installation & setup administration course description
80a disaster recovery
MapR Tutorial Series
Hands on MapR -- Viadea
Google Compute and MapR
Philly DB MapR Overview
Cmu 2011 09.pptx
Motorola solutions wing 4.4 wireless controller cli reference guide (part no....
Motorola solutions wing 4.4 wireless controller cli reference guide (part no....
Cmu-2011-09.pptx
70a monitoring & troubleshooting
20a installation
Ad

More from mapr-academy (10)

PPTX
52 nfs
PPTX
58a migration
DOCX
53 lab-nfs
PPTX
48a tuning
DOCX
42 lab-managing services
PPTX
41a managing services
DOCX
14 lab-planing
PPTX
13c planning
PPTX
12a architecture
PPTX
10c introduction
52 nfs
58a migration
53 lab-nfs
48a tuning
42 lab-managing services
41a managing services
14 lab-planing
13c planning
12a architecture
10c introduction

51 lab-volumes

  • 1. LAB: Volumes July 2012 LAB: Volumes Goal In these exercises you will create, modify, move and set permissions on a volume. In addition you will create a schedule and apply it to a snapshot and mirror synchronization. Exercise: Volumes Connect to your MCS for your cluster Create a volume for your student # o Click Volumes under MapR-FS in the Navigation pane o Click the New Volume button o Select Standard Volume for the Volume Type o Enter a volume name (e.g. “studentxvol1” where x is your student #) in the Volume Name field o Type the path /studentxvol1 (where x is your student #) in the Mount Path field o Select /default-rack in the Topology field o Scroll to the bottom and click OK to create the volume Connect to your node via ssh Create a second volume for your student # o Note: ‘x’ in the volume name and path is your student # o maprcli volume create –name <studentxvol2> -mount 1 –path </studentxvol2> Use the MCS or CLI to set permissions on your volume so the mapr user can edit o CLI example:  maprcliacl edit –name <studentxvol2> -type volume –user mapr Use the MCS or CLI to modify the quota on your volume o CLI example:  maprcli volume modify –name <studentxvol2> - quota <quota> Use the MCS or CLI to move the volume o CLI example:  maprcli volume move –name <studentxvol2> - topology<new_topology> © 2012 by MapR Technologies Page 1 of 2
  • 2. LAB: Volumes July 2012 Exercise: Snapshots & Schedules Connect to your node via ssh or connect to the cluster MCS Use the MCS or CLI to manually create a snapshot o CLI example:  maprcli volume snapshot create – volume<studentxvol2> - snapshotname<snapshot_name> Explore the .snapshot directory o If you have not done so already connect to your node via ssh o Change directory into <studentxvol2>/.snapshot and list the directory contents o Notice that there is a directory with the name of your snapshot. Feel free to explore the contents of this directly. They should be identical to the contents of the volume at the time you took the snapshot. Use the MCS to create a schedule o Click Schedules under MapR-FS in the navigation pane o Click the New Schedule button o Give the schedule a name and a rule (e.g. daily at 1PM) o Note: the schedule is not currently applied to any volumes Use the MCS to apply the schedule you created in the previous step as a snapshot schedule for one of your volumes o Click Volumes under MapR-FS in the Navigation pane o Click the name of one of your volumes o Scroll down to the Snapshot Scheduling section and select the schedule you created in the previous step o Click the Modify Volume button Exercise: Mirrors & Schedules Connect to your node via ssh or connect to the cluster MCS Use the MCS or CLI to manually create a mirror volume o CLI example:  maprcli volume create – name<studentxvol2mirror> - source<studentxvol2mirror> -type 1 –schedule <schedule_name> Use the MCS or CLI to initiate a mirror sync o CLI example:  maprcli volume mirror start – name<mirror_volume_name> OR  maprcli volume mirror push – name<source_volume_name> © 2012 by MapR Technologies Page 2 of 2