UNSOLVED

Mat Loe

updated

12 years ago

ML

Mat Loe

23 Posts

0

8439

February 12th, 2015 02:00

Decommission/unregister VBA external proxy

Hello,

What would be the best/cleanest way to unregister/decommission a VBA external proxy from a VBA appliance?

Thanks

  • 2627

    1

    Posted February 26th, 2015 09:00

    Hello

    in the EMC Networker and VMware Integration Guide (302-001-580) on page 44 is described the proxy reregistration.

    logon to the console of the proxy an run the script

    "/usr/local/avamarclient/etc/initproxyappliance.sh start"

    this script has also a option unregister|--unregister


    I think, this is the right way.

    j. seifert

  • Mat Loe

    23 Posts

    2627

    0

    Posted February 27th, 2015 01:00

    I don't see the option "unregister"

    ./initproxyappliance.sh -h

    Usage:

        initproxyappliance.sh [ACTION] [OPTION]...

        Only one action should be specified.  Multiple options may be specified.

    Actions:

        start                       Starts necessary services and sets up reboot processing

        stop                        Exits gracefully

        register                    Register or reregister the proxy

        initlockbox                 Initialize the lockbox

        help                        Displays this message

  • 2627

    0

    Posted February 27th, 2015 02:00

    Hello

    Sorry

    I have the same Problem

    I found the option in the script itself

    But when I run this option, it do not remove the entry from the EBR Appliance.

    I have open a call by EMC Partner.

    When I get answer, I will mail to you

    Von: ETPG

    Gesendet: Freitag, 27. Februar 2015 10:45

    An: Seifert, Jürgen

    Betreff: Re: - Decommission/unregister VBA external proxy

    ECN

    Decommission/unregister VBA external proxy

    reply from ETPG in NetWorker Support Forum - View the full discussion

  • 2627

    0

    Posted March 10th, 2015 05:00

    Hello

    There is a procedure to delete external proxy from EBR

    You can do this using the proxycp.jar script

    The script reside on ftp.avamar.com. ask EMC.

    - copy script to VBA

    -list the registered proxies on the EBR appliance

    mccli client show --recursive=true | grep -i proxy

    - use the proxycp utility to delete the eternal proxies

    java -jar proxycp.jar --deleteproxy --proxy


  • jens_fuchs

    34 Posts

    2628

    0

    Posted March 11th, 2015 05:00

    I'm a colleague of Jürgen. We successfully tested today the proxycp.jar script. The file is hidden on the ftp Server and we don't know if this is an official document.

    Please just Google "proxycp.jar" and you will find the link on the first match.

    As soon as you downloaded the file you do the following to unregister Proxy:

    copy file to VBA with for example WinSCP, use user "admin" and the root password you set during VBA-Installation for your VBA. Copy file to let's say /space/home/admin

    connect with ssh to your VBA, use user "admin" and the root Password you set during VBA-Installation four your VBA.

    chmod 755 proxycp.jar

    java -jar proxycp.jar --listproxy --all

    find the entry you want to delete and do deletion with:

    java -jar proxycp.jar --deleteproxy --proxy /clients/XXXXX

    Output will be like this:

    02 delete proxy summary.png

    The output will list all policies that are binded to the VBA and are updated not to use the proxy anymore.

    If you don't Need the Proxy anymore delete it.

    If you would like to register it again or to another VBA: restart the machine and look for the following Screen and press a button there:

    03 Re register to same or other VBA.png

    You will then find yourself in the same wizzard that you met during the setup of your Proxy. (Enter VBA to register to and press some "Enter").

    Does it work four you?

    Kind regards from beautiful Schwerin, Germany

    Freundliche Grüße

    Jens Fuchs

    B.Sc. Wirtschaftsinformatik

    SIS - Schweriner IT- und Service GmbH

    Abteilung Rechenzentrum

    Eckdrift 93

    19061 Schwerin

    Tel.: +49 385 633 5454

  • jens_fuchs

    34 Posts

    2628

    0

    Posted March 18th, 2015 02:00

    Hi ETPG,

    Does it work four you?

    Thanks in advance for feedback...

  • Mat Loe

    23 Posts

    2628

    0

    Posted March 18th, 2015 03:00

    Hi Jens,

    Actually I haven't tried the --deleteproxy option yet, but thanks a lot for sharing the proxycp.jar script.

    We'll eventually keep our external proxies, so there's no need to delete them anymore.

    Nevertheless, I'm currently installing a new VBA appliance that will replace another one with 2 assigned proxies.

    I believe I'll just have to reassign the 2 proxies to this new VBA appliance using "/usr/local/avamarclient/etc/initproxyappliance.sh start" from the VBA appliance.

    I'm actually wondering about how this will behave, I mean, if I register a "already registered" proxy to a new VBA appliance, is it going to delete the proxy from the VBA?

    I'll update this post later

  • gehthe

    1 Message

    2629

    0

    Posted July 10th, 2015 06:00

    Hallo Jens,

    - das Script hat bei mir super funktioniert und ich konnte einen falsch registrierten Proxy löschen.

    Danke für die ausführliche Anleitung.

    - the script worked fine for me and i could delete a wrong registered Proxy.

    Thanks a lot for your documentation.

    Grüsse aus der Schweiz !

    Greetings from switzerland

    Theo Gehrig