Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

List of clients and policies ...etc 1

Status
Not open for further replies.

ww1977

Technical User
Dec 6, 2004
29
0
0
US
Hello,

I would like to generate and print a list of all of the clients, policies, retentions , save sets. Using Networker 6. What is the command I could use to see this list? Thanks
 
This is a 2-step process:

For UNIX/Linux
==============

First, prepare 2 files:

# more inputfile
. nsr client
print

#
# more patternfile
name
policy
save set
#
#

Then run this command:

# /usr/xpg4/bin/grep -f patternfile outputfile
name: abc;
browse policy: Month;
retention policy: Year;
save set: /usr, /etc, /nsr;
name: def;
browse policy: Month;
retention policy: Year;
save set: All;
#

######################################################

For Windows, it is a similar issue:

C:\>copy con: inputfile
. nsr client
print
^Z
1 File(s) copied.

C:\>
C:\>nsradmin -i inputfile > outputfile

C:\>
C:\>findstr "name policy save" outputfile
name: xyz;
browse policy: Month;
retention policy: Year;
save set: All;

C:\>


The only problem is that this simple method does not separate each client (by an empty line).
 
There is someting missing for Unix:

# nsradmin -i inputfile > outputfile
 
It would be easier in unix to just create an input file as follows, and then parse this into nsradmin

file name "/tmp/nsr.client"

## clients from networker
show name;browse policy;retention policy;save set
. print type: NSR client

then from the prompt
# nsradmin -i /tmp/nsr.client > /tmp/nsr.client.out

 
Good point. I did not know that you can do this.
Unfortunaletly, i just have a limited knowledge of nsradmin.

Thanks for the tip.
 
Hello,

I have been wrestling with this question for awhile, and would appreciate any help from you.

1. I want to maximize the amount data that goes to tape before sending them off site of a daily basis. Do you have any suggestion on how to perform this tasks?
Here are some information that may be helpful:
1 Adic library with 8 LTO 2 drives
1 Networker server
1 Storage node
10 clients backing to disk and then clone to tape

Thank you so much for your help.




 
TO Inforfean1

Please open a new threada as it does not belong to this subject.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top