This post is more than 5 years old

2 Intern

 • 

143 Posts

16041

September 18th, 2012 08:00

Automatically map VMware proxies to datastores

Is there a way to automatically map all VMware proxies to all datastores with Avamar 6.1?  We are constantly adding datastores and missing backups due to the datastore-proxy mappings not being up to date gets tiresome.  We use group associations to control which proxy backs up which VMs so either disabling datastore associations altogether or an automated way to basically check the "Select All" button on the VMware Datastores tab of each proxy at the beginning of the backup window would be ideal. Thanks!

2 Intern

 • 

207 Posts

November 17th, 2012 09:00

You can download the following script on the Utility Node

ftp://avamar_ftp:anonymous@ftp.avamar.com/software/scripts/proxycp.jaranonymous@ftp.avamar.com/software/scripts/proxycp.jar

Once downloaded run the following command, this will selectall datastores for all the proxies

java -jar proxycp.jar --selectalldatastore

307 Posts

September 21st, 2012 01:00

Hello,

The mccli client add-datastore command adds a new datastore to be protected by the specified Avamar image proxy client.

I think you may create a script around this command to add all the datastores to the proxy client.

2 Intern

 • 

2K Posts

September 28th, 2012 09:00

This is a common request and I know the PMs are looking at it. I can't make any promises, though.

2 Intern

 • 

143 Posts

November 17th, 2012 16:00

Thanks, Amol!  We'll test this and really appreciate you working on it.

70 Posts

November 18th, 2012 16:00

Excellent!  I have always found it a real pain to update our 13 proxies one by one when a new data store is added. 

This script works really well. 

The only point I would make is that I didn't know where to put the .jar file so when running the script had to provide the full path to the jar file eg:

java -jar /usr/local/avamar/bin/proxycp.jar --selectalldatastore

Maybe some can advise if there is a better location for the jar file that wouldn't require this?

2 Intern

 • 

207 Posts

November 19th, 2012 12:00

Bill,

You placed it in a correct location , its recommended to save the script in /usr/local/avamar/bin/ directory

1 Rookie

 • 

12 Posts

February 11th, 2014 09:00

I know I am digging up an old thread here, but I did try this file with success on our Avamar 7 grid, but it does not work on our Avamar 6 grid.  I am not sure how to troubleshoot this, and not sure if pasting the log file is the right thing to do here.

1 Rookie

 • 

38 Posts

May 6th, 2014 23:00

I had similar issue and this worked for me as well. I am using Avamar 7.0

Thanks a lot.

1 Rookie

 • 

124 Posts

October 3rd, 2014 13:00

hello.. I just found this thread and tried to download. received msg no such file or directory.

ftp://avamar_ftp:anonymous@ftp.avamar.com/software/scripts/proxycp.jaranonymous@ftp.avamar.com/software/scripts/proxycp

50 Posts

October 6th, 2014 06:00

I'm sure the file is still in its place.Could you try again please?,

ftp://avamar_ftp:anonymous@ftp.avamar.com/software/scripts/proxycp.jar

and to reconfirm, please try to access the healthcheck script

ftp://avamar_ftp:anonymous@ftp.avamar.com/software/scripts/proactive_check.pl

In case both the links dont work , please contact support (SR or Chat) so we could assist you in getting it.

1 Rookie

 • 

124 Posts

October 6th, 2014 07:00

thank you all set!

No Events found!

Top