81 lab-disaster recovery

459 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
459
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

81 lab-disaster recovery

  1. 1. LAB: Disaster Recovery July 2012LAB: Disaster RecoveryGoalIn these exercises you will learn how to prepare for and recover from a disasterusing different approaches. You will create and restore from a dump file, create aremote mirror, and copy read-only data from a mirror volume.Exercise: Create a Dump File Connect to your node via ssh Create a full dump of a volume on your cluster o Note: ‘x’ in the volume name and path is your student # o maprcli volume dump create -name </studentxvol2>- dumpfile<studentxfulldump> -e <studentxstatefile1> Make some changes to the data on your volume (edit a file, create a file, etc) Create an incremental dump of a volume on your cluster o maprcli volume dump create -s <studentxstatefile2>-e <studentxstatefile3>-name </studentxvol2>-dumpfile<studentxincrdump>Exercise: Create a Remote Mirror Create a mirror on the backup cluster o maprcli volume create -name <studentxmirrorvol1>- source <studentxvol2@cluster_name>type 1 Initiate mirroring o maprcli volume mirror start – name<studentxmirrorvol1>Exercise: Restore from a Dump File Create a new volume named studentxrestorevol for your restoration target (either via the MCS or CLI) Restore from the full dump o maprcli volume dump restore – dumpfile<studentxfulldump>-name </studentxrestorevol>–n Restore from the incremental dump o maprcli volume dump restore – dumpfile<studentxincrdump>-name </studentxrestorevol>Exercise: Copy Read-Only Data Mount the mirror volume o maprcli volume mount –name <studentxmirrorvol1>- path pathToRO© 2012 by MapR Technologies Page 1 of 2
  2. 2. LAB: Disaster Recovery July 2012 Restore from the incremental dump o maprcli volume dump restore – dumpfile<studentxincrdump>-name </studentxrestorevol>© 2012 by MapR Technologies Page 2 of 2

×