2 Intern

 • 

2K Posts

March 29th, 2016 06:00

A quick word of warning: In chain replication you have to be very careful not to reverse the direction of replication or replicate from Avamar C to Avamar A. If this happens -- either by error or intent -- the customer will be spending a week on the phone with support getting client accounts put back in the right places.

Chain replication needs to be set up like a root-to-root, except you specify --srcpath and --dstpath to override the source and destination paths. For example:

replicate --srcpath=/ --dstpath=/REPLICATE/AvamarB

Note that I have specifically left out the flag that triggers root-to-root because I don't want somebody inexperienced or poorly trained to read this post and shoot themselves in the foot. If you're a partner, you should have access to the documentation required to finish the configuration.

153 Posts

March 29th, 2016 23:00

Hi Ian,

ok, so lets say that C was Replication target for various Avamar nodes. Can you do more than on Root2Root to the same Avamar grid?

Another issue I have is that I need to replicate backups already in a /REPLICATE domain on a Avamar grid to the same /REPLICATE domain but on another Avamar grid. The reason is that customer bought another larger grid as replication target since the old one was very highly utilizied = 99.9% full. We couldn't do a root2root on this grid since replication was not running to the old replication grid and therefore we had to point all the remote nodes to the new replication grid so the customer could start replication again

I have tried with the various commands but either I get the error that source cannot be /REPLICATE or destination cannot be /REPLICATE

below are the commands that I have tried

nohup avrepl --operation=replicate op=restore --[replscript]dstaddr=dst_avamar --[replscript]dstid=repluser --[replscript]dstpassword=******* --[replscript]srcpath=/REPLICATE/src_Avamar/AgentBackups/clientA --[replscript]dstpath=/REPLICATE/dst_avamar/AgentBackups/clientA --timeout=0  --send-adhoc-request=false --logfile=/home/admin/test.log 2>&1 &

Error message

avrepl Info <5174>: - Reading /home/admin/.avamar

avrepl Info <5174>: - Reading /usr/local/avamar/etc/usersettings.cfg

avrepl FATAL <0000>: The restore operation (--operation=restore) is not supported.

but if I look in the avrepl --help

Usage: avrepl --operation= [Options] [Targets]

        --operation=TYPE, --op    Specify the operation to perform. Values for TYPE are browse, backup, or restore.

If I remove the --op=restore I get following error message

avrepl Error <0000>: Replication error: ERROR: Source path cannot contain /REPLICATE for replicate!

Another test I ran was was with the replicate --restore option

nohup replicate --dstaddr=dst_avamar --dstid=root --dstpassword=******* --id=root --password=FKlnXe4xjH --restore --srcpath=/REPLICATE/src-avamar/AgentBackups/clientA --dstpath=/REPLICATE/dst_avamar/AgentBackups/clientA


Error Message


force-move flag is ON by default or user intent.

ERROR: Destination path cannot contain /REPLICATE for restore!

So the big question here is: Is it possible somehow to replicate backups from /REPLICATE domain to a /REPLICATE domain with doing Root2Root?


I already have PS involved but they haven't given me a straight answer yet

I appreciate any guidance or input you might have. Just for the record, I know that I have to be very carefull and therefore everthing is being tested in a test enviroment.:-)



153 Posts

March 30th, 2016 06:00

Hi Ian,

Thanks, will email you right away.

Edit: E-mail Address Removed

2 Intern

 • 

2K Posts

March 30th, 2016 06:00

Yes, it is possible to replicate from /REPLICATE but as I mentioned, it's potentially dangerous so I'm not willing to post instructions in a public forum. Please send me an e-mail at firstname.lastname@emc.com and we can discuss offline.

2 Intern

 • 

2K Posts

March 30th, 2016 07:00

Yes.

226 Posts

April 5th, 2016 00:00

Hi broeste,

                  All kinds of replication is possible. You can replicate from A to C to a non replicate domain. I would advise to involve professional services to perform the task.

No Events found!

Top