NIM Inventory

1
459

when you need to collect inventory on your client machines,you use this command.

niminv -o invcmp -a targets=NIMCLIENT -a base=master
-a location=/tmp/inventory

Comparison of master to NIMCLIENT saved to /tmp/inventory/comparison.master.NIMCLIENT .160506100551.

Return Status = SUCCESS

cat /tmp/inventory/comparison.master.NIMCLIENT .160506100551

# name base 1
———————————– —————- —————-
AIX-rpm-7.2.0.0-2 7.2.0.0-2 –
Atape.driver 12.6.2.0 –
DLManager.mpio.rte 8.2.1.0 same
Director.install.msg.DE_DE 6.3.2.0 –
Director.install.msg.ES_ES 6.3.2.0 –
Director.install.msg.FR_FR 6.3.2.0 –
Director.install.msg.IT_IT 6.3.2.0 –
Director.install.msg.JA_JP 6.3.2.0 –
Director.install.msg.Ja_JP 6.3.2.0 –
Director.install.msg.KO_KR 6.3.2.0 –
Director.install.msg.PT_BR 6.3.2.0 –
Director.install.msg.ZH_CN 6.3.2.0 –
Director.install.msg.ZH_TW 6.3.2.0 –
Director.install.msg.Zh_CN 6.3.2.0 –

…….

..

base = comparison base = master
1 = NIMCLIENT
‘-‘ = name not in system or resource
same = name at same level in system or resource

The other way,Maybe you need to compare your inventory on your a lot of machines.

niminv -o invcmp -a targets=NIMCLIENT1,NIMCLIENT2 -a base=lpp_aix72_TL0_SP0_Base -a location=/tmp/packets

Comparison of lpp_aix72_TL0_SP0_Base to NIMCLIENT1,NIMCLIENT2  saved to /tmp/packets/comparison.lpp_aix72_TL0_SP0_Base.NIMCLIENT1:NIMCLIENT2.160506100515.

Return Status = SUCCESS

cat /tmp/packets/comparison.lpp_aix72_TL0_SP0_Base.NIMCLIENT1:NIMCLIENT2.160506100515

# name base 1 2
————————————- —————- —————- —————-
ICU4C.adt 7.2.0.0 – –
ICU4C.rte 7.2.0.0 7.1.3.0 7.1.3.0
ILMT-TAD4D-agent 7.2.2.2 – –
Java7_64.docs 7.0.0.205 – –
Java7_64.jclsource 7.0.0.255 – –
Java7_64.jre 7.0.0.255 – –

…..

OpenGL.OpenGL_X.tools.debugger 7.2.0.0 – –
X11.Dt.ToolTalk 7.2.0.0 7.1.3.15 7.1.3.15
X11.Dt.adt 7.2.0.0 – –
X11.Dt.bitmaps 7.2.0.0 7.1.0.0 7.1.0.0
X11.Dt.compat 7.2.0.0 – –
X11.Dt.helpinfo 7.2.0.0 – –
X11.Dt.helpmin 7.2.0.0 7.1.0.0 7.1.0.0
X11.Dt.helprun 7.2.0.0 7.1.0.15 7.1.0.15
X11.Dt.lib 7.2.0.0 7.1.3.45 7.1.3.45
X11.Dt.rte 7.2.0.0 7.1.3.30 7.1.3.30
X11.Dt.xdt2cde 7.2.0.0 – –
X11.adt.bitmaps 7.2.0.0 7.1.0.0 7.1.0.0

….

base = comparison base = lpp_aix72_TL0_SP0_Base
1 = NIMCLIENT1
2 = NIMCLIENT2
‘-‘ = name not in system or resource
same = name at same level in system or resource

 

1 COMMENT

  1. Thanks for ones marvelous posting! I definitely enjoyed reading it,
    you might be a great author. I will make sure to bookmark your blog and
    will eventually come back someday. I want to encourage continue your
    great job, have a nice day!

Leave a Reply to Anonymous Cancel reply

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.