Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

4818

November 22nd, 2013 01:00

mccli and replication jobs

Hallo, we have several Avamar that replicate on a central Avamar site, using mccli how can I monitor replication jobs? (I want to create a script to launch daily)

Thanks, Pietro.

266 Posts

November 22nd, 2013 02:00

Hi,

Avamar have shell script "replcnt.sh" for such purpose (to monitor / to get such) information in command line directly ...

You could give a try to use it. Please ask EMC support to provide you download linkg from ftp server .

hope this helps .

Ray.

Community Manager

 • 

8.7K Posts

November 24th, 2013 22:00

Hey,

The 'replcnt.sh' script is a utility which can help identify which backups are stored on a source and not on a target system. It is intended for internal use. I'm not sure you can get the script or not. But, you can to try.


And usually, we only need to monitor replication job via Avamar GUI.


Hope this helps.

70 Posts

November 25th, 2013 15:00

I use the replcnt.sh on a daily basis to check that the replication is completing and if it is not to tell me where it gets to in the list of clients.  You could open the replicate.log but replcnt.sh is very simple.  I'm sure if you log a ticket EMC will copy it to the node for you.  Have look in \usr\local\avamar\bin - it might already be on the node

3 Posts

November 25th, 2013 15:00

Try to parse /usr/local/avamar/var/cron/replicate.log. Also you can try "mccli activity show --verbose|grep -i repli" to list the replication activity

1 Rookie

 • 

6 Posts

November 26th, 2013 02:00

Thanks for all your answers, I contacted EMC and they sent me the script. But I have some doubt, the support told me that a situation of "-1" is ideal, is it right, in your opinion? And why I have some positive number? The destination has more backup than the source? What this means?

Thanks, Pietro.

1 Rookie

 • 

12 Posts

May 21st, 2025 01:39

verbose is essential here. you could script pulling this off as xml (--xml) and parse off box to tell you which replication group is having issues, or not. the replication group used isn't visible without verbose.... why? Also tell me why mccli doesn't have better filtering like on group for activity as name is server name

mccli activity show
{--domain=String(/) | --name=String [--domain=String(/)]}
[--active=Boolean(false)] [--completed=Boolean(false)]
[--contained-vm-activities=Boolean(false)] [--id=String]
[--name=String] [--queued=Boolean(false)]
[--source={avamar | dd}] [--verbose=Boolean(false)]
No Events found!

Top