Sie sind auf Seite 1von 2

EMC - Timefinder operations

Page 1 of 2

The procedures below outline the steps needed to use the Timefinder software. It outlines everything that needs to be done from start to finish. Realize that for routine operations, some of these steps won't be needed; however, for the sake of completeness, I'm putting everything in: 1. Prepare EMC structures a. Create a Symmetrix disk group symdg -t [ Regular | RDF1 | RDF2 ] create ${group} b. Add devices to the disk group symld -g ${group} add pd /dev/dsk/c#t#d# symld -g ${group} add dev 01a c. Associate BCV devices to the disk group symbcv -g ${group} associate pd ${bcv_ctd} symbcv -g ${group} associate dev ${bcv_dev} 2. Establish BCV mirrors a. ID the logical device names: Timefinder defaults to using the logical device names. You can id the logical device names by: symmir -g ${group} query b. First time establish, execute a full establish: symmir -g ${group} -full establish ${std_log_dev} bcv ${bcv_log_dev} c. Use symmir query to monitor progress. symmir -g ${group} query 3. Break BCV mirrors a. Types of splits: 1. Instant split: Split is performed in the background after the completion of the split I/O request. 2. Force split: Splits the pair during establish or restore operations; invalid tracks may exist. 3. Reverse split: Resyncs the BCV with the full data copy from its local or remote mirror. 4. Reverse differential split: Enables a copy of only out-of-sync tracks to the BCV from its mirror. 5. Differential split: Enables a copy of only the updated tracks to the BCV's mirror. b. Commands: symmir -g ${group} split symmir -g ${group} split -instant

EMC - Timefinder operations

symmir -g ${group} split -differential symmir -g ${group} reverse split -differential

Page 2 of 2

4. Reestablish or restore BCV mirrors a. Restore copies data from BCV back to standard pair. >Reestablish, on the other hand, does a differential update of the BCV from the standard device. b. Commands: So, that's the symmir -g ${group} establish Differential reestablish from standard device to BCV Timefinder symmir -g ${group} -full restore Full restore of all tracks on BCV to standard device. tactics - how symmir -g ${group} restore Differential restore of BCV data to standard device. to do the various operations. What about the Timefinder Strategies? There are basically two options: 1. Maintain BCV mirrors with the standard device; break the mirrors when you want to backup, test, or develop on a copy of the original. This is probably the most common way of running Timefinder. The advantage is that the split operation will happen almost instantly as the mirrors are fully synced all the time. The disadvantage is that anything unto wards that happens to the standard device will be reflected in the BCV mirror. 2. Maintain the BCV as a split device to keep an online backup of the original data. This is an intriguing idea that I got from a coworker. Basically, it provides the ability to have online backups as mounted filesystems. In case someone accidentally aliases clear to "rm -fr ${mp}", you can restore the data with a simple cp command. The disadvantage is that the BCVs will have to be resynced periodically. The time to do this is obviously dependent on the amount of data that's changed. If it's a fairly static filesystem, it could be pretty quick. On the other hand, if everything's changed, then it's going to take a bit.