HP StorageWorks Storage Mirroring evaluation guide (T2558-96075, February 2008)

5 - 4
Changing data to cause replication
In order to test replication, you need to change the data on your source. This includes modifying existing files, creating new
files, deleting files, and changing permissions and attributes.
1. On the source, browse through the directories and files contained in your replication set.
2. Select four files from your source and record the file information specified in the following table.
3. On your source, view the contents of one of your files from the table above. Make notes here of the file contents, if
necessary.
________________________________________________________________________________________________
________________________________________________________________________________________________
________________________________________________________________________________________________
________________________________________________________________________________________________
________________________________________________________________________________________________
________________________________________________________________________________________________
4. On your target, locate the four files that you have noted above from your source. They match the files on the soruce.
5. Also on your target, view the contents of the file on the source that you viewed. It matches the file on your source.
6. If your Management Console is closed, open it.
7. Highlight your source in the left pane.
8. Locate the Replication Status and Sent (Bytes) columns in the right pane.
9. Tile your Management Console so that you can see it while still having access to your desktop.
10. On your source, edit the file that you viewed above. Save your changes, and watch the Management Console statistics as
the file change causes replication to occur. .
11. Modify the other three files so that the date, time, and/or size is updated, and again watch the Management Console
statistics as the file changes cause replication to occur. While Storage Mirroring is actively replicating, the status will be
Replicating. When there is no replication activity, the status is Ready.
12. Use the horizontal scroll bars to display additional replication statistics.
Sent (Bytes)—The total number of mirror and replication bytes that have been sent during this connection
Queued Replication (Bytes)—The total number of replication bytes that remain in the source queue
Sent Replication (Bytes)—The total number of replication bytes that have been sent during this connection
Last File Touched—Identifies the last file that Storage Mirroring transmitted to the target
For complete details on all of the statistics, see the Storage Mirroring User’s Guide.
You may notice your
Replication Status toggle between Replicating and Ready as it continues processing the file changes,
when your
Replication Status stays at Ready, Storage Mirroring is waiting for additional changes to transmit. After replication
is complete, you are ready to continue with the evaluation.
File Name Attribute to Record
File 1___________________________________ Date____________________ Time ____________________
File 2___________________________________ Date____________________ Time ____________________
File 3___________________________________ File size ___________________________________________
File 4___________________________________ File size ___________________________________________
NOTE: Many user applications typically save an entire file even though only a portion of the file may have changed.
Therefore, the replication statistics will show the entire file being transmitted, not just the changed data.
To confirm that replication only transmits the changed segments of files, you must use an application, such
as a database application, or a command, such as the echo command, to save only the changed portions of
a file.