• Save
51 lab-volumes
Upcoming SlideShare
Loading in...5
×
 

51 lab-volumes

on

  • 188 views

 

Statistics

Views

Total Views
188
Views on SlideShare
188
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    51 lab-volumes 51 lab-volumes Document Transcript

    • LAB: Volumes July 2012LAB: VolumesGoalIn these exercises you will create, modify, move and set permissions on a volume. Inaddition you will create a schedule and apply it to a snapshot and mirrorsynchronization.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 2012Exercise: 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 buttonExercise: 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