I had to do 2 different things to get my emails report working again.
I had opend a ticket with EMC about it and he was no help, but I saw what he was looking at and was able to figure out how to change my cron job to make it work.
Well... replcnt is a support tool. I know a lot of people use it but it was never really intended for end-users.
Engineering and the product managers know replication reporting is a pain point right now. There are ongoing discussions around getting proper replication reporting integrated into the core product instead of relying on tools developed for support.
In the meantime, if the changes are straightforward I can send them off to my colleague who maintains the replcnt script.
First Warning: changing a script that comes with Avamar is not suggested as it might be used for something else and you could break something. And when you upgrade next it most likely will get overwritten and you lose those changes.
Coping it to a new name and changing it is just as dangerous as you might still cause issues, or when you upgrade your script stops working and you have to remember that you started with theirs and might have to go back and use there new one.
With that said;
When you go to the Scheduled based Replication jobs one of the things you are supposed to do is rename the file
/usr/local/avamar/etc/repl_cron.cfg
this is because in the EM if this is there and cron replication has not run the EM will tell you it has not run and you get that RED X.
this is the suggested rename " mv repl_cron.cfg x-repl_cron.cfg-
Note: with this you have to stop and restart the em and the mcs
the issue is the replcnt.sh reads that file to get some variables. when you rename this, replcnt.sh fails because it cannot find the info for those variables.
so you either have to leave the cfg file or you have to change the script to read the renamed file.
or you have to put in the variables when you run the script like this
J_H_
2 Intern
•
498 Posts
447
0
Posted May 22nd, 2014 08:00
it works ok for me.
how do you run it and what issue do you have.
I had to do 2 different things to get my emails report working again.
I had opend a ticket with EMC about it and he was no help, but I saw what he was looking at and was able to figure out how to change my cron job to make it work.