Unsolved
79 Posts
0
4570
How to find all NW clients OS version and NW modules details
Is there any way we can get a detailed report of all networker clients OS versions and networker modules details on a given networker server ?
I tried this but it is only reporting weather it is windows or linux ..but I am looking for more details like win 2012 or 2016 , Linux 5 or 6 or 7 etc
To query OS types of all clients:
Run the following command on the NetWorker server:
nsradmin
. type: nsr client
show client OS type
p
bingo.1
2.4K Posts
0
July 17th, 2018 07:00
To get the OS and NW version you should use the NW client database:
nsradmin
. type: nsrla
show name; os; networker version
p
new2prog2
79 Posts
0
July 17th, 2018 08:00
Ok I am getting output for only NW server.. with nsradmin -p nsrexec .how can I get the OS details for all the clients ?
nsradmin -p nsrexec
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> . type:nsrla
Current query set
nsradmin> show name; os; networker version
nsradmin> print
name: NWSERVERNAME;
OS: \
Red Hat Enterprise Linux Server release 5.11 (Tikanga);
NetWorker version: 8.2.4.7.Build.1390;
new2prog2
79 Posts
0
July 17th, 2018 08:00
not getting any output from this
nsradmin> . type:nsrla
Current query set
nsradmin> show name; os; networker version
nsradmin> print
No resources found for query:
am I missing some syntax in this ?
bingo.1
2.4K Posts
0
July 17th, 2018 08:00
You must call nsradmin and connect to the client db "nsradmin -p nsrexec"
bingo.1
2.4K Posts
0
July 17th, 2018 09:00
Run the commands at the NW server, not at a client ...
bingo.1
2.4K Posts
0
July 17th, 2018 11:00
oops - I just looked at the nsradmin conmmands. But I forgot that you must run the procedure for each existing client.
- The first step would be to write the commands to a text file (input_file).
- The next step would be to create a list of all active clients.
- Then run
nsradmin -p nsrexec -s -i >>
for each client.
- Convert the output_file to obtain a list/table
new2prog2
79 Posts
0
July 17th, 2018 11:00
Yes I ran this command on a networker server that has a bunch of clients and all that this command is reporting is about Networker server itself not all the clients
# nsradmin -p nsrexec
NetWorker administration program.
Use the "help" command for help, "visual" for full-screen mode.
nsradmin> . type:nsrla
Current query set
nsradmin> show name; os; networker version
nsradmin> print
name: nwservername;
OS: \
Red Hat Enterprise Linux Server release 5.11 (Tikanga);
NetWorker version: 8.2.4.7.Build.1390;
nsradmin>
new2prog2
79 Posts
0
July 18th, 2018 07:00
Ohh then there is some what a tedious task . I wish there was single command with which we can extract this info.
Thank for the clarification though.
Anonymous
274.2K Posts
1
July 18th, 2018 14:00
If you know how to use ansible its very easy to achieve. Check below:
03:00:31 as root on devbox in ~
→ ansible -m shell -a 'strings /usr/sbin/nsrexecd | grep "@(#)" && echo "" && strings /usr/sbin/nsrdasv | grep "@(#)"' nmda_nodes
mysql | SUCCESS | rc=0 >>
@(#) Product: NetWorker
@(#) Build number: 85
@(#) Build arch.: linux86w
@(#) Release: 9.2.0.3.Build.85
@(#) Build date: Mon Aug 21 09:43:33 PDT 2017
@(#) Build info: DBG=0,OPT=-O2 -fno-strict-aliasing
@(#) Build number: 85
@(#) Module Vers: 9.2.0.3
@(#) Module Name: NetWorker Module for Databases and Applications
@(#) Product: NetWorker
@(#) Build arch.: linux86w
@(#) Release: 9.2.0.3.Build.85
@(#) Build date: Mon Aug 21 09:43:33 PDT 2017
@(#) Build info: DBG=0,OPT=-O2 -fno-strict-aliasing
oracle12c | SUCCESS | rc=0 >>
@(#) Product: NetWorker
@(#) Build number: 93
@(#) Build arch.: linux86
@(#) Release: 9.2.0.4.Build.93
@(#) Build date: Mon Oct 9 17:01:01 PDT 2017
@(#) Build info: DBG=0,OPT=-O2 -fno-strict-aliasing
@(#) Build number: 85
@(#) Module Vers: 9.2.0.3
@(#) Module Name: NetWorker Module for Databases and Applications
@(#) Product: NetWorker
@(#) Build arch.: linux86w
@(#) Release: 9.2.0.3.Build.85
@(#) Build date: Mon Aug 21 09:43:33 PDT 2017
@(#) Build info: DBG=0,OPT=-O2 -fno-strict-aliasing
Devops
Regards,
Stalin Stepin