UNSOLVED

boettg33

updated

11 years ago

B

boettg33

1 Message

0

2775

March 11th, 2016 08:00

NSR Peer Information - Delete via Script

I've attempted to right a basic Windows batch script to semi-automate deleting the NSR peer information. Below are the basics of the script:

    • Add clients names with NSR PEER INFORMATION issues into a file.
    • Start batch script
      • On the NetWorker Server:
        • Batch reads client name from a file.
        • Creates an input file with the client name: delete type: nsr peer information;name: xyz(FQDN)
        • Echo's a blank line to the input file.
        • Runs nsradmin -p nsrexecd -I inputfile on NetWorker server.
        • Result on screen shows "deleted resources id....."
      • On the NetWorker Client:
        • Batch reads client name from a file.
        • Creates an input file with the client name: delete type: nsr peer information;name: NetWorker Server(FQDN)
        • Echo's a blank line to the input file.
        • Runs nsradmin -s xyz(FQDN) -p nsrexecd -I inputfile on NetWorker server.
        • Result on screen shows "deleted resources id....."

A check on the client and the server show that neither resource was actually deleted.

Any thoughts?