UNSOLVED

Jalli Raj

updated

9 years ago

JR

Jalli Raj

1 Rookie

17 Posts

0

1306

October 31st, 2017 11:00

Networker Command for adding DB2 Client

Hello,

Does any one have a handy command or script that can help us add  DB (DB2) Clients ..

I have information with  " instance name ", path for cfg " file . etc..

I tried some thing like this listed below  but it doesnot have a parameter to pass through for instance path & db2.cfg file .I was able to add client without it but was getting error . Please see screenshot

put the client information into a file:

# cat mynewclient.file

                 create type: NSR client;

                        name: mynewclient;

                      server: myserver;

            archive services: Disabled;

                    schedule: Default;

               browse policy: Month;

            retention policy: Quarter;

                   directive: NT with compression directives;

                       group: mygroup1, mygroup2;

                    save set: All;

                        ndmp: No;

                     aliases: mynewclient, mynewclient.mydomain.com;

                        storage nodes: nsrserverhost;

Then you can feed the file to nsradmin with:nsradmin -i mynewclient.file

1234569.JPG.jpg