Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

5003

April 17th, 2015 16:00

Avamar Proxy and Groups report

Hi guys,

I am trying to generate a report either via the built-in Avamar reporting, mccli or proxycp.jar to display an output of all groups that have been created on the Avamar and which proxies are protecting which groups.

The reason for this is because we are re-creating groups from an old Avamar on a new Avamar and we need a way to identify which proxies are protecting which VM groups. It gets very confusing because there are so many groups and so many proxies in the environment. As of yet, I have not seen a way to display which proxies are protecting which groups.

The only thing that has come close is java -jar proxycp.jar --listpolicy, but that just displays the number of proxies on each group which doesn't help much.

2 Intern

 • 

207 Posts

April 20th, 2015 11:00

Download the new version of proxycp (v 2.39) from FTP and run the following command

root@aegrid1:~/#: java -jar /usr/local/avamar/bin/proxycp.jar --listpolicyproxymap

======================= Starting ProxyCP ==========================

Proxycp : v2.39

Date    : April 20, 2015 11:26:04 AM PDT

COMMAND : java -jar proxycp.jar --listpolicyproxymap

VDP/Nemo Detected : false

------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------------------------

Group Name                                                                                          Proxies                           

-------------------------------------------------------------------------------------------------------------------------------------

/aevc1.asl.lab.emc.com/AmolVMGroup                                                                  N/A                               

-------------------------------------------------------------------------------------------------------------------------------------

/aevc1.asl.lab.emc.com/Daily VM Backups                                                             /clients/aevm92.asl.lab.emc.com   

                                                                                                                            /clients/aevm64-proxy-1           

-------------------------------------------------------------------------------------------------------------------------------------

/aevc1.asl.lab.emc.com/Default Virtual Machine Group                                               /clients/aevm64-proxy-1           

-------------------------------------------------------------------------------------------------------------------------------------

Hope this helps

Regards

Amol Powar

32 Posts

April 20th, 2015 10:00

Thanks Amol. This is helpful, but I was hoping for a single command to list all groups and all individual proxies associated with those groups. Doesn't look like there's anything available that will do that. We will need to run proxycp.jar --listpolicy for each individual group? There are over 500 VM groups in the environment so it will require much manual labor.

2 Intern

 • 

207 Posts

April 20th, 2015 10:00

That makes sense, I'll add a new option in proxycp and update you in few minutes/hours

2 Intern

 • 

207 Posts

April 20th, 2015 10:00

Hi,

If you specify the group name in the --listpolicy it will show you all the vms/proxies associated with it. Is that what you are looking for ?

root@aevm40:~/#: java -jar /usr/local/avamar/bin/proxycp.jar --listpolicy --name /aevc1.asl.lab.emc.com/ContainerGroup

======================= Starting ProxyCP ==========================

Proxycp : v2.28

Date    : April 20, 2015 9:34:09 AM PDT

COMMAND : java -jar proxycp.jar --listpolicy --name /aevc1.asl.lab.emc.com/ContainerGroup

VDP/Nemo Detected : false

------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------------------------

Group Name                                                                      Clients                            Proxies                           

-------------------------------------------------------------------------------------------------------------------------------------

/aevc1.asl.lab.emc.com/ContainerGroup                                           2                                  2                                 

--------------------------- Clients ---------------------------

/aevc1.asl.lab.emc.com/BackmeUp7

--------------------------- Proxies ---------------------------

/clients/aevm37-proxy-2

/clients/aevm37-proxy-1

-------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------

Closing Connection Pool : April 20, 2015 9:34:15 AM PDT

Regards

Amol Powar

32 Posts

April 20th, 2015 13:00

Thanks Amol, this is perfect. Very much appreciated.

16 Posts

April 21st, 2015 23:00

Hi Amol,

I am trying to add some VM's from some temp_policies to Original_Policies, is there any option we can use your script to do that, as i do it manually its taking so much of time, as i have many policies to edit.

For example just like we do it in Networker, adding clients from 1 group to another by just drag n drop or via nsradmin, can you help me in doing the same with your script would be great.

Thanks

Ram

2 Intern

 • 

207 Posts

May 5th, 2015 16:00

Hello Ram,

Download the new version of ProxyCP (v2.40) from FTP and run the following command



root@aevm40:~/#: java -jar /usr/local/avamar/bin/proxycp.jar --addclientstogroup --group "/aevc1.asl.lab.emc.com/VirtualMachines/MyVMGroup" --vm "/aevc1.asl.lab.emc.com/VirtualMachines/aevm43-Amol-VmwareStudio,/aevc1.asl.lab.emc.com/VirtualMachines/aevm45-Amol-avCloud"

======================= Starting ProxyCP ==========================

Proxycp : v2.40

Date    : April 24, 2015 12:49:34 PM PDT

COMMAND : java -jar proxycp.jar --addclientstogroup --group /aevc1.asl.lab.emc.com/VirtualMachines/MyVMGroup --vm /aevc1.asl.lab.emc.com/VirtualMachines/aevm43-Amol-VmwareStudio,/aevc1.asl.lab.emc.com/VirtualMachines/aevm45-Amol-avCloud

VDP/Nemo Detected : false

------------------------------------------------------------------------------------

Adding Client : /aevc1.asl.lab.emc.com/VirtualMachines/aevm43-Amol-VmwareStudio to group : /aevc1.asl.lab.emc.com/VirtualMachines/MyVMGroup ,Result : true

Adding Client : /aevc1.asl.lab.emc.com/VirtualMachines/aevm45-Amol-avCloud to group : /aevc1.asl.lab.emc.com/VirtualMachines/MyVMGroup ,Result : true

-------------------------------------------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------------------------

Closing Connection Pool : April 24, 2015 12:49:40 PM PDT

Regards

Amol Powar

No Events found!

Top