SlideShare ist ein Scribd-Unternehmen logo
1 von 2
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

Weitere ähnliche Inhalte

Andere mochten auch

Dli book 01 lesson 2.homework
Dli book 01 lesson 2.homeworkDli book 01 lesson 2.homework
Dli book 01 lesson 2.homeworkKeith Miller
 
Vitnemål UiO Master Economics
Vitnemål UiO Master EconomicsVitnemål UiO Master Economics
Vitnemål UiO Master EconomicsJonas Due
 
cerec 3 d. / academy of fixed orthodontics
cerec 3 d. / academy of fixed orthodonticscerec 3 d. / academy of fixed orthodontics
cerec 3 d. / academy of fixed orthodonticsIndian dental academy
 
Visual basic 6.0
Visual basic 6.0Visual basic 6.0
Visual basic 6.0GJCS
 
Evolution of Dental ceramic restorations /certified fixed orthodontic course...
 Evolution of Dental ceramic restorations /certified fixed orthodontic course... Evolution of Dental ceramic restorations /certified fixed orthodontic course...
Evolution of Dental ceramic restorations /certified fixed orthodontic course...Indian dental academy
 
Rotary Instruments in Operative Dentistry
Rotary Instruments in Operative DentistryRotary Instruments in Operative Dentistry
Rotary Instruments in Operative DentistryDr. Nithin Mathew
 
Estructuras de control
Estructuras de controlEstructuras de control
Estructuras de controlJazmin Acuña
 

Andere mochten auch (8)

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

Ähnlich wie 51 lab-volumes

Secrets of supercomputing
Secrets of supercomputingSecrets of supercomputing
Secrets of supercomputingfikrul islamy
 
Secrets of supercomputing
Secrets of supercomputingSecrets of supercomputing
Secrets of supercomputingfikrul islamy
 
YesWorkflow: How to render a script as a workflow in half an hour!
YesWorkflow: How to render a script as a workflow in half an hour!YesWorkflow: How to render a script as a workflow in half an hour!
YesWorkflow: How to render a script as a workflow in half an hour!Bertram Ludäscher
 
Object Oriented Programming in Matlab
Object Oriented Programming in Matlab Object Oriented Programming in Matlab
Object Oriented Programming in Matlab AlbanLevy
 
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on OpenstackLinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on OpenstackOpenShift Origin
 
Assisting Domain Experts To Formulate And Solve Constraint Satisfaction Problems
Assisting Domain Experts To Formulate And Solve Constraint Satisfaction ProblemsAssisting Domain Experts To Formulate And Solve Constraint Satisfaction Problems
Assisting Domain Experts To Formulate And Solve Constraint Satisfaction ProblemsJim Jimenez
 
K8s is not for App Developers
K8s is not for App DevelopersK8s is not for App Developers
K8s is not for App DevelopersQAware GmbH
 
It's always sunny with OpenJ9
It's always sunny with OpenJ9It's always sunny with OpenJ9
It's always sunny with OpenJ9DanHeidinga
 
Openshift cheat rhce_r3v1 rhce
Openshift cheat rhce_r3v1 rhceOpenshift cheat rhce_r3v1 rhce
Openshift cheat rhce_r3v1 rhceDarnette A
 
MM-4097, OpenCV-CL, by Harris Gasparakis, Vadim Pisarevsky and Andrey Pavlenko
MM-4097, OpenCV-CL, by Harris Gasparakis, Vadim Pisarevsky and Andrey PavlenkoMM-4097, OpenCV-CL, by Harris Gasparakis, Vadim Pisarevsky and Andrey Pavlenko
MM-4097, OpenCV-CL, by Harris Gasparakis, Vadim Pisarevsky and Andrey PavlenkoAMD Developer Central
 
Altitude SF 2017: Fastly GSLB: Scaling your microservice and multi-cloud envi...
Altitude SF 2017: Fastly GSLB: Scaling your microservice and multi-cloud envi...Altitude SF 2017: Fastly GSLB: Scaling your microservice and multi-cloud envi...
Altitude SF 2017: Fastly GSLB: Scaling your microservice and multi-cloud envi...Fastly
 

Ähnlich wie 51 lab-volumes (20)

Secrets of supercomputing
Secrets of supercomputingSecrets of supercomputing
Secrets of supercomputing
 
Secrets of supercomputing
Secrets of supercomputingSecrets of supercomputing
Secrets of supercomputing
 
Open Dayligth usando SDN-NFV
Open Dayligth usando SDN-NFVOpen Dayligth usando SDN-NFV
Open Dayligth usando SDN-NFV
 
YesWorkflow: How to render a script as a workflow in half an hour!
YesWorkflow: How to render a script as a workflow in half an hour!YesWorkflow: How to render a script as a workflow in half an hour!
YesWorkflow: How to render a script as a workflow in half an hour!
 
DB Conan 1.0
DB Conan 1.0DB Conan 1.0
DB Conan 1.0
 
Object Oriented Programming in Matlab
Object Oriented Programming in Matlab Object Oriented Programming in Matlab
Object Oriented Programming in Matlab
 
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on OpenstackLinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
LinuxCon 2013 Steven Dake on Using Heat for autoscaling OpenShift on Openstack
 
10. inheritance
10. inheritance10. inheritance
10. inheritance
 
Assisting Domain Experts To Formulate And Solve Constraint Satisfaction Problems
Assisting Domain Experts To Formulate And Solve Constraint Satisfaction ProblemsAssisting Domain Experts To Formulate And Solve Constraint Satisfaction Problems
Assisting Domain Experts To Formulate And Solve Constraint Satisfaction Problems
 
IBM_Q-Rep-Tutorial
IBM_Q-Rep-TutorialIBM_Q-Rep-Tutorial
IBM_Q-Rep-Tutorial
 
K8s is not for App Developers
K8s is not for App DevelopersK8s is not for App Developers
K8s is not for App Developers
 
RxJava@DAUG
RxJava@DAUGRxJava@DAUG
RxJava@DAUG
 
It's always sunny with OpenJ9
It's always sunny with OpenJ9It's always sunny with OpenJ9
It's always sunny with OpenJ9
 
Openshift cheat rhce_r3v1 rhce
Openshift cheat rhce_r3v1 rhceOpenshift cheat rhce_r3v1 rhce
Openshift cheat rhce_r3v1 rhce
 
Supercharge ml using docker
Supercharge ml using dockerSupercharge ml using docker
Supercharge ml using docker
 
SFScon21 - Andrea Antonello - Integrated modeling with k.LAB
SFScon21 - Andrea Antonello - Integrated modeling with k.LABSFScon21 - Andrea Antonello - Integrated modeling with k.LAB
SFScon21 - Andrea Antonello - Integrated modeling with k.LAB
 
MM-4097, OpenCV-CL, by Harris Gasparakis, Vadim Pisarevsky and Andrey Pavlenko
MM-4097, OpenCV-CL, by Harris Gasparakis, Vadim Pisarevsky and Andrey PavlenkoMM-4097, OpenCV-CL, by Harris Gasparakis, Vadim Pisarevsky and Andrey Pavlenko
MM-4097, OpenCV-CL, by Harris Gasparakis, Vadim Pisarevsky and Andrey Pavlenko
 
Altitude SF 2017: Fastly GSLB: Scaling your microservice and multi-cloud envi...
Altitude SF 2017: Fastly GSLB: Scaling your microservice and multi-cloud envi...Altitude SF 2017: Fastly GSLB: Scaling your microservice and multi-cloud envi...
Altitude SF 2017: Fastly GSLB: Scaling your microservice and multi-cloud envi...
 
Let's migrate to Swift 3.0
Let's migrate to Swift 3.0Let's migrate to Swift 3.0
Let's migrate to Swift 3.0
 
Cdc
CdcCdc
Cdc
 

Mehr von mapr-academy

80a disaster recovery
80a disaster recovery80a disaster recovery
80a disaster recoverymapr-academy
 
70a monitoring & troubleshooting
70a monitoring & troubleshooting70a monitoring & troubleshooting
70a monitoring & troubleshootingmapr-academy
 
55a remote cluster
55a remote cluster55a remote cluster
55a remote clustermapr-academy
 
42 lab-managing services
42 lab-managing services42 lab-managing services
42 lab-managing servicesmapr-academy
 
41a managing services
41a managing services41a managing services
41a managing servicesmapr-academy
 
30a accessing your cluster
30a accessing your cluster30a accessing your cluster
30a accessing your clustermapr-academy
 
3 map r installation & setup administration course description
3 map r installation & setup administration course description3 map r installation & setup administration course description
3 map r installation & setup administration course descriptionmapr-academy
 

Mehr von mapr-academy (18)

52 nfs
52 nfs52 nfs
52 nfs
 
80a disaster recovery
80a disaster recovery80a disaster recovery
80a disaster recovery
 
70a monitoring & troubleshooting
70a monitoring & troubleshooting70a monitoring & troubleshooting
70a monitoring & troubleshooting
 
58a migration
58a migration58a migration
58a migration
 
55a remote cluster
55a remote cluster55a remote cluster
55a remote cluster
 
53 lab-nfs
53 lab-nfs53 lab-nfs
53 lab-nfs
 
50a volumes
50a volumes50a volumes
50a volumes
 
48a tuning
48a tuning48a tuning
48a tuning
 
42 lab-managing services
42 lab-managing services42 lab-managing services
42 lab-managing services
 
41a managing services
41a managing services41a managing services
41a managing services
 
30a accessing your cluster
30a accessing your cluster30a accessing your cluster
30a accessing your cluster
 
22 configuration
22 configuration22 configuration
22 configuration
 
14 lab-planing
14 lab-planing14 lab-planing
14 lab-planing
 
20a installation
20a installation20a installation
20a installation
 
13c planning
13c planning13c planning
13c planning
 
12a architecture
12a architecture12a architecture
12a architecture
 
10c introduction
10c introduction10c introduction
10c introduction
 
3 map r installation & setup administration course description
3 map r installation & setup administration course description3 map r installation & setup administration course description
3 map r installation & setup administration course description
 

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