Announcement Banner
UNSOLVED

Jalli Raj

updated

9 years ago

JR

Jalli Raj

1 Rookie

•

17 Posts

0

1325

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

  • bingo.1

    1 Rookie

    •

    2430 Posts

    761

    0

    Posted November 1st, 2017 06:00

    I guess that you have a NW 9.x server.

    If so, NW does not accpt the 'browse policy' any longer.

  • SurajPujari

    155 Posts

    761

    0

    Posted November 11th, 2017 23:00

    wondering how did it allow you to create a client by passing browse policy.....

  • edino1

    39 Posts

    761

    0

    Posted November 13th, 2017 07:00

    1. DB backups need to have backup command, which will be binary from NMDA with suffix and path to cfg file on client side.

    2. Client save set is really specific. Please check DB2 part of NMDA guide.

    3. You really don't need directve for that client. It will not be applied either