Storage, Networking, EMC: DataDomain Replication
We have a total of 3 DataDomains currently in production. One at our “Tier 1″ site, “Tier 2″(DR) and one in Europe. All DataDomain appliances have the ability to replicate data among themselves. This will be a general overview of how to setup replication between two DataDomains
On the source, I have already setup a directory tree for “/backup/europe_data”. All files destined for our Euroupe office will be placed here. On the DataDomain devices, replicated folders are added manually. By default none are replicated.
*********************
Be aware that if you are viewing this through a web browser that a lot of the command might be hidden due to formatting of the WordPress theme. It is best viewed by an RSS reader. If you would like the full text, email or leave a comment and I can send you a PDF version.
*********************
Below is the help output for “replication add” command.
user01@us-dd565# replication add ?
Commands matching "replication add":
replication add source destination
Add a replication pair
I wish the syntax was easy as what was stated above, but below is the actual command used to setup replication on the source DataDomain
user01@us-dd565# replication add source dir://us-dd565.testdomain.com/backup/europe_data destination dir://eu-dd01.testdomain.com/backup/europe_data
Once the source is setup, the destination endpoint/DataDomain also must be configured. The command is identical to what was entered at the source DataDomain
user01@eu-dd01# replication add source dir://us-dd565.testdomain.com/backup/europe_data destination dir://eu-dd01.testdomain.com/backup/europe_data
Once replication is setup on both DataDomains, log back into the source and start the replication.
user01@us-dd565# replication initialize
Incorrect syntax "replication initialize", showing help:
replication initialize
Initialize replication on the source
(configure both source and destination
first)
Below is the actual syntax to startup replication for the directory that we just configured.
user01@us-dd565# replication initialize dir://eu-dd01.testdomain.com/backup/europe_data (00:04) Waiting for initialize to start... (00:06) Initialize started. Use 'replication watch dir://eu-dd01.testdomain.com/backup/europe_data' to monitor progress.
Since I am impatient and want to know for sure this is working, I use “replication watch”. This shows the current progress of the replication between DataDomains.
user01@us-dd565# replication watch dir://eu-dd01.testdomain.com/backup/europe_data
Use Control-C to stop monitoring.
(00:57) Replication initialize started...
(00:59) initializing 3/3:
(10:35) : pre-comp: 0% 27 KB/s, network 26 KB/s, 0 of 6 files
When new data is written to the mount point, replication automatically starts. Below is what shows if no data is currently being replicated.
user01@us-dd565# replication watch dir://eu-dd01.testdomain.com/backup/europe_data **** Replication initialize or recover already completed.
“replication show config” is used to display all the configured replication points.
user01@us-dd565# replication show config CTX Source Destination Connection Host and Port Enabled --- ------------------------------------------------------- --------------------------------------------------------- -------------------------------------------- ------- 11 dir://us-dd565.testdomain.com/backup/mysql-rep dir://us-t2-dd510.testdomain.com/backup/mysql-rep us-t2-dd510.testdomain.com (default) yes 12 dir://us-dd565.testdomain.com/backup/europe_data dir://eu-dd510.testdomain.com/backup/europe_data eu-dd510.testdomain.com (default) yes --- ------------------------------------------------------- --------------------------------------------------------- -------------------------------------------- -------
Sorry for all of the spacing being off. All the tabs did not come over when copying data from the console.
user01

[...] This post was mentioned on Twitter by Kevin Goodman, Andrew Elliott. Andrew Elliott said: RT @colovirt: New post: Storage, Networking, #EMC: #DataDomain Replication Setup – http://wp.me/pm3nc-cY [...]
Tweets that mention Storage, Networking, EMC: DataDomain Replication « Colocation to Virtualization -- Topsy.com said this on May 26, 2010 at 11:17 am